Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS code display option is gone? #1304

Closed
gatzke opened this issue Dec 2, 2015 · 1 comment
Closed

JS code display option is gone? #1304

gatzke opened this issue Dec 2, 2015 · 1 comment

Comments

@gatzke
Copy link

gatzke commented Dec 2, 2015

The current build appears to not have any option to show the underlying JS code. Is that intentional?

Also, to run locally it appears that you must install and run a web server. Is that really needed?

@dethe
Copy link
Member

dethe commented Dec 6, 2015

The code view was a) distracting, b) took up a lot of screen real estate, and c) provided code which was incomplete and could not be run separately from Waterbear. The current goal is to provide a code export which can be run as needed, although I realize now there is no issue for that (well, now there is: #1309 ). It will be tricky because we don't generate a script and run it anymore, we actually walk the blocks at runtime and call attached functions, which gives the system some interesting properties for debugging and visualization.

For the local server requirement, Waterbear mostly works just by opening playground.html in a browser. Some things might not work (loading things from remote servers) which is why we recommend running it in a local web server. There is issue #371 for making it easier to start a webserver, although for most systems starting a web server is a one-liner, so we haven't made this a high priority.

@dethe dethe closed this as completed Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants