summaryrefslogtreecommitdiff
path: root/examples/helloworld/startup.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld/startup.js')
-rw-r--r--examples/helloworld/startup.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/helloworld/startup.js b/examples/helloworld/startup.js
new file mode 100644
index 0000000..f45e4cb
--- /dev/null
+++ b/examples/helloworld/startup.js
@@ -0,0 +1,8 @@
+/* Scala.js example code
+ * Public domain
+ * Author: Sébastien Doeraene
+ */
+
+$(function() {
+ ScalaJS.modules.helloworld_HelloWorld().main();
+});