Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Luluno01/mJavaScript

Repository files navigation

mJavaScript

JavaScript learning/playground app for android devices.

Why mJavaScript?

mJavaScript runs your code on your android device via either built-in WebView or embedded Node.js, allowing you to learn or test JavaScript without a desktop computer.

Got Problems?

Feel free to open an issue if you got any technical problem or question. Feature requests are welcome, too.

Screenshots

Home Edit Edit Output Rerun Save As Select Engine Output (Node.js) Open Project Settings Engines Settings About Help

Note

Inheriting from nodejs-mobile:

Currently, only a single instance of the Node.js runtime can be started within an application. Restarting the engine after it has finished running is also not supported.

The workaround of this app is running a script server to run provided script in a sandbox with very limited isolation using the built-in module vm (see official documentation for more details). So please don't modify any built-in object in Node.js unless you know exactly what you are doing.

Furthermore, if you are running your code via Node.js engine, please be careful not to execute scripts that include but are not limited to the follows:

  1. Infinite loop
  2. Infinite recursion
  3. Endless interval
  4. Unstoppable server (e.g. an infinite http server)
  5. Any lengthy operation

Otherwise you will have to restart (or close) the app completely to interrupt your script. Don't do so unless you know excatly what you are doing.

Q&A

I'm editing. Coming soon.

License

I haven't figured out what license should I use. I would appreciate it if someone tell me which license to use.

Basically I'd like to use WTFPL license but it seems like I have to use either GPL or MPL. Well, I'm not a lawyer.

Libraries

About

JavaScript learning/playground app for android devices.

Resources

Stars

Watchers

Forks

Packages

No packages published