rem: scrapeText: function (node, /* optional */asArray) { /***  Walk a DOM tree in-order and scrape all of the text out of it as a string or an Array  ***/ var rval = []; (function (node) { var cn = node.childNodes; if (cn) { for (var i = 0; i < cn.length; i++) { arguments.callee.call(this, cn[i]); } } var nodeValue = node.nodeValue; if (typeof(nodeValue) == 'string') { rval.push(nodeValue); } })(MochiKit.DOM.getElement(node)); if (asArray) { return rval; } else { return rval.join(""); } }, 
add: },scrapeText:function(node,_401){ var rval=[]; (function(node){ var cn=node.childNodes; if(cn){ for(var i=0;i<cn.length;i++){ arguments.callee.call(this,cn[i]); } } var _403=node.nodeValue; if(typeof (_403)=="string"){ rval.push(_403); } })(MochiKit.DOM.getElement(node)); if(_401){ return rval; }else{ return rval.join(""); } },__new__:function(win){ 
context:     scrapeText: function (node, /* optional */asArray) {        /***            Walk a DOM tree in-order and scrape all of the text out of it as a            string or an Array        ***/        var rval = [];        (function (node) {            var cn = node.childNodes;            if (cn) {                for (var i = 0; i < cn.length; i++) {                    arguments.callee.call(this, cn[i]);                }            }            var nodeValue = node.nodeValue;            if (typeof(nodeValue) == 'string') {                rval.push(nodeValue);            }        })(MochiKit.DOM.getElement(node));        if (asArray) {            return rval;        } else {            return rval.join("");        }    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js