state-tree
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "state-tree", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "A state tree that handles reference updates and lets you flush a description of changes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,9 +8,11 @@ import { getByPath, hasChanged } from './utils' | ||
private _computedHasChanged | ||
private _deps | ||
private _cb | ||
constructor (private _deps, private _cb) { | ||
constructor (_deps, _cb) { | ||
if (!(this instanceof Computed)) return new Computed(_deps, _cb) | ||
this._computedHasChanged = true | ||
this._value = null | ||
this._deps = _deps | ||
this._cb = _cb | ||
} | ||
@@ -17,0 +19,0 @@ |
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
39212
993