소스 검색

fixed crash issue

master
mort 8 년 전
부모
커밋
dcaece2e44
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    1
      index.js
  2. 1
    1
      package.json

+ 2
- 1
index.js 파일 보기

@@ -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 파일 보기

@@ -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…
취소
저장