- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
if (
(_methodName == "invoke") ||
(_methodName == "auth") ||
(_methodName == "resetAuth") ||
(_methodName == "registerMethod") ||
(_methodName == "registerAllMethods")
)
{
throw "Illegal method name " +_methodName +" - service method with this name already exist";
}
else
{
eval("ComponentClient.prototype."+_methodName+" = function (_parameters) {return this.invoke(\""+_methodName+"\", _parameters)}")
}
Lure Of Chaos 30.03.2012 16:38 # 0
wvxvw 30.03.2012 21:37 # 0
konsoletyper 02.04.2012 06:47 # 0