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(cookieConf) configurations.unshift(cookieConf);
|
||||||
|
|
||||||
if (['http', 'https'].indexOf(uri.protocol()) != -1 && uri.host() != 'localhost') {
|
if (['http', 'https'].indexOf(uri.protocol()) != -1 && uri.host() != 'localhost') {
|
||||||
console.log(uri.host());
|
|
||||||
configurations.push({
|
configurations.push({
|
||||||
host: uri.host(),
|
host: uri.host(),
|
||||||
path: '/jsonrpc',
|
path: '/jsonrpc',
|
||||||
|
@ -39,7 +38,6 @@ function(syscall, globalTimeout, alerts, utils, rootScope, uri, authconf, filter
|
||||||
path: authconf.path,
|
path: authconf.path,
|
||||||
encrypt: ( uri.protocol() == 'https' )
|
encrypt: ( uri.protocol() == 'https' )
|
||||||
});
|
});
|
||||||
console.log(configurations);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -41,15 +41,11 @@ function(log, jsonRPC, sockRPC, alerts) {
|
||||||
opts.error = opts.error || angular.noop;
|
opts.error = opts.error || angular.noop;
|
||||||
|
|
||||||
if (sockRPC.initialized) {
|
if (sockRPC.initialized) {
|
||||||
console.log('calling sock rpc');
|
|
||||||
return sockRPC.invoke(opts);
|
return sockRPC.invoke(opts);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log('calling json rpc');
|
|
||||||
return jsonRPC.invoke(opts);
|
return jsonRPC.invoke(opts);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user