summaryrefslogtreecommitdiffstats
path: root/test/node_modules/gitbook-plugin-test-hooks
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-04-30 22:06:16 +0200
committerSamy Pesse <samypesse@gmail.com>2016-04-30 22:06:16 +0200
commitc1d53ec11fbe085932df911bda5686b7bf671f53 (patch)
tree97ae6db641eb79ec9b061af136a0b2e3c549db55 /test/node_modules/gitbook-plugin-test-hooks
parent36b49c66c6b75515bc84dd678fd52121a313e8d2 (diff)
downloadgitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.zip
gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.gz
gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.bz2
Switch parsers to a model
Diffstat (limited to 'test/node_modules/gitbook-plugin-test-hooks')
-rw-r--r--test/node_modules/gitbook-plugin-test-hooks/index.js18
-rw-r--r--test/node_modules/gitbook-plugin-test-hooks/package.json7
2 files changed, 0 insertions, 25 deletions
diff --git a/test/node_modules/gitbook-plugin-test-hooks/index.js b/test/node_modules/gitbook-plugin-test-hooks/index.js
deleted file mode 100644
index cd9d1b0..0000000
--- a/test/node_modules/gitbook-plugin-test-hooks/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-module.exports = {
- hooks: {
- 'init': function() {
- global._hooks = [];
- global._hooks.push('init');
- },
- 'finish': function() {
- global._hooks.push('finish');
- },
- 'finish:before': function() {
- global._hooks.push('finish:before');
- },
- page: function(page) {
- page.content = 'Hello ' + page.content;
- return page;
- }
- }
-};
diff --git a/test/node_modules/gitbook-plugin-test-hooks/package.json b/test/node_modules/gitbook-plugin-test-hooks/package.json
deleted file mode 100644
index adb12a8..0000000
--- a/test/node_modules/gitbook-plugin-test-hooks/package.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "name": "gitbook-plugin-test-hooks",
- "version": "1.0.0",
- "engines": {
- "gitbook": "*"
- }
-} \ No newline at end of file