fix missing underscore imports
This commit is contained in:
parent
9abeea6a78
commit
6f808bd4a6
@ -6,7 +6,6 @@
|
||||
"globals": {
|
||||
"angular": false,
|
||||
"weeChat": false,
|
||||
"_": false,
|
||||
"Notification": false,
|
||||
"Favico": false,
|
||||
"linkifyStr": false,
|
||||
|
@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
import * as _ from "underscore";
|
||||
|
||||
var weechat = angular.module('weechat');
|
||||
|
||||
weechat.filter('toArray', function () {
|
||||
|
@ -1,6 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
import * as Favico from "favico.js";
|
||||
import * as _ from "underscore";
|
||||
|
||||
import { connectionFactory } from './connection';
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
(function() {
|
||||
|
||||
'use strict';
|
||||
|
||||
import * as _ from "underscore";
|
||||
|
||||
var weechat = angular.module('weechat');
|
||||
|
||||
weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', 'notifications', 'bufferResume', function($rootScope, $log, models, plugins, notifications, bufferResume) {
|
||||
@ -539,5 +541,4 @@ weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', 'notific
|
||||
handleCompletion: handleCompletion
|
||||
};
|
||||
|
||||
}]);
|
||||
})();
|
||||
}]);
|
@ -4,6 +4,8 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
import * as _ from "underscore";
|
||||
|
||||
import * as weeChat from './weechat';
|
||||
|
||||
var models = angular.module('weechatModels', []);
|
||||
|
@ -1,3 +1,6 @@
|
||||
|
||||
import * as _ from "underscore";
|
||||
|
||||
var weechat = angular.module('weechat');
|
||||
|
||||
weechat.factory('utils', function() {
|
||||
|
@ -1,6 +1,8 @@
|
||||
(function() {
|
||||
|
||||
'use strict';
|
||||
|
||||
import * as _ from "underscore";
|
||||
|
||||
var websockets = angular.module('ngWebsockets', []);
|
||||
|
||||
websockets.factory('ngWebsockets',
|
||||
@ -146,5 +148,4 @@ function($rootScope, $q) {
|
||||
failCallbacks: failCallbacks
|
||||
};
|
||||
|
||||
}]);
|
||||
})();
|
||||
}]);
|
@ -1,7 +1,10 @@
|
||||
(function() {
|
||||
|
||||
'use strict';
|
||||
|
||||
import * as _ from "underscore";
|
||||
|
||||
var weechat = angular.module('weechat');
|
||||
|
||||
weechat.directive('whenScrolled', function() {
|
||||
return function(scope, elm, attr) {
|
||||
var raw = elm[0];
|
||||
@ -17,5 +20,3 @@ weechat.directive('whenScrolled', function() {
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user