This commit is contained in:
Kevin Jahns 2018-01-29 16:41:27 -08:00
parent 40e913e9c5
commit c0d24bdba4
3 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,6 @@ let y = new Y('monaco-example', {
}
})
require(['vs/editor/editor.main'], function () {
window.yMonaco = y

View File

@ -12,4 +12,4 @@ window.yTextarea = y
// bind the textarea to a shared text element
let type = y.define('textarea', Y.Text)
let textarea = document.querySelector('textarea')
let binding = new Y.TextareaBinding(type, textarea)
window.binding = new Y.TextareaBinding(type, textarea)

View File

@ -1,7 +1,6 @@
import { createMutualExclude } from '../Util/mutualExclude.js'
export default class Binding {
constructor (type, target) {
this.type = type