aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/util.js')
-rw-r--r--data/lib/util.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/lib/util.js b/data/lib/util.js
index 6256171..51f3704 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -351,3 +351,9 @@ var NotLoggedinException = function NotLoggedinException (message) {
NotLoggedinException.prototype.toString = function () {
return this.name + ': "' + this.message + '"';
};
+
+console.myDebug = function myDebug(str) {
+ if (debugFlag) {
+ console.log(str);
+ }
+};