rem: replaceChildNodes: function (node/*, nodes...*/) { var elem = node; var self = MochiKit.DOM; if (typeof(node) == 'string') { elem = self.getElement(node); arguments[0] = elem; } var child; while ((child = elem.firstChild)) { elem.removeChild(child); } if (arguments.length < 2) { return elem; } else { return self.appendChildNodes.apply(this, arguments); } }, 
add: },replaceChildNodes:function(node){ var elem=node; var self=MochiKit.DOM; if(typeof (node)=="string"){ elem=self.getElement(node); arguments[0]=elem; } var _347; while((_347=elem.firstChild)){ elem.removeChild(_347); } if(arguments.length<2){ return elem; }else{ return self.appendChildNodes.apply(this,arguments); } },createDOM:function(name,_348){ 
context:     replaceChildNodes: function (node/*, nodes...*/) {        var elem = node;        var self = MochiKit.DOM;        if (typeof(node) == 'string') {            elem = self.getElement(node);            arguments[0] = elem;        }        var child;        while ((child = elem.firstChild)) {            elem.removeChild(child);        }        if (arguments.length < 2) {            return elem;        } else {            return self.appendChildNodes.apply(this, arguments);        }    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js