Merge pull request #291 from anthonyraymond/remove-dev-log
Removed useless console.log
This commit is contained in:
commit
c7a5eace6a
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user