mardi 24 mars 2015

Unable to use PikaDay component in Ember project

I downloaded pikaday.js and put it my app's views directory, one of my view code looks like



var picker = new Pikaday({
field: formElement,
format: "MM/DD/YYYY",
firstDay: 1,
.
.
.
});


I tried all possible ways to include the external javascript pikaday.js to my ember project but I still continue to get the error: 'Pikaday' is not defined


Kindly let me know how to resolve the issue.





Aucun commentaire:

Enregistrer un commentaire