Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewriten to use the domManip callback #7

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

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)

pixelkink 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.

2 participants