Migrate some more code to ES6 (3)
Review Request #10413 — Created Feb. 17, 2019 and submitted
This change converts the remaining non-test code to ES6. This is just a
grab-bag of remaining files throughout the code.
Ran js-tests.
Summary | ID |
---|---|
5e83484bb6c85ad64911fb2fd5ab3ff7ae1bc2cf |
Description | From | Last Updated |
---|---|---|
Can you make these single-quote strings while these lines are being changed? |
chipx86 | |
Maybe more work than you want to do here, but this would be simplified so much if we just calculated … |
chipx86 | |
Single quotes? |
chipx86 | |
$element |
chipx86 | |
Want to use template literals here? |
chipx86 | |
Single quotes? |
chipx86 | |
I feel like this reads a lot better the old way: $(...).on('click', () => { ... }); |
chipx86 | |
Can the $( go on the second line? |
chipx86 | |
There's a space here. |
chipx86 | |
Can you switch these to this.listenTo() calls? |
chipx86 | |
This can move into the if. It's unused otherwise. |
chipx86 | |
MaMaMaMaMaMa |
chipx86 |
- Commits:
-
Summary ID ffb6b4e8eabdacd8ca725d7dceed76b9559c30c8 5e83484bb6c85ad64911fb2fd5ab3ff7ae1bc2cf - Diff:
-
Revision 2 (+1628 -1408)
Checks run (1 succeeded, 1 failed with error)
flake8
passed.
JSHint
internal error.