pop-observe
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -36,6 +36,2 @@ "use strict"; | ||
ObservableMap.prototype.makeMapChangesObservable = function () { | ||
return makeMapChangesObservable(this); | ||
}; | ||
ObservableMap.observeMapChange = observeMapChange; | ||
@@ -170,2 +166,5 @@ function observeMapChange(object, handler, name, note, capture) { | ||
} | ||
if (object.makeMapChangesObservable) { | ||
object.makeMapChangesObservable(); | ||
} | ||
object.dispatchesMapChanges = true; | ||
@@ -172,0 +171,0 @@ } |
@@ -31,6 +31,2 @@ /*global -WeakMap*/ | ||
ObservableRange.prototype.makeRangeChangesObservable = function () { | ||
return makeRangeChangesObservable(this); | ||
}; | ||
ObservableRange.prototype.getRangeChangeObservers = function (capture) { | ||
@@ -157,2 +153,5 @@ }; | ||
} | ||
if (object.makeRangeChangesObservable) { | ||
object.makeRangeChangesObservable(); | ||
} | ||
object.dispatchesRangeChanges = true; | ||
@@ -159,0 +158,0 @@ } |
{ | ||
"name": "pop-observe", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Property, range, map, and set content change observers for arrays, objects, and other instances.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
107062