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

Error loading script in IE #23

Closed Maxmyd closed 12 years ago

Maxmyd commented 12 years ago

Hello, I try to open example page from IE9 and get the following errors in IE console:

  1. Object does not support property or method "getElementsByTagName". This raises from jquery.min.js
  2. Scenery from https://raw.github.com/meltingice/CamanJS/master/dist/caman.full.min.js was blocked because of MIME type mismatch. What's the problem? I cant even see any of your examples in IE9
meltingice commented 12 years ago

It looks like these two problems are issues with jQuery UI and a security setting in IE9, respectively.

IE is refusing to load CamanJS because it's being loaded directly from Github, which is outputting a mime type of text/plain instead of text/javascript.

I'm not entirely sure why jQuery UI is causing that bug, but CamanJS is not dependent on it. It's simply used for the sliders on the example page.

Maxmyd commented 12 years ago

I see... Well, thank you for looking into this issue, I will try to make a simple solution and check it. Thanks again.