Script Loader

Jun 1, 2011 at 12:24 PM

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

Jun 2, 2011 at 9: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.