summaryrefslogtreecommitdiff
path: root/views/index.ejs
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2013-01-24 15:14:44 -0500
committerJules Laplace <jules@okfoc.us>2013-01-24 15:14:44 -0500
commit45aeb76d1d199e31d6cf33eafe34092c7dfc68cc (patch)
tree5f79b2bd3f7d3ad2d9736958550cf75197865a4c /views/index.ejs
parent386b2a374b90638affc956b88a40c276207aa265 (diff)
use cursor none and a div.. gif cursors dont animate
Diffstat (limited to 'views/index.ejs')
-rw-r--r--views/index.ejs10
1 files changed, 4 insertions, 6 deletions
diff --git a/views/index.ejs b/views/index.ejs
index aa959fa..5abc026 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -4,11 +4,10 @@
<title><%= title %></title>
<link rel='stylesheet' href='/stylesheets/style.css' />
<script src="/socket.io/socket.io.js"></script>
- <script src="/javascripts/jquery-1.9.0.min.js"></script>
- <script src="/javascripts/jquery-ba-throttle.js"></script>
+ <script src="/javascripts/vendor/jquery-1.9.0.min.js"></script>
+ <script src="/javascripts/vendor/jquery-ba-throttle.js"></script>
<script src="/javascripts/util.js"></script>
<script src="/javascripts/game.js"></script>
-
<% if (currentUser) { %>
<style>
body {
@@ -21,15 +20,14 @@
<script type="text/javascript">
$(function(){
window._id = "<%= currentUser._id %>";
- socket.emit('joined', JSON.stringify({ "id": window._id }));
- init();
+ game.init();
});
</script>
<% } else { %>
<script type="text/javascript">
$(function(){
window._id = null;
- init();
+ game.init();
});
</script>
<% } %>