Skip to content

Commit 42b0e6e

Browse files
committed
removed some log messages and fixed console reset on socket disconnect
1 parent b036829 commit 42b0e6e

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

client/core/ide.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ require.def("core/ide", ["core/document", "/socket.io/socket.io.js"],
112112
};
113113

114114
ide.socketDisconnect = function() {
115-
stProcessRunning.deactivate();
116115
ide.dispatchEvent("socketDisconnect");
117116

118117
clearTimeout(ide.$retryTimer);

server/cloud9/middleware.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,12 @@ exports.staticGzip = function(options){
8686
filename = path.join(root, url.pathname),
8787
mime = utils.mime.type(filename).split(';')[0];
8888

89-
console.log("Request for", filename);
9089
// MIME type not white-listed
9190
if (!~compress.indexOf(mime)) return next();
9291

9392
// Check if gzipped static is available
9493
gzipped(filename, function(err, path, ext){
9594
if (err && err.errno === process.ENOENT) {
96-
console.log("POOF");
9795
next();
9896
// We were looking for a gzipped static,
9997
// so lets gzip it!

0 commit comments

Comments
 (0)