Sha256: d0ef87efebdb4ff11094071a36ebb596d62d2c91e813c252b1babb8288a7c590

Contents?: true

Size: 643 Bytes

Versions: 3

Compression:

Stored size: 643 Bytes

Contents

// remap jQuery to $
(function($){

 





 



})(this.jQuery);



// usage: log('inside coolFunc',this,arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function(){
  log.history = log.history || [];   // store logs to an array for reference
  log.history.push(arguments);
  if(this.console){
    console.log( Array.prototype.slice.call(arguments) );
  }
};



// catch all document.write() calls
(function(doc){
  var write = doc.write;
  doc.write = function(q){ 
    log('document.write(): ',arguments); 
    if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);  
  };
})(document);


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
html5-boilerplate-0.2.6 templates/project/javascripts/plugins.js
html5-boilerplate-0.2.5 templates/project/javascripts/plugins.js
html5-boilerplate-0.2.4 templates/project/javascripts/plugins.js