diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-14 11:10:08 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-14 11:10:08 +0100 |
commit | a65f888a77c48968087d23750e5fa4d55f2a8686 (patch) | |
tree | b88e7e5b0e98ae791726586592716cd602355abf /lib/template/index.js | |
parent | 71059e3ea3ea9af156987a0dd4cb0a5457b0316c (diff) | |
download | gitbook-a65f888a77c48968087d23750e5fa4d55f2a8686.zip gitbook-a65f888a77c48968087d23750e5fa4d55f2a8686.tar.gz gitbook-a65f888a77c48968087d23750e5fa4d55f2a8686.tar.bz2 |
Start moving template and conrefs on Output
Diffstat (limited to 'lib/template/index.js')
-rw-r--r-- | lib/template/index.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/template/index.js b/lib/template/index.js index b59dd04..3f74267 100644 --- a/lib/template/index.js +++ b/lib/template/index.js @@ -21,9 +21,10 @@ function normBlockResult(blk) { return blk; } -function TemplateEngine(book) { - this.book = book; - this.log = book.log; +function TemplateEngine(output) { + this.output = output; + this.book = output.book; + this.log = this.book.log; // Create file loader this.loader = new Loader(this); |