Stephen Niedzielski
|
57762e0417
|
Hygiene: favor const
Bug: T165036
Change-Id: I17d374eaac6627ca6a8ba178862b2a9cff2538c0
|
2018-03-21 10:44:24 +00:00 |
|
Stephen Niedzielski
|
0bee0906d4
|
Hygiene: replace var with let and const
eslint \
--cache \
--max-warnings 0 \
--report-unused-disable-directives \
--fix \
src tests
Change-Id: I051275126ae7fa9affd16c2504017c0584f2d9c7
|
2018-03-20 14:14:02 -05:00 |
|
Stephen Niedzielski
|
a2a743d775
|
Hygiene: use object shorthand where obvious
Approximately:
find \
-not \( \( -name node_modules -o -name .git -o -name vendor -o -name doc -o -name resources \) -prune \) \
-iname \*.js|
xargs -rd\\n sed -ri 's%(\b\S+\b)\s*:\s*\b\1\b%\1%g'
Bug: T165036
Change-Id: I48869dc93b66f908e070288eb2f035bb064993e3
|
2018-03-20 09:26:20 -05:00 |
|
Stephen Niedzielski
|
e26c12db52
|
Hygiene: move thumbnail code to separate file
Move thumbnail code from renderer to a separate file, thumbnail.
Bug: T165036
Change-Id: I6c55750ec302de6341e8e91dee34581ee66499d7
|
2018-03-14 14:19:41 -05:00 |
|