Closed (fixed)
Project:
Drupal core
Version:
8.1.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jun 2015 at 17:19 UTC
Updated:
11 Dec 2015 at 13:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
eiriksmComment #2
eiriksmComment #3
nod_Comment #4
eiriksmRe-roll.
Now not postponed anymore, I guess.
Comment #5
eiriksmComment #7
droplet commentedand updateLastPlaced, updateBlockWeights ?
Comment #8
eiriksmHm good point. Those were probably added after I made the initial patch. Also, preeeety sure this patch did not cause that test failure :p
New patch attached.
Comment #9
droplet commentedThanks.
Comment #11
catchThis is just moving code around and updating the declaration, so looks OK for 8.0.x to me.
Comment #12
catchHowever it's impossible to tell from reading the patch if that's all it does, and we have zero js test coverage, so moving to 8.1.x.
Comment #13
droplet commentedchange in same scope and same function name. No difference in JS. In runtime, JS vars will be hoisting to top, and end up with same way.
(I'm fine it's landed in D8.1 anyway, that's ZERO changes.)
Comment #15
catch@droplet yes there's no actual change, but there's also no way to verify the zero change without line-by-line reviewing the functions. With js test coverage I'd feel a lot happier about making the change, but until we have that, minor releases give a bit more time to let things bed in.
If we later have to fix this JavaScript, and the fact we didn't commit this to 8.0.x causes a merge conflict, we can always re-open this issue and cherry-pick then.
Committed/pushed to 8.1.x, thanks!