commit | 992cc762b6790a7bd1a0d5c12ed0169270ac7dd0 | [log] [tgz] |
---|---|---|
author | Benedikt Meurer <bmeurer@chromium.org> | Mon Nov 14 06:59:00 2022 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 14 07:39:17 2022 |
tree | 130c15a3adc98a6ca912207427a9aba771365d25 | |
parent | 2007d2b0a076190fd508a6838c30cab43dbc95e3 [diff] |
[sources] Highlight JSX in every file that looks like JavaScript. This morally reverts https://crrev.com/c/4020557, and changes the code highlighting logic to allow JSX constructs in all files that look like JavaScript. The reason here is that in the React ecosystem, it's far too common to use .js file extension than using the proper .jsx file extension. Even the official React examples page[^1] points to examples that use .js instead of .jsx, so we'd break a lot of users for no good reason if we're strict here. [^1]: https://reactjs.org/community/examples.html Bug: chromium:1320204 Change-Id: I01b0c7a7667c604aeda7b98356669f94126966de Fixed: chromium:1383863 Before: https://imgur.com/uKB1HS7.png After: https://imgur.com/agHmr6P.png Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4020515 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Check out the project documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466
) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
All DevTools commits: View the log or follow @DevToolsCommits on Twitter
All open DevTools tickets on crbug.com
File a new DevTools ticket: new.crbug.com
Code reviews mailing list: devtools-reviews@chromium.org
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools