summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-29 20:34:43 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-29 20:34:43 -0500
commitcc202e923001b6bc66427aed79724b26164297ab (patch)
treeef876608afa86fbd51a179edb7ff0ceea935088b
parenta0c31a9800a87934f23a41773c14ea44c851ecd6 (diff)
Add copyright/authorship headers to Archweb-original .js files
* media/archweb.js: GPLv2, (c) 2007-2011 The Archweb Team * media/visualize.js: GPLv2, (c) 2011 Dan McGee The "Archweb Team" thing is a cop-out, but it was pulled from many inline-js places, making a full list of edits hard.
-rw-r--r--media/archweb.js20
-rw-r--r--media/visualize.js20
2 files changed, 40 insertions, 0 deletions
diff --git a/media/archweb.js b/media/archweb.js
index 151d0f81..7b8230a4 100644
--- a/media/archweb.js
+++ b/media/archweb.js
@@ -1,3 +1,23 @@
+/* archweb.js
+ * Homepage: https://projects.archlinux.org/archweb.git/
+ * Copyright: 2007-2011 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/>.
+ */
+
/* tablesorter custom parsers for various pages:
* devel/index.html, mirrors/status.html, todolists/view.html */
if (typeof $.tablesorter !== 'undefined') {
diff --git a/media/visualize.js b/media/visualize.js
index d9196d4d..fa89a613 100644
--- a/media/visualize.js
+++ b/media/visualize.js
@@ -1,3 +1,23 @@
+/* archweb.js
+ * Homepage: https://projects.archlinux.org/archweb.git/
+ * Copyright: 2011 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 = $(chart_id),
color = d3.scale.category20();