Added support for callbacks. In the options argument to request (and any of the methods that wrap around request, like all discover methods and the execute method) you can now pass the optional arguments: success, error and callback. If passed, they must be a function. success is called if the action executed successfully, error if not, and callback is always called. By default, the functions will be called in global scope. If the options argument has a scope member, them that must be an object, and this object will be used as the scope to call the functions.
Added support for callbacks. In the options argument to request (and any of the methods that wrap around request, like all discover methods and the execute method) you can now pass the optional arguments: success, error and callback. If passed, they must be a function. success is called if the action executed successfully, error if not, and callback is always called. By default, the functions will be called in global scope. If the options argument has a scope member, them that must be an object, and this object will be used as the scope to call the functions.

rpbouman/xmla4js,ishaigor/xmla4js,ishaigor/xmla4js,rpbouman/xmla4js,ishaigor/xmla4js,rpbouman/xmla4js