[Javascript] loading external js library

vade's icon

Hi,

is it possible within javascript to have a separate file with
commonly used functions, that all my JSUI objects can link to,
similar to how I can include() in php, etc? Sorry, this is JS
n00bish, just want to organize my code and keep stuff from being messy.

v a d e //

www.vade.info
abstrakt.vade.info

wallace winfrey's icon

Moving this thread to javascript-dev...

Emmanuel Jourdan's icon

Hi,

You have to create a file in the C74:/jsextensions folder. Jitter
comes with 3 *Utils.js file which demonstrate this.

Best,
ej

animation_nerd's icon

Are there any new/alternative ways of loading/using external js libraries? For instance, the Sylvester library? http://sylvester.jcoglan.com/