From cfa64acd6a6ba414164738fbf206cdd85ddd2172 Mon Sep 17 00:00:00 2001 From: kor Date: Wed, 31 Oct 2018 11:13:00 +1300 Subject: [PATCH] Add seperate settings file. --- docs/content/settings.js | 23 +++++++++++++++++++++++ docs/index.html | 1 + docs/logic/view.js | 23 ----------------------- 3 files changed, 24 insertions(+), 23 deletions(-) create mode 100644 docs/content/settings.js diff --git a/docs/content/settings.js b/docs/content/settings.js new file mode 100644 index 0000000..e96c0af --- /dev/null +++ b/docs/content/settings.js @@ -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 +} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 6d71eb6..ac1c8f7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,6 +13,7 @@ + diff --git a/docs/logic/view.js b/docs/logic/view.js index 11d80b6..de2fe46 100644 --- a/docs/logic/view.js +++ b/docs/logic/view.js @@ -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() {