Deploy 0.8.5
This commit is contained in:
parent
919dfb5e16
commit
2650338b4b
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yjs",
|
||||
"version": "0.8.5",
|
||||
"version": "0.8.6",
|
||||
"homepage": "y-js.org",
|
||||
"authors": [
|
||||
"Kevin Jahns <kevin.jahns@rwth-aachen.de>"
|
||||
|
3
y.es6
3
y.es6
@ -172,6 +172,9 @@ module.exports = function (Y/* :any */) {
|
||||
Buffer operations, and broadcast them when ready.
|
||||
*/
|
||||
broadcastOps (ops) {
|
||||
ops = ops.map(function (op) {
|
||||
return Y.Struct[op.struct].encode(op)
|
||||
})
|
||||
var self = this
|
||||
function broadcastOperations () {
|
||||
if (self.broadcastOpBuffer.length > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user