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

Possible wrong selection context #191

Open
gravityFlower opened this issue Jun 7, 2015 · 0 comments
Open

Possible wrong selection context #191

gravityFlower opened this issue Jun 7, 2015 · 0 comments

Comments

@gravityFlower
Copy link

Hello,

i have the problem that on calling Cq() on an element, there seems to be a problem with the context.
I'm loading a html file and filter the elements. Then i call Each() on the filtered list of elements.
In the assigned function, i call Cq() on the element. I assume that the element is the context for the applied filter( like jQuery $("<filter-expression>",element). But the result contains all elements of the site matching this expression. You can see this in an example here:
https://gist.github.com/gravityFlower/6e42f0c1f3f25306ebf6
I hope you can tell me if i'm doing something wrong or if this is a bug.
If this is intended, it would be best to document this feature.

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

No branches or pull requests

1 participant