Skip to content
Browse files

Updated to work with node 0.8

  • Loading branch information...
1 parent e3f8de7 commit 62aca98f749cf39820d30ace4ed57cedbc333e07 @mmattozzi committed
Showing with 3 additions and 2 deletions.
  1. +2 −2 package.json
  2. +1 −0 webrepl.js
View
4 package.json
@@ -1,12 +1,12 @@
{
"name" : "webrepl",
- "version" : "0.4.6",
+ "version" : "0.4.7",
"description" : "Serve a repl for a node process via a web console",
"url": "https://github.com/mmattozzi/webrepl",
"author" : "Mike Mattozzi <mike.mattozzi@gmail.com>",
"main" : "./webrepl.js",
"engines": {
- "node": ">=0.4.0"
+ "node": ">=0.8.0"
},
"repository": {
"type": "git",
View
1 webrepl.js
@@ -84,6 +84,7 @@ ReplHttpServer.prototype.route = function(req, res) {
allData += data;
});
req.on('end', function() {
+ allData += "\n";
if (stream.emit('data', allData)) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end();

0 comments on commit 62aca98

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