summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorportix <none@none>2012-08-24 03:06:37 +0200
committerportix <none@none>2012-08-24 03:06:37 +0200
commit469e4c6b23c01bf4f1087776d6951412e32e0d57 (patch)
tree3059e6dba5ca14f42835cf7b7cd7d232ca9264bf /api
parent6010bfed1988b10564c718a3ded677d57fd0b1ff (diff)
downloaddwb-469e4c6b23c01bf4f1087776d6951412e32e0d57.zip
Implementing Array.fastLastIndexOf
Diffstat (limited to 'api')
-rw-r--r--api/dwb-js.725
-rw-r--r--api/jsapi.7.txt9
-rw-r--r--api/jsapi.txt16
3 files changed, 48 insertions, 2 deletions
diff --git a/api/dwb-js.7 b/api/dwb-js.7
index 7736300f..3cdec2fa 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: 08/22/2012
+.\" Date: 08/24/2012
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "DWB\-JS" "7" "08/22/2012" "\ \&" "\ \&"
+.TH "DWB\-JS" "7" "08/24/2012" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -882,6 +882,27 @@ The object to search for
The index in the array or \-1 if the Object wasn\(cqt found\&.
.RE
.RE
+.sp
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+.ps +1
+\fBNumber Array.fastLastIndexOf(Object object)\fR
+.RS 4
+.sp
+This method is basically the same as Array\&.lastIndexOf but without type checking\&.
+.PP
+\fIobject\fR
+.RS 4
+The object to search for
+.RE
+.PP
+\fIreturns\fR
+.RS 4
+The index in the array or \-1 if the Object wasn\(cqt found\&.
+.RE
+.RE
.SH "WEBKIT OBJECTS"
.sp
All webkit objects correspond to gobject objects, i\&.e\&. they have the same properties, but the javascript properties are all camelcase\&. For example, a WebKitWebView has the property \fBzoom\-level\fR, the corresponding javascript property is \fBzoomLevel\fR:
diff --git a/api/jsapi.7.txt b/api/jsapi.7.txt
index 3a0ed6c7..322ce54a 100644
--- a/api/jsapi.7.txt
+++ b/api/jsapi.7.txt
@@ -403,6 +403,15 @@ _object_;; The object to search for
_returns_;; The index in the array or -1 if the Object wasn't found.
****
+==== Number Array.fastLastIndexOf(Object object)
+****
+
+This method is basically the same as Array.lastIndexOf but without type checking.
+
+_object_;; The object to search for
+_returns_;; The index in the array or -1 if the Object wasn't found.
+****
+
== WEBKIT OBJECTS ==
diff --git a/api/jsapi.txt b/api/jsapi.txt
index c817887d..887399a5 100644
--- a/api/jsapi.txt
+++ b/api/jsapi.txt
@@ -751,6 +751,22 @@ _object_;; The object to search for
_returns_;; The index in the array or +-1+ if the Object wasn't found.
****
+****
+[[fastLastIndexOf]]
+[float]
+==== *Array.fastLastIndexOf()* ====
+[source,javascript]
+----
+Number Array.fastLastIndexOf(Object object)
+----
+
+This method is basically the same as +Array.lastIndexOf+ but without type checking.
+
+ ::
+
+_object_;; The object to search for
+_returns_;; The index in the array or +-1+ if the Object wasn't found.
+****
[[Webkitobjects]]
== Webkit objects ==