Explorar el Código

fixed crash issue

master
mort hace 8 años
padre
commit
dcaece2e44
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 2
    1
      index.js
  2. 1
    1
      package.json

+ 2
- 1
index.js Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar