1
0
Fork 0

Add log prefix

This commit is contained in:
Gregory Eremin 2014-07-05 15:06:39 +07:00
parent 355ee0a862
commit 086df7418e
1 changed files with 2 additions and 1 deletions

View File

@ -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);
} }
} }