Questions tagged [jurassic]

Jurassic is an implementation of the ECMAScript language and runtime. It aims to provide the best performing and most standards-compliant implementation of JavaScript for .NET. Jurassic is not intended for end-users; instead it is intended to be integrated into .NET programs. If you are the author of a .NET program, you can use Jurassic to compile and execute JavaScript code.

19 questions
0
votes
1 answer

How can i use GetValues when running Js codes by using Jint?

My question is primitive. But it is very useful. I Checked Sebastien Ros Jint application on GitHub. How can I GetValue property multiple times? GetValues(x,y,z...) or GetValue("x").GetValue("y").GetValue("z"). because I need x,y,z.. result. not…
Penguen
  • 16,836
  • 42
  • 130
  • 205
0
votes
0 answers

Get value of remote JS var with Jurassic Script Engine

My remote js file as below (function(window,document){ var config = { 'placeHolder' : 'content_div' }; var html = "blaaa blaaa"; })(window,document); I would likte to get value of html. I have tried as below but I have got…
Kerberos
  • 1,228
  • 6
  • 24
  • 48
0
votes
1 answer

is it possible to get js variable to assignt c# string with using Jurrassic Library

I am getting js script from remote html with using HtmlAgilityPack as below; .... string JsVars = _HtmlDocument.DocumentNode.SelectSingleNode("//script[contains(text(), 'blablaa')]").InnerText JsVars returns as below; var js_var1 = "blablaa"; var…
Kerberos
  • 1,228
  • 6
  • 24
  • 48
0
votes
1 answer

Include jQuery in Javascript file that won't be run inside webpage

I am using Javascript to create a standalone script that will be invoked by a C#.NET application. It will not run within a browser, instead it will use the Jurassic engine. I want to be able to use jQuery in this script. I normally reference jQuery…
user3478799
  • 55
  • 1
  • 1
  • 6
1
2