mirror of
https://github.com/yjs/yjs.git
synced 2025-12-16 11:47:46 +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
|
||||
: typeof global !== 'undefined' ? global : {})
|
||||
|
||||
const importIdentifier = '__ $YJS$ __'
|
||||
const importIdentifier = '__ $YJS14$ __'
|
||||
|
||||
if (glo[importIdentifier] === true) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user