diff options
author | portix <portix@gmx.net> | 2012-11-11 23:17:47 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2012-11-11 23:17:47 +0100 |
commit | 83283bee0c45bc0b4d4b82e654ac8d72af2853dd (patch) | |
tree | f97010a079fde72763b470dfe516613660f795c7 /api | |
parent | 079ed073b53c6e17e137e7ccd4ada3bb669bc224 (diff) | |
download | dwb-83283bee0c45bc0b4d4b82e654ac8d72af2853dd.zip |
Updating api-documentation
Diffstat (limited to 'api')
-rw-r--r-- | api/dwb-js.7 | 10 | ||||
-rw-r--r-- | api/jsapi.7.txt | 6 | ||||
-rw-r--r-- | api/jsapi.txt | 6 |
3 files changed, 8 insertions, 14 deletions
diff --git a/api/dwb-js.7 b/api/dwb-js.7 index feba5eb7..5756ef78 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/07/2012 +.\" Date: 11/11/2012 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "DWB\-JS" "7" "11/07/2012" "\ \&" "\ \&" +.TH "DWB\-JS" "7" "11/11/2012" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -2623,9 +2623,7 @@ require(["foo!/path/to/foo"], function(foo) { .RS 4 .\} .nf -#!javascript - -provide("foo", { bar : 37 }); +provide("foo", { bar : 37; }); .fi .if n \{\ .RE @@ -2642,7 +2640,7 @@ The resolution chain is as follows, first all modules defined with \fBprovide\fR require(["foo!/path/to/foo"], function(foo) { io\&.print(foo\&.bar); // 42 }); -provide("foo", { bar : 42 }); +provide("foo", { bar : 42; }); .fi .if n \{\ .RE diff --git a/api/jsapi.7.txt b/api/jsapi.7.txt index 8bdb63e3..5c46d6c7 100644 --- a/api/jsapi.7.txt +++ b/api/jsapi.7.txt @@ -1291,9 +1291,7 @@ require(["foo!/path/to/foo"], function(foo) { ./path/to/foo ------- -#!javascript - -provide("foo", { bar : 37 }); +provide("foo", { bar : 37; }); ------- The resolution chain is as follows, first all modules defined with *provide* and @@ -1309,7 +1307,7 @@ is ignored and the stored module will be resolved: require(["foo!/path/to/foo"], function(foo) { io.print(foo.bar); // 42 }); -provide("foo", { bar : 42 }); +provide("foo", { bar : 42; }); ------- [source,javascript] diff --git a/api/jsapi.txt b/api/jsapi.txt index 7abdf176..278a1ffd 100644 --- a/api/jsapi.txt +++ b/api/jsapi.txt @@ -2186,9 +2186,7 @@ require(["foo!/path/to/foo"], function(foo) { ./path/to/foo [source,javascript] ------- -#!javascript - -provide("foo", { bar : 37 }); +provide("foo", { bar : 37; }); ------- The resolution chain is as follows, first all modules defined with +provide+ and @@ -2204,7 +2202,7 @@ is ignored and the stored module will be resolved: require(["foo!/path/to/foo"], function(foo) { io.print(foo.bar); // 42 }); -provide("foo", { bar : 42 }); +provide("foo", { bar : 42; }); ------- [source,javascript] |