Skip to content
Browse files

set package version to v0.0.2

  • Loading branch information...
1 parent 50fb90f commit b8db4bfe2eb10158d5381647a294512711136cf3 @flosse committed Jan 2, 2012
Showing with 5 additions and 3 deletions.
  1. +4 −2 README.markdown
  2. +1 −1 package.json
View
6 README.markdown
@@ -22,6 +22,8 @@ comp = new xmpp.Component
host : "127.0.0.1"
port : "8888"
+classes = {}
+
router = new joap.Router comp
router.on "read", (iq, clazz, instance)->
@@ -34,8 +36,8 @@ router.on "add", (iq, clazz, instance) =>
console.log "add iq received"
- if not @classes[clazz]?
- @router.sendError "add", 404, "The class '#{clazz}' does not exist.", iq
+ if not classes[clazz]?
+ router.sendError "add", 404, "The class '#{clazz}' does not exist.", iq
# ...
```
View
2 package.json
@@ -1,5 +1,5 @@
{ "name": "node-xmpp-joap"
-,"version": "0.0.1"
+,"version": "0.0.2"
,"main": "./lib/node-xmpp-joap"
,"description": "Jabber Object Access Protocol (XEP-0075) library for node-xmpp"
,"author": "Markus Kohlhase"

0 comments on commit b8db4bf

Please sign in to comment.
Something went wrong with that request. Please try again.