-
17 Oct 2012 10:48 PM #1
Ext fail when IE uses conditional comments
Ext fail when IE uses conditional comments
If I turn on conditional comments, default ext application throw syntax error
PHP Code:SCRIPT1004: Expected ';'
Easing.js?_dc=1350541991462, line 1
SCRIPT5022: The following classes are not declared even if their files have been loaded: 'Ext.fx.Easing'. Please check the source code of their corresponding files for possible typos: 'ext/src/fx/Easing.js ext-dev.js, line 9978
It happen because first line in Easing.js look like conditional directive and IE wrong interpret itPHP Code:/*@cc_on!@*/
Ext.application({
controllers: ["Main"],
views: ["Main"],
name: 'app',
autoCreateViewport: true
});
PHP Code://@define Ext.fx.Easing <--- syntax error here
/**
* @class Ext.fx.Easing
....
*/
-
19 Oct 2012 5:06 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
Thanks for the report
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
You found a bug! We've classified it as
EXTJSIV-7555
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote