Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: SignalR in ClearScript

0
0
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!

Viewing all articles
Browse latest Browse all 2297