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

Add option for :nth-child instead of :eq inside generateRecursive() method #8

Open
JaredThomas opened this issue Mar 23, 2016 · 0 comments

Comments

@JaredThomas
Copy link

Thanks so much for creating a great utility plugin that is great for an interactive website editor I work with. We take the output selector and use it elsewhere, and sometimes on sites without jQuery. The generateRecursive method uses :eq() and the correct zero-based index system, but this selector fails outside of jQuery. It would be great to accept an option for :nth-child() and adjust the index by 1 that could be checked in generateRecursive(). When I find time in the next few weeks I'll try to test this out and submit a PR for your review.

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