From 5f778ad05a6a96ae7f924284edad8a1e76b7f8a0 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Wed, 17 Sep 2014 17:25:20 +0100 Subject: [PATCH] formatting/comment changes --- code/extract_niantic_parameters.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/extract_niantic_parameters.js b/code/extract_niantic_parameters.js index db8de381..b9e287ac 100644 --- a/code/extract_niantic_parameters.js +++ b/code/extract_niantic_parameters.js @@ -19,6 +19,7 @@ window.extractFromStock = function() { // a minified object - check for minified prototype entries if (window[topLevel] && window[topLevel].prototype) { + // the object has a prototype - iterate through the properties of that for (var secLevel in window[topLevel].prototype) { if (minified.test(secLevel)) { @@ -42,7 +43,8 @@ window.extractFromStock = function() { } } - } + } //end 'if .prototype' + // finding the required method names for the botguard interface code if (window[topLevel] && Object.prototype.toString.call(window[topLevel]) == "[object Array]") {