diff options
author | Max Wu | 2017-04-18 10:40:51 +0800 |
---|---|---|
committer | GitHub | 2017-04-18 10:40:51 +0800 |
commit | 2a5a518e88ef6c0d520ef0b9686447cf20f0e90e (patch) | |
tree | 9b29fcb80df0bfef2e8973d8a1acf59405d43c86 | |
parent | 1241b8bd44b0adef83e85f414a11a1b1eab0014f (diff) | |
parent | 08c0a0392c464b4c863a9d7de0d348292c2d3f01 (diff) |
Merge pull request #426 from PeterDaveHello/cdnjs-integration
Use abcjs on cdnjs
Diffstat (limited to '')
-rw-r--r-- | public/views/hackmd/foot.ejs | 1 | ||||
-rw-r--r-- | public/views/pretty.ejs | 1 | ||||
-rw-r--r-- | public/views/slide.ejs | 1 | ||||
-rw-r--r-- | webpackBaseConfig.js | 3 |
4 files changed, 3 insertions, 3 deletions
diff --git a/public/views/hackmd/foot.ejs b/public/views/hackmd/foot.ejs index 445b0213..6a1f3b99 100644 --- a/public/views/hackmd/foot.ejs +++ b/public/views/hackmd/foot.ejs @@ -20,6 +20,7 @@ <script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.8/validator.min.js" integrity="sha256-LHeY7YoYJ0SSXbCx7sR14Pqna+52moaH3bhv0Mjzd/M=" crossorigin="anonymous" defer></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script> <%- include ../build/index-scripts %> <% } else { %> <script src="<%- url %>/build/MathJax/MathJax.js" defer></script> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index d0dbc03b..3409a0f9 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -90,6 +90,7 @@ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script> <%- include build/pretty-scripts %> <% } else { %> <script src="<%- url %>/build/MathJax/MathJax.js" defer></script> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index eb22cec1..3178fc95 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -104,6 +104,7 @@ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script> <%- include build/slide-scripts %> <% } else { %> <script src="<%- url %>/build/MathJax/MathJax.js" defer></script> diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index 393aa98b..87f7ceeb 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -202,7 +202,6 @@ module.exports = { 'script!ot', 'flowchart.js', 'js-sequence-diagrams', - 'script!abcjs', 'expose?RevealMarkdown!reveal-markdown', path.join(__dirname, 'public/js/google-drive-upload.js'), path.join(__dirname, 'public/js/google-drive-picker.js'), @@ -271,7 +270,6 @@ module.exports = { 'expose?filterXSS!xss', 'flowchart.js', 'js-sequence-diagrams', - 'script!abcjs', 'expose?RevealMarkdown!reveal-markdown', path.join(__dirname, 'public/js/pretty.js') ], @@ -310,7 +308,6 @@ module.exports = { 'expose?filterXSS!xss', 'flowchart.js', 'js-sequence-diagrams', - 'script!abcjs', 'expose?RevealMarkdown!reveal-markdown', path.join(__dirname, 'public/js/slide.js') ], |