Skip to content

Commit 054422e

Browse files
committed
update room names
1 parent 5056886 commit 054422e

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

codemirror.next/codemirror.next.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ export const userColor = usercolors[random.uint32() % usercolors.length]
2727
const ydoc = new Y.Doc()
2828
// const provider = new WebrtcProvider('codemirror6-demo-room', ydoc)
2929
const provider = new WebsocketProvider(
30-
'wss://demos.yjs.dev/ws', // use the public ws server
30+
// 'wss://demos.yjs.dev/ws', // use the public ws server
3131
// `ws${location.protocol.slice(4)}//${location.host}/ws`, // alternatively: use the local ws server (run `npm start` in root directory)
32-
'codemirror.next-demo',
32+
'ws://localhost:3334',
33+
'codemirror.next-demo-2024/06',
3334
ydoc
3435
)
3536
const ytext = ydoc.getText('codemirror')

codemirror/codemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ window.addEventListener('load', () => {
1212
const provider = new WebsocketProvider(
1313
'wss://demos.yjs.dev/ws', // use the public ws server
1414
// `ws${location.protocol.slice(4)}//${location.host}/ws`, // alternatively: use the local ws server (run `npm start` in root directory)
15-
'codemirror-demo',
15+
'codemirror-demo-2024/06',
1616
ydoc
1717
)
1818
const ytext = ydoc.getText('codemirror')

monaco/monaco.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ window.addEventListener('load', () => {
2929
const provider = new WebsocketProvider(
3030
'wss://demos.yjs.dev/ws', // use the public ws server
3131
// `ws${location.protocol.slice(4)}//${location.host}/ws`, // alternatively: use the local ws server (run `npm start` in root directory)
32-
'monaco-demo',
32+
'monaco-demo-2024/06',
3333
ydoc
3434
)
3535
const ytext = ydoc.getText('monaco')

prosemirror-versions/prosemirror-versions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ window.addEventListener('load', () => {
146146
const provider = new WebsocketProvider(
147147
'wss://demos.yjs.dev/ws', // use the public ws server
148148
// `ws${location.protocol.slice(4)}//${location.host}/ws`, // alternatively: use the local ws server (run `npm start` in root directory)
149-
'prosemirror-versions-demo',
149+
'prosemirror-versions-demo-2024/06',
150150
ydoc
151151
)
152152
const yXmlFragment = ydoc.get('prosemirror', Y.XmlFragment)

prosemirror/prosemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ window.addEventListener('load', () => {
1414
const provider = new WebsocketProvider(
1515
'wss://demos.yjs.dev/ws', // use the public ws server
1616
// `ws${location.protocol.slice(4)}//${location.host}/ws`, // alternatively: use the local ws server (run `npm start` in root directory)
17-
'prosemirror-demo',
17+
'prosemirror-demo-2024/06',
1818
ydoc
1919
)
2020
const yXmlFragment = ydoc.getXmlFragment('prosemirror')

quill/quill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ window.addEventListener('load', () => {
1313
const provider = new WebsocketProvider(
1414
'wss://demos.yjs.dev/ws', // use the public ws server
1515
// `ws${location.protocol.slice(4)}//${location.host}/ws`, // alternatively: use the local ws server (run `npm start` in root directory)
16-
'quill-demo-5',
16+
'quill-demo-2024/06',
1717
ydoc
1818
)
1919
const ytext = ydoc.getText('quill')

0 commit comments

Comments
 (0)