You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/07/20 20:31:13 UTC
svn commit: r424047 -
/incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
Author: mturyn
Date: Thu Jul 20 13:31:12 2006
New Revision: 424047
URL: http://svn.apache.org/viewvc?rev=424047&view=rev
Log:
Altered to use ArrayHelper instead of a random array method now removed from xap.util.Utils.
Modified:
incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js?rev=424047&r1=424046&r2=424047&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js Thu Jul 20 13:31:12 2006
@@ -94,7 +94,7 @@
* Is the property in the list of allowed ones?
*/
xap.bridges.dojo.DojoWidgetBridge.prototype.allowsInitialProperty = function(prop){
- return xap.util.Utils.doesArrayContain(this.getAllowedInitialProperties(),prop) ;
+ return xap.util.ArrayHelper.indexOf(this.getAllowedInitialProperties(),prop)>-1 ;
}
/**