From f2eec644523050e3678d091229da685aeec5402e Mon Sep 17 00:00:00 2001 From: anthonyraymond Date: Sun, 1 Jan 2017 01:27:39 +0100 Subject: [PATCH] Removed useless console.log --- js/services/rpc/rpc.js | 2 -- js/services/rpc/syscall.js | 4 ---- 2 files changed, 6 deletions(-) diff --git a/js/services/rpc/rpc.js b/js/services/rpc/rpc.js index 6a7db2e..08c4b74 100644 --- a/js/services/rpc/rpc.js +++ b/js/services/rpc/rpc.js @@ -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); } diff --git a/js/services/rpc/syscall.js b/js/services/rpc/syscall.js index ebfaa60..d5bd3e2 100644 --- a/js/services/rpc/syscall.js +++ b/js/services/rpc/syscall.js @@ -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); } } }; }]); - -