Index: modules/system/system.api.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.api.php,v
retrieving revision 1.46
diff -u -p -r1.46 system.api.php
--- modules/system/system.api.php	4 Jul 2009 18:26:42 -0000	1.46
+++ modules/system/system.api.php	5 Jul 2009 13:48:15 -0000
@@ -202,9 +202,9 @@ function hook_js_alter(&$javascript) {
  *   element of the value.
  * - 'css': Like 'js', an array of CSS elements passed to drupal_add_css().
  * - 'dependencies': An array of libraries that are required for a library. Each
- *   element is an array containing the module and name of the registered
- *   library. Note that all dependencies for each dependent library will be
- *   added when this library is added.
+ *   element is an array listing the module and name of another library. Note
+ *   that all dependencies for each dependent library will also be added when
+ *   this library is added.
  *
  * Registered information for a library should contain re-usable data only.
  * Module- or implementation-specific data and integration logic should be added
@@ -247,7 +247,7 @@ function hook_library() {
     ),
     'dependencies' => array(
       // Require jQuery UI core by System module.
-      array('system' => 'ui'),
+      array('system', 'ui'),
       // Require our other library.
       array('my_module', 'library-1'),
       // Require another library.
