Add log prefix
This commit is contained in:
parent
355ee0a862
commit
086df7418e
|
@ -281,7 +281,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function log() {
|
function log() {
|
||||||
if (false && console) {
|
if (typeof console !== 'undefined') {
|
||||||
|
Array.prototype.unshift.call(arguments, '[Whats There]');
|
||||||
console.log.apply(console, arguments);
|
console.log.apply(console, arguments);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue