renamed Script to JSU
[org.ibex.js.git] / src / org / ibex / js / SOAP.java
index d1a2d61..519eac7 100644 (file)
@@ -49,16 +49,16 @@ public class SOAP extends XMLRPC {
             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[] { });
@@ -152,7 +152,7 @@ public class SOAP extends XMLRPC {
         } 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");
             }