From 1ba46c95fbecdea692176723b6ad125848e04af3 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 26 Nov 2016 22:38:18 +0800 Subject: Update to separate polypill for IE to a template --- public/views/head.ejs | 8 +------- public/views/index.ejs | 1 + public/views/polyfill.ejs | 7 +++++++ public/views/pretty.ejs | 8 +------- public/views/slide.ejs | 8 +------- 5 files changed, 11 insertions(+), 21 deletions(-) create mode 100644 public/views/polyfill.ejs (limited to 'public/views') diff --git a/public/views/head.ejs b/public/views/head.ejs index 3ec4cd67..f1cdff15 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -40,10 +40,4 @@ <%- include build/index-header %> - - - +<%- include polyfill %> \ No newline at end of file diff --git a/public/views/index.ejs b/public/views/index.ejs index fec6fae6..f1b4e021 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -32,6 +32,7 @@ <% } %> <%- include build/cover-header %> + <%- include polyfill %>
diff --git a/public/views/polyfill.ejs b/public/views/polyfill.ejs new file mode 100644 index 00000000..5c885642 --- /dev/null +++ b/public/views/polyfill.ejs @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 5e76fc6b..502aae40 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -34,13 +34,7 @@ <%- include build/pretty-header %> - - - + <%- include polyfill %> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index 0570b5ff..437f0c97 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -50,13 +50,7 @@ document.getElementsByTagName( 'head' )[0].appendChild( link ); - - - + <%- include polyfill %>