crap, forgot to remove a piece of temporary code

This commit is contained in:
Michael Ficarra
2010-12-16 04:43:32 -05:00
parent bd463a038c
commit 85afef9981
2 changed files with 2 additions and 2 deletions

View File

@@ -790,7 +790,7 @@
fromStr = from ? from.compile(o) : '0';
compiled = to != null ? to.compile(o, LEVEL_PAREN) : void 0;
if (to && !(!this.range.exclusive && +compiled === -1)) {
toStr = ', ' + (this.range.exclusive ? to.compile(o) : /^[+-]?\d+$/.test(compiled) ? new Literal(+compiled + 1).compile(o) : ((_ref2 = to.cache(o), definition = _ref2[0], ref = _ref2[1], _ref2), '(' + definition.compile(o, LEVEL_PAREN) + ' + 1) ? ' + ref.compile(o) + ' : 1/0'));
toStr = ', ' + (this.range.exclusive ? to.compile(o) : /^[+-]?\d+$/.test(compiled) ? '' + (+compiled + 1) : ((_ref2 = to.cache(o), definition = _ref2[0], ref = _ref2[1], _ref2), '(' + definition.compile(o, LEVEL_PAREN) + ' + 1) ? ' + ref.compile(o) + ' : 1/0'));
}
return ".slice(" + fromStr + (toStr || '') + ")";
};