From ed5353d13ad1fe5dfa18f6e0936bcafa77ea0a73 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Mon, 18 Jun 2018 01:24:53 +0200 Subject: Move polyfill to CDN section We don't support it on CDN false instances, but it doesn't hurt to keep it in for CDN-enabled instances Signed-off-by: Sheogorath --- public/views/hackmd/head.ejs | 2 +- public/views/index/head.ejs | 2 +- public/views/pretty.ejs | 2 +- public/views/slide.ejs | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/public/views/hackmd/head.ejs b/public/views/hackmd/head.ejs index 1f72285b..8dfef432 100644 --- a/public/views/hackmd/head.ejs +++ b/public/views/hackmd/head.ejs @@ -15,8 +15,8 @@ <%- include ../build/index-header %> +<%- include ../shared/polyfill %> <% } else { %> <%- include ../build/index-pack-header %> <% } %> -<%- include ../shared/polyfill %> \ No newline at end of file diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs index bbd14567..e43c57d4 100644 --- a/public/views/index/head.ejs +++ b/public/views/index/head.ejs @@ -16,7 +16,7 @@ <%- include ../build/cover-header %> +<%- include ../shared/polyfill %> <% } else { %> <%- include ../build/cover-pack-header %> <% } %> -<%- include ../shared/polyfill %> \ No newline at end of file diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 91d9c36c..395f921b 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -24,11 +24,11 @@ <%- include build/pretty-header %> + <%- include shared/polyfill %> <% } else { %> <%- include build/pretty-pack-header %> <% } %> - <%- include shared/polyfill %> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index a9d2b708..7b9ae29d 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -22,6 +22,7 @@ <%- include build/slide-header %> + <%- include shared/polyfill %> <% } else { %> @@ -47,8 +48,6 @@ link.href = '<%- url %>/build/reveal.js/' + (window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css'); document.getElementsByTagName( 'head' )[0].appendChild( link ); - - <%- include shared/polyfill %>
-- cgit v1.2.3