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

i-bem-dom__events: once is broken #1452

Closed
dfilatov opened this issue Nov 15, 2016 · 0 comments
Closed

i-bem-dom__events: once is broken #1452

dfilatov opened this issue Nov 15, 2016 · 0 comments
Assignees
Labels

Comments

@dfilatov
Copy link
Member

var f = function() {
  console.log('click');
};

this._domEvents().once('click', f);
this.domElem.trigger('click');
this._domEvents().once('click', f);
this.domElem.trigger('click');

f is expected to be called twice, but it's called once.

@deeonis deeonis added ready and removed in progress labels Nov 15, 2016
dfilatov added a commit that referenced this issue Nov 17, 2016
i-bem-dom__events: `once` is broken (closes #1452)
@deeonis deeonis removed the ready label Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants