PDA

View Full Version : Strange .indexOf incompatibility with IE8



iPrezentr
28 Nov 2013, 1:57 AM
Hi,<br><br>I am aware that IE8 does not support the indexOf() javascript Array method. I would think though, that the ext.js framework would add support for it though, since it is in fact making use of it in its source.<br><br>Please see the attached image from IE's debugger. The break point reveals that the array "name" is just a regular array with one element "Customers" in it, so seemingly nothing out of the ordinary here.<br><br>Can anyone tell me then, why does IE8 fail on this method when it is being used in Ext's main .js file? (ext-all-dev.js). I know that Ext.js is supposed to support IE8, isn't it?<br><br><img src="http://www.sencha.com/forum/attachment.php?attachmentid=47039&amp;stc=1" attachmentid="47039" alt="" id="vbattach_47039" class="previewthumb">

mitchellsimoens
3 Dec 2013, 1:21 PM
we do: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.Array-method-indexOf