RyanMullins / angular-hammer

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

ERROR: Angular Hammer could not require() a reference to Hammer #43

Closed surfjedi closed 9 years ago

surfjedi commented 9 years ago

I'm trying to use this with require.js

Im getting the ERROR: Angular Hammer could not require() a reference to Hammer.

So have gone and tried changing line 28 to require 'hammer' instead of 'hammerjs', and it works,

I looked back in your commit history and on dec 4 you had a commit that would account for that, but then it looks like after that you removed it again. it was first noted and fixed in https://github.com/RyanMullins/angular-hammer/issues/8

any chance of putting it back in again?

surfjedi commented 9 years ago

never mind Ihad to mess with my require settings and got it sorted.