🎨 Reformate le code pour lisibilité

This commit is contained in:
2017-01-16 22:57:11 +01:00
parent 55c3db0165
commit 0a2da9f512

View File

@@ -1,4 +1,3 @@
// remap jQuery to $ // remap jQuery to $
(function ($) { (function ($) {
@@ -26,13 +25,9 @@ $('h2').click(function(){
$('hr').hide(); $('hr').hide();
})(window.jQuery); })(window.jQuery);
// usage: log('inside coolFunc',this,arguments); // usage: log('inside coolFunc',this,arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/ // paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function () { window.log = function () {
@@ -44,7 +39,6 @@ window.log = function(){
}; };
// catch all document.write() calls // catch all document.write() calls
(function (doc) { (function (doc) {
var write = doc.write; var write = doc.write;