34
edits
(updated module names) |
(Narcissus.options) |
||
| Line 5: | Line 5: | ||
* '''host''' ("host code," "host JS," etc): JS code in the implementation of Narcissus | * '''host''' ("host code," "host JS," etc): JS code in the implementation of Narcissus | ||
* '''user''' ("user code," "user JS," etc): JS code being interpreted by Narcissus | * '''user''' ("user code," "user JS," etc): JS code being interpreted by Narcissus | ||
== Narcissus global object == | |||
Loading the Narcissus source files creates a global variable <code>Narcissus</code>. | |||
<code>Narcissus.options</code> is an object which can be used to set some global configuration options for Narcissus. Currently there is just one configuration option: | |||
{| border="1" | |||
! Property || Options | |||
|- | |||
| <code>version</code> || <code>185</code>, <code>"harmony"</code> | |||
|} | |||
== Narcissus modules == | == Narcissus modules == | ||
| Line 42: | Line 54: | ||
'''TODO:''' tighten this up as it stabilizes | '''TODO:''' tighten this up as it stabilizes | ||
== Interpreter == | == Interpreter == | ||
edits