From 2ca6f43db9a35b360bae16c10ae665cec4bcd3b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Sat, 14 Jun 2014 06:00:19 -0400 Subject: [PATCH] example: intro an emscripten wrapper around hello world MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- examples/emscripten/hello_world/Makefile | 2 + examples/emscripten/hello_world/www/index.html | 48 ++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 examples/emscripten/hello_world/Makefile create mode 100644 examples/emscripten/hello_world/www/index.html diff --git a/examples/emscripten/hello_world/Makefile b/examples/emscripten/hello_world/Makefile new file mode 100644 index 0000000..5fea224 --- /dev/null +++ b/examples/emscripten/hello_world/Makefile @@ -0,0 +1,2 @@ +emscripten: + ../../../bin/nitg -o www/hello_world.js ../../hello_world.nit -m emscripten diff --git a/examples/emscripten/hello_world/www/index.html b/examples/emscripten/hello_world/www/index.html new file mode 100644 index 0000000..0820561 --- /dev/null +++ b/examples/emscripten/hello_world/www/index.html @@ -0,0 +1,48 @@ + + + + + + + + + + +

Status

+

Loading...

+ +

Program output

+ + + + + + -- 1.7.9.5