"Uncaught TypeError: undefined is not a function" when importing bower library


#1

hi guys, ember-cli newbie here and i just wanna get a feedback on this and hopefully also solve it.

ive been having this issue on ember-cli when i try to use Hammer.js… i am trying to make a scroll horizontal touch gesture using hammerjs and ember component. so far, ive got ember component set up and hammerjs install via “ember bower install hammerjs” command. i am also importing it using a standard non-amd asset as explained in its documentation… on Managing Dependencies section.

this is what my code looks like

i am also using foundation-apps styling and classnames… hopefully if i get this to work, i wanted to contribute to foundation-apps for emberjs.

and these are the errors ive been getting

thanks… any help, ideas, feedback would be much appreciated…