From a3f243363fa6e457804e1c04ed3de9544f03b743 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 26 Oct 2015 15:10:25 -0700 Subject: [PATCH] removed excess debugging --- phone.js | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/phone.js b/phone.js index 643d185..071530b 100644 --- a/phone.js +++ b/phone.js @@ -36,29 +36,6 @@ return argsParsed; } - /* - function parseQuery(search) { - var args = search.substring(1).split('&'); - var argsParsed = {}; - var i; - - console.log('parse args', args); - for (i = 0; i < args.length; i++) { - var arg = args[i]; - - if (-1 === arg.indexOf('=')) { - argsParsed[decodeURIComponent(arg).trim()] = true; - } - else { - var kvp = arg.split('='); - argsParsed[decodeURIComponent(kvp[0]).trim()] = decodeURIComponent(kvp[1]).trim(); - } - } - - return argsParsed; - } - */ - function run() { var countdown = $(".js-countdown").countdown360({ radius: 30, @@ -74,7 +51,6 @@ // TODO change to token start time, regardless of the time the app began countdown.start(new Date()); console.log('countdown360 ', countdown); - console.log(document.location.search); var otpauth = parseQuery(document.location.search).otpuri; var otplink = document.createElement('a'); @@ -98,11 +74,6 @@ accountName = decodeURI(meta[0]); } - console.log('otpuri', otpauth); - console.log('otplink', otplink); - console.log('otplink.search', otplink.search); - console.log('otp', otp); - $('.js-issuer').text(issuer); $('.js-account-name').text(accountName);