1
Fork 0

Updated the licensing information for the Levenshtein distance function

This commit is contained in:
James Rowe 2014-07-03 16:28:22 -06:00
parent 6b210878a1
commit c614510ddb

View file

@ -112,8 +112,11 @@
document.location.href = url; document.location.href = url;
}); });
/** /**
* Code from Stackoverflow to compute the Levenshtein distance between two strings * A function to compute the Levenshtein distance between two strings
* Written by Marco de Wit at http://stackoverflow.com/a/18514751/745719 * Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported
* Full License can be found at http://creativecommons.org/licenses/by-sa/3.0/legalcode
* This code is an unmodified version of the code written by Marco de Wit
* and was found at http://stackoverflow.com/a/18514751/745719
*/ */
var levenshtein = (function() { var levenshtein = (function() {
var row2 = []; var row2 = [];