@player-ui/async-node-plugin 0.10.5--canary.611.20992 → 0.10.5--canary.609.21086
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.
|
@@ -4477,8 +4477,8 @@ var AsyncNodePlugin = function() {
|
|
|
4477
4477
|
return Parser;
|
|
4478
4478
|
}();
|
|
4479
4479
|
function unpackAndPush(item, initial) {
|
|
4480
|
-
if (
|
|
4481
|
-
item.
|
|
4480
|
+
if (Array.isArray(item)) {
|
|
4481
|
+
item.forEach(function(i) {
|
|
4482
4482
|
unpackAndPush(i, initial);
|
|
4483
4483
|
});
|
|
4484
4484
|
} else {
|
|
@@ -4706,7 +4706,9 @@ var AsyncNodePlugin = function() {
|
|
|
4706
4706
|
var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
|
|
4707
4707
|
if (mTree.value !== void 0 && mTree.value !== null) {
|
|
4708
4708
|
if (mValue.type === "async" && mValue.flatten && mTree.value.asset && Array.isArray(mTree.value.asset.values)) {
|
|
4709
|
-
|
|
4709
|
+
mTree.value.asset.values.forEach(function(v) {
|
|
4710
|
+
unpackAndPush(v, childValue);
|
|
4711
|
+
});
|
|
4710
4712
|
} else {
|
|
4711
4713
|
childValue.push(mTree.value);
|
|
4712
4714
|
}
|