diff options
Diffstat (limited to 'src/shared/settings/properties.js')
-rw-r--r-- | src/shared/settings/properties.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/shared/settings/properties.js b/src/shared/settings/properties.js new file mode 100644 index 0000000..7093f2b --- /dev/null +++ b/src/shared/settings/properties.js @@ -0,0 +1,18 @@ +// describe types of a propety as: +// mystr: 'string', +// mynum: 'number', +// mybool: 'boolean', +const types = { + hintchars: 'string', + smoothscroll: 'boolean', + adjacenttab: 'boolean', +}; + +// describe default values of a property +const defaults = { + hintchars: 'abcdefghijklmnopqrstuvwxyz', + smoothscroll: false, + adjacenttab: false, +}; + +export { types, defaults }; |