move JS's Hashtable to JS.O
[org.ibex.core.git] / src / org / ibex / graphics / HTML.java
index 47de2e0..8896e6f 100644 (file)
@@ -52,7 +52,7 @@ public class HTML {
 
     public static synchronized JS parseReader(Reader r) throws IOException, JSExn {
         CharStream cs = new CharStream(r);
 
     public static synchronized JS parseReader(Reader r) throws IOException, JSExn {
         CharStream cs = new CharStream(r);
-        JS h = new JS();
+        JS h = new JS.O();
 
         withinLI = false;
         h.put("$name", "html");
 
         withinLI = false;
         h.put("$name", "html");
@@ -163,7 +163,7 @@ public class HTML {
             try {
                 // scan subelement
                 if (cs.peek() != '/') {
             try {
                 // scan subelement
                 if (cs.peek() != '/') {
-                    JS kid = new JS();
+                    JS kid = new JS.O();
                     closetag = parseElement(cs, kid);
                     h.put(String.valueOf(length), kid); 
                     h.put("$numchildren", new Integer(++length));
                     closetag = parseElement(cs, kid);
                     h.put(String.valueOf(length), kid); 
                     h.put("$numchildren", new Integer(++length));