Version 0.5.0-pre

1,042 views
Skip to first unread message

Joseph Gentle

unread,
Nov 5, 2011, 1:46:23 PM11/5/11
to sha...@googlegroups.com
Hey all

There are a lot of changes coming in 0.5. I've published a prerelease version to npm. The most visible change is that ShareJS now using error-first callback style, so all code that previously did this:

sharejs.open('hello', 'text', function(doc, error) {
should now do this:
sharejs.open('hello', 'text', function(error, doc) {

There's a whole slew of other changes, including:
- A new JSON API (@nornagon)
- CouchDB support (@maxogden)


Have a test. Let me know if anything's broken, though there are a bunch more changes coming before 0.5 is finalized.

Cheers
Joseph
Reply all
Reply to author
Forward
0 new messages