diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-19 15:52:35 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-19 15:52:35 +0100 |
commit | 777963c97c41094555b1ea94b351adf380637922 (patch) | |
tree | 9e2b0702d23dcf53661355cf0ae4e9cad926366d /lib/index.js | |
parent | 2f3d6f8dff7d50fb1e60b90cbb3245dfec2fd4f6 (diff) | |
download | gitbook-777963c97c41094555b1ea94b351adf380637922.zip gitbook-777963c97c41094555b1ea94b351adf380637922.tar.gz gitbook-777963c97c41094555b1ea94b351adf380637922.tar.bz2 |
Change name of Book.init to Book.parse
Diffstat (limited to 'lib/index.js')
-rw-r--r-- | lib/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js index 21bc6ff..8b7a390 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19,7 +19,10 @@ module.exports = { 'output': output })); - return book.generate(); + return book.parse() + .then(function() { + return book.generate(); + }); } } ] |