Commits

Kota UENISHI  committed c68611b

working

  • Participants
  • Parent commits 517f2f1

Comments (0)

Files changed (1)

File jsx/hello.jsx

+// class _Main {
+//     static function main(args : string[]) : void {
+//         log "Hello, world!";
+//     }
+// }
+
+import "js/web.jsx";
+
 class _Main {
+
     static function main(args : string[]) : void {
-        log "Hello, world!";
+        var document = dom.window.document;
+
+        var text = document.createTextNode("Hello, world!");
+        document.getElementById("hello").appendChild(text);
     }
+
 }