Last modified: 2012-11-26 17:28:11 UTC
1. Open any document 2. Blank it 3. Type some text 4. Dump the model into the console (ve.instances[0].documentModel.data) Expected output: [ 'F', 'o', 'o', 'b', 'a', 'r' ] Actual output: [ 'F', ['o', ve.AnnotationSet([])], ['b', ve.AnnotationSet([])] ... The pre-annotations code is applying the empty set as a pre-annotation to every character except the first. This shouldn't happen, it should just not annotate if it's got nothing to annotate with.
Trevor has a commit queued up that fixes this.
https://gerrit.wikimedia.org/r/#/c/34598/
...doesn't actually fix it, will investigate.
Actually fixed in Gerrit change #34684