- Patch #945118 by Island Usurper: fixed documentation formatting for drupal_add_js().

merge-requests/26/head
Dries Buytaert 2010-10-20 00:45:39 +00:00
parent ac34798a00
commit 922b51e7b9
1 changed files with 2 additions and 2 deletions

View File

@ -3794,7 +3794,7 @@ function drupal_region_class($region) {
* - scope: The location in which you want to place the script. Possible
* values are 'header' or 'footer'. If your theme implements different
* regions, you can also use these. Defaults to 'header'.
* - 'group': A number identifying the group in which to add the JavaScript.
* - group: A number identifying the group in which to add the JavaScript.
* Available constants are:
* - JS_LIBRARY: Any libraries, settings, or jQuery plugins.
* - JS_DEFAULT: Any module-layer JavaScript.
@ -3802,7 +3802,7 @@ function drupal_region_class($region) {
* The group number serves as a weight: JavaScript within a lower weight
* group is presented on the page before JavaScript within a higher weight
* group.
* - 'every_page': For optimal front-end performance when aggregation is
* - every_page: For optimal front-end performance when aggregation is
* enabled, this should be set to TRUE if the JavaScript is present on every
* page of the website for users for whom it is present at all. This
* defaults to FALSE. It is set to TRUE for JavaScript files that are added