Convert the rest of js/utils to ES6.
Review Request #8047 — Created March 9, 2016 and submitted
This change converts the rest of the code in js/utils to ES6 (at least that
which makes sense to do--there are a few files where there's no benefit). The
actual code has gotten shorter, but the number of lines is bigger because I
fleshed out and updated the format of our docstrings.This also removes some now-unused functionality to linkify text in Markdown
format (since we no longer do any Markdown rendering on the client side).If you want a good example of why this is awesome, check out the new
implementation of_.bindCallbacks
.
Ran js-tests.
Description | From | Last Updated |
---|---|---|
It took me a few minutes to realize why these unit tests were being removed. They're left over from the … |
chipx86 |
- Description:
-
This change converts the rest of the code in js/utils to ES6 (at least that
which makes sense to do--there are a few files where there's no benefit). The actual code has gotten shorter, but the number of lines is bigger because I fleshed out and updated the format of our docstrings. + This also removes some now-unused functionality to linkify text in Markdown
+ format (since we no longer do any Markdown rendering on the client side). + If you want a good example of why this is awesome, check out the new
implementation of _.bindCallbacks
.