started using bower
started using bower

file:a/.gitignore -> file:b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 node_modules
+bower_components
 

file:b/bower.json (new)
--- /dev/null
+++ b/bower.json
@@ -1,1 +1,22 @@
+{
+  "name": "pong4",
+  "version": "0.0.1",
+  "authors": [
+    "Razvan Stanga <git@razvi.ro>"
+  ],
+  "moduleType": [
+    "node"
+  ],
+  "license": "MIT",
+  "ignore": [
+    "**/.*",
+    "node_modules",
+    "bower_components"
+  ],
+  "dependencies": {
+    "bootstrap": "~3.3.6",
+    "jquery": "~2.2.0",
+    "socket.io-client": "~1.4.4"
+  }
+}
 

--- a/public/index.html
+++ b/public/index.html
@@ -7,8 +7,8 @@
 <title>Pong 4</title>
 </head>
 <body>
-<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
-<script type="text/javascript" src="https://cdn.socket.io/socket.io-1.2.0.js"></script>
+<script type="text/javascript" src="/bower_components/jquery/dist/jquery.min.js"></script>
+<script type="text/javascript" src="/bower_components/socket.io-client/socket.io.js"></script>
 <script type="text/javascript" src="/public/js/pong.js"></script>
 <div class="score"></div>
 

--- a/public/play.html
+++ b/public/play.html
@@ -7,8 +7,10 @@
 <title>Pong 4</title>
 </head>
 <body>
-<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
-<script src="https://cdn.socket.io/socket.io-1.2.0.js"></script>
+<script type="text/javascript" src="/bower_components/jquery/dist/jquery.min.js"></script>
+<script type="text/javascript" src="/bower_components/socket.io-client/socket.io.js"></script>
+<script type="text/javascript" src="/public/js/jquery-2.2.0.min.js"></script>
+<script src="/public/js/socket.io-1.2.0.js"></script>
 <script type="text/javascript">
     var socket = io();
     socket.emit('send:connect', 'player');

comments