diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-08-24 15:19:28 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-08-30 16:55:25 +0200 |
commit | bf32163059811c822c46e2e17142f517cf9a0bac (patch) | |
tree | c20510bc95748dfa6d00c8c1244f90c34e3ed18e /docs/mutool/run.html | |
parent | d88fc90e806a72f90667ec780f3370794cbc0c42 (diff) | |
download | mupdf-bf32163059811c822c46e2e17142f517cf9a0bac.tar.xz |
js: Add PDFObject.length and PDFObject.push() to handle arrays.
Diffstat (limited to 'docs/mutool/run.html')
-rw-r--r-- | docs/mutool/run.html | 4 |
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> |