summaryrefslogtreecommitdiffstats
path: root/lib/generate/index.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2014-10-15 21:29:23 +0200
committerAaron O'Mullan <aaron.omullan@gmail.com>2014-10-15 21:29:23 +0200
commitce50b893e926fed8905419efc8bce4a64ab2d5dc (patch)
tree83cf19e47f26fd77072ac63aeaf2152a4b30ffa6 /lib/generate/index.js
parent49e3bbc3d6e9e128df721494e9a10eaf15b7ddc8 (diff)
parent225ff27dd15b904d6a4a784c219522a28f316a5b (diff)
downloadgitbook-ce50b893e926fed8905419efc8bce4a64ab2d5dc.zip
gitbook-ce50b893e926fed8905419efc8bce4a64ab2d5dc.tar.gz
gitbook-ce50b893e926fed8905419efc8bce4a64ab2d5dc.tar.bz2
Merge pull request #482 from GitbookIO/feature/includes
Add include support, with variables and the whole shebang
Diffstat (limited to 'lib/generate/index.js')
-rw-r--r--lib/generate/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/index.js b/lib/generate/index.js
index 4fc78a7..2118c46 100644
--- a/lib/generate/index.js
+++ b/lib/generate/index.js
@@ -40,7 +40,7 @@ var loadGenerator = function(options) {
.then(function() {
var generator = new generators[options.generator](options);
- return generator.loadPlugins()
+ return generator.load()
.then(_.constant(generator));
});
};