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 jm...@apache.org on 2006/11/29 02:53:08 UTC
svn commit: r480350 - /incubator/xap/trunk/src/google/dom.js
Author: jmargaris
Date: Tue Nov 28 18:53:07 2006
New Revision: 480350
URL: http://svn.apache.org/viewvc?view=rev&rev=480350
Log:
added comment to come back later
Modified:
incubator/xap/trunk/src/google/dom.js
Modified: incubator/xap/trunk/src/google/dom.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/google/dom.js?view=diff&rev=480350&r1=480349&r2=480350
==============================================================================
--- incubator/xap/trunk/src/google/dom.js (original)
+++ incubator/xap/trunk/src/google/dom.js Tue Nov 28 18:53:07 2006
@@ -191,6 +191,8 @@
this.childNodes = newChildren;
}
+ //IMPORTANT why does this declare a whole new array instead of just
+ //using splice and the like?
XNode.prototype.removeChild = function(node) {
var newChildren = [];
for (var i = 0; i < this.childNodes.length; ++i) {