summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-01-15 13:36:26 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2018-01-15 14:24:06 -0500
commit0877631826d3037b02b2c8a75c493b17385a219a (patch)
treee063f68f4210054a8bb9c4a69b20d95b50cf957a
parentf368f5393e3d90c9fe4eae39f0dd5b81ce1370de (diff)
JS: add copyright headers as appropriate
-rw-r--r--mirrors/static/mirror_status.js20
-rw-r--r--sitestatic/archweb.js20
-rw-r--r--visualize/static/visualize.js20
3 files changed, 60 insertions, 0 deletions
diff --git a/mirrors/static/mirror_status.js b/mirrors/static/mirror_status.js
index 241f5c61..44c81935 100644
--- a/mirrors/static/mirror_status.js
+++ b/mirrors/static/mirror_status.js
@@ -1,3 +1,23 @@
+/* mirror_status.js
+ * Homepage: https://projects.archlinux.org/archweb.git/
+ * Copyright: 2012-2013 The Archweb Team (Dan McGee)
+ * License: GPLv2
+ *
+ * This file is part of Archweb.
+ *
+ * Archweb is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Archweb 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 Archweb. If not, see <http://www.gnu.org/licenses/>.
+ */
+
function draw_graphs(location_url, log_url, container_id) {
jQuery.when(jQuery.getJSON(location_url), jQuery.getJSON(log_url))
.then(function(loc_data, log_data) {
diff --git a/sitestatic/archweb.js b/sitestatic/archweb.js
index 5f6e5e97..43ac0c7b 100644
--- a/sitestatic/archweb.js
+++ b/sitestatic/archweb.js
@@ -1,3 +1,23 @@
+/* archweb.js
+ * Homepage: https://projects.archlinux.org/archweb.git/
+ * Copyright: 2007-2014 The Archweb Team
+ * License: GPLv2
+ *
+ * This file is part of Archweb.
+ *
+ * Archweb is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Archweb 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 Archweb. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/*'use strict';*/
/* tablesorter custom parsers for various pages:
* devel/index.html, mirrors/status.html, todolists/view.html */
diff --git a/visualize/static/visualize.js b/visualize/static/visualize.js
index 5254c26b..0ce08ff0 100644
--- a/visualize/static/visualize.js
+++ b/visualize/static/visualize.js
@@ -1,3 +1,23 @@
+/* visualize.js
+ * Homepage: https://projects.archlinux.org/archweb.git/
+ * Copyright: 2011-2014 The Archweb Team (Dan McGee)
+ * License: GPLv2
+ *
+ * This file is part of Archweb.
+ *
+ * Archweb is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Archweb 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 Archweb. If not, see <http://www.gnu.org/licenses/>.
+ */
+
function packages_treemap(chart_id, orderings, default_order) {
var jq_div = jQuery(chart_id),
color = d3.scale.category20();