diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-17 11:25:57 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-17 11:25:57 +0100 |
commit | f54685e2168bd54b06664b55ffb14334fef4cf80 (patch) | |
tree | 456c6d694813beee7e6eeee4c6293fff596e0955 /lib/output/website/index.js | |
parent | 8141bcb3b63f16c27f8cd6c5e19aed4b5ef6d019 (diff) | |
download | gitbook-f54685e2168bd54b06664b55ffb14334fef4cf80.zip gitbook-f54685e2168bd54b06664b55ffb14334fef4cf80.tar.gz gitbook-f54685e2168bd54b06664b55ffb14334fef4cf80.tar.bz2 |
Change format of conrefs and folder mixins
Diffstat (limited to 'lib/output/website/index.js')
-rw-r--r-- | lib/output/website/index.js | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/output/website/index.js b/lib/output/website/index.js index fc9bc6b..6166ccc 100644 --- a/lib/output/website/index.js +++ b/lib/output/website/index.js @@ -1,15 +1,8 @@ -var util = require('util'); -var FolderOutput = require('../folder'); -var ConrefsLoader = require('../conrefs'); +var conrefsLoader = require('../conrefs'); var Theme = require('./theme'); -function WebsiteOutput() { - FolderOutput.apply(this, arguments); - ConrefsLoader.apply(this); -} -util.inherits(WebsiteOutput, FolderOutput); -util.inherits(WebsiteOutput, ConrefsLoader); +var WebsiteOutput = conrefsLoader(); WebsiteOutput.prototype.name = 'website'; |