Caplin Trader 5.0.0

Class: module:br-services/bundlepath/BRAppMetaService

module:br-services/bundlepath/BRAppMetaService()

new module:br-services/bundlepath/BRAppMetaService()

Implements:

Methods

getLocaleCookieName()

Returns the name of the locale cookie set via app.conf

Implements:
Returns:

The locales cookie

getLocales()

Returns the locales for the app

Implements:
Returns:

The locales

getVersion()

Returns the app version

Implements:
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

Implements:
Returns:

The path to content plugins/bundles.

isDev()

Returns true if the app is running in 'dev' mode, false otherwise.

Implements:
Returns:

true if the app is running in 'dev' mode, false otherwise.