diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-26 21:42:30 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-26 21:42:30 +0100 |
commit | 4250f559b0a2047fb172248dca0bbd0ab3b9c6fb (patch) | |
tree | 8bb5ec8e51886836f4637aedb1b0677299575b4c /test/plugins/filters | |
parent | 3293c394508ef40a65068a19f04deda467431864 (diff) | |
download | gitbook-4250f559b0a2047fb172248dca0bbd0ab3b9c6fb.zip gitbook-4250f559b0a2047fb172248dca0bbd0ab3b9c6fb.tar.gz gitbook-4250f559b0a2047fb172248dca0bbd0ab3b9c6fb.tar.bz2 |
Extract filters from plugins
Diffstat (limited to 'test/plugins/filters')
-rw-r--r-- | test/plugins/filters/index.js | 7 | ||||
-rw-r--r-- | test/plugins/filters/package.json | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/plugins/filters/index.js b/test/plugins/filters/index.js new file mode 100644 index 0000000..0087ba1 --- /dev/null +++ b/test/plugins/filters/index.js @@ -0,0 +1,7 @@ +module.exports = { + filters: { + hello: function(text) { + return "Hello "+text; + } + } +};
\ No newline at end of file diff --git a/test/plugins/filters/package.json b/test/plugins/filters/package.json new file mode 100644 index 0000000..f1d4e45 --- /dev/null +++ b/test/plugins/filters/package.json @@ -0,0 +1,9 @@ +{ + "name": "gitbook-plugin-filters", + "description": "Test filters", + "main": "index.js", + "version": "0.0.1", + "engines": { + "gitbook": "*" + } +}
\ No newline at end of file |