Hey guys,
I am running Moodle 3.6.3 and really struggling with trying to add an external javascript link to my site.
Adding like normal with a script tag causes other javascript to break with errors in the console like:
According to RequireJS documentation, I tried this loading it through Require js with a script tag like:
<script data-main="https://...js" src="/lib/requirejs/require.min.js"></script>
and got different errors with javascript still broken:
I am running out of options here but this is a must get done one way or another. I'm not well versed in the javascript modules, but everything I can find, it seems like the script needs to be run locally, and that is not possible with the specific javascript.
Any help would be much appreciated!
Thanks,
Matt