Merge pull request #291 from anthonyraymond/remove-dev-log

Removed useless console.log
This commit is contained in:
hamza zia 2017-01-04 13:07:58 +05:00 committed by GitHub
commit c7a5eace6a
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(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);
} }

View File

@ -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);
} }
} }
}; };
}]); }]);