/usr/share/drupal7/modules/arbiterjs/arbiterjs.module is in drupal7-mod-arbiterjs 1.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <?php
/**
* hook_libraries_info() implementation for the arbiterjs library module
*
* ArbiterJS is a JavaScript implementation of the publish/subscribe
* design pattern for client-side JavaScript.
*
* Please download the ArbiterJS JavaScript source file to the directory
*
* $(DRUPAL_HOME)/libraries/arbiterjs/Arbiter.js
*
* and manually create a VERSION file corresponding to the version
* in use, for example:
*
* echo 1.0 > $(DRUPAL_HOME)/libraries/arbiterjs/VERSION
*
* @return
* An associative array whose keys are internal names of libraries
* and whose values are describing each library.
*/
function arbiterjs_libraries_info() {
$libraries['arbiterjs'] = array(
'name' => 'ArbiterJS',
'vendor url' => 'http://arbiterjs.com',
'download url' => 'http://arbiterjs.com/',
'version arguments' => array(
'file' => 'VERSION',
'pattern' => '@([0-9\.]+)@',
'lines' => 1,
'cols' => 8,
),
'files' => array(
'js' => array(
'Arbiter.js',
),
),
);
return $libraries;
}
|