diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-11 13:58:26 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-11 13:58:26 +0100 |
commit | f47208528b28dad69391aa2e4eaccb32d11ba69d (patch) | |
tree | b509fc02f4a37b360e649a501dac4f4b21bf9f2c /lib/backbone | |
parent | 87d90a65ac6d1ceb5c1ce255d71713cff7dc9d17 (diff) | |
download | gitbook-f47208528b28dad69391aa2e4eaccb32d11ba69d.zip gitbook-f47208528b28dad69391aa2e4eaccb32d11ba69d.tar.gz gitbook-f47208528b28dad69391aa2e4eaccb32d11ba69d.tar.bz2 |
Normalize fs access
Diffstat (limited to 'lib/backbone')
-rw-r--r-- | lib/backbone/page.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/backbone/page.js b/lib/backbone/page.js index c75c434..94812d9 100644 --- a/lib/backbone/page.js +++ b/lib/backbone/page.js @@ -89,9 +89,10 @@ Page.prototype.parse = function() { .then(that.update); }) - // Render markup + // Render markup using the parser .then(function() { - return that.parser.page(that.content); + return that.parser.page(that.content) + .then(that.update); }); }; |