You are here

function rrssb_libraries_info in Ridiculously Responsive Social Sharing Buttons 7

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

Implements hook_libraries_info().

File

./rrssb.module, line 323

Code

function rrssb_libraries_info() {
  $libraries['rrssb'] = array(
    'name' => 'Ridiculously Responsive Social Share Buttons',
    'vendor url' => 'http://kurtnoble.com/labs/rrssb/',
    'download url' => RRSSB_LIBRARY_URI,
    'version arguments' => array(
      'file' => 'package.json',
      'pattern' => '/"version": "([\\d\\.]+)"/',
    ),
    'files' => array(
      'js' => array(
        'js/rrssb.min.js',
      ),
      'css' => array(
        'css/rrssb.css',
      ),
    ),
  );
  return $libraries;
}