lint
This commit is contained in:
@@ -9,7 +9,6 @@ let y = new Y('monaco-example', {
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
require(['vs/editor/editor.main'], function () {
|
||||
window.yMonaco = y
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user