if (key.endsWith("ype")) {
if (value.endsWith("boolean")) {
objects.pop();
- objects.push(Script.B(true));
+ objects.push(JSU.B(true));
} else if (value.endsWith("int")) {
objects.pop();
- objects.push(Script.N(0));
+ objects.push(JSU.N(0));
} else if (value.endsWith("double")) {
objects.pop();
- objects.push(Script.N(0.0));
+ objects.push(JSU.N(0.0));
} else if (value.endsWith("string")) {
objects.pop();
- objects.push(Script.S(""));
+ objects.push(JSU.S(""));
} else if (value.endsWith("base64")) {
objects.pop();
objects.push(new byte[] { });
} else if (parent != null && parent instanceof JS) {
objects.pop();
try {
- ((JS)parent).put(Script.S(name), me);
+ ((JS)parent).put(JSU.S(name), me);
} catch (JSExn e) {
throw new Error("this should never happen");
}