From b24690ff7c7258af6130ae225a6be2b2fb62b73a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 28 Jun 2010 18:43:31 +0800 Subject: [PATCH] XObject.js --- XObject.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/XObject.js b/XObject.js index 424db53..31f7f6a 100644 --- a/XObject.js +++ b/XObject.js @@ -418,6 +418,12 @@ XObject.extend(XObject, * @param {Array} args to add * @param {Boolean|Number} append arguments or replace after N arguments. * @return {Function} returns the delegate + * + * Usage: + * function a() .... + * + * x = XObject.createDelegate(a, this); + * */ createDelegate : function(method, obj, args, appendArgs){ -- 2.39.2