Beiträge von Tim Hunt

Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
If the JavaScript is already minified, and is not the source of an AMD module, then probably bset not to put it in the amd foolder.

(In my plugins, in cases like this, I tend to put it in another folder called js, or something like that.

Also, the way your code is written at hte moment, there is no guarantee which order the various bits of JavaScript will load, so you have a race condition.

https://github.com/moodleou/moodle-qtype_recordrtc is one of my plugins where JS code in the AMD folder loads libraries from the JS folder and uses them.