Comparing version 3.0.9 to 3.0.10
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="3.0.10"></a> | ||
## [3.0.10](https://github.com/zerkalica/lom_atom/compare/v3.0.9...v3.0.10) (2017-12-03) | ||
<a name="3.0.9"></a> | ||
@@ -7,0 +12,0 @@ ## [3.0.9](https://github.com/zerkalica/lom_atom/compare/v3.0.8...v3.0.9) (2017-12-02) |
@@ -230,4 +230,4 @@ function _defineProperties(target, props) { | ||
if (!slaves) { | ||
slaves = this._slaves = new Set(); | ||
context.unreap(this); | ||
slaves = this._slaves = new Set(); | ||
} | ||
@@ -243,3 +243,3 @@ | ||
this._suggested = this._next = normalized; | ||
this.status = ATOM_STATUS_DEEP_RESET; | ||
this.status = ATOM_STATUS_OBSOLETE; | ||
} | ||
@@ -336,8 +336,8 @@ | ||
if (slaves) { | ||
if (slaves.size === 1) { | ||
slaves.delete(slave); | ||
if (slaves.size === 0) { | ||
this._slaves = null; | ||
this._context.proposeToReap(this); | ||
} else { | ||
slaves.delete(slave); | ||
} | ||
@@ -344,0 +344,0 @@ } |
@@ -234,4 +234,4 @@ 'use strict'; | ||
if (!slaves) { | ||
slaves = this._slaves = new Set(); | ||
context.unreap(this); | ||
slaves = this._slaves = new Set(); | ||
} | ||
@@ -247,3 +247,3 @@ | ||
this._suggested = this._next = normalized; | ||
this.status = ATOM_STATUS_DEEP_RESET; | ||
this.status = ATOM_STATUS_OBSOLETE; | ||
} | ||
@@ -340,8 +340,8 @@ | ||
if (slaves) { | ||
if (slaves.size === 1) { | ||
slaves.delete(slave); | ||
if (slaves.size === 0) { | ||
this._slaves = null; | ||
this._context.proposeToReap(this); | ||
} else { | ||
slaves.delete(slave); | ||
} | ||
@@ -348,0 +348,0 @@ } |
@@ -236,4 +236,4 @@ (function (global, factory) { | ||
if (!slaves) { | ||
slaves = this._slaves = new Set(); | ||
context.unreap(this); | ||
slaves = this._slaves = new Set(); | ||
} | ||
@@ -249,3 +249,3 @@ | ||
this._suggested = this._next = normalized; | ||
this.status = ATOM_STATUS_DEEP_RESET; | ||
this.status = ATOM_STATUS_OBSOLETE; | ||
} | ||
@@ -342,8 +342,8 @@ | ||
if (slaves) { | ||
if (slaves.size === 1) { | ||
slaves.delete(slave); | ||
if (slaves.size === 0) { | ||
this._slaves = null; | ||
this._context.proposeToReap(this); | ||
} else { | ||
slaves.delete(slave); | ||
} | ||
@@ -350,0 +350,0 @@ } |
{ | ||
"name": "lom_atom", | ||
"version": "3.0.9", | ||
"version": "3.0.10", | ||
"description": "Alternative implementation of eigenmethod mol_atom state management library", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -155,4 +155,4 @@ // @flow | ||
if (!slaves) { | ||
slaves = this._slaves = new Set() | ||
context.unreap(this) | ||
slaves = this._slaves = new Set() | ||
} | ||
@@ -173,3 +173,3 @@ slaves.add(slave) | ||
this._suggested = this._next = normalized | ||
this.status = ATOM_STATUS_DEEP_RESET | ||
this.status = ATOM_STATUS_OBSOLETE | ||
} | ||
@@ -264,7 +264,6 @@ this.actualize() | ||
if (slaves) { | ||
if (slaves.size === 1) { | ||
slaves.delete(slave) | ||
if (slaves.size === 0) { | ||
this._slaves = null | ||
this._context.proposeToReap(this) | ||
} else { | ||
slaves.delete(slave) | ||
} | ||
@@ -271,0 +270,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
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
335620
3496