From c0caf9c0aa7729ce477fc3606b814bbcc28c22e8 Mon Sep 17 00:00:00 2001 From: Stefan Verhoeff Date: Mon, 6 Jan 2014 11:58:04 +0100 Subject: [PATCH] Ignore intellij --- .gitignore | 3 +++ public/chat.js | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cdbbcba..2d6a0a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ .idea/ node_modules/ *.log +*.iml +*.ipr +*.iws \ No newline at end of file diff --git a/public/chat.js b/public/chat.js index 71bb1df..1679043 100644 --- a/public/chat.js +++ b/public/chat.js @@ -1,8 +1,7 @@ window.onload = function() { - var port = 3000; var messages = []; - var socket = io.connect('http://localhost:' + port); + var socket = io.connect(); var name = document.getElementById("name"); var field = document.getElementById("field"); var content = document.getElementById("content");