API Docs for: 0.8.0
Show:

LibrariesService Class

Module: Services

Service for library settings retrieval

Methods

getBowerDefaults

() Object

Retrieves the default library settings for Bower

Returns:

Object:

Bower defaults

getCDNDefaults

() Object

Retrieves the default library settings for CDNs

Returns:

Object:

CDN defaults

getSettings

(
  • cb
)

Retrieves the library settings

Parameters:

  • cb Function

    Callback function

init

(
  • cb
)

Loads the libraries settings into template service globals. Called on system startup

Parameters:

  • cb Function

    Callback function

Properties

BOWER_DEFAULTS

Object private static

CDN_DEFAULTS

Object private static

LIBRARIES_SETTINGS_REF

String private static