SmartGwt 2.4
firefox & chrome
I'm writing a smartgwt component as an add on for existing web sites (SugarCrm), essentially a floating tool bar.
The problem is that the existing site is iterating over an array, building a table. The array is actually empty but the table is filled with the bodies of all the isc_Arra_xxx functions.
skills is an empy array. yet this.addRow is called once for each isc function.
for (var i in this.skills) this.addRow(i, this.skills);
When debugging under chrome I can see that the array has __Proto__ and all of the isc functions.
Is there a way to prevent this with out interfering with the existing site? and why is it happening
some example out Skill: function isc_Arra_or(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=0;for(var i=_1;i<_2;i++) if(this[i])return true;return false} Rating:
Skill: function isc_Arra_and(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;for(var i=_1;i<_2;i++) if(!this[i])return false;return true} Rating:
Skill: function isc_Arra_sum(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=0;for(var i=_1;i<_2;i++) if(isc.isA.Number(this[i]))_3+=this[i];return _3} Rating:
Skill: function isc_Arra_min(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=null;for(var i=_1;i<_2;i++){var _5=this[i];if(isc.isA.Number(_5)){if(_3==null)_3=_5;else _3=Math.min(_3,_5)}} return _3} Rating:
Skill: function isc_Arra_max(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=null;for(var i=_1;i<_2;i++){var _5=this[i];if(isc.isA.Number(_5)){if(_3==null)_3=_5;else _3=Math.max(_3,_5)}} return _3} Rating:
put
firefox & chrome
I'm writing a smartgwt component as an add on for existing web sites (SugarCrm), essentially a floating tool bar.
The problem is that the existing site is iterating over an array, building a table. The array is actually empty but the table is filled with the bodies of all the isc_Arra_xxx functions.
skills is an empy array. yet this.addRow is called once for each isc function.
for (var i in this.skills) this.addRow(i, this.skills);
When debugging under chrome I can see that the array has __Proto__ and all of the isc functions.
Is there a way to prevent this with out interfering with the existing site? and why is it happening
some example out Skill: function isc_Arra_or(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=0;for(var i=_1;i<_2;i++) if(this[i])return true;return false} Rating:
Skill: function isc_Arra_and(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;for(var i=_1;i<_2;i++) if(!this[i])return false;return true} Rating:
Skill: function isc_Arra_sum(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=0;for(var i=_1;i<_2;i++) if(isc.isA.Number(this[i]))_3+=this[i];return _3} Rating:
Skill: function isc_Arra_min(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=null;for(var i=_1;i<_2;i++){var _5=this[i];if(isc.isA.Number(_5)){if(_3==null)_3=_5;else _3=Math.min(_3,_5)}} return _3} Rating:
Skill: function isc_Arra_max(_1,_2){if(_1==null)_1=0;if(_2==null)_2=this.length;var _3=null;for(var i=_1;i<_2;i++){var _5=this[i];if(isc.isA.Number(_5)){if(_3==null)_3=_5;else _3=Math.max(_3,_5)}} return _3} Rating:
put