summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-20 00:45:39 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-20 00:45:39 +0000
commit922b51e7b97f63a1199c026f4ccd1d1b316a4ccb (patch)
treea507ded3747ec8cf10d4ae5ce4bcbad928be0cee
parentac34798a0003313b68fae510204e05cc0abea344 (diff)
downloadbrdo-922b51e7b97f63a1199c026f4ccd1d1b316a4ccb.tar.gz
brdo-922b51e7b97f63a1199c026f4ccd1d1b316a4ccb.tar.bz2
- Patch #945118 by Island Usurper: fixed documentation formatting for drupal_add_js().
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index bde006f42..eda5f14f2 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -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