summaryrefslogtreecommitdiff
path: root/htroot/js
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-09-13 08:16:29 +0200
committerluccioman <luccioman@users.noreply.github.com>2017-09-13 08:16:29 +0200
commitb50700c35f957d9fe47dcfb7638e8b45ba2dbef6 (patch)
tree14f23397ac568b763d8f1ca5a608380fa4926fec /htroot/js
parent86d41f024250e69bd21414d308969472cb1891a5 (diff)
Added missing copyright header to the yacysort.js file
Diffstat (limited to 'htroot/js')
-rw-r--r--htroot/js/yacysort.js22
1 files changed, 22 insertions, 0 deletions
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;