Skip to content

Remove IIFEs around several javascript classes

Mike Greiling requested to merge remove-more-iifes into master

What does this MR do?

Reduces ~"technical debt" by removing needless IIFEs wrapping several classes.

This MR merely changes indentation, removes wrapper functions, and occasionally changes variable names which were previously translated via IIFE parameters. It should be straight forward to review.

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

All tests should pass.

Why was this MR needed?

Before we can really start code splitting, we need a good dependency graph that doesn't rely on global variables, and before we can factor out globals into proper ES module exports we must remove these IIFEs.

Screenshots (if relevant)

n/a

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

related to #29219 (moved)

Merge request reports

Loading