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