summaryrefslogtreecommitdiff
path: root/js/catalog-link.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-01-19 14:27:24 +0100
committerczaks <marcin@6irc.net>2014-01-19 14:27:24 +0100
commit1c6b178dc537f1daf88cb5a16f9dd51390dc3a37 (patch)
tree1ba9343df9e2c53b4d02982e0efe8bf9a06534e1 /js/catalog-link.js
parent29642bba3e8f52c6f9e05eeb7ecbadb3e8ad4385 (diff)
add copyright notices for javascripts based on commit history
Diffstat (limited to 'js/catalog-link.js')
-rw-r--r--js/catalog-link.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/js/catalog-link.js b/js/catalog-link.js
index fea57785..899e6859 100644
--- a/js/catalog-link.js
+++ b/js/catalog-link.js
@@ -1,4 +1,16 @@
-// This script puts a link to the catalog below the board subtitle, and next to the board list.
+/*
+ * catalog-link.js - This script puts a link to the catalog below the board
+ * subtitle and next to the board list.
+ * https://github.com/vichan-devel/Tinyboard/blob/master/js/catalog-link.js
+ *
+ * Released under the MIT license
+ * Copyright (c) 2013 copypaste <wizardchan@hush.com>
+ * Copyright (c) 2013-2014 Marcin Ɓabanowski <marcin@6irc.net>
+ *
+ * Usage:
+ * $config['additional_javascript'][] = 'js/jquery.min.js';
+ * $config['additional_javascript'][] = 'js/catalog-link.js';
+ */
function catalog() {
var board = $("input[name='board']");