Origin

Origin

new Origin()

Source:
Global singleton class

Members

constants :Object

Source:
Reference to the constant attributes
Type:
  • Object

debug :Boolean

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

l10n :l10n

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

l10n :l10n

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

sessionModel :SessionModel

Source:
Current session instance
Type:
  • SessionModel

Methods

hasInitialized() → {Boolean}

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

initialize()

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

loadUtilities()

Source:
Initialises the application utilities

removeViews()

Source:
Tells views to clean themselves up

tap()

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