imazen / studiojs

[Deprecated] A set of jQuery plugins that compose a flexible, web-based image editing studio.
92 stars 29 forks source link

live demo at http://studio.imageresizing.net/studio.html not functioning in recent Chrome/Firefox due to X-Content-Type-Options: nosniff support added, breaking scripts loading from raw.github.com #9

Closed jamesmanning closed 10 years ago

jamesmanning commented 11 years ago

Runtime errors in Chrome console:

Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/jquery-1.8.2.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/underscore-min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/jquery-ui-1.9.1.custom.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.Jcrop.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.jcrop.preview.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/ImageResizer.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.imagestudio.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.overdraw.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Uncaught ReferenceError: $ is not defined 

Background info:

if the traffic to the live demo is low enough, a possible quick fix:

lilith commented 10 years ago

Thanks, fixed it!