Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.log = function(){
- log.history = log.history || [];
- log.history.push(arguments);
- arguments.callee = arguments.callee.caller;
- if(this.console) console.log( Array.prototype.slice.call(arguments) );
- };
Add Comment
Please, Sign In to add comment