From 18afddaed12b8d6e000ee85e165c18ba2286f660 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 19 Jan 2014 13:29:14 +0100 Subject: [PATCH] document watch.js ( vichan-devel/Tinyboard#26 ) --- js/watch.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/js/watch.js b/js/watch.js index 734db040..c306d438 100644 --- a/js/watch.js +++ b/js/watch.js @@ -1,3 +1,20 @@ +/* + * watch.js + * https://github.com/vichan-devel/Tinyboard/blob/master/js/watch.js + * + * Released under the MIT license + * Copyright (c) 2014 Marcin Ɓabanowski + * + * Usage: + * $config['api']['enabled'] = true; + * $config['additional_javascript'][] = 'js/jquery.min.js'; + * #$config['additional_javascript'][] = 'js/titlebar-notifications.js'; + * #$config['additional_javascript'][] = 'js/auto-reload.js'; + * #$config['additional_javascript'][] = 'js/compact-boardlist.js'; + * $config['additional_javascript'][] = 'js/watch.js'; + * + */ + $(function(){ // migrate from old name if (typeof localStorage.watch == "string") {