diff options
author | Christoph (Sheogorath) Kern | 2018-06-18 03:42:17 +0200 |
---|---|---|
committer | GitHub | 2018-06-18 03:42:17 +0200 |
commit | 818d82559e93daf86b619fb86ee1eabf0916506f (patch) | |
tree | 108a993e8a366eafb0f2693cf10bfbb8b73a2090 /public/views | |
parent | 90411c9413fe1fa2d7002b4a64dc81e8506b2ee2 (diff) | |
parent | ed5353d13ad1fe5dfa18f6e0936bcafa77ea0a73 (diff) |
Merge pull request #845 from hackmdio/fix/polyfill
Move polyfill to CDN section
Diffstat (limited to '')
-rw-r--r-- | public/views/hackmd/head.ejs | 2 | ||||
-rw-r--r-- | public/views/index/head.ejs | 2 | ||||
-rw-r--r-- | public/views/pretty.ejs | 2 | ||||
-rw-r--r-- | 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 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" /> <%- include ../build/index-header %> +<%- include ../shared/polyfill %> <% } else { %> <link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'> <%- 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 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.css" integrity="sha256-ijlUKKj3hJCiiT2HWo1kqkI79NTEYpzOsw5Rs3k42dI=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2-bootstrap.min.css" integrity="sha256-NAWFcNIZdH+TS1xpWujF/EB/Y8gwBbEOCoaK/eqaer8=" crossorigin="anonymous" /> <%- 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 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" /> <%- include build/pretty-header %> + <%- include shared/polyfill %> <% } else { %> <link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'> <%- include build/pretty-pack-header %> <% } %> - <%- include shared/polyfill %> </head> <body style="display:none;"> 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 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/css/reveal.min.css" integrity="sha256-ol2N5Xr80jdDqxK0lte3orKGb9Ja3sOnpAUV7TTADmg=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" /> <%- include build/slide-header %> + <%- include shared/polyfill %> <% } else { %> <link rel="stylesheet" href="<%- url %>/build/reveal.js/css/reveal.css"> <link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'> @@ -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 ); </script> - - <%- include shared/polyfill %> </head> <body> <div class="container"> |