Created
November 11, 2013 13:21
-
-
Save NathalieLarsson/7413086 to your computer and use it in GitHub Desktop.
Search for append on website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var $__append__ = $.fn.append; | |
var matcher = '*'; | |
$.fn.append = function () { | |
if (console && this.selector === matcher) console.log.call(console, { el: this, args: Array.prototype.slice.call(arguments) }); | |
$__append__.apply(this, arguments); | |
}; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment