Commented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleNew Post: invoking js callback with params argument
hi, i want to invoke an js callback from c# with unknown arguments count example:public void Fire(string name, params object[]args) { if (_listeners.ContainsKey(name)) { foreach (var l in...
View ArticleNew Post: invoking js callback with params argument
Hello! One way to do this is to create a general-purpose dynamic invocation helper:// using System.Dynamic;// using System.Linq;// using Microsoft.CSharp.RuntimeBinder;publicstaticclass ObjectHelpers {...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View ArticleNew Post: V8 Iterators
It would be great if .NET objects exposed to V8 could provide ECMA Script 6 Iterator functionality. In order to achieve this, they would have to have a Symbol.iterator property when seen from V8. I...
View ArticleNew Post: V8 Iterators
Hello JohnGeeB, Patching ClearScript may not be necessary. Consider this code: engine.Script.host = new HostFunctions(); engine.AddHostType(typeof(IEnumerable)); engine.Execute(@"...
View ArticleNew Post: V8 Iterators
Amazing. Works perfectly. Thank you. May I ask another -- related -- question? The goal is Linq-style iterating, e.g. implementing a forEach with a callback parameter. Here...
View ArticleNew Post: global object - types
hello, i know you can add a global object like in browser - window so is it possible to add types to this object? so something like - globals.XmlHttpRequest
View ArticleNew Post: Script editor
you can use in winforms digitalrune texteditor and for wpf avalonedit these are the best editor controls, ive started an ide with digitalrune.texteditor and it will have js support
View ArticleNew Post: XMLHttpRequest, window and other Javascript objects
https://github.com/furesoft/OpenIDE/blob/master/OpenIDE/OpenIDE.Library/XmlHttpRequest.cs
View ArticleNew Post: V8 Iterators
Hi again, Amazing. Works perfectly. Well, not quite :) It doesn't support strongly-typed enumeration via IEnumerable<T>. We'll add more robust support for ES6 iteration in a future update. Now...
View ArticleNew Post: global object - types
Hi furesoft, You can use ClearScript's ExtendedHostFunctions for this purpose. Here's a sample:publicclass XmlHttpRequest { publicstaticvoid SomeMethod() { // code goes here } } publicclass Globals {...
View ArticleCommented Unassigned: On Error Resume Next in VBScript [97]
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...
View Article