You are here

function javascript_libraries_library in JavaScript Libraries Manager 7

Implements hook_library().

File

./javascript_libraries.module, line 246
Toggle the inclusion of Drupal system libraries. Upload and reference custom libraries as well.

Code

function javascript_libraries_library() {

  // This library is a rollup of system's included jQuery UI Effects scripts.
  // It is just a set of dependencies. It does not introduce new code.
  $libraries['effects.comprehensive'] = array(
    'title' => 'jQuery UI: Transition and animation effects',
    'website' => 'http://jqueryui.com/demos/effect/',
    'version' => '1.8.7',
    'js' => array(
      'misc/ui/jquery.effects.core.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -9,
      ),
    ),
    'dependencies' => array(
      array(
        'system',
        'effects',
      ),
      array(
        'system',
        'effects.blind',
      ),
      array(
        'system',
        'effects.bounce',
      ),
      array(
        'system',
        'effects.clip',
      ),
      array(
        'system',
        'effects.drop',
      ),
      array(
        'system',
        'effects.explode',
      ),
      array(
        'system',
        'effects.fade',
      ),
      array(
        'system',
        'effects.fold',
      ),
      array(
        'system',
        'effects.highlight',
      ),
      array(
        'system',
        'effects.pulsate',
      ),
      array(
        'system',
        'effects.scale',
      ),
      array(
        'system',
        'effects.shake',
      ),
      array(
        'system',
        'effects.slide',
      ),
      array(
        'system',
        'effects.transfer',
      ),
    ),
  );
  return $libraries;
}