mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
Add seperate settings file.
This commit is contained in:
parent
4e0b9b3d6c
commit
cfa64acd6a
23
docs/content/settings.js
Normal file
23
docs/content/settings.js
Normal file
@ -0,0 +1,23 @@
|
||||
const SETTINGS =
|
||||
{
|
||||
STATSNUMTAGS: 5,
|
||||
STATSNUMTYPE: 10,
|
||||
WIDEGRIDITEM: true,
|
||||
USEMASONRY: true,
|
||||
GRIDITEMIDBASE: 'item',
|
||||
SHOWUPPER: true,
|
||||
SHOWTITLE: true,
|
||||
SHOWAUTH: true,
|
||||
SHOWTYPE: true,
|
||||
SHOWLINK: true,
|
||||
SHOWLOWER: true,
|
||||
SHOWTAGS: true,
|
||||
SHOWPROJ: true,
|
||||
SHOWNOTE: true,
|
||||
SHOWQOTE: true,
|
||||
SHOWTERM: true,
|
||||
SHOWPROG: true,
|
||||
SHOWIMAG: true,
|
||||
SHOWFILE: true,
|
||||
SHOWOVERLAY: true
|
||||
}
|
@ -13,6 +13,7 @@
|
||||
<script src="logic/lib/indental.js"></script>
|
||||
<script src="logic/lib/theme.js"></script>
|
||||
|
||||
<script src="content/settings.js"></script>
|
||||
<script src="logic/wrap.js"></script>
|
||||
<script src="logic/view.js"></script>
|
||||
<script src="logic/main.js"></script>
|
||||
|
@ -6,29 +6,6 @@ function View()
|
||||
this.grid = null;
|
||||
this.menu = null;
|
||||
var parent = this;
|
||||
|
||||
const SETTINGS = {
|
||||
STATSNUMTAGS: 5,
|
||||
STATSNUMTYPE: 10,
|
||||
WIDEGRIDITEM: true,
|
||||
USEMASONRY: true,
|
||||
GRIDITEMIDBASE: 'item',
|
||||
SHOWUPPER: true,
|
||||
SHOWTITLE: true,
|
||||
SHOWAUTH: true,
|
||||
SHOWTYPE: true,
|
||||
SHOWLINK: true,
|
||||
SHOWLOWER: true,
|
||||
SHOWTAGS: true,
|
||||
SHOWPROJ: true,
|
||||
SHOWNOTE: true,
|
||||
SHOWQOTE: true,
|
||||
SHOWTERM: true,
|
||||
SHOWPROG: true,
|
||||
SHOWIMAG: true,
|
||||
SHOWFILE: true,
|
||||
SHOWOVERLAY: true
|
||||
}
|
||||
|
||||
this.install = function()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user