mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
Changeset: Turn newOp()
into a real class
This commit is contained in:
parent
fba0bb6dff
commit
657492e191
7 changed files with 99 additions and 61 deletions
|
@ -83,7 +83,7 @@ const makeContentCollector = (collectStyles, abrowser, apool, className2Author)
|
|||
const textArray = [];
|
||||
const attribsArray = [];
|
||||
let attribsBuilder = null;
|
||||
const op = Changeset.newOp('+');
|
||||
const op = new Changeset.Op('+');
|
||||
const self = {
|
||||
length: () => textArray.length,
|
||||
atColumnZero: () => textArray[textArray.length - 1] === '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue