From 681fe02ead837b50ef95b0bb767270492309ee0e Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Wed, 7 Nov 2012 07:20:24 -0800 Subject: Issue #1821024 by scuts, mjonesdinero: Fix up docs for drupal_add_js --- includes/common.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') 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 -- cgit v1.2.3