General developer forum

Javascript code changes not reflecting

 
Picture of Justin Hunt
Re: Javascript code changes not reflecting
Particularly helpful MoodlersPlugin developers

You will either need to rewrite the javascript as AMD modules, 

https://docs.moodle.org/dev/Javascript_Modules

or use the old means of accessing jquery

https://docs.moodle.org/dev/jQuery_pre2.9


AMD modules are really the way to go. But there is a bit of a learning curve.

 
Average of ratings: -