Sfoglia il codice sorgente

fixed crash issue

master
mort 8 anni fa
parent
commit
dcaece2e44
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 2
    1
      index.js
  2. 1
    1
      package.json

+ 2
- 1
index.js Vedi File

@@ -69,7 +69,8 @@ var util = require("util");

//Generic internal send function
Socket.prototype._send = function(data) {
this._websock.send(JSON.stringify(data));
if (this._ready)
this._websock.send(JSON.stringify(data));
}

//Trigger event on the client

+ 1
- 1
package.json Vedi File

@@ -1,6 +1,6 @@
{
"name": "socksugar",
"version": "0.3.1",
"version": "0.3.2",
"description": "Websockets with sugar on top.",
"main": "index.js",
"scripts": {

Loading…
Annulla
Salva