PDA

View Full Version : [4.0.7] IE throw error on ext.js



kinestetic
24 Oct 2011, 12:49 AM
REQUIRED INFORMATION Ext version tested:

Ext 4.0.7
Ext 4.0.2
Browser versions tested against:

IE7
IE8
IE9
Description:

Using MVC pattern whith including ext.js file. When app is loading, IE throws error (identifier expected) .
Steps to reproduce the problem:

Include ext.js(ext-debug.js) file
Create application
Launch in IE
The result that was expected:

Fine application loading whithout errors
The result that occurs instead:

IE throws error on ext.js (15:4176) or ext-debug.js (570:13)
Here is this part (the same from ext-debug.js 570:13):



functionFactory: function() {
var args = Array.prototype.slice.call(arguments);


if (args.length > 0) {
args[args.length - 1] = 'var Ext=window.' + this.getUniqueGlobalNamespace() + ';' +
args[args.length - 1];
}
//error is here
return Function.prototype.constructor.apply(Function.prototype, args);
}



UPDATE: OPERA 11 also throws error