lint
This commit is contained in:
parent
40e913e9c5
commit
c0d24bdba4
@ -9,7 +9,6 @@ let y = new Y('monaco-example', {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
require(['vs/editor/editor.main'], function () {
|
require(['vs/editor/editor.main'], function () {
|
||||||
window.yMonaco = y
|
window.yMonaco = y
|
||||||
|
|
||||||
|
@ -12,4 +12,4 @@ window.yTextarea = y
|
|||||||
// bind the textarea to a shared text element
|
// bind the textarea to a shared text element
|
||||||
let type = y.define('textarea', Y.Text)
|
let type = y.define('textarea', Y.Text)
|
||||||
let textarea = document.querySelector('textarea')
|
let textarea = document.querySelector('textarea')
|
||||||
let binding = new Y.TextareaBinding(type, textarea)
|
window.binding = new Y.TextareaBinding(type, textarea)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
import { createMutualExclude } from '../Util/mutualExclude.js'
|
import { createMutualExclude } from '../Util/mutualExclude.js'
|
||||||
|
|
||||||
|
|
||||||
export default class Binding {
|
export default class Binding {
|
||||||
constructor (type, target) {
|
constructor (type, target) {
|
||||||
this.type = type
|
this.type = type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user