mirror of
https://github.com/yjs/yjs.git
synced 2025-12-16 19:57:45 +01:00
change global identifier name for compatibility with v13
This commit is contained in:
@@ -131,7 +131,7 @@ const glo = /** @type {any} */ (typeof globalThis !== 'undefined'
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
: typeof global !== 'undefined' ? global : {})
|
: typeof global !== 'undefined' ? global : {})
|
||||||
|
|
||||||
const importIdentifier = '__ $YJS$ __'
|
const importIdentifier = '__ $YJS14$ __'
|
||||||
|
|
||||||
if (glo[importIdentifier] === true) {
|
if (glo[importIdentifier] === true) {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user