Author Topic: JavaScript standalone interpreters  (Read 5713 times)

Aurel

  • Guest
Re: JavaScript standalone interpreters
« Reply #15 on: August 12, 2016, 07:36:03 PM »
Hmm this have nothing with WinApi stuff
and i really don't understand what kind of problem you have with winApi  :o
and there is no problem with this at all.

ScriptBasic

  • Guest
Re: JavaScript standalone interpreters
« Reply #16 on: August 12, 2016, 08:31:17 PM »
@Tomaaz,

I put the code on my AWS server and it created a black screen and that was it. I tried it with both Firefox and Chrome.

Tomaaz

  • Guest
Re: JavaScript standalone interpreters
« Reply #17 on: August 12, 2016, 09:35:54 PM »
I put the code on my AWS server and it created a black screen and that was it. I tried it with both Firefox and Chrome.

This code needs to be run by NW.js. A standard browser will not run this code, because the code contains functions specific to NW.js and Node.js. The black thing you can see is a canvas element, but, because a standard browser cannot understand some parts of the JavaScript code, the whole script is stopped and nothing is drawn on the canvas.

ScriptBasic

  • Guest
Re: JavaScript standalone interpreters
« Reply #18 on: August 13, 2016, 01:37:15 AM »
Okay. Thanks Tomaaz for the clarification.