diff options
Diffstat (limited to 'test/node_modules/gitbook-plugin-test-hooks')
-rw-r--r-- | test/node_modules/gitbook-plugin-test-hooks/index.js | 18 | ||||
-rw-r--r-- | test/node_modules/gitbook-plugin-test-hooks/package.json | 7 |
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 |