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/slide.ejs | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'public/views/slide.ejs') diff --git a/public/views/slide.ejs b/public/views/slide.ejs index 9dbefa6f..0ed76069 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -15,9 +15,9 @@ <% if(useCDN) { %> - - - + + + <% } else { %> @@ -87,11 +87,12 @@ MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }}); <% if(useCDN) { %> - - + + - - + + + <% } else { %> @@ -102,14 +103,14 @@ <% } %> - - + + - - - - - + + + + + <%- include build/slide-scripts %> -- cgit v1.2.3