16 Commits
Author SHA1 Message Date
Mike Frysinger e4d272eb15 set viewport to help mobile rendering in some html guides
It isn't perfect, but it's mostly there, and is a lot more readable
than the desktop compatibility render.
2026-09-14 20:39:26 -04:00
harbichidian 4a107ba27e Wrap the block comment asterisk in a code element 2025-04-25 10:40:21 -04:00
SohanRaidev f58fbeff23 jsguide: Replaced unfamiliar words with simpler alternatives. (#849)
Fixes #596.
2025-04-24 14:22:31 -04:00
Mike Frysinger a638d1de37 set favicon #489
This is the GH avatar and is slightly different from the icon used on
other Google properties.  This makes it easier to distinguish in a big
tab strip.

Fixes: #489
2025-01-17 20:02:17 -05:00
Mike Frysinger 214f82da5f jsguide: update Egyptian brackets link
As pointed out by Aditya Chaudhari.
2024-07-03 07:44:38 -04:00
Mike Frysinger 6acd1e5afd jsguide: add deprecation notice
Make it clear that the JS guide is no longer updated as Google is
migrating to TypeScript everywhere.
2024-07-02 01:00:52 -04:00
Mike Frysinger 7b2d43a587 jsguide: rewrite HTML entities to UTF-8
The file uses UTF-8 encoding, so use UTF-8 directly instead of HTML
entities.  This is handled by the export/publish code, but seemed a
bit nicer to split this out into a separate commit for review.
2024-07-01 23:35:47 -04:00
Mike Frysinger 3e9c70e6c3 jsguide: import last internal version
Internally, we've turned down the JS styleguide in favor of a merged
TS/JS guide (with heavy emphasis on TS).  That variant doesn't exist
publicly yet, and even then, we probably want to keep around the JS
version as-is more or less indefinitely like we have with the older
ES5 guide.  Once we update the TS guide, we can add a deprecation
notice to this file like we do with the ES5 guide.

There is one change that has been left out: the heavy emphasis on
only using clang-format as the rules are heavily geared towards
google3, and there is no external guidance for formatting.  If we
could provide public guidance here, it'd be great to update, but
since the guide is no more internally, that seems unlikely, so it's
probably best to freeze the pre-clang-format guidance here.
2024-07-01 22:41:23 -04:00
Mike Frysinger 0153155e24 jsguide: update classes to match newer styles
The rendering should be unchanged as the names should align with the
underlying rules.
2024-07-01 22:03:21 -04:00
Dimitris Apostolou 18fff725af Fix typos 2022-02-10 17:44:21 +02:00
rebekahpotter dceb47fb3e Update JS styleguide (#464)
Update JS styleguide

Closes #462.
2019-08-26 23:45:13 -04:00
Ted Osborne 505ba68c74 Revert "Project import generated by Copybara."
This reverts commit 54cca78d64.
2018-01-30 12:36:50 -05:00
Google Python team 54cca78d64 Project import generated by Copybara.
PiperOrigin-RevId: 179577576
2018-01-30 12:10:03 -05:00
James Robinson II 6161e33d8a Fixed a typo. 2017-06-29 22:16:49 -04:00
Stephen Hicks c212f99186 Update JS style guide 2017-05-08 16:24:00 -07:00
Stephen Hicks 8f254427d9 Update and replace JavaScript style guide.
The new guide is completely rewritten in light of ES2015.  The old guide
has been replaced with a link to the new guide.
2016-11-17 18:02:23 -08:00