<?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;
}


