News for hackers. Stuff that matters.
Re:I Make Dreams Come True by ilaksh on Monday October 31, 2011 @12:52AM (#3176415)
I was just googling for socket.io and operational transform a minute ago and that popped up. The slideshow I saw though said it just uses Ace to handle text.

Can it do OT on types other than text now?

EDIT:.. actually I see the JSON example. The hex thing game, I notice it has a fixed length in that array.. does this sharejs OT library handle cases where a variable size array has concurrent updates, deletes and inserts?

Re:I Make Dreams Come True by josephg on Monday October 31, 2011 @01:04AM (#3176437)
Hi! Author of ShareJS here. ShareJS works fine with variable length arrays.

Also, ShareJS isn't limited to ace. Textareas work as well. Here's the same document that was linked, editable from a textarea:

http://sharejs.org/textarea.html