Comparing version 0.1.2 to 0.1.3
@@ -145,2 +145,3 @@ /* | ||
delete query.callback; | ||
content.callback = callback; | ||
} | ||
@@ -147,0 +148,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"author": "Dav Glass <davglass@gmail.com>", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"devDependencies": { | ||
@@ -8,0 +8,0 @@ "vows": "*", |
@@ -465,3 +465,3 @@ var vows = require('vows'), | ||
assert.equal(topic.code, 200); | ||
assert.equal(topic.body, 'baz({"echo":true});'); | ||
assert.equal(topic.body, 'baz({"echo":true,"callback":"baz"});'); | ||
} | ||
@@ -491,3 +491,3 @@ }, | ||
assert.equal(topic.code, 200); | ||
assert.equal(topic.body, 'foo({"echo":true});'); | ||
assert.equal(topic.body, 'foo({"echo":true,"callback":"foo"});'); | ||
} | ||
@@ -508,2 +508,3 @@ }, | ||
delete payload.callback; | ||
//payload.callback = callback; | ||
data.expected = callback + '(' + JSON.stringify(payload) + ');'; | ||
@@ -510,0 +511,0 @@ self.callback(err, data); |
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
39271
922