Remove spurious dependencies from connection

with-route-provider
David Cormier 12 years ago
parent d4a4f1bd7f
commit eddffd6e63
  1. 17
      js/glowingbear.js

@ -199,10 +199,21 @@ weechat.factory('handlers', ['$rootScope', 'models', 'plugins', function($rootSc
}]); }]);
weechat.factory('connection', ['$q', '$rootScope', '$log', '$store', 'handlers', 'models', 'conn', function($q, $rootScope, $log, storage, handlers, models, conn) { weechat.factory('connection',
protocol = new weeChat.Protocol(); ['$rootScope',
'$log',
'$store',
'handlers',
'models',
'conn',
function($rootScope,
$log,
storage,
handlers,
models,
conn) {
protocol = new weeChat.Protocol();
// Takes care of the connection and websocket hooks // Takes care of the connection and websocket hooks
var connect = function (host, port, passwd, ssl, noCompression) { var connect = function (host, port, passwd, ssl, noCompression) {

Loading…
Cancel
Save