Deploy 0.8.21

This commit is contained in:
Kevin Jahns 2016-02-18 16:57:27 +01:00
parent 6599cb20b4
commit 81324dc7d4
6 changed files with 10 additions and 9 deletions

View File

@ -7,7 +7,8 @@ Y({
}, },
connector: { connector: {
name: 'websockets-client', name: 'websockets-client',
room: 'Textarea-example' room: 'Textarea-example',
url: '127.0.0.1:1234'
}, },
sourceDir: '/bower_components', sourceDir: '/bower_components',
share: { share: {

View File

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

8
y.es6
View File

@ -783,8 +783,8 @@ module.exports = function (Y /* :any */) {
missing: ids.length missing: ids.length
} }
for (let key in ids) { for (let i = 0; i < ids.length; i++) {
let id = ids[key] let id = ids[i]
let sid = JSON.stringify(id) let sid = JSON.stringify(id)
let l = this.listenersById[sid] let l = this.listenersById[sid]
if (l == null) { if (l == null) {
@ -827,8 +827,8 @@ module.exports = function (Y /* :any */) {
if (op == null) { if (op == null) {
store.listenersById[sid] = l store.listenersById[sid] = l
} else { } else {
for (let key in l) { for (let i = 0; i < l.length; i++) {
let listener = l[key] let listener = l[i]
let o = listener.op let o = listener.op
if (--listener.missing === 0) { if (--listener.missing === 0) {
yield* store.tryExecute.call(this, o) yield* store.tryExecute.call(this, o)

File diff suppressed because one or more lines are too long

2
y.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long