@ -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 @@
import * as Favico from "favico.js";
import { connectionFactory } from './connection';
@ -1,6 +1,8 @@
(function() {
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 @@
*/
import * as weeChat from './weechat';
var models = angular.module('weechatModels', []);
@ -1,3 +1,6 @@
weechat.factory('utils', function() {
var websockets = angular.module('ngWebsockets', []);
websockets.factory('ngWebsockets',
@ -146,5 +148,4 @@ function($rootScope, $q) {
failCallbacks: failCallbacks
@ -1,7 +1,10 @@
weechat.directive('whenScrolled', function() {
return function(scope, elm, attr) {
var raw = elm[0];
@ -17,5 +20,3 @@ weechat.directive('whenScrolled', function() {
});