Open GoogleCodeExporter opened 8 years ago
This should fix it:
JsObject.cs
public static final JsObject STRING_PROTOTYPE =
....
.addVar("slice", new JsFunction(ID_SLICE, 2))
.addVar("split", new JsFunction(ID_SPLIT, 2))
.addVar("substring", new JsFunction(ID_SUBSTRING, 2))
...
evalNative(int index, JsArray stack, int sp, int parCount)
{
...
case ID_SPLIT:
{
...
double limit = stack.isNull(sp + 3) ? Double.NaN : stack.getNumber(sp + 3);
...
Original comment by dak...@gmail.com
on 12 Oct 2009 at 1:21
Original issue reported on code.google.com by
tbishop...@gmail.com
on 29 Jul 2009 at 8:37