meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation
http://camanjs.com
BSD 3-Clause "New" or "Revised" License
3.55k stars 404 forks source link

Camanjs.com examples page broken in Chrome 27+ #75

Closed lukaszfiszer closed 11 years ago

lukaszfiszer commented 11 years ago

Google Chrome, starting from version 27 (dev channel currently), is blocking scripts with "X-Content-Type-Options: nosniff" header. This breaks all examples on camanjs.com because caman.full.min.js simply won't load. Chrome's console reports:


Refused to execute script from 'http://raw.github.com/meltingice/CamanJS/master/dist/caman.full.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled

Possible solution is to use Github Pages instad of raw.github.com. More info here https://plus.google.com/104437754419996754779/posts/28f8HS2M7cb

meltingice commented 11 years ago

CamanJS is now hosted from Github Pages, thanks for the heads up.

lukaszfiszer commented 11 years ago

Thanks for the fix and for your work on this awasome library!