Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

merge

  • Loading branch information...
commit 7c15494cdd574b4127d617be17192666434c95e6 2 parents 9a48bb4 + b9b0435
authored June 03, 2011
2  package.json
@@ -15,7 +15,7 @@
15 15
     },
16 16
     "dependencies" : {
17 17
         "redis-node"  : ">=0.4.0",
18  
-        "beseda"      : "*",
  18
+        "beseda"      : ">=0.0.8",
19 19
         "imagemagick" : "*"
20 20
     },
21 21
     "engines" : [ "node >=0.4" ]
BIN  public/swf/LiveGallery.swf
Binary file not shown
9  server.js
@@ -3,8 +3,8 @@ var http    = require('http'),
3 3
 	redis   = require('redis-node'),
4 4
     im      = require('imagemagick'),
5 5
 	qs      = require('querystring'),
6  
-    Beseda  = require('./vendor/beseda/server'),
7  
-    Router  = require('./vendor/beseda/server/lib/router.js');
  6
+    Beseda  = require('beseda'),
  7
+    Router  = require('beseda/server/lib/router.js');
8 8
 
9 9
 
10 10
 var redisClient = redis.createClient(6379/*, '192.168.1.161'*/);
@@ -69,7 +69,10 @@ function newMessageRequest(request, response) {
69 69
 	var data = '';
70 70
 
71 71
     request.on('data', function(chunk){ data += chunk; });
72  
-	request.on('end', function(){ applyMessage(data); });
  72
+	request.on('end', function(){
  73
+		applyMessage(data);
  74
+		response.end();
  75
+	});
73 76
 }
74 77
 
75 78
 function deleteAllMessagesRequest(request, response) {
1  vendor/beseda
... ...
@@ -1 +0,0 @@
1  
-Subproject commit 52772441a64500cf7dfc3cd7bdc507b5d20191d7

0 notes on commit 7c15494

Please sign in to comment.
Something went wrong with that request. Please try again.