remove deprecated function

pull/468/merge
nightwing 2017-12-29 19:59:20 +04:00
rodzic 5824464ad6
commit 78d0c3917a
3 zmienionych plików z 2 dodań i 10 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
{
"name": "c9",
"description": "New Cloud9 Client",
"version": "3.1.4072",
"version": "3.1.5000",
"author": "Ajax.org B.V. <info@ajax.org>",
"private": true,
"main": "bin/c9",
@ -56,4 +56,4 @@
"msgpack-js",
"c9"
]
}
}

Wyświetl plik

@ -86,10 +86,6 @@ define(function(require, exports, module) {
if (responseLength <= received.length) {
fullResponse = received.substring(0, responseLength);
this._receivedData = received.substring(responseLength);
this._socket.setMinReceiveSize(0);
}
else {
this._socket.setMinReceiveSize(responseLength - received.length);
}
}
return fullResponse;

Wyświetl plik

@ -43,10 +43,6 @@ var MessageReader = module.exports = function(socket, callback) {
if (responseLength <= received.length) {
fullResponse = received.substring(0, responseLength);
this.$received = received.substring(responseLength);
this.$socket.setMinReceiveSize(0);
}
else {
this.$socket.setMinReceiveSize(responseLength - received.length);
}
}
}