Create gh-pages branch to serve promise.js and promise.min.js for remote use
Closed this issue · 1 comments
Playing by using your library, I got an usual message "Refused to execute script from 'https://raw.github.com/stackp/promisejs/master/promise.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled." in Chrome.
The solution is to serve files using gh-pages because of Github evolution (https://github.com/blog/1482-heads-up-nosniff-header-support-coming-to-chrome-and-firefox)
Hey Thomas,
To this day, promise.js has no formal release process so it is probably not the best idea to fetch the js file from master HEAD, as you might run into API changes issues one day. If you can't store the lib on your server, consider forking master in your own github account and create the gh-pages branch there.
Cheers.