diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-04-23 17:10:16 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-04-23 17:10:16 +0200 |
commit | e1fa977b5b1b3c03790de6e2c21ee39ba55d9555 (patch) | |
tree | a1ad4386100b5779ef930845093c14639a3353b5 /lib/output/modifiers | |
parent | ce95f316b9ce1eac1e615db3540c4d0f30408d63 (diff) | |
download | gitbook-e1fa977b5b1b3c03790de6e2c21ee39ba55d9555.zip gitbook-e1fa977b5b1b3c03790de6e2c21ee39ba55d9555.tar.gz gitbook-e1fa977b5b1b3c03790de6e2c21ee39ba55d9555.tar.bz2 |
Add json encoding utils
Diffstat (limited to 'lib/output/modifiers')
-rw-r--r-- | lib/output/modifiers/index.js | 11 | ||||
-rw-r--r-- | lib/output/modifiers/modifyHTML.js | 15 |
2 files changed, 18 insertions, 8 deletions
diff --git a/lib/output/modifiers/index.js b/lib/output/modifiers/index.js index 76ce3c2..ced8716 100644 --- a/lib/output/modifiers/index.js +++ b/lib/output/modifiers/index.js @@ -1,9 +1,4 @@ - -function modifyPage() { - - -} - - -module.exports = modifyPage; +module.exports = { + modifyHTML: require('./modifyHTML') +}; diff --git a/lib/output/modifiers/modifyHTML.js b/lib/output/modifiers/modifyHTML.js new file mode 100644 index 0000000..c1dad74 --- /dev/null +++ b/lib/output/modifiers/modifyHTML.js @@ -0,0 +1,15 @@ + + +/** + Apply a list of operations to a page and + output the new page. + + @param {Page} + @param {List<Transformation>} +*/ +function modifyHTML(page, operations) { + +} + + +module.exports = modifyHTML; |