From 1bc930856611a05db3e34aeb9250f666f9a423cd Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Thu, 16 Jun 2022 12:56:37 +0200 Subject: [PATCH] improve already-imported message further --- src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 76522a04..6624f8cb 100644 --- a/src/index.js +++ b/src/index.js @@ -114,7 +114,9 @@ if (glo[importIdentifier] === true) { * This often leads to issues that are hard to debug. We often need to perform constructor checks, * e.g. `struct instanceof GC`. If you imported different versions of Yjs, it is impossible for us to * do the constructor checks anymore - which might break the CRDT algorithm. + * + * https://github.com/yjs/yjs/issues/438 */ - console.error('Yjs was already imported. This breaks constructor checks and will lead to isssues!') + console.error('Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438') } glo[importIdentifier] = true