add source file info to examples

This commit is contained in:
Kevin Jahns
2018-11-27 15:24:58 +01:00
parent 3ddff186c2
commit ab3dba5b06
8 changed files with 17 additions and 5 deletions

View File

@@ -10,6 +10,7 @@
<textarea style="width:80%;" rows=40 autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
</div>
<!-- The actual source file for the following code is found in ./textarea.js. Run `npm run watch` to compile the files -->
<script class="code-js" src="./build/textarea.js">
import * as Y from 'yjs'
import { WebsocketProvider } from 'yjs/provider/websocket.js'