summaryrefslogtreecommitdiff
path: root/api/dwb-js.7
diff options
context:
space:
mode:
Diffstat (limited to 'api/dwb-js.7')
-rw-r--r--api/dwb-js.727
1 files changed, 24 insertions, 3 deletions
diff --git a/api/dwb-js.7 b/api/dwb-js.7
index 9a51c580..8964b910 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: 01/09/2013
+.\" Date: 01/17/2013
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "DWB\-JS" "7" "01/09/2013" "\ \&" "\ \&"
+.TH "DWB\-JS" "7" "01/17/2013" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -824,7 +824,7 @@ Executes a shell command using the default search path
The command to execute
.RE
.PP
-\fIstdin(String)\fR
+\fIstdout(String)\fR
.RS 4
Callback function for stdin, pass null if only stderr is needed, optional
.RE
@@ -1152,6 +1152,27 @@ Deferreds implement the following methods:
.nr an-break-flag 1
.br
.ps +1
+\fBvoid Deferred.always(Function callback)\fR
+.RS 4
+.sp
+Registers a function for then done and fail chain\&.
+.PP
+\fIcallback\fR
+.RS 4
+A callback function that will be called when the Deferred is resolved or rejected\&. If the function returns a deferred the original deferred will be replaced with the new deferred\&.
+.RE
+.PP
+\fIreturns\fR
+.RS 4
+A new deferred that can be used to chain callbacks\&.
+.RE
+.RE
+.sp
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+.ps +1
\fBvoid Deferred.done(Function callback)\fR
.RS 4
.sp