You are here

function jssor_libraries_info in Jssor Slider 7

File

./jssor.module, line 61
Allows support of a new view handler.

Code

function jssor_libraries_info() {
  return array(
    'jssor-slider' => array(
      'name' => 'JSSOR Slider',
      'vendor url' => 'http://www.jssor.com',
      'download url' => 'https://github.com/jssor/slider/archive/master.zip',
      // Optional: If, after extraction, the actual library files are contained in
      // 'sites/all/libraries/example/lib', specify the relative path here.
      'path' => 'js',
      // Specify arguments for the version callback. By default,
      'version arguments' => array(
        'file' => 'js/jssor.js',
        'pattern' => '@[Js]ssor\\s+([0-9a-zA-Z\\.-]+)@',
        'lines' => 5,
        'cols' => 50,
      ),
    ),
  );
}