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

Wrap module in UMD wrapper #16

Merged
merged 1 commit into from
Jan 19, 2014
Merged

Wrap module in UMD wrapper #16

merged 1 commit into from
Jan 19, 2014

Conversation

w0rm
Copy link
Collaborator

@w0rm w0rm commented Jan 19, 2014

Not sure if we should test that it works with requirejs (I've tested it locally and it works).

But if we need to test this, then we should fix current Cursor implementation, that doesn't allow to use two modules on one page, because it overrides document.onmousemove and document.ontouchmove. So we have to wait until this commit gets into master, or fix current Cursor to use something similar to Dragdealer.prototype.bindEventHandler or add cross-browser listener from this example.

Fixes #15.

@w0rm
Copy link
Collaborator Author

w0rm commented Jan 19, 2014

Ok, I get that it is impossible to convert issue into pull request without hub. Will use it next time.

And again Travis fails with this error message:

Invalid API_KEY provided. Please use your Access Key to start Sauce Connect, not your password.You can find your Access Key in your account page: https://saucelabs.com/account

@ovidiuch
Copy link
Owner

Ran tests locally (don't know what's wrong with Travis/Sauce from forks...) and the passed. Merging this.

Yeah, I'll have to get back to my pull request and finish that job, didn't have much time these days, sorry. But it would be awesome to have a proper event listener for a change, the "prevListener" pattern is old as dinosaurs

ovidiuch added a commit that referenced this pull request Jan 19, 2014
@ovidiuch ovidiuch merged commit 3e936f2 into ovidiuch:master Jan 19, 2014
@w0rm w0rm deleted the 15-avoid-globals branch January 19, 2014 20:19
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

Successfully merging this pull request may close these issues.

Avoid unnecessary global variables
2 participants