tweaked markup to work as an include

This commit is contained in:
Remy Sharp 2012-12-10 10:44:20 +00:00
parent b74ad4d993
commit a027a384ac
1 changed files with 26 additions and 30 deletions

View File

@ -1,6 +1,4 @@
<html>
<head>
<title>Worker</title>
<title>Web Worker</title>
<style>
body {
font-family: sans-serif;
@ -23,8 +21,7 @@
z-index: -1;
}
</style>
</head>
<body>
<article>
<h1>Web Worker Demo</h1>
<p>Works in Chrome, Safari, and Firefox. Web worker portion works in Opera.</p>
<p>Use arrow keys to change the direction of the animated square. The square is animated with <em>requestAnimationFrame</em>.</p>
@ -33,6 +30,5 @@
<h2>Messages from Worker:</h2>
<div id="status"></div>
<div id="square"></div>
<script src="../js/worker-main.js"></script>
</body>
</html>
<script src="/js/worker-main.js"></script>
</article>