-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add AddHostObject To Engine but call cannot working #1
Comments
Hello @stone89son. You may need to transform templates This project is very old and in dire need of a refactor. I could clean it up during the weekend. |
■"This project is very old and in dire need of a refactor. I could clean it up during the weekend." |
I have looked around the ClearScript project and it has added some nice features. Considering they are supporting CommonJS and ES6 modules, then other features can be implemented using those. But anyhow, we could tweak (and simplify) this library a bit by making it a convenient wrapper around CommonJS modules. I don't see how we could implement ES6 with stuff like JSON or DLLs. I say we make the following:
|
Thank for good javascript engine.
I want to print result from JS code to RichTextBox. so I using AddHostObject.
My Code add to C# My Application:
shipEngine.Engine.AddHostObject("rtbResult", rtbResult);
My code Add to JS code:
rtbResult.Text="aaaaa";
But. When i run application give to error:
System.InvalidOperationException: 'Module 'repl' not found.'
If I use ClearScript is run OK.
The text was updated successfully, but these errors were encountered: