summaryrefslogtreecommitdiffstats
path: root/STARTERKIT
diff options
context:
space:
mode:
authorJohnAlbin2011-02-20 17:30:09 +0000
committerJohnAlbin2011-02-20 17:30:09 +0000
commit07b1a4a8a11adb8de17a4e39dae82606bbbbff7e (patch)
treefce79462ac5c5df0d0522784b12cd98f47748ba3 /STARTERKIT
parent21728c127b1bedcd1ff7a635ff32b4407a7707fc (diff)
by JohnAlbin: Update drupal_add_js() example in STARTERKIT/js/README.txt
Diffstat (limited to 'STARTERKIT')
-rw-r--r--STARTERKIT/js/README.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/STARTERKIT/js/README.txt b/STARTERKIT/js/README.txt
index a8b446a..b767eca 100644
--- a/STARTERKIT/js/README.txt
+++ b/STARTERKIT/js/README.txt
@@ -8,7 +8,7 @@ Your theme can add JavaScript files in two ways:
2. To add a JavaScript file depending on a certain condition, you can add it
using some PHP code in a preprocess function:
- drupal_add_js('js/my-jquery-script.js', 'theme');
+ drupal_add_js('js/my-jquery-script.js', array('group' => JS_THEME));
For the full documentation of drupal_add_js(), see:
http://api.drupal.org/api/function/drupal_add_js