? .htaccess
? 854396-21.patch
? 854396-24.patch
? 880368-9.patch
? 913846_4.patch
? 913846_5.patch
? Drupal 7.x
? documentation_drupal_process_attached_external_2.patch
? drupal-translation-source-code-warning.patch
? drupal_add_css-external.patch
? drushrc.php
? process-with-test.patch
? process.patch
? sites
? test.php
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1250
diff -u -p -r1.1250 common.inc
--- includes/common.inc	7 Nov 2010 18:33:52 -0000	1.1250
+++ includes/common.inc	9 Nov 2010 16:10:55 -0000
@@ -4149,6 +4149,16 @@ function drupal_get_js($scope = 'header'
  * );
  * @endcode
  *
+ * External files can also be loaded, but only the 'jss' and 'css' types. For
+ * example:
+ * @code
+ * $build['#attached']['js'] = array(
+ *   'http://code.jquery.com/jquery-1.4.2.min.js' => array(
+ *     'type' => external',
+ *   ),
+ * );
+ * @endcode
+ *
  * @param $elements
  *   The structured array describing the data being rendered.
  * @param $group
