Uh oh!
There was an error while loading. Please reload this page.
More js cleanup - #80554
Conversation
This comment has been minimized.
This comment has been minimized.
jyn514
left a comment
There was a problem hiding this comment.
Replacing some loops with onEachLazy.
What is the difference? Why is onEachLazy better?
Turn buildHelperPopup into a variable so it can be "replaced" once the function has been called once so it's not called again.
Didn't it do that already?
$node>functionf(a){}undefined>f[Function: f]>f=11>f1Why is the new code better?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
GuillaumeGomez
commented
Jan 3, 2021
It's not generally better so to speak. I wrote
Not better, just more clear (at least for me). I can remove this commit if you prefer? |
d729891 to
0289549Comparejyn514
commented
Jan 3, 2021
Yes, I think I prefer the old code. Thanks. r=me with that done |
0289549 to
8b6304eCompareGuillaumeGomez
commented
Jan 3, 2021
@bors: r=jyn514 rollup |
bors
commented
Jan 3, 2021
📌 Commit 8b6304e has been approved by |
bors
commented
Jan 4, 2021
bors
commented
Jan 4, 2021
☀️ Test successful - checks-actions |
Part of #79052 (Same kind as #80515).
This one is about some small fixes:
onEachLazy.buildHelperPopupinto a variable so it can be "replaced" once the function has been called once so it's not called again.r? @jyn514