rem: tee: function (iterable, n/* = 2 */) { /***  tee(it, n=2) --> (it1, it2, it3, ... itn) splits one iterator into n  ***/ var rval = []; var sync = { "pos": [], "deque": [], "max": -1, "min": -1 }; if (arguments.length == 1) { n = 2; } var self = MochiKit.Iter; iterable = self.iter(iterable); var _tee = self._tee; for (var i = 0; i < n; i++) { rval.push(_tee(i, sync, iterable)); } return rval; }, 
add: },tee:function(_154,n){ var rval=[]; var sync={"pos":[],"deque":[],"max":-1,"min":-1}; if(arguments.length==1){ n=2; } var self=MochiKit.Iter; _154=self.iter(_154); var _tee=self._tee; for(var i=0;i<n;i++){ rval.push(_tee(i,sync,_154)); } return rval; },list:function(_156){ 
context:     tee: function (iterable, n/* = 2 */) {        /***            tee(it, n=2) --> (it1, it2, it3, ... itn) splits one iterator                into n        ***/        var rval = [];        var sync = {            "pos": [],            "deque": [],            "max": -1,            "min": -1        };        if (arguments.length == 1) {            n = 2;        }        var self = MochiKit.Iter;        iterable = self.iter(iterable);        var _tee = self._tee;        for (var i = 0; i < n; i++) {            rval.push(_tee(i, sync, iterable));        }        return rval;    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js