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

Standardize web terminology. #1013

Merged
merged 2 commits into from
Jun 2, 2020
Merged

Standardize web terminology. #1013

merged 2 commits into from
Jun 2, 2020

Conversation

xStrom
Copy link
Member

@xStrom xStrom commented Jun 2, 2020

This PR standardized the terminology when talking about targeting the web. The rationale for this change was discussed in #999.

Generally the term to use is web. It's the web backend, and these apps are targeting the web. When going into more detail, WebAssembly (Wasm) can also come up as an implementation detail.

I also renamed the switch example to switches so that it won't conflict with the reserved keyword in JavaScript.

I also defined the default members of the workspace. This means that when you write cargo clippy in the root workspace, it won't start also building all the web examples. You can still get that behavior with cargo clippy --workspace and the CI will still test these.

Fixes #999.

@xStrom xStrom added maintenance cleans up code or docs S-needs-review waits for review labels Jun 2, 2020
Copy link
Collaborator

@luleyleo luleyleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one nitpick.

druid/examples/web/build.rs Outdated Show resolved Hide resolved
@luleyleo luleyleo removed the S-needs-review waits for review label Jun 2, 2020
@xStrom xStrom merged commit 76fba83 into linebender:master Jun 2, 2020
@xStrom xStrom deleted the wasm-to-web branch June 2, 2020 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance cleans up code or docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Towards less confusion over web support.
2 participants