marcoslin / angularAMD

Facilitate use of RequireJS in AngularJS
http://marcoslin.github.io/angularAMD
MIT License
734 stars 171 forks source link

Sample Plunks do not execute in chrome #54

Closed christopherthielen closed 10 years ago

christopherthielen commented 10 years ago

The cause is linking angularAMD.min.js direct to raw.github.com.

Refused to execute script from 'http://raw.github.com/marcoslin/bower-angularAMD/v0.0.2/angularAMD.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

marcoslin commented 10 years ago

The best solution is to have a CDN for angularAMD. I created https://github.com/jsdelivr/jsdelivr/pull/854 hoping to solve this problem once for all.