Deploy 0.8.14

This commit is contained in:
Kevin Jahns 2016-02-04 15:26:28 +01:00
parent e48608a7d4
commit 98085b2807
6 changed files with 13 additions and 13 deletions

View File

@ -7,7 +7,8 @@ Y({
},
connector: {
name: 'websockets-client',
room: 'ace-example'
room: 'ace-example',
url: 'localhost:1234'
},
sourceDir: '/bower_components',
share: {
@ -18,7 +19,7 @@ Y({
// bind the textarea to a shared text element
var editor = ace.edit('ace')
editor.setTheme('ace/theme/chrome')
editor.setTheme('/bower_components/ace-builds/src-min/chrome')
editor.getSession().setMode('ace/mode/javascript')
y.share.ace.bindAce(editor)

View File

@ -1,6 +1,6 @@
{
"name": "yjs",
"version": "0.8.14",
"version": "0.8.15",
"homepage": "y-js.org",
"authors": [
"Kevin Jahns <kevin.jahns@rwth-aachen.de>"

11
y.es6
View File

@ -1944,12 +1944,11 @@ module.exports = function (Y/* :any */) {
yield* this.setState(state)
}
}
}
if (this.store.forwardAppliedOperations) {
for (let c = del[1]; c < del[1] + del[2]; c++) {
var ops = deletions.map(function (d) {
return {struct: 'Delete', target: [d[0], c]} // TODO: implement Delete with deletion length!
})
if (this.store.forwardAppliedOperations) {
var ops = []
for (let c = del[1]; c < del[1] + del[2]; c++) {
ops.push({struct: 'Delete', target: [d[0], c]}) // TODO: implement Delete with deletion length!
}
this.store.y.connector.broadcastOps(ops)
}
}

File diff suppressed because one or more lines are too long

4
y.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long