Comments (2)
Hello, Bquarmby!
Unfortunately, impossible to run the ActiveScript version of the Chakra in the ES5 compatibility mode (only supported ES3).
If you have installed the Internet Explorer 11, then you can install the MSIE JavaScript Engine v1.3.0, that includes the JsRT version of Chakra (supports ES5):
using (var jsEngine = new MsieJsEngine(JsEngineMode.ChakraJsRt))
{
jsEngine.ExecuteResource("TestJsLint.Resources.jslint.js", typeof (...));
...
}
If this variant does not suit you, then I recommend you to try my other project - JavaScriptEngineSwitcher.
from msiejavascriptengine.
Thanks for all the information. JsRT will be perfect for JSLint.NET once IE11 is more mainstream.
It turns out it's also possible to put a System.Windows.Forms.WebBrowser control into es5 mode and execute scripts that way. The only problem is that it requires a single threaded apartment context, which isn't always possible. Deal breaker for MSBuild.
I'll close this issue.
from msiejavascriptengine.
Related Issues (17)
- Async/Await / Promises support HOT 6
- Движок имеет ограничение на количество include файлов в Less HOT 6
- AccessViolationException HOT 7
- Anonymous Host Objects HOT 1
- What's the purpose of using MsieJavaScriptEngine? HOT 3
- crash in windows 8 / VS 2015 HOT 9
- Error in DateTime? type. HOT 4
- Block finalizer solved? HOT 8
- Documentation? HOT 10
- execute code from different threads HOT 6
- Binaries in source folders HOT 5
- Pass in JavaScript object reference to CallFunction HOT 2
- JsEngineLoadException: During loading of MSIE JavaScript engine error has occurred. HOT 11
- "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." HOT 21
- How to get data back from JS to C#? HOT 1
- Engine is crashing after Windows 10 anniversary update HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msiejavascriptengine.