Support local debugging of XBlock JavaScript
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.
Showing
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment