🎨 Reformate le code pour lisibilité
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user