瀏覽代碼

some api changes

master
mort 8 年之前
父節點
當前提交
0242e597c2
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      index.js
  2. 1
    1
      package.json

+ 1
- 1
index.js 查看文件

@@ -24,7 +24,7 @@ var util = require("util");
this._replied = true;
}

Request.prototype.error = function(msg) {
Request.prototype.fail = function(msg) {
if (this._replied)
throw new Error("Already replied.");


+ 1
- 1
package.json 查看文件

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

Loading…
取消
儲存