Created
August 12, 2011 23:54
-
-
Save wesbos/1143294 to your computer and use it in GitHub Desktop.
Socket.io / Canvas Markup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript" src="js/jquery.event.drag-2.0.js"></script> | |
<script src="http://localhost:4000/socket.io/socket.io.js"></script> | |
<script type="text/javascript" src="scripts.js"></script> | |
<link rel="stylesheet" href="style.css" /> | |
<title>HTML5 Canvas + Node.JS Socket.io</title> | |
</head> | |
<body> | |
<article><!-- our canvas will be inserted here--></article> | |
<!-- Scripts required --> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript" src="js/jquery.event.drag-2.0.js"></script> | |
<script src="http://localhost:4000/socket.io/socket.io.js"></script> | |
<script type="text/javascript" src="scripts.js"></script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment