Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live

New Post: function: dynamicly parameters

In which language? Please be specific.

View Article



New Post: Invalid constructor invocation

After we provided a suitable Console object, this code worked perfectly with ClearScript 5.3.11. Are you using an older version?

View Article

New Post: Invalid constructor invocation

i use the latest version and the Console object is a firebug-console implementation

View Article

New Post: function: dynamicly parameters

in js in clearscript

View Article

New Post: function: dynamicly parameters

All JavaScript functions can take any number of arguments. Please see here.

View Article


New Post: Invalid constructor invocation

Can you provide more information? Which script engine are you using? How are you exposing XmlHttpRequest to the script engine? How are you loading and executing the JavaScript code?

View Article

New Post: Invalid constructor invocation

i use JScriptEngine se.AddHostObject("XmlHttpRequest", new XmlHttpRequest()); i execute with: js.Evaluate(Properties.Resources.Run); i also tried with execute, but same error

View Article

New Post: Invalid constructor invocation

in c# works the code correctly

View Article


New Post: Invalid constructor invocation

Hi furesoft, You're exposing an object - an instance of the XmlHttpRequest class. For the new operator to work, you need to expose the class itself: se.AddHostType("XmlHttpRequest",...

View Article


New Post: Invalid constructor invocation

oh, my bad thanks

View Article

New Post: Serializing the entire engine

So I know you can't do what the subject suggests. What I'd like is the next best thing. I'm trying to save as much of the running engine instance as possible so that I can re-instantiate it later and...

View Article

New Post: Serializing the entire engine

Hello!​ 1) How do I get access to all root objects from inside the CLR?​ You can do something like this:foreach (var name in engine.Script.GetDynamicMemberNames()) { var obj = engine.Script[name]; //...

View Article

New Post: Calling a generic C# method from javascript

i know i would know too how can i use

View Article


New Post: get a list of functions

hi, how can i get a list of all functions?found

View Article

New Post: Calling a generic C# method from javascript

One way could be to add a host type and pass it to the generic method ?

View Article


New Post: using typescript

Hello furesoft, The TypeScript compiler generates JavaScript code, which ClearScript should be able to execute. If you'd like use ClearScript to run the TypeScript compiler itself, take a look here....

View Article

New Post: Calling a generic C# method from javascript

Hello maicalal,​ One way could be to add a host type and pass it to the generic method ?​ That's correct. Many generic methods don't require explicit type arguments because their type arguments can be...

View Article


New Post: Using ClearScript. WebApplication problem

This issue seems a bit of an epic. I've read through and tried a lot of things here, but I'm still unable to run my website.Installed via NuGet package (bear with me, I don't think that's the issue --...

View Article

New Post: Using ClearScript. WebApplication problem

Hi willeyams, you can use the AssemblyResolve event to point your application to the correct binaries. I've deployed successfully my ASP.NET application to Azure with this technique. First, you...

View Article

New Post: Using ClearScript. WebApplication problem

Hello andrea_schirru! Thank you very much for posting that sample, and for your kind words! Cheers!

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images