diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-21 16:26:10 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-04-21 16:26:10 +0200 |
commit | 9137ba085ddaa7c56f78e46a2994e36aeab9c7cf (patch) | |
tree | c8144bfa009764fdff87a48452be4da35c20e13b /data/lib/util.js | |
parent | 5a6457667ebba390cc5c91ddb47ff55cb521fc1e (diff) | |
download | bugzilla-triage-9137ba085ddaa7c56f78e46a2994e36aeab9c7cf.tar.gz |
debugFlag must be in util.js as well.0.95
Diffstat (limited to 'data/lib/util.js')
-rw-r--r-- | data/lib/util.js | 3 |
1 files changed, 3 insertions, 0 deletions
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); |