Compare commits
1 Commits
v13.0.0-39
...
v13.0.0-38
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9eb1e459f0 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yjs",
|
"name": "yjs",
|
||||||
"version": "13.0.0-39",
|
"version": "13.0.0-38",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yjs",
|
"name": "yjs",
|
||||||
"version": "13.0.0-39",
|
"version": "13.0.0-38",
|
||||||
"description": "A framework for real-time p2p shared editing on any data",
|
"description": "A framework for real-time p2p shared editing on any data",
|
||||||
"main": "./y.node.js",
|
"main": "./y.node.js",
|
||||||
"browser": "./y.js",
|
"browser": "./y.js",
|
||||||
|
|||||||
@@ -254,9 +254,7 @@ export default class YXmlFragment extends YArray {
|
|||||||
})
|
})
|
||||||
// Apply Y.Xml events to dom
|
// Apply Y.Xml events to dom
|
||||||
this.observeDeep(events => {
|
this.observeDeep(events => {
|
||||||
this._mutualExclude(() => {
|
reflectChangesOnDom.call(this, events, _document)
|
||||||
reflectChangesOnDom.call(this, events, _document)
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
// Apply Dom changes on Y.Xml
|
// Apply Dom changes on Y.Xml
|
||||||
if (typeof MutationObserver !== 'undefined') {
|
if (typeof MutationObserver !== 'undefined') {
|
||||||
|
|||||||
@@ -76,4 +76,7 @@ export function afterTransactionSelectionFixer (y, transaction, remote) {
|
|||||||
focusOffset
|
focusOffset
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
// delete, so the objects can be gc'd
|
||||||
|
relativeSelection = null
|
||||||
|
browserSelection = null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* yjs - A framework for real-time p2p shared editing on any data
|
* yjs - A framework for real-time p2p shared editing on any data
|
||||||
* @version v13.0.0-39
|
* @version v13.0.0-38
|
||||||
* @license MIT
|
* @license MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -2947,6 +2947,9 @@ function afterTransactionSelectionFixer (y, transaction, remote) {
|
|||||||
focusOffset
|
focusOffset
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
// delete, so the objects can be gc'd
|
||||||
|
relativeSelection = null;
|
||||||
|
browserSelection = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
class YXmlEvent extends YEvent {
|
class YXmlEvent extends YEvent {
|
||||||
@@ -3951,9 +3954,7 @@ class YXmlFragment extends YArray {
|
|||||||
});
|
});
|
||||||
// Apply Y.Xml events to dom
|
// Apply Y.Xml events to dom
|
||||||
this.observeDeep(events => {
|
this.observeDeep(events => {
|
||||||
this._mutualExclude(() => {
|
reflectChangesOnDom.call(this, events, _document);
|
||||||
reflectChangesOnDom.call(this, events, _document);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
// Apply Dom changes on Y.Xml
|
// Apply Dom changes on Y.Xml
|
||||||
if (typeof MutationObserver !== 'undefined') {
|
if (typeof MutationObserver !== 'undefined') {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user