summaryrefslogtreecommitdiffstats
path: root/lib/constants
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-04-26 11:00:36 +0200
committerSamy Pesse <samypesse@gmail.com>2016-04-26 11:00:36 +0200
commit8a3f80ba82bd706083015f228c551d64768a287e (patch)
tree1afa30295ff795ec209e91501f6d4146dd1dd4d4 /lib/constants
parent374ebd6f7a77bfbde00f5d1e730403afd86e018f (diff)
downloadgitbook-8a3f80ba82bd706083015f228c551d64768a287e.zip
gitbook-8a3f80ba82bd706083015f228c551d64768a287e.tar.gz
gitbook-8a3f80ba82bd706083015f228c551d64768a287e.tar.bz2
Add test for parsing glossary
Diffstat (limited to 'lib/constants')
-rw-r--r--lib/constants/configDefault.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/constants/configDefault.js b/lib/constants/configDefault.js
new file mode 100644
index 0000000..0d95883
--- /dev/null
+++ b/lib/constants/configDefault.js
@@ -0,0 +1,6 @@
+var Immutable = require('immutable');
+var jsonSchemaDefaults = require('json-schema-defaults');
+
+var schema = require('./configSchema');
+
+module.exports = Immutable.fromJS(jsonSchemaDefaults(schema));