From 58b2cff4ecf1f522c60582a5a92eaea8978642d3 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sun, 23 Oct 2016 13:27:02 +0800 Subject: Use CDNJS by default with https and SRI support --- public/views/foot.ejs | 30 +++++++++++++++--------------- public/views/head.ejs | 16 ++++++++-------- public/views/html.hbs | 26 +++++++++++++------------- public/views/index.ejs | 30 +++++++++++++++--------------- public/views/pretty.ejs | 36 ++++++++++++++++++------------------ public/views/slide.ejs | 29 +++++++++++++++-------------- 6 files changed, 84 insertions(+), 83 deletions(-) (limited to 'public') diff --git a/public/views/foot.ejs b/public/views/foot.ejs index a322b0af..863cae3f 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -2,13 +2,13 @@ MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }}); <% if(useCDN) { %> - - - - + + + + - - + + <% } else { %> @@ -18,15 +18,15 @@ <% } %> - - - - - - - - - + + + + + + + + + <%- include build/index-scripts %> diff --git a/public/views/head.ejs b/public/views/head.ejs index 7e135141..00571186 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -8,16 +8,16 @@ <% if(useCDN) { %> - - - + + + <% } else { %> <% } %> - - + + @@ -43,7 +43,7 @@ diff --git a/public/views/html.hbs b/public/views/html.hbs index 1dbcba10..11bc162d 100644 --- a/public/views/html.hbs +++ b/public/views/html.hbs @@ -15,21 +15,21 @@ - - - - - - + + + + + + @@ -48,9 +48,9 @@
- - - + + +