diff --git a/public/views/hackmd/head.ejs b/public/views/hackmd/head.ejs index 1f72285..8dfef43 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 bbd1456..e43c57d 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 91d9c36..395f921 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 a9d2b70..7b9ae29 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 %>