This commit is contained in:
Kevin Jahns
2016-02-04 12:05:47 +01:00
parent 6a4aabe69c
commit 4340f028b5
8 changed files with 5683 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ Y({
},
connector: {
name: 'websockets-client',
room: 'ace-example-dev'
room: 'ace-example'
// debug: true
// url: 'http://127.0.0.1:2345'
},
@@ -16,7 +16,7 @@ Y({
ace: 'Text' // y.share.textarea is of type Y.Text
}
}).then(function (y) {
window.y = y
window.yAce = y
// bind the textarea to a shared text element
var editor = ace.edit('editor')