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

Interface to resolve directly with a loaded DOM, avoiding fetching html first #2

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

Conversation

alfredolainez
Copy link

I just used this wonderful library in one project in which I needed an immediate response, avoiding the HTML fetching that some of the plugins require. So I made a quick hack to add a new interface that takes the dom object and avoids the extra call to get the html code and every callback related to it.

I create this pull request so that others are aware of this interface if they need it, or maybe if you @mauricesvay find it useful for a future revision of the API.

alfredolainez added 2 commits February 19, 2014 11:33
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