Last active
August 29, 2015 14:05
-
-
Save develnk/98f54eead5c18dea363d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_libraries_info(). | |
*/ | |
function module_name_libraries_info() { | |
$libraries['jquery_easy_confirm_dialog'] = array( | |
'name' => 'Jquery easy confirm dialog plugin', | |
'vendor url' => 'http://www.projectshadowlight.org/jquery-easy-confirm-dialog/', | |
'download url' => 'http://github.com/wiggin/jQuery-Easy-Confirm-Dialog-plugin/raw/master/jquery.easy-confirm-dialog.js', | |
'version arguments' => array( | |
'file' => 'jquery.easy-confirm-dialog.js', | |
'pattern' => '/jQuery Easy Confirm Dialog plugin (\d+)/', | |
'lines' => 5, | |
), | |
'files' => array( | |
'js' => array('jquery.easy-confirm-dialog.js') | |
), | |
// Global default properties applying to all versions. | |
'variants' => array( | |
'src' => array( | |
'title' => 'Source', | |
'files' => array( | |
'js' => array('jquery.easy-confirm-dialog.js' => array()), | |
), | |
), | |
), | |
); | |
return $libraries; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment