Removed useless console.log

This commit is contained in:
anthonyraymond 2017-01-01 01:27:39 +01:00
parent 7437b2d631
commit f2eec64452
2 changed files with 0 additions and 6 deletions

View File

@ -20,7 +20,6 @@ function(syscall, globalTimeout, alerts, utils, rootScope, uri, authconf, filter
if(cookieConf) configurations.unshift(cookieConf);
if (['http', 'https'].indexOf(uri.protocol()) != -1 && uri.host() != 'localhost') {
console.log(uri.host());
configurations.push({
host: uri.host(),
path: '/jsonrpc',
@ -39,7 +38,6 @@ function(syscall, globalTimeout, alerts, utils, rootScope, uri, authconf, filter
path: authconf.path,
encrypt: ( uri.protocol() == 'https' )
});
console.log(configurations);
}

View File

@ -41,15 +41,11 @@ function(log, jsonRPC, sockRPC, alerts) {
opts.error = opts.error || angular.noop;
if (sockRPC.initialized) {
console.log('calling sock rpc');
return sockRPC.invoke(opts);
}
else {
console.log('calling json rpc');
return jsonRPC.invoke(opts);
}
}
};
}]);