incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbuff...@apache.org
Subject svn commit: r421400 - /incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js
Date Wed, 12 Jul 2006 20:10:25 GMT
Author: bbuffone
Date: Wed Jul 12 13:10:25 2006
New Revision: 421400

URL: http://svn.apache.org/viewvc?rev=421400&view=rev
Log:
Modified getChildCount to childNodes.

Modified:
    incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js

Modified: incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js?rev=421400&r1=421399&r2=421400&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js Wed Jul 12 13:10:25 2006
@@ -945,8 +945,8 @@
     }
     
     //clone the children.
-	for ( var i = 0; i < node.getChildCount(); i++ ) {
-		var child = node.getChildAt(i);
+	for ( var i = 0; i < node.childNodes.length; i++ ) {
+		var child = node.childNodes[i];
 		if( child.nodeType == google.DOM_TEXT_NODE && child.nodeValue) {
 			htmlNode.appendChild(document.createTextNode(child.nodeValue));
 		}else{



Mime
View raw message