diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-28 19:39:41 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-28 19:39:41 +0100 |
commit | 898000a5800d4f319f06937e4a6a2785b694d3b2 (patch) | |
tree | fe221fc83411c4f2507a42a7edd7450754190166 /test/plugins | |
parent | f95beed58bf1d7aa7bedff774ee054d1e35f0fc0 (diff) | |
download | gitbook-898000a5800d4f319f06937e4a6a2785b694d3b2.zip gitbook-898000a5800d4f319f06937e4a6a2785b694d3b2.tar.gz gitbook-898000a5800d4f319f06937e4a6a2785b694d3b2.tar.bz2 |
Fix resources loading in plugins
Diffstat (limited to 'test/plugins')
-rw-r--r-- | test/plugins/resources/index.js | 7 | ||||
-rw-r--r-- | test/plugins/resources/package.json | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/plugins/resources/index.js b/test/plugins/resources/index.js new file mode 100644 index 0000000..68b3c39 --- /dev/null +++ b/test/plugins/resources/index.js @@ -0,0 +1,7 @@ +module.exports = { + book: { + js: [ + "https://cdn.mathjax.org/mathjax/2.4-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" + ] + } +}; diff --git a/test/plugins/resources/package.json b/test/plugins/resources/package.json new file mode 100644 index 0000000..ab4320d --- /dev/null +++ b/test/plugins/resources/package.json @@ -0,0 +1,9 @@ +{ + "name": "gitbook-plugin-resources", + "description": "Test resources plugin", + "main": "index.js", + "version": "0.0.1", + "engines": { + "gitbook": "*" + } +}
\ No newline at end of file |