callbag-combine
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "callbag-combine", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Callbag factory that combines data from multiple callbag sources", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -19,11 +19,11 @@ /** | ||
* | ||
* observe(x => console.log(x)(source); // [2,0] | ||
* // [3,0] | ||
* // [4,0] | ||
* // [5,0] | ||
* // [6,0] | ||
* // [6,1] | ||
* // [7,1] | ||
* // [8,1] | ||
* // ... | ||
* observe(x => console.log(x))(source); // [2,0] | ||
* // [3,0] | ||
* // [4,0] | ||
* // [5,0] | ||
* // [6,0] | ||
* // [6,1] | ||
* // [7,1] | ||
* // [8,1] | ||
* // ... | ||
*/ | ||
@@ -45,4 +45,4 @@ | ||
let Ne = n; // end counter | ||
const vals = Array(n); | ||
const sourceTalkbacks = Array(n); | ||
const vals = new Array(n); | ||
const sourceTalkbacks = new Array(n); | ||
const talkback = (t, d) => { | ||
@@ -62,3 +62,3 @@ if (t !== 2) return; | ||
if (_Nd === 0) { | ||
const arr = Array(n); | ||
const arr = new Array(n); | ||
for (let j = 0; j < n; ++j) arr[j] = vals[j]; | ||
@@ -65,0 +65,0 @@ sink(1, arr); |
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
10474