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