Script Loader

Jun 1, 2011 at 1:24 PM

Anyone thought about implementing a script loader to load multiple js files?  Is a ScriptSource descendant the way to go?  Thanks.

Coordinator
Jun 2, 2011 at 10:50 AM

Implementing a combining script source would be pretty easy but there are a few limitations around line number tracking.  If you want to run multiple scripts I recommend you just call ScriptEngine.ExecuteFile() on each one.