Forums > Javascript

[Javascript] loading external js library

February 2, 2006 | 2:14 am

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 //

http://www.vade.info
abstrakt.vade.info


February 2, 2006 | 3:26 am

Moving this thread to javascript-dev…


February 2, 2006 | 8:52 am

Hi,

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

Best,
ej


June 27, 2012 | 6:13 pm

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


Viewing 4 posts - 1 through 4 (of 4 total)