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

Commented Unassigned: setTimeout fails after upgrade [93]

I just upgraded from version 5.4.2 to 5.4.3 and script code that once worked now fails with the error "Object doesn't support this property or method". I am using V8.I added a host object that is a...

View Article



Edited Issue: setTimeout fails after upgrade [93]

I just upgraded from version 5.4.2 to 5.4.3 and script code that once worked now fails with the error "Object doesn't support this property or method". I am using V8.I added a host object that is a...

View Article

Closed Issue: setTimeout fails after upgrade [93]

I just upgraded from version 5.4.2 to 5.4.3 and script code that once worked now fails with the error "Object doesn't support this property or method". I am using V8.I added a host object that is a...

View Article

New Post: Using Compile with Execute and Script

Hi johnsev,​ Do first compile the script then execute the script?​ Yes, that's correct. Note that compiling a script only makes sense if you need to execute it more than once in a given V8 runtime. If...

View Article

New Post: access indexer of a hosted object

Hi, I have the following problem with a default property indexer (from DataRow dotnet Framework class). In C# :scriptEngine.AddHostObject("DotNet", new HostTypeCollection("mscorlib", "System.Core",...

View Article


New Post: Generic types

Hi, Is there is a way to use a generic type with a javascript class ? For example, with the List<T> dotnet Framework class, If I define a javascript class "MyClass", is it possible to have a...

View Article

New Post: access indexer of a hosted object

Hi Sybaris, The actual name of the indexer property in this case (and most cases) is "Item": dr.Item.set('Col1', 'Test1'); // should work :-)Cheers!

View Article

New Post: Generic types

Hi Sybaris, A JavaScript class (really just a function) cannot be used as a .NET type argument. As far as the managed side is concerned, it's just a script object and has no public runtime type beyond...

View Article


New Post: access indexer of a hosted object

Once again you are right :-) Thanks you very much

View Article


New Post: Generic types

Hi, I understand. My goal is to allow script developers to define structs or classes that will be usable by C# classes. I want to offer an API that is data independent, and the data structure have to...

View Article

New Post: Generic types

Hi again,​ My goal is to allow script developers to define structs or classes that will be usable by C# classes.​ ClearScript allows C# code to access script objects directly via the dynamic keyword....

View Article

New Post: for/in loop in JScript standards mode

It appears that the for/in loop is not working when JScript engine is initialized with WindowsScriptEngineFlags.EnableStandardsMode flag. I tried adding PropertyBag and ExpandoObject as host objects. I...

View Article

Created Unassigned: for/in loop in JScript standards mode fails [94]

It appears that the for/in loop is not working when JScript engine is initialized with WindowsScriptEngineFlags.EnableStandardsMode flag.I tried adding PropertyBag and ExpandoObject as host objects.I...

View Article


Commented Unassigned: for/in loop in JScript standards mode fails [94]

It appears that the for/in loop is not working when JScript engine is initialized with WindowsScriptEngineFlags.EnableStandardsMode flag.I tried adding PropertyBag and ExpandoObject as host objects.I...

View Article

Edited Issue: for/in loop in JScript standards mode fails [94]

It appears that the for/in loop is not working when JScript engine is initialized with WindowsScriptEngineFlags.EnableStandardsMode flag.I tried adding PropertyBag and ExpandoObject as host objects.I...

View Article


Closed Issue: for/in loop in JScript standards mode fails [94]

It appears that the for/in loop is not working when JScript engine is initialized with WindowsScriptEngineFlags.EnableStandardsMode flag.I tried adding PropertyBag and ExpandoObject as host objects.I...

View Article

New Post: for/in loop in JScript standards mode

Hi frolovm, You're absolutely right. The for..in statement is broken for host objects in Standards Mode. Unfortunately this appears to be a JScript bug and therefore isn't likely to be fixed. Consider...

View Article


New Post: for/in loop in JScript standards mode

Thanks, it seems like for my case I would have to use your last suggestion. We have a set of Javascripts that work with Google Chrome and Firefox and we would rather not modify them with non-standard...

View Article

New Post: Deploy Clearscript without Visual C++ installation possible?

Hi, I am integrating clearscript (with v8) in a .NET client application. Is there a way I can distribute my application without requiring clients installing the isual VC++ Redistributable packages ?...

View Article

New Post: Deploy Clearscript without Visual C++ installation possible?

Hi Claudio, ClearScript's V8 interface (ClearScriptV8-xx.dll) is a mixed assembly, and unfortunately mixed assemblies cannot use static linking for the C++ libraries. Is it not possible to incorporate...

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images