You are here

function animate_css_libraries_info in Animate CSS 7

Implements hook_libraries_info().

File

./animate_css.module, line 39
Drupal integration with Animate.css, bunch of cool, fun, and cross-browser animations for you to use in your projects.

Code

function animate_css_libraries_info() {
  $libraries['animate'] = array(
    'name' => 'Animate CSS',
    'vendor url' => 'http://daneden.me/animate/',
    'download url' => 'https://github.com/daneden/animate.css/archive/master.zip',
    'version arguments' => array(
      'file' => 'package.json',
      'pattern' => '/((?:\\d+\\.?){2,3})/',
    ),
    'files' => array(
      'css' => array(
        'animate.css',
      ),
    ),
    'variants' => array(
      'minified' => array(
        'files' => array(
          'css' => array(
            'animate.min.css',
          ),
        ),
        'variant arguments' => array(
          'variant' => 'minified',
        ),
      ),
    ),
  );
  return $libraries;
}