Posted by webchick on May 13, 2008 at 9:21pm
| Project: | Drupal core |
| Version: | 5.x-dev |
| Component: | documentation |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
These got added inadvertently when drupal_get_js() was added to core. The result is that http://api.drupal.org/api/function/drupal_get_js/6 lists the parameters as:
eter $scope (optional) The scope for which the JavaScript rules should be returned. Defaults to 'header'.
eter $javascript (optional) An array with all JavaScript code. Defaults to the default JavaScript array for the given scope.Should be applied to 7.x/6.x/5.x.
Comments
#1
Patch.
#2
I think this patch wins the Most Trivial Patch of the Month Award :)
#3
Haha yikes.. second that.
#4
Committed to CVS HEAD and DRUPAL-6. Thanks Angie.
#5
Original patch applied to 5.x with offset and fuzz 2, this one should apply cleanly.
#6
Looks good. :)
#7
Committed to 5.x.
#8
Automatically closed -- issue fixed for two weeks with no activity.