You are here

function scrollreveal_libraries_info in Scroll Reveal 7

Same name and namespace in other branches
  1. 7.2 scrollreveal.module \scrollreveal_libraries_info()

Implements hook_libraries_info().

File

./scrollreveal.module, line 417
Basic Module file.

Code

function scrollreveal_libraries_info() {
  $libraries['scrollreveal'] = array(
    'name' => 'ScrollReveal',
    'vendor url' => 'https://github.com/julianlloyd/scrollReveal.js',
    'download url' => 'https://github.com/julianlloyd/scrollReveal.js',
    'version arguments' => array(
      'file' => 'scrollReveal.js',
      // 3.x.x: Botstrap v3.0.3
      'pattern' => '/scrollReveal.js\\s+v?([0-9\\.]+)/',
      'lines' => 22,
    ),
    'files' => array(
      'js' => array(
        'scrollReveal.js',
      ),
    ),
  );
  return $libraries;
}