diff options
author | Yukai Huang | 2016-10-08 20:02:30 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-08 20:02:30 +0800 |
commit | 963a435ae1e9248b42b4665acf106dcffa549678 (patch) | |
tree | 99446e874b353d4f373df33e14582187aaa44578 /public/views | |
parent | 0be342c44d5b6287c67922758f076e7897f6c3a8 (diff) |
Resolve dependency module requiring
* es5 style module exports
* remove script tag require
* webpack config ProvidePlugin
Note that this commit only fix JavaScript module loading runtime error.
Diffstat (limited to '')
-rw-r--r-- | public/views/foot.ejs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/public/views/foot.ejs b/public/views/foot.ejs index a530eff1..759962de 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -22,13 +22,12 @@ <script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script> <% } %> <script src="<%- url %>/vendor/idle.min.js" defer></script> +<script src="<%- url %>/vendor/codemirror/codemirror.min.js" defer></script> +<script src="<%- url %>/vendor/codemirror-spell-checker/spell-checker.min.js" defer></script> +<script src="<%- url %>/vendor/inlineAttachment/inline-attachment.js" defer></script> +<script src="<%- url %>/vendor/inlineAttachment/codemirror.inline-attachment.js" defer></script> <script src="<%- url %>/vendor/xss.min.js" defer></script> <script src="<%- url %>/build/js/app.js" defer></script> <script src="<%- url %>/js/google-drive-upload.js" defer></script> <script src="<%- url %>/js/google-drive-picker.js" defer></script> -<script src="<%- url %>/js/common.js" defer></script> -<script src="<%- url %>/js/extra.js" defer></script> -<script src="<%- url %>/js/render.js" defer></script> -<script src="<%- url %>/js/history.js" defer></script> <script src="<%- url %>/js/reveal-markdown.js" defer></script> -<script src="<%- url %>/js/syncscroll.js" defer></script> |