summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-11-07 07:20:24 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-11-07 07:20:24 -0800
commit681fe02ead837b50ef95b0bb767270492309ee0e (patch)
tree6d3bc1900492811d93eea601a60284844d38f56f
parentf5b84d60aab461a0df9d3b20ad80b66aae25613e (diff)
downloadbrdo-681fe02ead837b50ef95b0bb767270492309ee0e.tar.gz
brdo-681fe02ead837b50ef95b0bb767270492309ee0e.tar.bz2
Issue #1821024 by scuts, mjonesdinero: Fix up docs for drupal_add_js
-rw-r--r--includes/common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 5c6d86d7e..8276576e0 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -3995,7 +3995,8 @@ function drupal_region_class($region) {
* actually needed.
*
* @param $data
- * (optional) If given, the value depends on the $options parameter:
+ * (optional) If given, the value depends on the $options parameter, or
+ * $options['type'] if $options is passed as an associative array:
* - 'file': Path to the file relative to base_path().
* - 'inline': The JavaScript code that should be placed in the given scope.
* - 'external': The absolute path to an external JavaScript file that is not