function timeago_library in Timeago 7.2
Implements hook_library().
File
- ./
timeago.module, line 201 - Adds support for the Timeago jQuery library.
Code
function timeago_library() {
$path = drupal_get_path('module', 'timeago');
return array(
'timeago' => array(
'title' => t('Time ago'),
'website' => TIMEAGO_LIBRARY_WEBSITE,
'version' => '0.11.1',
'js' => array(
$path . '/' . TIMEAGO_LIBRARY_FILENAME => array(),
$path . '/timeago.js' => array(),
),
),
);
}