fix setting console documentation
This commit is contained in:
@@ -1668,11 +1668,12 @@ actor[prosperon.DOC] = {
|
||||
}
|
||||
|
||||
// Expand console.doc to document the console object and missing methods
|
||||
console.doc.doc = `The console object provides various logging, debugging, and output methods.`
|
||||
console.doc.spam = `Output a spam-level message for very verbose logging.`
|
||||
console.doc.debug = `Output a debug-level message.`
|
||||
console.doc.panic = `Output a panic-level message and exit the program.`
|
||||
console.doc.assert = `If the condition is false, print an error and panic.`
|
||||
console[prosperon.DOC] = {}
|
||||
console[prosperon.DOC][prosperon.DOC] = `The console object provides various logging, debugging, and output methods.`
|
||||
console[prosperon.DOC].spam = `Output a spam-level message for very verbose logging.`
|
||||
console[prosperon.DOC].debug = `Output a debug-level message.`
|
||||
console[prosperon.DOC].panic = `Output a panic-level message and exit the program.`
|
||||
console[prosperon.DOC].assert = `If the condition is false, print an error and panic.`
|
||||
|
||||
// Document the Register object
|
||||
Register[prosperon.DOC] = {
|
||||
|
||||
Reference in New Issue
Block a user