Origin

Origin

new Origin()

Description:
  • Global singleton class
Source:

Members

constants :Object

Description:
  • Reference to the constant attributes
Source:
Reference to the constant attributes
Type:
  • Object

debug :Boolean

Description:
  • Flag used to determine if debug features should be enabled
Source:
Flag used to determine if debug features should be enabled
Type:
  • Boolean

l10n :l10n

Description:
  • Global reference to the l10n translation utilities
Source:
Global reference to the l10n translation utilities
Type:
  • l10n

l10n :l10n

Description:
  • Global reference to the l10n translation utilities
Source:
Global reference to the l10n translation utilities
Type:
  • l10n

sessionModel :SessionModel

Description:
  • Current session instance
Source:
Current session instance
Type:
  • SessionModel

Methods

hasInitialized() → {Boolean}

Description:
  • Whether the Origin object has loaded
Source:
Returns:
Type
Boolean

initialize()

Description:
  • Performs setup of the application, will only run once
Source:

loadUtilities()

Description:
  • Initialises the application utilities
Source:

removeViews()

Description:
  • Tells views to clean themselves up
Source:

tap()

Description:
  • Register a function to tap into a certain event before it fires
Source: