summaryrefslogtreecommitdiffstats
path: root/packages/gitbook/src/models/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook/src/models/page.js')
-rw-r--r--packages/gitbook/src/models/page.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook/src/models/page.js b/packages/gitbook/src/models/page.js
index e2ab977..577475e 100644
--- a/packages/gitbook/src/models/page.js
+++ b/packages/gitbook/src/models/page.js
@@ -4,7 +4,7 @@ const yaml = require('js-yaml');
const File = require('./file');
const DEFAULTS = {
- file: File(),
+ file: new File(),
// Attributes extracted from the YAML header
attributes: Map(),
// Content of the page