Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
The majority of the application is contained within an immediately invoked function expression \[aka IIFE\].  _The IIFE is in place without using the \_module pattern_ which could expose some of the IIFE globally if that was needed.

The MIT and APP globals are global is defined outside of the IIFE and are is used directly from within the IIFE.  The MIT scope is created as a global from within the Main() function.

Inside the main IIFE

Internal Scope

...

The IIFE Main() function is called via a method call that is chained to the IIFE.  The call to Main() starts up the application.

  1. Main
    1. MIT scope created