purescript / trypurescript

PureScript in the browser
https://try.purescript.org
BSD 3-Clause "New" or "Revised" License
119 stars 50 forks source link

Show compiled JS based on query params only #296

Closed JordanMartinez closed 2 years ago

JordanMartinez commented 2 years ago

Description of the change

I noticed that using the view=output&js=true query params (e.g. https://try.purescript.org/?view=output&js=true) don't show the compiled JavaScript but rather shows a loading screen for forever. This is annoying because I can't just show others what PureScript's output looks like when they're curious.

This fixes that.


Checklist: