rem: _tee: function (ident, sync, iterable) { sync.pos[ident] = -1; var m = MochiKit.Base; var listMin = m.listMin; return { repr: function () { return "tee(" + ident + ", ...)"; }, toString: m.forward("repr"), next: function () { var rval; var i = sync.pos[ident];  if (i == sync.max) { rval = iterable.next(); sync.deque.push(rval); sync.max += 1; sync.pos[ident] += 1; } else { rval = sync.deque[i - sync.min]; sync.pos[ident] += 1; if (i == sync.min && listMin(sync.pos) != sync.min) { sync.min += 1; sync.deque.shift(); } } return rval; } }; }, 
add: },_tee:function(_150,sync,_152){ sync.pos[_150]=-1; var m=MochiKit.Base; var _153=m.listMin; return {repr:function(){ return "tee("+_150+", ...)"; },toString:m.forward("repr"),next:function(){ var rval; var i=sync.pos[_150]; if(i==sync.max){ rval=_152.next(); sync.deque.push(rval); sync.max+=1; sync.pos[_150]+=1; }else{ rval=sync.deque[i-sync.min]; sync.pos[_150]+=1; if(i==sync.min&&_153(sync.pos)!=sync.min){ sync.min+=1; sync.deque.shift(); } } return rval; }}; },tee:function(_154,n){ 
context:     _tee: function (ident, sync, iterable) {        sync.pos[ident] = -1;        var m = MochiKit.Base;        var listMin = m.listMin;        return {            repr: function () { return "tee(" + ident + ", ...)"; },            toString: m.forward("repr"),            next: function () {                var rval;                var i = sync.pos[ident];                if (i == sync.max) {                    rval = iterable.next();                    sync.deque.push(rval);                    sync.max += 1;                    sync.pos[ident] += 1;                } else {                    rval = sync.deque[i - sync.min];                    sync.pos[ident] += 1;                    if (i == sync.min && listMin(sync.pos) != sync.min) {                        sync.min += 1;                        sync.deque.shift();                    }                }                return rval;            }        };    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js