module_edit_spec.coffee
7.14 KB
-
Support local debugging of XBlock JavaScript · cc24ca55
It turns out that loading JavaScript with $.getScript causes Chrome to treat the file as an XHR request and not JS. I've switched over to using RequireJS to load the URL which already has the ability to dynamically load files and have the browser recognize them.
Andy Armstrong committed