diff --git a/drush/respondjs.drush.inc b/drush/respondjs.drush.inc
index 3026256..9dde7a2 100644
--- a/drush/respondjs.drush.inc
+++ b/drush/respondjs.drush.inc
@@ -6,11 +6,6 @@
*/
/**
- * The URI to the respond.js library.
- */
-define('RESPONDJS_DOWNLOAD_URI', 'https://raw.github.com/scottjehl/Respond/master/respond.min.js');
-
-/**
* Implementation of hook_drush_command().
*
* In this hook, you specify which commands your
diff --git a/respondjs.install b/respondjs.install
index 4fb72ef..0e341b3 100644
--- a/respondjs.install
+++ b/respondjs.install
@@ -30,14 +30,14 @@ function respondjs_requirements($phase) {
if (function_exists('libraries_get_path') && strpos($library_path,'libraries/respondjs') === FALSE) {
$requirements['respondjs']['value'] = t('Respond.js is not correctly using Libraries API');
$requirements['respondjs']['severity'] = REQUIREMENT_WARNING;
- $requirements['respondjs']['description'] = t('Please install Respond.js in '. libraries_get_path('respondjs') .'. The module is using its included copy at '.drupal_get_path('module','respondjs') .'/lib');
+ $requirements['respondjs']['description'] = t('Please install Respond.js in '. libraries_get_path('respondjs') .'. The module is using its included copy at '.drupal_get_path('module','respondjs') .'/lib', array('@url' => RESPONDJS_DOWNLOAD_URI));
}
// If the included copy of respond.js has been removed or renamed report an error.
// At this point the module cannot function properly.
if (!file_exists($library_path)) {
$requirements['respondjs']['value'] = t('Respond.js is not correctly installed');
$requirements['respondjs']['severity'] = REQUIREMENT_ERROR;
- $requirements['respondjs']['description'] = t('Please install Respond.js in the repsondjs folder under /lib');
+ $requirements['respondjs']['description'] = t('Please install Respond.js in the repsondjs folder under /lib', array('@url' => RESPONDJS_DOWNLOAD_URI));
}
}
return $requirements;
diff --git a/respondjs.module b/respondjs.module
index 6f2ca21..9aa5cb3 100644
--- a/respondjs.module
+++ b/respondjs.module
@@ -7,6 +7,7 @@
define('RESPONDJS_SCOPE_DEFAULT','header');
define('RESPONDJS_QUIET_DEFAULT',NULL);
+define('RESPONDJS_DOWNLOAD_URI', 'https://raw.github.com/scottjehl/Respond/master/dest/respond.min.js');
/**
* Implements hook_menu().