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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | drupal-fix-param-doxygen-258128-d5.patch | 806 bytes | gpk |
| #1 | drupal-fix-param-doxygen-258128-1.patch | 860 bytes | webchick |
Comments
Comment #1
webchickPatch.
Comment #2
wim leersI think this patch wins the Most Trivial Patch of the Month Award :)
Comment #3
tjholowaychuk commentedHaha yikes.. second that.
Comment #4
dries commentedCommitted to CVS HEAD and DRUPAL-6. Thanks Angie.
Comment #5
gpk commentedOriginal patch applied to 5.x with offset and fuzz 2, this one should apply cleanly.
Comment #6
webchickLooks good. :)
Comment #7
drummCommitted to 5.x.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.