diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-07-04 18:08:44 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-07-04 18:08:44 +0200 |
commit | e105983cf84f9d1d843a6efe34a6c0af3be76018 (patch) | |
tree | f6536efe78d3c2683793557e96e41ab1dfdb202f /lib/json/encodeBookWithPage.js | |
parent | ea3afbed75585b40e8108f1fa83cd5660b9ce198 (diff) | |
download | gitbook-e105983cf84f9d1d843a6efe34a6c0af3be76018.zip gitbook-e105983cf84f9d1d843a6efe34a6c0af3be76018.tar.gz gitbook-e105983cf84f9d1d843a6efe34a6c0af3be76018.tar.bz2 |
Add back property "output" to page/template context
Diffstat (limited to 'lib/json/encodeBookWithPage.js')
-rw-r--r-- | lib/json/encodeBookWithPage.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/json/encodeBookWithPage.js b/lib/json/encodeBookWithPage.js index 5600a82..1c5c7a3 100644 --- a/lib/json/encodeBookWithPage.js +++ b/lib/json/encodeBookWithPage.js @@ -3,12 +3,12 @@ var encodePage = require('./encodePage'); var encodeFile = require('./encodeFile'); /** - Return a JSON representation of a book with a specific file - - @param {Book} output - @param {Page} page - @return {Object} -*/ + * Return a JSON representation of a book with a specific file + * + * @param {Book} output + * @param {Page} page + * @return {Object} + */ function encodeBookWithPage(book, page) { var file = page.getFile(); |