Permalink
Browse files

Update to use racer.registerAdapter

  • Loading branch information...
1 parent 17e5f97 commit f4ca7e09c189dba6d5261c6631c6b78a568fdd89 @bnoguchi bnoguchi committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/index.coffee
View
2 src/index.coffee
@@ -5,7 +5,7 @@ pathRegExp = hasKeys = null
exports = module.exports = (racer) ->
pathRegExp = racer.path.regExp
{hasKeys} = racer.util
- racer.adapters.pubSub.Redis = PubSubRedis
+ racer.registerAdapter 'pubSub', 'Redis', PubSubRedis
exports.useWith = server: true, browser: false

0 comments on commit f4ca7e0

Please sign in to comment.