diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-10 16:44:53 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-10 16:44:53 +0000 |
commit | 43fac0b20e71d6b643b1e9fa3fd29ae1872ba0f6 (patch) | |
tree | 7e11c2af0dcde70c4e3ed7053d5406f8d4dadc39 /includes | |
parent | 44e47bfb16cd405e1187bc62579211554882e99f (diff) | |
download | brdo-43fac0b20e71d6b643b1e9fa3fd29ae1872ba0f6.tar.gz brdo-43fac0b20e71d6b643b1e9fa3fd29ae1872ba0f6.tar.bz2 |
#994482 by babbage: Fixed Syntax error in drupal_add_js API example
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 4d6dddf2e..4ad4dfad2 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -3787,7 +3787,7 @@ function drupal_region_class($region) { * array('type' => 'inline', 'scope' => 'footer', 'weight' => 5) * ); * drupal_add_js('http://example.com/example.js', 'external'); - * drupal_add_js(array('myModule', array('key' => 'value')), 'setting'); + * drupal_add_js(array('myModule' => array('key' => 'value')), 'setting'); * @endcode * * Calling drupal_static_reset('drupal_add_js') will clear all JavaScript added |