RyanMullins / angular-hammer

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

Unable to use defaults. #50

Open gothammm opened 9 years ago

gothammm commented 9 years ago

There should be a provision, where we can override default options.

The below code doesn't work.

window.Hammer.defaults.preset.push([Hammer.Tap,{time: 800, threshold: 12}])

RyanMullins commented 9 years ago

Please see if this is still true with the code merged from #55 and update accordingly.