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:
Also, ShareJS isn't limited to ace. Textareas work as well. Here's the same document that was linked, editable from a textarea:
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?