When I use this code it works:
when I use this , it does not:
my directory structure for CodeMirror is:
The fact that the site is served from
localhost is very unlikely to have anything to do with this. The way you use
Script/codemirror in your require config, yet claim that the scripts are in
Scripts/CodeMirror (capitalized) might be the problem.
Thank you for the quick reply. I took a look at my structure and saw that it is lowercase, which does match the requirejs parameter. I’Il try reloading the libs from your site. I’ll let you know. Thanks again.
The issue was the the sub directories were missing below the mode directory. i.e. I had mode/xml.js while I needed mode/xml/xml.js. Thanks again.