damerau-levenshtein
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -9,2 +9,7 @@ # Change Log | ||
## [1.0.4] - 2017-03-24 | ||
Fixed: | ||
- Fails in strict mode #7 by @gilly3 | ||
## [1.0.3] - 2016-09-26 | ||
@@ -11,0 +16,0 @@ |
@@ -33,3 +33,3 @@ // TheSpanishInquisition | ||
// Calculate matrix. | ||
var this_i, that_j, cost, min, t; | ||
var j, this_i, that_j, cost, min, t; | ||
for (i = 1; i <= thisLength; ++i) { | ||
@@ -36,0 +36,0 @@ this_i = __this[i-1]; |
{ | ||
"name": "damerau-levenshtein", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Damerau - Levenshtein distance by The Spanish Inquisition + relative distance", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "mocha --use_strict" | ||
}, | ||
@@ -9,0 +9,0 @@ "keywords": [ |
9073