Copy link to clipboard
Copied
I've detected mistake, or at least I think so, in JavaScript™ for Acrobat® API Reference latest version,
page 258 - Doc properties - templates -
Example
List all templates in the document.
var t = this.templates for ( var i=0; i < t.length; i++) {
var state = (t.hidden) ? "visible" : "hidden"
console.println("Template: \"" + t.name + "\", current state: " + state);
}
" var state = (t.hidden) ? "visible" : "hidden" " here "visible" and "hidden" are mixed up.
not much a mistake, but I really got confused.
Well spotted. It's not the only one, I can assure you...
Copy link to clipboard
Copied
Well spotted. It's not the only one, I can assure you...
Copy link to clipboard
Copied
It'll never get fixed
Copy link to clipboard
Copied
I wrote it because hoped someone responsible
could report this and it'll be corrected,
sad