PDA

View Full Version : [DUP] 4.2 - ext-all-dev.js and ext-all-debug.js broken in Internet Explorer (IE)



dcohn
16 Apr 2013, 7:49 AM
I use bootstrap.js to load the appropriate build, and with 4.1.1 it worked fine. With 4.2, loading ext-all-dev.js and ext-all-debug.js break due to


//@tag foundation,core

IE doesn't like this syntax, in fact, just typing it into the console in IE throws an error.

Happens with IE 8.0.7601.17514 and IE 9.0.8112.16421 and IE 10.0.9200.16521

slemmon
16 Apr 2013, 10:33 AM
Do you mean you're getting the error when you're compiling a production build using Sencha Cmd?
Or when are you seeing the error?

dcohn
16 Apr 2013, 10:34 AM
No this is when loaded in the browser. We don't do true compilation using Sencha Cmd. We use the old JSB process to concatenate a list of files together.

evant
16 Apr 2013, 1:13 PM
This means you have something in your script that is turning conditional compilation on in IE.

We have an issue filed against this: EXTJSIV-7555

dcohn
17 Apr 2013, 9:38 AM
Yes, we're loading an older version of CKEditor that has /*@cc_on!@*/ in it.

Looks like Drupal has had similar issues: http://drupal.org/node/1846214

I've moved my imports around to load bootstrap.js before ckeditor.js. For the future I think you'll need to remove that type of syntax from final build files so people don't struggle with this.