ServerJS/System: Difference between revisions

move ServerJS/System/AmendmentProposals into this page
(update spec according to "Show of Hands")
(move ServerJS/System/AmendmentProposals into this page)
Line 11: Line 11:
* args: an Array containing the command line arguments for the invoking arguments, not including the interpreter/engine but including the path to the program as it was executed.
* args: an Array containing the command line arguments for the invoking arguments, not including the interpreter/engine but including the path to the program as it was executed.


Any names not mentioned here or amended into this specification later should begin with "x" and a vendor-specific label as a prefix, like system.xCajaDomita.  This will permit the future standardization of additional names as needed. Please request additional names in [[ServerJS/System/AmendmentProposals]].
Any names not mentioned here or amended into this specification later should begin with "x" and a vendor-specific label as a prefix, like system.xCajaDomita.  This will permit the future standardization of additional names as needed. Please request additional standard names below.
 
= Additional proposed names =
 
The following names have been proposed but not ratified for inclusion in the System proposal.
 
* print: The "system" MAY have a "print" function that accepts a "message" and an optional "label" String.
** The label MAY be one of "log", "warn", "error", "pass", "fail".
** Any other, unspecified label MUST be in lower-case and begin with "x" and a vendor-specific label like "x-v8cgi-database".
 
* platform: the "system" MAY contain a string with its vendor-specific platform name.
 
* global: the "system" MAY contain a reference to the global object.


= Show of Hands =
= Show of Hands =
62

edits