move client.html to debug.html

This commit is contained in:
Andrew Kelley 2012-01-21 20:09:05 -08:00
parent d0569f94ab
commit feac70580e
3 changed files with 15 additions and 15 deletions

View file

View file

@ -1,14 +0,0 @@
<!doctype html>
<html>
<head>
<title>Music</title>
<script type="text/javascript" src="vendor/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="vendor/socket.io/socket.io.min.js"></script>
<script type="text/javascript" src="client.js"></script>
<link rel="stylesheet" type="text/css" href="client.css" />
</head>
<body>
<textarea rows="20" cols="40" id="out"></textarea>
<input type="text" id="line" value="" />
</body>
</html>

View file

@ -1,6 +1,13 @@
<!doctype html>
<html>
<head>
<title>Debug</title>
<script type="text/javascript" src="vendor/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="vendor/socket.io/socket.io.min.js"></script>
<script type="text/javascript">
function print(line) {
var txt = $("#out");
txt.val(txt.val() + line + "\n");
txt.val(line);
}
WEB_SOCKET_SWF_LOCATION = "/public/vendor/socket.io/WebSocketMain.swf";
@ -18,3 +25,10 @@ $(document).ready(function() {
}
});
});
</script>
</head>
<body>
<textarea rows="20" cols="40" id="out"></textarea>
<input type="text" id="line" value="" />
</body>
</html>