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

can.Control: {document} events are not working #534

Closed
wclr opened this issue Nov 8, 2013 · 2 comments
Closed

can.Control: {document} events are not working #534

wclr opened this issue Nov 8, 2013 · 2 comments
Milestone

Comments

@wclr
Copy link
Contributor

wclr commented Nov 8, 2013

'{document} mousemove' in can.Controls are not working in latest master.

If add option to Control {document: $(document)} they work.

@imjoshdean
Copy link
Contributor

I just pulled latest master and did the following test can.Control:

var Test = can.Control.extend({}, {
  init: function(el, ev) { },
  '{document} mousemove': function(el, ev) {
    console.log('triggered mousemove');
  }
})

and things seem to be kosher. This was fixed in 92e1822 though. Can you pull latest master again and confirm?

@daffl
Copy link
Contributor

daffl commented Nov 12, 2013

This has been fixed with #531 and will be released with 2.0.1 tomorrow.

@daffl daffl closed this as completed Nov 12, 2013
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

3 participants