@player-ui/async-node-plugin 0.9.1-next.0 → 0.9.1-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4467,15 +4467,6 @@ var AsyncNodePlugin = function() {
|
|
|
4467
4467
|
]);
|
|
4468
4468
|
return Parser;
|
|
4469
4469
|
}();
|
|
4470
|
-
function unpackAndPush(item, initial) {
|
|
4471
|
-
if (Array.isArray(item)) {
|
|
4472
|
-
item.forEach(function(i) {
|
|
4473
|
-
unpackAndPush(i, initial);
|
|
4474
|
-
});
|
|
4475
|
-
} else {
|
|
4476
|
-
initial.push(item);
|
|
4477
|
-
}
|
|
4478
|
-
}
|
|
4479
4470
|
var withContext = function(model) {
|
|
4480
4471
|
return {
|
|
4481
4472
|
get: function(binding, options) {
|
|
@@ -4696,14 +4687,7 @@ var AsyncNodePlugin = function() {
|
|
|
4696
4687
|
var newValues = resolvedAST.values.map(function(mValue) {
|
|
4697
4688
|
var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
|
|
4698
4689
|
if (mTree.value !== void 0 && mTree.value !== null) {
|
|
4699
|
-
|
|
4700
|
-
if (((_mTree_node_parent = mTree.node.parent) === null || _mTree_node_parent === void 0 ? void 0 : _mTree_node_parent.type) === "multi-node" && Array.isArray(mTree.value)) {
|
|
4701
|
-
mTree.value.forEach(function(v) {
|
|
4702
|
-
unpackAndPush(v, childValue);
|
|
4703
|
-
});
|
|
4704
|
-
} else {
|
|
4705
|
-
childValue.push(mTree.value);
|
|
4706
|
-
}
|
|
4690
|
+
childValue.push(mTree.value);
|
|
4707
4691
|
}
|
|
4708
4692
|
mTree.dependencies.forEach(function(bindingDep) {
|
|
4709
4693
|
return childDependencies.add(bindingDep);
|