From a94e1dcaca1c05c065eaeb99832a62d0f43909a1 Mon Sep 17 00:00:00 2001 From: dntzhang Date: Fri, 18 Dec 2020 10:08:54 +0800 Subject: [PATCH] publish: obaa@2.1.1 --- packages/obaa/index.js | 6 +++--- packages/obaa/package.json | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/obaa/index.js b/packages/obaa/index.js index 4c92ef29e..b1cdc313f 100755 --- a/packages/obaa/index.js +++ b/packages/obaa/index.js @@ -1,5 +1,5 @@ /* - * obaa 2.1.0 + * obaa 2.1.1 * By dntzhang * Github: https://github.com/Tencent/omi/tree/master/packages/obaa * MIT Licensed. @@ -230,7 +230,7 @@ if (value == "__deleted__") { delete target[prop]; delete target.__o_[prop]; - } + } handler.propChanged.call(target, prop, value, oldValue, path) } } @@ -286,7 +286,7 @@ obaa.delete = function (obj, prop, value) { obj[prop] = "__deleted__"; watch(obj, prop, obj.__o_, obj.__o_) - } + } Array.prototype.size = function (length) { this.length = length diff --git a/packages/obaa/package.json b/packages/obaa/package.json index 73efd9c6a..007e82fa2 100755 --- a/packages/obaa/package.json +++ b/packages/obaa/package.json @@ -1,10 +1,9 @@ { "name": "obaa", - "version": "2.1.0", + "version": "2.1.1", "description": "Observe any object's any change.", "main": "index.js", - "scripts": { - }, + "scripts": {}, "repository": { "type": "git", "url": "git+https://github.com/Tencent/omi.git"