Open GoogleCodeExporter opened 8 years ago
I looked at the code quick and think that this might be just a lack of a return
in
server.js/slice():
if(step < 5){
// do an iterator friendly
i = 0;
for each(var item in obj){
if(i >= end){
return results;
}
if(i >= start && i % step == 0){
results.push(item);
}
i++;
if(i > maxIterations){
throwMaxIterations();
}
}
// return the results after this iterator friendly run?
return results;
}
Original comment by beau.cro...@gmail.com
on 8 Sep 2009 at 8:00
I checked in a fix for this, do you want to check to see if it fixes it?
Original comment by kris...@gmail.com
on 10 Sep 2009 at 12:23
Original issue reported on code.google.com by
rrm...@gmail.com
on 7 Sep 2009 at 11:53