Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

load javascript function into global scope

$
0
0

Hello forum,

 

i send a lot of different scripts to IDS, but they often need to use the same functions i wrote. Is there a way to define such functions once, and to use them within subsequent scripts, without sending the function within that new script. As my scripts grow, it would be great if i don't had  to put all needed functions in that scripts and send the whole stuff with every request. The only way i see is to use evalFile, but is that a faster and better alternative?

 

greets

 

Michael


Viewing all articles
Browse latest Browse all 20709

Trending Articles