Hello,
Is it possible to load an external script within my JavascriptContext using block?
```
using (JavascriptContext context = new JavascriptContext())
{
// Script
string script = @"
var ret = SomeFunDefinedInOtherFile(); // *** need to load this from other .js file
alert(ret);
";
// Running the script
context.Run(script);
}
```
Thanks everyone for your input.
Is it possible to load an external script within my JavascriptContext using block?
```
using (JavascriptContext context = new JavascriptContext())
{
// Script
string script = @"
var ret = SomeFunDefinedInOtherFile(); // *** need to load this from other .js file
alert(ret);
";
// Running the script
context.Run(script);
}
```
Thanks everyone for your input.