reactive-function
Advanced tools
Comparing version 0.7.0 to 0.8.0
{ | ||
"name": "reactive-function", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "A library for managing data flows and changing state.", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"graph-data-structure": "^0.5.0", | ||
"reactive-property": "^0.7.0" | ||
"reactive-property": "^0.8.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
15
test.js
@@ -293,2 +293,17 @@ // Unit tests for reactive-function. | ||
it("Should invoke if a single input is null.", function (){ | ||
var numInvocations = 0; | ||
var a = ReactiveProperty(null); | ||
ReactiveFunction({ | ||
inputs: [a], | ||
callback: function (a, b){ | ||
numInvocations++; | ||
} | ||
}); | ||
ReactiveFunction.digest(); | ||
assert.equal(numInvocations, 1); | ||
}); | ||
it("Should be able to implement unidirectional data binding.", function (){ | ||
@@ -295,0 +310,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
19635
471
+ Addedreactive-property@0.8.0(transitive)
- Removedreactive-property@0.7.0(transitive)
Updatedreactive-property@^0.8.0