X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/RemotingMethod.html diff --git a/docs/source/RemotingMethod.html b/docs/source/RemotingMethod.html index 5698d427..a66210fd 100644 --- a/docs/source/RemotingMethod.html +++ b/docs/source/RemotingMethod.html @@ -3,8 +3,8 @@
/** * Small utility class used internally to represent a Direct method. - * Thi class is used internally. * @class Ext.direct.RemotingMethod * @ignore */ Ext.define('Ext.direct.RemotingMethod', { - + constructor: function(config){ var me = this, params = Ext.isDefined(config.params) ? config.params : config.len, name; - + me.name = config.name; me.formHandler = config.formHandler; if (Ext.isNumber(params)) { @@ -47,7 +46,7 @@ Ext.define('Ext.direct.RemotingMethod', { }); } }, - + /** * Takes the arguments for the Direct function and splits the arguments * from the scope and the callback. @@ -62,7 +61,7 @@ Ext.define('Ext.direct.RemotingMethod', { callback, scope, name; - + if (me.ordered) { callback = args[len]; scope = args[len + 1]; @@ -73,7 +72,7 @@ Ext.define('Ext.direct.RemotingMethod', { data = Ext.apply({}, args[0]); callback = args[1]; scope = args[2]; - + // filter out any non-existent properties for (name in data) { if (data.hasOwnProperty(name)) { @@ -83,11 +82,11 @@ Ext.define('Ext.direct.RemotingMethod', { } } } - + return { data: data, callback: callback, - scope: scope + scope: scope }; } });