Use strict angular dependency injection
Prerequisite for proper minification
This commit is contained in:
parent
aef707a12f
commit
69e1e1907d
2 changed files with 9 additions and 8 deletions
|
@ -1320,7 +1320,7 @@ weechat.config(['$routeProvider',
|
|||
]);
|
||||
|
||||
|
||||
weechat.directive('plugin', function($rootScope) {
|
||||
weechat.directive('plugin', ['$rootScope', function($rootScope) {
|
||||
/*
|
||||
* Plugin directive
|
||||
* Shows additional plugin content
|
||||
|
@ -1373,10 +1373,10 @@ weechat.directive('plugin', function($rootScope) {
|
|||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
}]);
|
||||
|
||||
|
||||
weechat.directive('inputBar', function() {
|
||||
weechat.directive('inputBar', ['$rootScope', function() {
|
||||
|
||||
return {
|
||||
|
||||
|
@ -1386,7 +1386,8 @@ weechat.directive('inputBar', function() {
|
|||
inputId: '@inputId'
|
||||
},
|
||||
|
||||
controller: function($rootScope,
|
||||
controller: ['$rootScope', '$scope', '$log', 'connection', 'models',
|
||||
function($rootScope,
|
||||
$scope,
|
||||
$element,
|
||||
$log,
|
||||
|
@ -1666,6 +1667,6 @@ weechat.directive('inputBar', function() {
|
|||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
}]
|
||||
};
|
||||
});
|
||||
}]);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
var ls = angular.module('localStorage',[]);
|
||||
|
||||
ls.factory("$store",function($parse){
|
||||
ls.factory("$store", ["$parse", function($parse){
|
||||
/**
|
||||
* Global Vars
|
||||
*/
|
||||
|
@ -113,5 +113,5 @@ ls.factory("$store",function($parse){
|
|||
}
|
||||
};
|
||||
return publicMethods;
|
||||
});
|
||||
}]);
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue