From 5b689bd6e77f047eff37e43f0ffa487cb59edc45 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Fri, 13 Sep 2019 10:01:32 +1000 Subject: Fix trailing whitespace --- src/js/nebulas-account.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/js/nebulas-account.js') diff --git a/src/js/nebulas-account.js b/src/js/nebulas-account.js index 45d8724..bded3e9 100644 --- a/src/js/nebulas-account.js +++ b/src/js/nebulas-account.js @@ -21709,7 +21709,7 @@ module.exports = function privateDecrypt(private_key, enc, reverse) { } else { padding = 4; } - + var key = parseKeys(private_key); var k = key.modulus.byteLength(); if (enc.length > k || new bn(enc).cmp(key.modulus) >= 0) { @@ -27194,13 +27194,13 @@ Script.prototype.runInContext = function (context) { if (!(context instanceof Context)) { throw new TypeError("needs a 'context' argument."); } - + var iframe = document.createElement('iframe'); if (!iframe.style) iframe.style = {}; iframe.style.display = 'none'; - + document.body.appendChild(iframe); - + var win = iframe.contentWindow; var wEval = win.eval, wExecScript = win.execScript; @@ -27209,7 +27209,7 @@ Script.prototype.runInContext = function (context) { wExecScript.call(win, 'null'); wEval = win.eval; } - + forEach(Object_keys(context), function (key) { win[key] = context[key]; }); @@ -27218,11 +27218,11 @@ Script.prototype.runInContext = function (context) { win[key] = context[key]; } }); - + var winKeys = Object_keys(win); var res = wEval.call(win, this.code); - + forEach(Object_keys(win), function (key) { // Avoid copying circular objects like `top` and `window` by only // updating existing context properties or new properties in the `win` @@ -27237,9 +27237,9 @@ Script.prototype.runInContext = function (context) { defineProp(context, key, win[key]); } }); - + document.body.removeChild(iframe); - + return res; }; -- cgit v1.2.3