Closed jafl closed 12 years ago
Here is a patch for the three issues I explained over email:
1) Adding the class and function to the Y.RPC namespace, so users can switch between JSON and Mojito by just referencing Y.RPC[something]
2) Fixing Y.jsonrpc to make config optional
3) More careful checking for a callback object in addMethod
Merged, thanks!
Here is a patch for the three issues I explained over email:
1) Adding the class and function to the Y.RPC namespace, so users can switch between JSON and Mojito by just referencing Y.RPC[something]
2) Fixing Y.jsonrpc to make config optional
3) More careful checking for a callback object in addMethod