Commit 7c18ab46f4c6f8a8a990eff902eaeadc12aabec0

Authored by Victor Costa
1 parent bb6934fc
Exists in master and in 1 other branch dev-fixes

Remove unused attributes

src/app/components/noosfero-articles/article/article.directive.js
@@ -29,8 +29,7 @@ @@ -29,8 +29,7 @@
29 return directive; 29 return directive;
30 30
31 /** @ngInject */ 31 /** @ngInject */
32 - function ArticleController($injector, $compile, $scope) {  
33 - var vm = this; 32 + function ArticleController() {
34 } 33 }
35 } 34 }
36 35
src/app/components/noosfero-articles/blog/blog.directive.js
@@ -23,7 +23,6 @@ @@ -23,7 +23,6 @@
23 23
24 /** @ngInject */ 24 /** @ngInject */
25 function BlogController() { 25 function BlogController() {
26 - var vm = this;  
27 } 26 }
28 } 27 }
29 28
src/app/profile/profile.controller.js
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 7
8 8
9 /** @ngInject */ 9 /** @ngInject */
10 - function ProfileController(noosfero, $log, $stateParams, $state) { 10 + function ProfileController(noosfero, $log, $stateParams) {
11 var vm = this; 11 var vm = this;
12 vm.boxes = []; 12 vm.boxes = [];
13 activate(); 13 activate();