samedi 26 septembre 2015

Ember-Cli import js without bower

I should import this plug-in that is not present in bower: ImageTiltEffect, in my ember-cli app. I already created the sub-directory in the vendor directory, imported this in my Brocfile and added "TiltFx": true in my .jshintrc file. About the last point I am not very sure if it is done in the right way, btw my question is: after these steps, how can I use this plug-in? How can I call its init function from my ember code? Thank you in advance for the answers!




Aucun commentaire:

Enregistrer un commentaire