Array remove and indexof incompatible with SAP EPCF
SAP provides client script libraries for use in the SAP Enterprise Portal called EPCF (Enterprise Portal Client Framework). The following code is from the EPCF framework and produces unexpected output when run after ExtJs has added members to Array.
Is there an ExtJs build that does not add the remove and indexof members?
Ext specifically checks for existence of indexOf and remove before adding them to the Array prototype. So as long as Ext files are added after the SAP files, there should not be an issue.
Did you look at the SAP code to see if it's checking for existence of the functions? If it is and you can't include Ext after SAP, maybe you can override the SAP code. You could also edit the ext.js file to remove the inclusion of the 2 functions.