Hotfix strict injection to undo terrible breakage

This commit is contained in:
Lorenz Hübschle-Schneider 2014-08-27 18:47:58 +01:00
parent cd483eed7b
commit 226068152f

View file

@ -1332,7 +1332,7 @@ weechat.directive('plugin', ['$rootScope', function($rootScope) {
plugin: '=data'
},
controller: function($scope) {
controller: ["$scope", function($scope) {
$scope.displayedContent = "";
@ -1371,12 +1371,12 @@ weechat.directive('plugin', ['$rootScope', function($rootScope) {
if ($scope.plugin.visible) {
$scope.showContent();
}
}
}]
};
}]);
weechat.directive('inputBar', ['$rootScope', function() {
weechat.directive('inputBar', function() {
return {
@ -1386,7 +1386,7 @@ weechat.directive('inputBar', ['$rootScope', function() {
inputId: '@inputId'
},
controller: ['$rootScope', '$scope', '$log', 'connection', 'models',
controller: ['$rootScope', '$scope', '$element', '$log', 'connection', 'models',
function($rootScope,
$scope,
$element,
@ -1669,4 +1669,4 @@ weechat.directive('inputBar', ['$rootScope', function() {
};
}]
};
}]);
});