1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00
This commit is contained in:
czaks 2014-01-19 13:29:14 +01:00
parent 91e5a1d62c
commit a1822f1b31

View File

@ -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 <marcin@6irc.net>
*
* 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") {