From 4905d1777c61f04f7c9dc53708e5c10df8d88ecb Mon Sep 17 00:00:00 2001 From: tjcrowder Date: Thu, 10 Sep 2009 14:03:07 +0100 Subject: [PATCH] doc: Fixed name of argument in Function#wrap docs. --- src/lang/function.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lang/function.js b/src/lang/function.js index 91ce67c..3044451 100644 --- a/src/lang/function.js +++ b/src/lang/function.js @@ -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