Hotfix strict injection to undo terrible breakage
This commit is contained in:
parent
cd483eed7b
commit
226068152f
1 changed files with 5 additions and 5 deletions
|
@ -1332,7 +1332,7 @@ weechat.directive('plugin', ['$rootScope', function($rootScope) {
|
||||||
plugin: '=data'
|
plugin: '=data'
|
||||||
},
|
},
|
||||||
|
|
||||||
controller: function($scope) {
|
controller: ["$scope", function($scope) {
|
||||||
|
|
||||||
$scope.displayedContent = "";
|
$scope.displayedContent = "";
|
||||||
|
|
||||||
|
@ -1371,12 +1371,12 @@ weechat.directive('plugin', ['$rootScope', function($rootScope) {
|
||||||
if ($scope.plugin.visible) {
|
if ($scope.plugin.visible) {
|
||||||
$scope.showContent();
|
$scope.showContent();
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
weechat.directive('inputBar', ['$rootScope', function() {
|
weechat.directive('inputBar', function() {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
||||||
|
@ -1386,7 +1386,7 @@ weechat.directive('inputBar', ['$rootScope', function() {
|
||||||
inputId: '@inputId'
|
inputId: '@inputId'
|
||||||
},
|
},
|
||||||
|
|
||||||
controller: ['$rootScope', '$scope', '$log', 'connection', 'models',
|
controller: ['$rootScope', '$scope', '$element', '$log', 'connection', 'models',
|
||||||
function($rootScope,
|
function($rootScope,
|
||||||
$scope,
|
$scope,
|
||||||
$element,
|
$element,
|
||||||
|
@ -1669,4 +1669,4 @@ weechat.directive('inputBar', ['$rootScope', function() {
|
||||||
};
|
};
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
}]);
|
});
|
||||||
|
|
Loading…
Reference in a new issue