mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
document compact-boardlist.js ( vichan-devel/Tinyboard#26 )
This commit is contained in:
parent
f30d03aa52
commit
eb5b3eec5b
@ -1,3 +1,25 @@
|
||||
/*
|
||||
* compact-boardlist.js
|
||||
* https://github.com/vichan-devel/Tinyboard/blob/master/js/compact-boardlist.js
|
||||
*
|
||||
* Released under the MIT license
|
||||
* Copyright (c) 2014 Marcin Łabanowski <marcin@6irc.net>
|
||||
*
|
||||
* Usage:
|
||||
* $config['boards'] = array(
|
||||
* "icon_vichan" => array('*'), # would refer to /static/icons/vichan.png
|
||||
* "Regular" => array('b', 'cp', 'r+oc', 'id', 'waifu'),
|
||||
* "Topical" => array('sci', "Offsite board name" => '//int.vichan.net/s/'),
|
||||
* "fa_search" => array("search" => "/search.php") # would refer to a search
|
||||
* # font-awesome icon
|
||||
* )
|
||||
*
|
||||
* $config['additional_javascript'][] = 'js/jquery.min.js';
|
||||
* $config['additional_javascript'][] = 'js/compact-boardlist.js';
|
||||
* #$config['additional_javascript'][] = 'js/watch.js';
|
||||
*
|
||||
*/
|
||||
|
||||
if (device_type == 'desktop') {
|
||||
compact_boardlist = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user