From: Alexis Laferrière Date: Sat, 14 Jun 2014 10:00:19 +0000 (-0400) Subject: example: intro an emscripten wrapper around hello world X-Git-Tag: v0.6.6~28^2~4 X-Git-Url: http://nitlanguage.org example: intro an emscripten wrapper around hello world Signed-off-by: Alexis Laferrière --- 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

+ + + + + +