Multiple JS Libraries?

2 views
Skip to first unread message

Ben Ilegbodu

unread,
Dec 24, 2009, 1:02:45 PM12/24/09
to uize
So I've been using the Uize framework for quite some time to do various scripting tasks (generating hundreds of images in Photoshop, documents back up script, page scraping, etc.).  For all of those scripts, I've been pointing to the Uize JS library that I downloaded (and periodically update). I've added a couple of modules to perform common scripting tasks.

Now I want to use the Uize framework to build a website that will use the Uize framework on the client.  My problem is that I don't think I can use the same set of libraries for everything.  I don't want the modules I've created for the purposes of console/Photoshop scripting, nor the modules necessary for building the website (JSTs, JSON configuration files, etc.) in the web code.

Since it's not possible with the module loader system to have library files in multiple locations (so that I could put the various application-specific libraries in their own separate place), would you suggest that I just create multiple instances of the Uize library for each different use-case?

Reply all
Reply to author
Forward
0 new messages