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

Don't minify the JS of the examples in Walt Explorer #176

Open
JobLeonard opened this issue Nov 20, 2018 · 3 comments
Open

Don't minify the JS of the examples in Walt Explorer #176

JobLeonard opened this issue Nov 20, 2018 · 3 comments

Comments

@JobLeonard
Copy link

JobLeonard commented Nov 20, 2018

Bug Report

Overview

The JS section of the Walt explorer is now minified, which makes it impossible to understand how it connects the WASM to the rest of the browser environment at a glance:

Expected

Show example code

Actual

Show mangled, minified example code

Example

image

@JobLeonard
Copy link
Author

(Sorry, forgot to remove the HTML comment tag - fixed now)

@ballercat
Copy link
Owner

ballercat commented Nov 21, 2018

Yuup.

Might need to switch to plain strings for all the JS setup code. Or just use observable for all demos :)

@JobLeonard
Copy link
Author

Or just use observable for all demos :)

If I didn't have obligations I would spend all day on that website. Maybe I can port some stuff over in the weekend :P

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