Add log prefix
This commit is contained in:
+2
-1
@@ -281,7 +281,8 @@
|
||||
}
|
||||
|
||||
function log() {
|
||||
if (false && console) {
|
||||
if (typeof console !== 'undefined') {
|
||||
Array.prototype.unshift.call(arguments, '[Whats There]');
|
||||
console.log.apply(console, arguments);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user