summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dave Hello2017-04-18 04:50:46 +0800
committerPeter Dave Hello2017-04-18 05:19:19 +0800
commit08c0a0392c464b4c863a9d7de0d348292c2d3f01 (patch)
tree20ba5052a200cc17400aafea2f55a9fb3bcefb18
parent48df2504914d638d974e14c07908230d4e971211 (diff)
Use abcjs on cdnjs, cc @jackycute
Diffstat (limited to '')
-rw-r--r--public/views/hackmd/foot.ejs1
-rw-r--r--public/views/pretty.ejs1
-rw-r--r--public/views/slide.ejs1
-rw-r--r--webpackBaseConfig.js3
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')
],