summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorportix <none@none>2012-11-03 12:53:51 +0100
committerportix <none@none>2012-11-03 12:53:51 +0100
commitcbe571fd3e9d53d45816b58945cc914e9993664f (patch)
tree68f88f0d3b0796fc555deea911d3625fe10ad232
parent7b83f6b1853abea9a9571e15c7433f3eff579c99 (diff)
downloaddwb-cbe571fd3e9d53d45816b58945cc914e9993664f.zip
Updating man page
-rw-r--r--api/dwb-js.726
-rw-r--r--api/jsapi.7.txt11
-rw-r--r--api/jsapi.txt11
3 files changed, 30 insertions, 18 deletions
diff --git a/api/dwb-js.7 b/api/dwb-js.7
index 842daff8..b02f651f 100644
--- a/api/dwb-js.7
+++ b/api/dwb-js.7
@@ -2,12 +2,12 @@
.\" Title: dwb-js
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
-.\" Date: 11/01/2012
+.\" Date: 11/03/2012
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "DWB\-JS" "7" "11/01/2012" "\ \&" "\ \&"
+.TH "DWB\-JS" "7" "11/03/2012" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -493,19 +493,29 @@ The io object implements methods for input and output\&.
.nr an-break-flag 1
.br
.ps +1
-\fBvoid io.debug(String message | Error error, [Error error])\fR
+\fBvoid io.debug([Object detail])\fR
.RS 4
.sp
-Prints a debug message and the call stack to stderr\&. If the first parameter is an error object the second parameter is ignored, else the error is optional\&.
+Prints a debug message and the call stack to stderr\&.
.PP
-\fImessage\fR
+\fIdetail\fR
.RS 4
-The message to show
+Message details, optional
+.RE
+.PP
+\fIdetail\&.message\fR
+.RS 4
+The message to show, optional
+.RE
+.PP
+\fIdetail\&.error\fR
+.RS 4
+An Error object, optional
.RE
.PP
-\fIerror\fR
+\fIdetail\&.arguments\fR
.RS 4
-A javascript error object, optional as second parameter
+Arguments, optional
.RE
.RE
.sp
diff --git a/api/jsapi.7.txt b/api/jsapi.7.txt
index cc1a8bb6..63390a90 100644
--- a/api/jsapi.7.txt
+++ b/api/jsapi.7.txt
@@ -226,14 +226,15 @@ _data.searchEngines_;; Searchengines
=== io ===
The io object implements methods for input and output.
-==== void io.debug(String message | Error error, [Error error])
+==== void io.debug([Object detail])
****
-Prints a debug message and the call stack to stderr. If the first parameter is
-an error object the second parameter is ignored, else the error is optional.
+Prints a debug message and the call stack to stderr.
-_message_;; The message to show
-_error_;; A javascript error object, optional as second parameter
+_detail_;; Message details, optional
+_detail.message_;; The message to show, optional
+_detail.error_;; An Error object, optional
+_detail.arguments_;; Arguments, optional
****
==== Array io.dirNames(String path)
diff --git a/api/jsapi.txt b/api/jsapi.txt
index 993fcec3..cc16f43e 100644
--- a/api/jsapi.txt
+++ b/api/jsapi.txt
@@ -365,16 +365,17 @@ The +io+ object implements methods for input and output.
[source,javascript]
----
-void io.debug(String message | Error error, [Error error])
+void io.debug([Object detail])
----
-Prints a debug message and the call stack to stderr. If the first parameter is
-an error object the second parameter is ignored, else the error is optional.
+Prints a debug message and the call stack to stderr.
::
-_message_;; The message to show
-_error_;; A javascript error object, optional as second parameter
+_detail_;; Message details, optional
+_detail.message_;; The message to show, optional
+_detail.error_;; An Error object, optional
+_detail.arguments_;; Arguments, optional
****
****