Comparing version 0.8.14 to 0.8.15
{ | ||
"name": "yjs", | ||
"version": "0.8.14", | ||
"version": "0.8.15", | ||
"homepage": "y-js.org", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -10,3 +10,4 @@ /* global Y, ace */ | ||
name: 'websockets-client', | ||
room: 'ace-example' | ||
room: 'ace-example', | ||
url: 'localhost:1234' | ||
}, | ||
@@ -22,3 +23,3 @@ sourceDir: '/bower_components', | ||
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') | ||
@@ -25,0 +26,0 @@ |
{ | ||
"name": "yjs", | ||
"version": "0.8.14", | ||
"version": "0.8.15", | ||
"description": "A framework for real-time p2p shared editing on arbitrary complex data types", | ||
@@ -5,0 +5,0 @@ "main": "./src/y.js", |
@@ -604,8 +604,7 @@ /* @flow */ | ||
} | ||
} | ||
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) | ||
@@ -612,0 +611,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
815427