summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-08-24 15:19:28 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-08-30 16:55:25 +0200
commitbf32163059811c822c46e2e17142f517cf9a0bac (patch)
treec20510bc95748dfa6d00c8c1244f90c34e3ed18e /docs
parentd88fc90e806a72f90667ec780f3370794cbc0c42 (diff)
downloadmupdf-bf32163059811c822c46e2e17142f517cf9a0bac.tar.xz
js: Add PDFObject.length and PDFObject.push() to handle arrays.
Diffstat (limited to 'docs')
-rw-r--r--docs/mutool/run.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/mutool/run.html b/docs/mutool/run.html
index 5cc96a88..2eb4be0a 100644
--- a/docs/mutool/run.html
+++ b/docs/mutool/run.html
@@ -693,6 +693,10 @@ to JavaScript objects and arrays by getting and setting their properties.
<dt>PDFObject#isDictionary()
<dt>PDFObject#forEach(function(key,value){...})
<dd>Iterate over all the entries in a dictionary or array and call fun for each key-value pair.
+<dt>PDFObject#length
+<dd>Length of the array.
+<dt>PDFObject#push(item)
+<dd>Append item to the end of the array.
</dl>
<p>