doc: Fixed name of argument in Function#wrap docs.

This commit is contained in:
tjcrowder 2009-09-10 14:03:07 +01:00
parent cdaaaa6421
commit 4905d1777c
1 changed files with 3 additions and 3 deletions

View File

@ -273,8 +273,8 @@ Object.extend(Function.prototype, (function() {
}
/**
* Function#wrap(wrapperFunction) -> Function
* - wrapperFunction (Function): The function to use as a wrapper.
* Function#wrap(wrapper) -> Function
* - wrapper (Function): The function to use as a wrapper.
*
* Returns a function "wrapped" around the original function.
*
@ -285,7 +285,7 @@ Object.extend(Function.prototype, (function() {
*
* The wraper function is called with this signature:
*
* function wrapperFunction(callOriginal[, args...])
* function wrapper(callOriginal[, args...])
*
* ...where `callOriginal` is a function that can be used to call the
* original (wrapped) function (or not, as appropriate). (`callOriginal` is