Comparing version 0.6.1 to 0.7.0
@@ -84,4 +84,2 @@ // Open Source Initiative OSI - The MIT License (MIT):Licensing | ||
//console.log("RECV", event); | ||
if(event.name == "_zpc_more") { | ||
@@ -167,3 +165,2 @@ //Update buffer data | ||
} else { | ||
//console.log("QUEUE", event); | ||
this._outBuffer.add(event); | ||
@@ -170,0 +167,0 @@ } |
@@ -74,7 +74,10 @@ // Open Source Initiative OSI - The MIT License (MIT):Licensing | ||
var args = getArguments(context[name]); | ||
var argsObjs = []; | ||
//Remove callback argument | ||
args.pop(); | ||
//Ignore the last arg because it is the callback | ||
for(var i=0; i<args.length-1; i++) { | ||
argsObjs.push({ name: args[i] }); | ||
} | ||
results[name] = { doc: "", args: args }; | ||
results[name] = { doc: "", args: argsObjs }; | ||
} | ||
@@ -81,0 +84,0 @@ |
{ | ||
"name": "zerorpc", | ||
"version": "0.6.1", | ||
"version": "0.7.0", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "author": "dotCloud <opensource@dotcloud.com>", |
@@ -224,3 +224,3 @@ // Open Source Initiative OSI - The MIT License (MIT):Licensing | ||
exports.testIntrospector = function(test) { | ||
test.expect(14); | ||
test.expect(15); | ||
@@ -236,4 +236,5 @@ rpcClient.invoke("_zpc_inspect", function(error, res, more) { | ||
test.deepEqual(res.iter.args, ["from", "to", "step"]); | ||
test.deepEqual(res.objectError.args, []); | ||
test.deepEqual(res.add42.args.length, 1); | ||
test.deepEqual(res.add42.args[0].name, "n"); | ||
test.equal(more, false); | ||
@@ -240,0 +241,0 @@ test.done(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46413
1093