Commit 734bcbad authored by Christopher Lam's avatar Christopher Lam Committed by Commit Bot

[styleguide] Remove iOS9 references.

iOS9 is no longer supported, so we can remove caveats in the style guide.

Bug: 905929
Change-Id: I3e50de0ebd1069ac457f8203af4373aa3b32afc2
Reviewed-on: https://chromium-review.googlesource.com/c/1338588
Commit-Queue: calamity <calamity@chromium.org>
Reviewed-by: default avatarMichael Giuffrida <michaelpg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608662}
parent 257a3c19
...@@ -144,11 +144,7 @@ window.addEventListener('scroll', (event) => { ...@@ -144,11 +144,7 @@ window.addEventListener('scroll', (event) => {
**Documentation:** [link](https://tc39.github.io/ecma262/#sec-arrow-function-definitions) **Documentation:** [link](https://tc39.github.io/ecma262/#sec-arrow-function-definitions)
**Discussion Notes / Link to Thread:** **Discussion Notes / Link to Thread:**
[link](https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iJrC4PVSfoU)
**Note**: => does not work in iOS9. Don't use it in code that runs on Chrome for
iOS. There's a presubmit check that should warn you about this.
[Discussion thread](https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iJrC4PVSfoU)
--- ---
...@@ -220,10 +216,6 @@ class Rectangle extends Shape { ...@@ -220,10 +216,6 @@ class Rectangle extends Shape {
**Discussion Notes / Link to Thread:** **Discussion Notes / Link to Thread:**
https://groups.google.com/a/chromium.org/d/msg/chromium-dev/S1h-0m2ohOw/jyaiMGDlCwAJ https://groups.google.com/a/chromium.org/d/msg/chromium-dev/S1h-0m2ohOw/jyaiMGDlCwAJ
**Note**: Not fully supported in iOS9. Don't use it in code that runs on Chrome
for iOS, unless you can verify it works. TODO: Remove this note once support for
iOS9 is dropped.
--- ---
## Map ## Map
...@@ -309,10 +301,6 @@ frobber.isFrobbing = false; // Works. ...@@ -309,10 +301,6 @@ frobber.isFrobbing = false; // Works.
**Discussion Notes / Link to Thread:** [link](https://groups.google.com/a/chromium.org/d/msg/chromium-dev/MJhTok8Usr8/XCrkisaBBQAJ) **Discussion Notes / Link to Thread:** [link](https://groups.google.com/a/chromium.org/d/msg/chromium-dev/MJhTok8Usr8/XCrkisaBBQAJ)
**Note**: `const` [not fully supported](https://caniuse.com/#feat=let) in iOS9.
Don't use it in code that runs on Chrome for iOS, until support for iOS9 is
dropped.
--- ---
## let (Block-Scoped Variables) ## let (Block-Scoped Variables)
...@@ -355,10 +343,6 @@ function f() { ...@@ -355,10 +343,6 @@ function f() {
**Discussion Notes / Link to Thread:** [link](https://groups.google.com/a/chromium.org/d/msg/chromium-dev/MJhTok8Usr8/XCrkisaBBQAJ) **Discussion Notes / Link to Thread:** [link](https://groups.google.com/a/chromium.org/d/msg/chromium-dev/MJhTok8Usr8/XCrkisaBBQAJ)
**Note**: `let` is [not fully supported](https://caniuse.com/#feat=let) in iOS9.
Don't use it in code that runs on Chrome for iOS, until support for iOS9 is
dropped.
--- ---
## Array Static & Prototype Methods ## Array Static & Prototype Methods
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment