mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
963a435ae1
* es5 style module exports * remove script tag require * webpack config ProvidePlugin Note that this commit only fix JavaScript module loading runtime error.
33 lines
2.4 KiB
Text
33 lines
2.4 KiB
Text
<script type="text/x-mathjax-config">
|
|
MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }});
|
|
</script>
|
|
<% if(useCDN) { %>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/spin.js/2.3.2/spin.min.js" defer></script>
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/velocity/1.2.3/velocity.min.js" defer></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js" defer></script>
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" defer></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.8/socket.io.min.js" defer></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/js-yaml/3.6.1/js-yaml.min.js" defer></script>
|
|
<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.14.1/moment-with-locales.min.js" defer></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/mermaid/6.0.0/mermaid.min.js" defer></script>
|
|
<% } else { %>
|
|
<script src="<%- url %>/vendor/spin.js/spin.min.js" defer></script>
|
|
<script src="<%- url %>/vendor/velocity/velocity.min.js" defer></script>
|
|
<script src="<%- url %>/vendor/socket.io-client/socket.io.js" defer></script>
|
|
<script src="<%- url %>/vendor/js-yaml/dist/js-yaml.min.js" defer></script>
|
|
<script type="text/javascript" src="<%- url %>/vendor/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
|
|
<script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script>
|
|
<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/reveal-markdown.js" defer></script>
|