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
jquery.hammer.js can't used in requirejs #331
Comments
I ran into the same issue. The bug is easy to reproduce as seen in this fiddle: My fork contains a patch which adds a define configuration: This configuration fixes the issue: |
Please let me know if I missed sth. Demo for dist/jquery.hammer.js Demo for dist/hammer.js + plugins/jquery.hammer.js |
It's right now, thanks a lot. |
@jantimon solution worked for me, thanks |
Fixes issue #331 - "jquery.hammer.js can't used in requirejs"
Issuebot: |
I try to used now version hammer in my project. I loaded jquery.hammer.js in requirejs.
line 1453 will throw a error: Hammer is not defined.
I found when used requirejs, object Hammer not used like window.Hammer = Hammer,
when line 1453 used Hammer, will has error.
The text was updated successfully, but these errors were encountered: