Greetings!
Unfortunately many JavaScript libraries assume that they're running in a particular environment (web browser, Node.js, etc.) and are not readily usable in the sort of bare application scripting environment that ClearScript provides.
On the other hand, JavaScript is a very flexible language with dynamic typing, and depending on how much of the DOM the script requires, it might be possible to accommodate it without replicating the entire DOM. For example, ClearScriptBenchmarks mocks out just enough to accommodate SunSpider.
Is that a possibility in your scenario? What does SignalR's client script use the DOM for?
Thanks!
Unfortunately many JavaScript libraries assume that they're running in a particular environment (web browser, Node.js, etc.) and are not readily usable in the sort of bare application scripting environment that ClearScript provides.
On the other hand, JavaScript is a very flexible language with dynamic typing, and depending on how much of the DOM the script requires, it might be possible to accommodate it without replicating the entire DOM. For example, ClearScriptBenchmarks mocks out just enough to accommodate SunSpider.
Is that a possibility in your scenario? What does SignalR's client script use the DOM for?
Thanks!