You are here

function field_timer_libraries_info in Field Timer 7.2

Same name and namespace in other branches
  1. 7 field_timer.module \field_timer_libraries_info()

Implements hook_libraries_info().

File

./field_timer.module, line 11
Main module file.

Code

function field_timer_libraries_info() {
  return array(
    'county' => array(
      'name' => t('County'),
      'vendor url' => 'https://github.com/brilsergei/county',
      'download url' => 'https://github.com/brilsergei/county/archive/master.zip',
      'version' => '1.0',
      'files' => array(
        'js' => array(
          'js/county.js',
        ),
        'css' => array(
          'css/county.css',
        ),
      ),
    ),
    'jquery.countdown' => array(
      'name' => t('jQuery Countdown'),
      'vendor url' => 'http://keith-wood.name/countdown.html',
      'download url' => 'http://keith-wood.name/countdown.html',
      'version arguments' => array(
        'file' => 'js/jquery.countdown.js',
        'pattern' => '/Countdown for jQuery v(2.1.[0-9])/',
        'lines' => 2,
      ),
      'files' => array(
        'js' => array(
          'js/jquery.plugin.min.js',
          'js/jquery.countdown.min.js',
        ),
        'css' => array(
          'css/jquery.countdown.css',
        ),
      ),
    ),
  );
}