Commit 688a3679 authored by jhodgdon's avatar jhodgdon
Browse files

Issue #1821024 by scuts, mjonesdinero: Fix up docs for drupal_add_js

parent 72654e02
......@@ -3673,7 +3673,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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment