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

If initiated on an element that doesn't exist, everything after it fails #3

Open
tehtrav opened this issue Mar 30, 2012 · 1 comment

Comments

@tehtrav
Copy link

tehtrav commented Mar 30, 2012

If initiated on an element that doesn't exist, everything initialized after it will fail. This makes it impossible to store multiple initializations of it in one global scripts file, used on different pages.

View the example here:
(the "d" class is removed from the 4th example markup, causing d-h to fail)

http://jsfiddle.net/aYQFD/61/

@ajcates
Copy link
Owner

ajcates commented Mar 31, 2012

Hmm I will have to look over this. Seems to be something with there not being default values. Thanks!

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

2 participants