Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Added missing copyright header to the yacysort.js file

lucciomanb50700c35f95
diff --git a/htroot/js/yacysort.js b/htroot/js/yacysort.js
index d20281fde..2c5be23d1 100644
--- a/htroot/js/yacysort.js
+++ b/htroot/js/yacysort.js
@@ -1,3 +1,25 @@
+/*
+* Copyright (C) 2017 Jeremy Rand, Ryszard Goń, luccioman
+*
+* This file is part of YaCy.
+*
+* YaCy is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 2 of the License, or
+* (at your option) any later version.
+*
+* YaCy is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/* Functions dedicated to (re)sort YaCy search results in the browser (configuration setting : search.jsresort=true)
+ * See related style sheet env/yacysort.css */
+
var itemCount = 0;
var highestRanking = Infinity;