Skip to content

Commit

Permalink
kill off plugins.js. Didn't seem to make sense for anyone but me. :) …
Browse files Browse the repository at this point in the history
…Comment on this commit if you lurve it and want it back.
  • Loading branch information
paulirish committed Mar 1, 2011
1 parent c1f064c commit 937c886
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 21 deletions.
1 change: 0 additions & 1 deletion demo/elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ <h3>&lt;meter&gt;</h3>


<!-- scripts concatenated and minified via ant build script-->
<script src="../js/plugins.js"></script>
<script src="../js/script.js"></script>
<!-- end concatenated and minified scripts-->

Expand Down
3 changes: 1 addition & 2 deletions demo/tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@
</script>


<!-- scripts concatenated and minified via ant build script-->
<script src="../js/plugins.js"></script>
<!-- scripts concatenated and minified via ant build script-->s
<script src="../js/script.js"></script>
<!-- end concatenated and minified scripts-->

Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@


<!-- scripts concatenated and minified via ant build script-->
<script src="js/plugins.js"></script>
<script src="js/script.js"></script>
<!-- end scripts-->

Expand Down
15 changes: 0 additions & 15 deletions js/plugins.js

This file was deleted.

12 changes: 12 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,16 @@





// usage: log('inside coolFunc', this, arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
function log(){
log.history = log.history || []; // store logs to an array for reference
log.history.push(arguments);
arguments.callee = arguments.callee.caller;
if(this.console) console.log( Array.prototype.slice.call(arguments) );
};
// make it safe to use console.log always
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();)b[a]=b[a]||c})(window.console=window.console||{});

3 changes: 1 addition & 2 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

<script src="../js/libs/modernizr-1.7.min.js"></script>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="../js/plugins.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="../js/script.js"></script>


Expand Down

0 comments on commit 937c886

Please sign in to comment.