From f8f0ad0692bd1dd419850689a84e3dbb09dd3d63 Mon Sep 17 00:00:00 2001 From: zumbrunn Date: Fri, 2 May 2008 08:35:18 +0000 Subject: [PATCH] changed docs for Aspects.addBefore() function to mention the parameters passed to the added function --- helma/Aspects.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helma/Aspects.js b/helma/Aspects.js index 5f212b71..ece83a91 100644 --- a/helma/Aspects.js +++ b/helma/Aspects.js @@ -6,7 +6,7 @@ * compliance with the License. A copy of the License is available at * http://adele.helma.org/download/helma/license.txt * - * Copyright 1998-2007 Helma Software. All Rights Reserved. + * Copyright 1998-2008 Helma Software. All Rights Reserved. * * $RCSfile: Aspects.js,v $ * $Author$ @@ -66,6 +66,9 @@ helma.Aspects.prototype.toString = function() { *

* The return value of the added function needs to provide the * array of arguments that is passed to the original function. + * The added function receives an array of the original arguments, + * the original function and the scope object of the original + * function as its parameters. * * @param {Object} obj The object of which the original function is a property * @param {String} fname The property name of the original function