Requirejs does not load other scripts in IE

I have a website that uses require.js (www.easyzag.com). It works fine on chrome / FF, but in IE it doesn't load any of my script files.

I tried using the IE9 dev tools but couldn't find much. It is included in the required file, but as soon as it is launched, there are no other script files associated with the dev tools.

There are no errors or anything on the console.

Any ideas on what I should check or what I might be doing wrong?

+4
source share
1 answer

IE 9 Cannot set custom attributes. You do this here, in the header of your page:

... script.setAttribute("data-main", "js/main"); ... 

You should put the tag in plain HTML in your header with the specified data-main attribute.

+2
source

All Articles