Parcourir la source

fixed crash issue

master
mort il y a 8 ans
Parent
révision
dcaece2e44
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 2
    1
      index.js
  2. 1
    1
      package.json

+ 2
- 1
index.js Voir le fichier

@@ -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 Voir le fichier

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

Chargement…
Annuler
Enregistrer