Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript.

older | 1 | .... | 72 | 73 | (Page 74) | 75 | 76 | .... | 115 | newer

    0 0

    Neither JavaScript nor VBScript have native support for named arguments, but some way to specify host method arguments by name might be useful.
    Comments: It is good if named arguments are supported. It helps the maintainability and readability.

    0 0

    Neither JavaScript nor VBScript have native support for named arguments, but some way to specify host method arguments by name might be useful.
    Comments: I am evaluating ClearScript for one my upcoming project which is largely depend on javascript and C#. I recommend this would be most useful feature..

    0 0

    I agree that native script function calls won't be notified. However, getting notified of all host method/property invocation in a single place where we can also get the script line index would be useful. With this we will be able to tell the user the line that is getting executed. This will not give clear progress info in terms of 'how much is done and still to go'. But then in case of loops and branches it would anyway be a challenge to give extent complete. So, I guess, interception with line index would be a good start.

    Regards,
    Ram

    0 0

    Neither JavaScript nor VBScript have native support for named arguments, but some way to specify host method arguments by name might be useful.
    Comments: Named parameters is almost a necessity these days.

    0 0

    Hello,

    I have not been able to get XMLHttpRequest nor "window" to work. For example:
    window.open("http://www.example.com");
    or
    var xmlhttp = new XMLHttpRequest();
    I know that I can implement my own XMLHttpRequest and window objects. My question is, if it is possible to use the standard native objects implemented in the V8 javascript motor and how?

    Thank you!

    0 0

    Any thoughts about supporting the Edge JS engine?
    Comments: We're tracking Chakra support [here](https://clearscript.codeplex.com/workitem/29).

    0 0

    Any thoughts about supporting the Edge JS engine?

    0 0

    Any thoughts about supporting the Edge JS engine?

    0 0

    Greetings!

    The window and XMLHttpRequest objects are part of the Web API and are implemented by web browsers. They're not part of the JavaScript language standard and are not provided by V8 or JScript.

    Good luck!

    0 0

    It would be great to get access to the IE9+ Chakra engine as a lightweight (in terms of file size), ES5 compatible alternative to V8.
    Comments: any thoughts on how the situation has changed with the Edge engine (chakra.dll) and given that in the years that have passed since this was originally opened, a separate JS engine has been integrated that does not have the IActiveScript interface? Thanks,

    0 0

    It would be great to get access to the IE9+ Chakra engine as a lightweight (in terms of file size), ES5 compatible alternative to V8.
    Comments: The combination of [ES6 Proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) and native functions should _mostly_ unblock Chakra integration, but some features may still not be possible (e.g., GlobalMembers). We'll take a closer look when the new OS and tools are released.

    0 0

    It would be great to get access to the IE9+ Chakra engine as a lightweight (in terms of file size), ES5 compatible alternative to V8.

    0 0

    Good, now I know :-)
    Thank you for the answer!

    0 0

    Neither JavaScript nor VBScript have native support for named arguments, but some way to specify host method arguments by name might be useful.
    Comments: As we evaluate this feature, we'd love to hear your ideas about what named arguments would look like in JavaScript and VBScript. Here's one JavaScript possibility: ``` JavaScript engine.AddHostObject("host", new HostFunctions()); engine.AddHostType(typeof(Console)); engine.Execute(@" Console.WriteLine(host.args({ format: 'Pi = {0}', arg0: Math.PI })); "); ``` In this case the script code would invoke [this method](https://msdn.microsoft.com/en-us/library/586y06yf(v=vs.110).aspx). Thoughts?

    0 0

    I cannot build V8 on my Windows 7 64 bit workstation using your script. It fails at getting the patch. I have the latest GIT installed and it download the V8 source but stops on the patch. Doesn't even give an error the cmd file just exits.

    I was able to build v8 with the previous stable release. I don't have time to debug the reason for the failure, but just wanted to let others know of this problem in case they run into it.

    0 0

    I cannot build V8 on my Windows 7 64 bit workstation using your script. It fails at getting the patch. I have the latest GIT installed and it download the V8 source but stops on the patch. Doesn't even give an error the cmd file just exits.

    I was able to build v8 with the previous stable release. I don't have time to debug the reason for the failure, but just wanted to let others know of this problem in case they run into it.
    Comments: We can't reproduce this issue and the author hasn't posted a response in 10 days. Marking as resolved.

    0 0

    It would be great to get access to the IE9+ Chakra engine as a lightweight (in terms of file size), ES5 compatible alternative to V8.
    Comments: Awesome -- thanks for the update!

    0 0

    Neither JavaScript nor VBScript have native support for named arguments, but some way to specify host method arguments by name might be useful.

    0 0

    Is there any updated documentation for 5.4.2 describing how to achieve global camel case support?

    0 0

    Hi again,

    The generic binding hook feature is not in ClearScript 5.4.2, and we don't have an ETA. We're still evaluating what its scope should be and what its API should look like. Sorry!

    Thanks!

older | 1 | .... | 72 | 73 | (Page 74) | 75 | 76 | .... | 115 | newer