Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
custom:javascript [2018/12/27 19:47] – Added link to JS Libraries index digital man | custom:javascript [2018/12/27 20:03] – [load] include link to 'load' dir page, use writeln() intead of print() in examples digital man | ||
---|---|---|---|
Line 76: | Line 76: | ||
The Synchronet JavaScript object model includes a global method: '' | The Synchronet JavaScript object model includes a global method: '' | ||
- | The '' | + | The '' |
There are 3 primary ways to use the '' | There are 3 primary ways to use the '' | ||
Line 89: | Line 89: | ||
var queue = load(true, ' | var queue = load(true, ' | ||
var value = queue.read(1000); | var value = queue.read(1000); | ||
- | print(value); | + | writeln(value); |
</ | </ | ||
Line 110: | Line 110: | ||
lib.do_thing(); | lib.do_thing(); | ||
if(lib.status_good == true) | if(lib.status_good == true) | ||
- | | + | |
else | else | ||
alert(' | alert(' |