Caplin Trader 4.0.3

Interface: module:br/services/AppMetaService

module:br/services/AppMetaService

Summary

A service which provides access to meta data for a BRJS app.

Methods

getLocaleCookieName()

Returns the name of the cookie used to store the locale preference
Implementations:
  • module:br/services/bundlepath/BRAppMetaService#getLocaleCookieName
Returns:
The cookie name

getLocales()

Returns the locales for the app
Implementations:
  • module:br/services/bundlepath/BRAppMetaService#getLocales
Returns:
The locales

getVersion()

Returns the app version
Implementations:
  • module:br/services/bundlepath/BRAppMetaService#getVersion
Returns:
The app version

getVersionedBundlePath(bundlePathopt)

Returns the path to content plugins/bundles.
Parameters:
Name Type Attributes Description
bundlePath String <optional>
The path to a bundle to be appended to the returned path
Implementations:
  • module:br/services/bundlepath/BRAppMetaService#getVersionedBundlePath
Returns:
The path to content plugins/bundles.