You are here

function slick_devel_libraries_info_alter in Slick extras 7.2

Implements hook_libraries_info_alter().

File

slick_devel/slick_devel.module, line 56
Provides development options for the Slick module.

Code

function slick_devel_libraries_info_alter(&$libraries) {
  if (SLICK_DEVEL) {

    // Switch to the un-minified version of the library.
    if (isset($libraries['slick'])) {
      $libraries['slick']['files']['js'] = array(
        'slick/slick.js',
      );
    }
  }
}