moya/libs/jsonrpc/media/js/jsonrpc.js
/* JS 'class' to make a JSRPC interface for a given url */
JS 'class' to make a JSRPC interface for a given url
JS ' class ' to make a JSRPC interface for a given url
function JSONRPCBatch()
{
    var self = this
    self.requests = [];
    self.call = function(method, params)
    {
        var call = [false, method, params];
        self.requests.push(call)
    }
    self.notify = function(method, params)
    {
        var call = [true, method, params];
        self.requests.push(call);
    }
    return self;
}
function JSONRPCBatch ( ) { var self = this self . requests = [ ] ; self . call = function ( method , params ) { var call = [ false , method , params ] ; self . requests . push ( call ) } self . notify = function ( method , params ) { var call = [ true , method , params ] ; self . requests . push ( call ) ; } return self ; }
JS 'class' to make a JSRPC interface for a given url
JS ' class ' to make a JSRPC interface for a given url