Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

  • window
    • APP
      • io
        • app
        • user
        • comments
        • worksets
        • workset
        • search
        • costobject
        • person
        • scenario
      • model
        • comment
        • costobject
        • scenario
        • pickList
        • preference
        • people
        • worksest
      • grids
        • forecasting
        • worksets
        • objList
        • tracking
        • cost_object_status
        • search
        • dwsearch
        • glList
      • slickGrids
        • authGrid
        • forecastingGrid
        • summaryGrid
        • trackingGrid
        • wsPeopleCoGrid
        • myWSgrid
      • dialogs
      • picklists
      • router
    • MIT
      • RAFT
    • private application scope

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

The APP global is defined outside of the IIFE and is used directly from within the IIFE.  

...

  1. Main
    1. MIT scope created
    2. MIT.RAFT is created as a pointer to the this scope
    3. chkScreenRequirements()
    4. initModel()
    5. UIBehaviorsGeneral() 
      1. creates window resize handlers
      2. creates APP.dialog.locked
    6.  APP.io is created from a call to Porter with the config set in ioconf
    7. The Address Bar is setup to be used to route changes to the hash part of the url to javascript functions via a call to Router with the content of rconfig.