Skip to content

Refactored less readable existance checks

What does this MR do?

Clean up complex JavaScript expressions generated by conditional assignment and existence checks in CoffeeScript. These are small changes that effect 1 or 2 lines at a time, but should make sections of code more readable.

Are there points in the code the reviewer needs to double check?

Changes in gl_dropdown.js don't do much (largely just splitting stuff onto multiple lines). Is this a bit pointless?

Why was this MR needed?

Auto-generated JS contains complex expressions that will be difficult to work with in future.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

A child issue of #21887 (closed) Closes #21988 (closed)

Merge request reports