You are here

function rrssb_libraries_info in Ridiculously Responsive Social Sharing Buttons 7.2

Same name and namespace in other branches
  1. 7 rrssb.module \rrssb_libraries_info()

Implements hook_libraries_info().

File

./rrssb.module, line 404

Code

function rrssb_libraries_info() {
  $test = variable_get('rrssb_test');
  $libraries['rrssb-plus'] = array(
    'name' => 'Ridiculously Responsive Social Share Buttons Plus',
    'vendor url' => 'http://www.albanyweb.co.uk/rrssb-plus',
    'download url' => RRSSB_LIBRARY_URI,
    'version arguments' => array(
      'file' => 'VERSION.txt',
      'pattern' => '/([\\d\\.x]+)/',
    ),
    'files' => array(
      'js' => array(
        $test ? 'js/rrssb.js' : 'js/rrssb.min.js',
      ),
      'css' => array(
        'css/rrssb.css',
      ),
    ),
    'integration files' => array(
      'rrssb' => array(
        'js' => array(
          'rrssb.init.js',
        ),
      ),
    ),
  );
  return $libraries;
}