This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Update for ShareJS version 0.2.2

  • Loading branch information...
dmfrancisco committed Jul 17, 2011
1 parent 60b534c commit 47bbd79260157d53be37658bdd718b464d0ce42b
Showing with 2 additions and 3 deletions.
  1. +1 −1 package.json
  2. +1 −2 web.coffee
View
@@ -21,7 +21,7 @@
"coffee-script": ">= 1.0.0",
"optimist": ">= 0.2.4",
"connect": ">= 1.1.1",
- "share": "~0.2.1",
+ "share": ">= 0.2.2",
"mustache": "*",
"redis": "*"
},
View
@@ -49,8 +49,7 @@ runServer = (argv, sharejs, connect, sys, crypto) ->
# # If you're hosting this on Heroku and you're using RedisToGo
# if process.env.REDISTOGO_URL
# rtg = require("url").parse(process.env.REDISTOGO_URL)
- # # ShareJS has a bug and the params are swapped
- # options = { db: { type: 'redis', hostname: rtg.port, port: rtg.hostname } }
+ # options = { db: { type: 'redis', hostname: rtg.hostname, port: rtg.port } }
options = { db: { type: argv.d } }
sharejs.attach server, options

0 comments on commit 47bbd79

Please sign in to comment.