From bf32163059811c822c46e2e17142f517cf9a0bac Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 Aug 2016 15:19:28 +0200 Subject: js: Add PDFObject.length and PDFObject.push() to handle arrays. --- docs/mutool/run.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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.
PDFObject#isDictionary()
PDFObject#forEach(function(key,value){...})
Iterate over all the entries in a dictionary or array and call fun for each key-value pair. +
PDFObject#length +
Length of the array. +
PDFObject#push(item) +
Append item to the end of the array.

-- cgit v1.2.3