Comparing version 0.6.0 to 0.7.0
@@ -223,2 +223,7 @@ ;(function (clarinet) { | ||
CStream.prototype.destroy = function () { | ||
clearBuffers(this._parser); | ||
this.emit("close"); | ||
}; | ||
function emit(parser, event, data) { | ||
@@ -225,0 +230,0 @@ if(clarinet.INFO) console.log('-- emit', event, data); |
@@ -9,3 +9,3 @@ { "name" : "clarinet" | ||
] | ||
, "version" : "0.6.0" | ||
, "version" : "0.7.0" | ||
, "main" : "./clarinet.js" | ||
@@ -22,3 +22,3 @@ , "homepage" : "https://github.com/dscape/clarinet" | ||
, "devDependencies" : | ||
{ "mocha": "1.0.x", "should": "0.3.2", "underscore": "1.2.3" } | ||
{ "mocha": "1.3.x", "should": "1.0.x", "underscore": "1.2.3" } | ||
, "scripts" : | ||
@@ -25,0 +25,0 @@ { "test" : |
@@ -50,3 +50,3 @@ # clarinet | ||
parser.onvalue = function (v) { | ||
// got some value. v is the value. cant be string, int, bool, and null. | ||
// got some value. v is the value. can be string, double, bool, or null. | ||
}; | ||
@@ -53,0 +53,0 @@ parser.onopenobject = function (key) { |
@@ -293,3 +293,3 @@ if (!clarinet) { // node | ||
] | ||
} | ||
} | ||
, frekin_string: | ||
@@ -296,0 +296,0 @@ { text : '["\\\\\\"\\"a\\""]' |
Sorry, the diff of this file is not supported yet
39437118
7575