Demo update, missing semi colon

This commit is contained in:
Sam Potts 2015-02-17 16:14:29 +11:00
parent c0254d76e3
commit fc2bb9fcb4
2 changed files with 14 additions and 4 deletions

View File

@ -170,7 +170,7 @@
}
else {
var className = (" " + element.className + " ").replace(/\s+/g, " ").replace(" " + name + " ", "");
element.className = className + (state ? " " + name : "")
element.className = className + (state ? " " + name : "");
}
}
}

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>Plyr - A simple HTML5 media player</title>
<meta name="description" content="Custom HTML5 video controls and WebVTT captions.">
<meta name="description" content="A simple HTML5 media player with custom controls and WebVTT captions.">
<meta name="author" content="Sam Potts">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -14,7 +14,7 @@
<body>
<header>
<h1>Plyr</h1>
<p>A simple HTML5 media player</p>
<p>A simple HTML5 media player with custom controls and WebVTT captions.</p>
<a href="https://github.com/selz/plyr" target="_blank" class="btn">Download on Github</a>
</header>
@ -51,7 +51,7 @@
</div>
</audio>
</div>
<small>"96" by Logistics. More can be purchased from <a href="https://www.hospitalrecords.com/shop/artist/logistics" target="_blank">Hospital Records</a>.</small>
<small>"96" by Logistics, which can be purchased from <a href="https://www.hospitalrecords.com/shop/artist/logistics" target="_blank">Hospital Records</a>.</small>
</section>
<!-- Load SVG defs -->
@ -75,5 +75,15 @@
<!-- Docs setup -->
<script src="dist/js/docs.js"></script>
<!-- GA -->
<script>
(function(i,s,o,g,r,a,m){i.GoogleAnalyticsObject=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40881672-11', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>