Skip to content

Conversation

@yumok
Copy link

@yumok yumok commented May 10, 2011

Changed logic to support every kind of node (even textNodes with € or whatever)
What it does is duck punch the domManip callback, so it calls first the event (if the node matches any selector)
Also duck punchs the .html() method to call .append() when original would use innerHTML

My native language is Spanish, so sorry if there are errors in my english (and for the comments in spanish)

Hans Oksendahl and others added 5 commits April 21, 2011 17:31
…o; or whatever)

What it does is duck punch the domManip callback, so it calls first the event (if the node matches any selector)
Also duck punchs the .html() method to call .append() when original would use innerHTML
…t when using a pluggin that creates nodes using non-jquery methods (like .innerHTML)

por example, in jquery.datatables, I call it on the redraw event the pluggin triggers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant