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: { connector: {
name: 'websockets-client', name: 'websockets-client',
room: 'ace-example' room: 'ace-example',
url: 'localhost:1234'
}, },
sourceDir: '/bower_components', sourceDir: '/bower_components',
share: { share: {
@ -18,7 +19,7 @@ Y({
// bind the textarea to a shared text element // bind the textarea to a shared text element
var editor = ace.edit('ace') 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') editor.getSession().setMode('ace/mode/javascript')
y.share.ace.bindAce(editor) y.share.ace.bindAce(editor)

View File

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

7
y.es6
View File

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