Parcourir la source

some api changes

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

+ 1
- 1
index.js Voir le fichier

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

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

Chargement…
Annuler
Enregistrer