diff options
Diffstat (limited to 'data/lib')
-rw-r--r-- | data/lib/rhbzpage.js | 3 | ||||
-rw-r--r-- | data/lib/util.js | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js index 3cffbb9..61bdcc0 100644 --- a/data/lib/rhbzpage.js +++ b/data/lib/rhbzpage.js @@ -1,9 +1,6 @@ // Released under the MIT/X11 license // http://www.opensource.org/licenses/mit-license.php -// Are we debugging? -var debugFlag = false; - // For identification of graphics card var manuChipStrs = [ [ "ATI Radeon", "ATI", "1002" ], [ "ATI Mobility Radeon", "ATI", "1002" ], diff --git a/data/lib/util.js b/data/lib/util.js index 51f3704..5859f97 100644 --- a/data/lib/util.js +++ b/data/lib/util.js @@ -352,6 +352,9 @@ NotLoggedinException.prototype.toString = function () { return this.name + ': "' + this.message + '"'; }; +// Are we debugging? +var debugFlag = false; + console.myDebug = function myDebug(str) { if (debugFlag) { console.log(str); |