back to .js extension

This commit is contained in:
Kevin Jahns
2018-11-27 14:59:12 +01:00
parent 9bd199a6e7
commit 3ddff186c2
125 changed files with 1015 additions and 845 deletions

View File

@@ -12,8 +12,8 @@
</div>
<script class="code-js" src="./build/textarea.js">
import * as Y from 'yjs'
import { WebsocketProvider } from 'yjs/provider/websocket.mjs'
import { TextareaBinding } from 'yjs/bindings/textarea.mjs'
import { WebsocketProvider } from 'yjs/provider/websocket.js'
import { TextareaBinding } from 'yjs/bindings/textarea.js'
const provider = new WebsocketProvider('wss://api.yjs.website')
const ydocument = provider.get('textarea')