incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r424047 - /incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
Date Thu, 20 Jul 2006 20:31:13 GMT
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 ;
 }
 
 /**



Mime
View raw message