Deploy 0.8.11

This commit is contained in:
Kevin Jahns 2016-02-04 10:52:55 +01:00
parent 6904e6018d
commit 6a4aabe69c
5 changed files with 9 additions and 5678 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "yjs", "name": "yjs",
"version": "0.8.10", "version": "0.8.12",
"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

@ -907,7 +907,7 @@ module.exports = function (Y /* :any */) {
yield* Y.Struct['Delete'].execute.call(transaction, delop) yield* Y.Struct['Delete'].execute.call(transaction, delop)
} }
// notify parent, if it has been initialized as a custom type // notify parent, if it was instanciated as a custom type
if (t != null) { if (t != null) {
yield* t._changed(transaction, Y.utils.copyObject(op)) yield* t._changed(transaction, Y.utils.copyObject(op))
} }
@ -1103,7 +1103,7 @@ module.exports = function (Y/* :any */) {
var i // loop counter var i // loop counter
var distanceToOrigin = i = yield* Struct.Insert.getDistanceToOrigin.call(this, op) // most cases: 0 (starts from 0) var distanceToOrigin = i = yield* Struct.Insert.getDistanceToOrigin.call(this, op) // most cases: 0 (starts from 0)
if (op.origin != null) { if (op.origin != null) { // TODO: !== instead of !=
// we save in origin that op originates in it // we save in origin that op originates in it
// we need that later when we eventually garbage collect origin (see transaction) // we need that later when we eventually garbage collect origin (see transaction)
var origin = yield* this.getOperation(op.origin) var origin = yield* this.getOperation(op.origin)
@ -1493,7 +1493,7 @@ module.exports = function (Y/* :any */) {
var callType = false var callType = false
if (target == null || !target.deleted) { if (target == null || !target.deleted) {
yield* this.markDeleted(targetId) yield* this.markDeleted(targetId, 1)
} }
if (target != null && target.gc == null) { if (target != null && target.gc == null) {
@ -1617,7 +1617,6 @@ module.exports = function (Y/* :any */) {
* markDeleted (id, length) { * markDeleted (id, length) {
if (length == null) { if (length == null) {
length = 1 length = 1
// debugger // TODO!!
} }
// this.mem.push(["del", id]); // this.mem.push(["del", id]);
var n = yield* this.ds.findWithUpperBound(id) var n = yield* this.ds.findWithUpperBound(id)

File diff suppressed because one or more lines are too long

5674
y.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long