Comparing version 0.1.2 to 0.1.3
@@ -16,4 +16,3 @@ // Generated by CoffeeScript 1.3.1 | ||
function ParseJson() { | ||
var json, | ||
_this = this; | ||
var _this = this; | ||
this.inPorts = { | ||
@@ -25,8 +24,6 @@ "in": new noflo.Port() | ||
}; | ||
json = ""; | ||
this.inPorts["in"].on("data", function(data) { | ||
return json += data; | ||
return _this.outPorts.out.send(JSON.parse(data)); | ||
}); | ||
this.inPorts["in"].on("disconnect", function() { | ||
_this.outPorts.out.send(JSON.parse(json)); | ||
return _this.outPorts.out.disconnect(); | ||
@@ -33,0 +30,0 @@ }); |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"licenses": [{ | ||
@@ -13,0 +13,0 @@ "type": "MIT", |
Sorry, the diff of this file is not supported yet
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
2313427
8306