Comparing version 0.2.0 to 0.2.1
@@ -32,3 +32,3 @@ // Generated by IcedCoffeeScript 1.2.0t | ||
subvalue = diff[subkey]; | ||
if (m = subkey.match(/^(.*)__removed$/)) { | ||
if (m = subkey.match(/^(.*)__deleted$/)) { | ||
subcolorize(m[1], subvalue, output, '-', subindent); | ||
@@ -35,0 +35,0 @@ } else if (m = subkey.match(/^(.*)__added$/)) { |
@@ -5,3 +5,3 @@ { | ||
"description": "JSON diff", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/andreyvit/json-diff", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -20,3 +20,3 @@ (function() { | ||
return assert.deepEqual([' {', '- foo: 42', ' }'], colorizeToArray({ | ||
foo__removed: 42 | ||
foo__deleted: 42 | ||
})); | ||
@@ -23,0 +23,0 @@ }); |
63925
14