reactive-di
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -208,5 +208,2 @@ 'use strict'; | ||
var isDataChanged = !value || this._model.set(value); | ||
if (isMetaChanged || isDataChanged) { | ||
this._notify(); | ||
} | ||
if (this._exposed) { | ||
@@ -216,2 +213,5 @@ this._exposed.success(); | ||
} | ||
if (isMetaChanged || isDataChanged) { | ||
this._notify(); | ||
} | ||
} | ||
@@ -221,9 +221,9 @@ }, { | ||
value: function error(err /*: E*/) { | ||
if (this._exposed) { | ||
this._exposed.error(err); | ||
this._exposed = null; | ||
} | ||
if (this._setMeta((0, _asyncHelpers.setError)(this.meta, err))) { | ||
this._notify(); | ||
} | ||
if (this._exposed) { | ||
this._exposed.error(); | ||
this._exposed = null; | ||
} | ||
} | ||
@@ -230,0 +230,0 @@ }, { |
{ | ||
"name": "reactive-di", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Reactive dependency injection", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
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
424520