Permalink
Browse files

Support old format of origin string in argument to sharejs.open()

This fixes the client tests too.
  • Loading branch information...
daredevildave committed Sep 25, 2012
1 parent 459a60d commit fdede563a8796bb8bf4210264596b86204c3deab
View
@@ -60,6 +60,10 @@ exports.open = do ->
callback = options
options = {}
+ if typeof options == 'string'
+ options = {
+ 'origin': options
+ }
origin = options.origin
authentication = options.authentication
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit fdede56

Please sign in to comment.