Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pluggablejs [2016/04/24 17:51] – created Toni Corvera | pluggablejs [2017/05/19 01:31] (current) – [Hello world and pals] syntax highlighting and sample downloads Toni Corvera | ||
---|---|---|---|
Line 48: | Line 48: | ||
==== Hello world and pals ==== | ==== Hello world and pals ==== | ||
- | <file> | + | < |
- | // helloworld.js | + | |
out.println(" | out.println(" | ||
</ | </ | ||
- | '' | + | |
Hello World! | Hello World! | ||
---- | ---- | ||
- | <file> | + | < |
- | // namedhello.js | + | |
out.println(" | out.println(" | ||
</ | </ | ||
- | '' | + | |
What's your name?: Toni | What's your name?: Toni | ||
Hello Toni | Hello Toni | ||
Line 69: | Line 67: | ||
---- | ---- | ||
- | <file> | + | < |
- | // hellobye.js | + | |
// Includes usage of callbacks and reference to variables defined later on | // Includes usage of callbacks and reference to variables defined later on | ||
hooks.atexit(function() { | hooks.atexit(function() { | ||
Line 79: | Line 76: | ||
</ | </ | ||
- | '' | + | |
What's your name?: Toni | What's your name?: Toni | ||
Hello Toni! | Hello Toni! | ||
Line 86: | Line 83: | ||
---- | ---- | ||
- | <file> | + | < |
- | // plainjava.js | + | |
java.lang.System.out.println(" | java.lang.System.out.println(" | ||
</ | </ | ||
- | '' | + | |
Hello world without wrapping | Hello world without wrapping | ||
Line 100: | Line 96: | ||
---- | ---- | ||
- | < | + | < |
All dates/times in this page are UTC.