Tidy up
This commit is contained in:
parent
841cc957c9
commit
484617e2d7
@ -6,8 +6,6 @@
|
|||||||
// Credits: http://paypal.github.io/accessible-html5-video-player/
|
// Credits: http://paypal.github.io/accessible-html5-video-player/
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
|
||||||
/*global ActiveXObject*/
|
|
||||||
|
|
||||||
(function (api) {
|
(function (api) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
13
index.html
13
index.html
@ -55,18 +55,7 @@
|
|||||||
|
|
||||||
<!-- Load SVG defs -->
|
<!-- Load SVG defs -->
|
||||||
<script>
|
<script>
|
||||||
(function(d,p){
|
(function(d,p){var a=new XMLHttpRequest(),b=d.body;a.open("GET",p,!0);a.send();a.onload=function(){var c=d.createElement("div");c.style.display="none";c.innerHTML=a.responseText;b.insertBefore(c,b.childNodes[0])}})(document,"dist/svg/sprite.svg");
|
||||||
var a=new XMLHttpRequest(),
|
|
||||||
b=d.body;
|
|
||||||
a.open("GET",p,!0);
|
|
||||||
a.send();
|
|
||||||
a.onload=function(){
|
|
||||||
var c=d.createElement("div");
|
|
||||||
c.style.display="none";
|
|
||||||
c.innerHTML=a.responseText;
|
|
||||||
b.insertBefore(c,b.childNodes[0])
|
|
||||||
}
|
|
||||||
})(document,"dist/svg/sprite.svg");
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Core player -->
|
<!-- Core player -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user