Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pluggablejs [2016/04/24 17:56]
Toni Corvera Made copyright italic
pluggablejs [2017/05/19 01:31] (current)
Toni Corvera [Hello world and pals] syntax highlighting and sample downloads
Line 48: Line 48:
 ==== Hello world and pals ==== ==== Hello world and pals ====
  
-<file+<​file ​javascript ​helloworld.js>
-// helloworld.js+
 out.println("​Hello World!"​) out.println("​Hello World!"​)
 </​file>​ </​file>​
Line 58: Line 57:
 ---- ----
  
-<file+<​file ​javascript ​namedhello.js>
-// namedhello.js+
 out.println("​Hello " + ui.prompt("​What'​s your name?"​)) out.println("​Hello " + ui.prompt("​What'​s your name?"​))
 </​file>​ </​file>​
Line 69: Line 67:
 ---- ----
  
-<file+<​file ​javascript ​hellobye.js>
-// 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 86: Line 83:
 ---- ----
  
-<file+<​file ​javascript ​plainjava.js>
-// plainjava.js+
 java.lang.System.out.println("​Hello world without wrapping"​);​ java.lang.System.out.println("​Hello world without wrapping"​);​
 </​file>​ </​file>​
All dates/times in this page are UTC.