Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External script using #9

Open
oguzhankarsli opened this issue Oct 4, 2016 · 0 comments
Open

External script using #9

oguzhankarsli opened this issue Oct 4, 2016 · 0 comments

Comments

@oguzhankarsli
Copy link

Hi,
im working on chakracore. i wanna use external javascript library like underscore.js, math.js etc.
How can i do it?

Example:

var underscore = ReadFromFile(underscore.js); var fn = engine.EvaluateScriptText(underscore); var fn = engine.EvaluateScriptText(@"var numberList = [1,2,4,20,80,12,42];" "var result = _.shuffle(numberList);" "result[0];");

_.shuffle is an underscore.js function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant