Skip to content

Commit 31e7906

Browse files
committed
cleanup plugins.js for stripped :)
1 parent 0ff1d63 commit 31e7906

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

js/plugins.js

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
2-
// usage: log('inside coolFunc', this, arguments);
3-
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
4-
window.log = function(){
5-
log.history = log.history || []; // store logs to an array for reference
6-
log.history.push(arguments);
7-
if(this.console) {
8-
arguments.callee = arguments.callee.caller;
9-
var newarr = [].slice.call(arguments);
10-
(typeof console.log === 'object' ? log.apply.call(console.log, console, newarr) : console.log.apply(console, newarr));
11-
}
12-
};
13-
14-
// make it safe to use console.log always
1+
window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};
152
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
163
{console.log();return window.console;}catch(err){return window.console={};}})());
174

185

19-
// place any jQuery/helper plugins in here, instead of separate, slower script files.
20-

0 commit comments

Comments
 (0)