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

An element should only be initialised once. #51

Closed
treshugart opened this issue Jul 29, 2014 · 0 comments
Closed

An element should only be initialised once. #51

treshugart opened this issue Jul 29, 2014 · 0 comments
Assignees
Milestone

Comments

@treshugart
Copy link
Member

When skate.init() is called on an element, it should only allow initialisation once for that element. This will not work:

var element = document.createElement('div');

// first binding
element.setAttribute('data-binding-1', '');

// initialise
skate.init(element);

// second binding
element.setAttribute('data-binding-2');

// does not initialise second binding
skate.init(element);
@treshugart treshugart added this to the 0.9.0 milestone Aug 8, 2014
@treshugart treshugart self-assigned this Sep 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant