You are here

function responsive_imagemaps_libraries_info in Responsive Image Maps 7

Implements hook_libraries_info().

File

./responsive_imagemaps.module, line 78

Code

function responsive_imagemaps_libraries_info() {
  $libraries['responsive-imagemaps'] = array(
    'name' => 'jQuery RWD Image Maps',
    'vendor url' => 'https://github.com/stowball/jQuery-rwdImageMaps',
    'download url' => 'https://github.com/stowball/jQuery-rwdImageMaps/archive/master.zip',
    'version arguments' => array(
      'file' => 'jquery.rwdImageMaps.min.js',
      'pattern' => '/rwdImageMaps jQuery plugin v(\\d+\\.+\\d+)/',
      'lines' => 2,
    ),
    'files' => array(
      'js' => array(
        'jquery.rwdImageMaps.min.js',
      ),
    ),
  );
  return $libraries;
}