RyanMullins / angular-hammer

Hammer.js v2 support for AngularJS
http://ryanmullins.github.io/angular-hammer/
MIT License
188 stars 55 forks source link

Fix bug with some minification tools #2

Closed eweap closed 9 years ago

eweap commented 9 years ago

The dependencies should be explicitly declared to avoid bug with some minification tools (like grunt-contrib-uglify).

I have replaced the fix made by @jogloran in #1

You may need to rebuild your minify version.

RyanMullins commented 9 years ago

Does this syntax bother anyone else? (Still going to merge, but I really wish there was a more elegant solution).