I'm trying to use a progressbar plugin, I've installed it using npm
ie: npm install progressbar.js
& required it in my app.js
file.
I have also defined my custom function - generate_circle()
in my app.js
file.
When i call my custom function generate_circle()
in the view inside a script tag i get the error
Uncaught ReferenceError: generate_circle is not defined
in my console.The plugin files are loaded correctly because I can see the plugin code in the app.js
file.so that is not the issue.
Can anybody help me with this?
screenshot of my app.js file
screenshot of my view
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire