fix y-text

This commit is contained in:
Kevin Jahns
2019-03-30 01:08:09 +01:00
parent c188f813a4
commit 1bc1e88d6a
5 changed files with 351 additions and 192 deletions

View File

@@ -13,12 +13,10 @@ import * as decoding from 'lib0/decoding.js' // eslint-disable-line
/**
* Event that describes the changes on a YArray
*
* @template T
*/
export class YArrayEvent extends YEvent {
/**
* @param {YArray<T>} yarray The changed type
* @param {AbstractType} yarray The changed type
* @param {Transaction} transaction The transaction object
*/
constructor (yarray, transaction) {