summaryrefslogtreecommitdiffstats
path: root/lib/output/website/index.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-02-15 16:24:13 +0100
committerSamy Pesse <samypesse@gmail.com>2016-02-15 16:24:13 +0100
commite3c92cce77432849de5b9249b6ffb99045a31314 (patch)
treeb93458aa0d0fa0c2f1bd22217825a1110e1c339d /lib/output/website/index.js
parent1141d34f07ca4a9937dd4f43b43e5faa01da832c (diff)
downloadgitbook-e3c92cce77432849de5b9249b6ffb99045a31314.zip
gitbook-e3c92cce77432849de5b9249b6ffb99045a31314.tar.gz
gitbook-e3c92cce77432849de5b9249b6ffb99045a31314.tar.bz2
Add name to json and website build
And inherit from conrefsLoader
Diffstat (limited to 'lib/output/website/index.js')
-rw-r--r--lib/output/website/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/output/website/index.js b/lib/output/website/index.js
index b268eec..7322a57 100644
--- a/lib/output/website/index.js
+++ b/lib/output/website/index.js
@@ -1,14 +1,14 @@
var util = require('util');
-var FolderOutput = require('../base');
+var ConrefsLoader = require('../conrefs');
var Theme = require('./theme');
function WebsiteOutput() {
- FolderOutput.apply(this, arguments);
+ ConrefsLoader.apply(this, arguments);
}
-util.inherits(WebsiteOutput, FolderOutput);
+util.inherits(WebsiteOutput, ConrefsLoader);
-WebsiteOutput.prototype.name = 'ebook';
+WebsiteOutput.prototype.name = 'website';
// Write a page (parsable file)
WebsiteOutput.prototype.onPage = function(page) {