Commit b1d549ccd725b28e3b366e4499616e6eb620a318
1 parent
6b9994a5
Exists in
master
and in
38 other branches
Remove unused parameters
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
src/app/components/noosfero/blocks/block.directive.js
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | block: '=', |
14 | 14 | owner: '=' |
15 | 15 | }, |
16 | - link: function(scope, element, attrs) { | |
16 | + link: function(scope, element) { | |
17 | 17 | var blockName = scope.block.type.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); |
18 | 18 | element.replaceWith($compile('<noosfero-'+blockName+' block="block" owner="owner"></noosfero-'+blockName+'>')(scope)); |
19 | 19 | } | ... | ... |
src/app/components/noosfero/blocks/link-list.directive.js
src/app/components/noosfero/blocks/profile-image.directive.js