You are here

function fractionslider_libraries_info in Views FractionSlider 7.2

Implements hook_libraries_info().

File

./fractionslider.module, line 11
Module file.

Code

function fractionslider_libraries_info() {
  $libraries['fractionslider'] = array(
    'name' => 'FractionSlider',
    'vendor url' => 'http://jacksbox.de/stuff/jquery-fractionslider/',
    'download url' => 'http://jacksbox.de/downloads/fractionslider.zip',
    'library path' => drupal_get_path('module', 'fractionslider') . '/library/FractionSlider',
    'version arguments' => array(
      'file' => 'jquery.fractionslider.js',
      'pattern' => '@(?:Fraction Slider)?([0-9\\.]+)@',
    ),
    'files' => array(
      'js' => array(
        'jquery.fractionslider.js',
      ),
    ),
  );
  return $libraries;
}