From bd2ecbfcd6513541c68207692a26a77a1081d9ec Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Fri, 17 Sep 2021 08:36:25 +0000 Subject: [PATCH] Correct copyright notice --- features/fuzzySearch/dataTables.fuzzySearch.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/features/fuzzySearch/dataTables.fuzzySearch.js b/features/fuzzySearch/dataTables.fuzzySearch.js index e0edc8c..3b9c921 100644 --- a/features/fuzzySearch/dataTables.fuzzySearch.js +++ b/features/fuzzySearch/dataTables.fuzzySearch.js @@ -1,7 +1,13 @@ +/*! + * Fuzzy Search for DataTables + * 2021 SpryMedia Ltd - datatables.net/license MIT license + * + * Damerau-Levenshtein function courtesy of https://github.com/tad-lispy/node-damerau-levenshtein + * BSD 2-Clause License + * Copyright (c) 2018, Tadeusz Łazurski + * All rights reserved. + */ (function() { - /** - * Levenshtein function courtesy of https://github.com/tad-lispy/node-damerau-levenshtein / https://www.npmjs.com/package/damerau-levenshtein - */ function levenshtein(__this, that, limit) { var thisLength = __this.length, @@ -53,9 +59,6 @@ return prepare (matrix[thisLength][thatLength]); - /** - * - */ function prepare(steps) { var length = Math.max(thisLength, thatLength) var relative = length === 0