@player-ui/check-path-plugin 0.9.1-next.1 → 0.9.1-next.3
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.
|
@@ -4425,15 +4425,6 @@ var CheckPathPlugin = function() {
|
|
|
4425
4425
|
]);
|
|
4426
4426
|
return Parser;
|
|
4427
4427
|
}();
|
|
4428
|
-
function unpackAndPush(item, initial) {
|
|
4429
|
-
if (Array.isArray(item)) {
|
|
4430
|
-
item.forEach(function(i) {
|
|
4431
|
-
unpackAndPush(i, initial);
|
|
4432
|
-
});
|
|
4433
|
-
} else {
|
|
4434
|
-
initial.push(item);
|
|
4435
|
-
}
|
|
4436
|
-
}
|
|
4437
4428
|
var withContext = function(model) {
|
|
4438
4429
|
return {
|
|
4439
4430
|
get: function(binding, options) {
|
|
@@ -4654,14 +4645,7 @@ var CheckPathPlugin = function() {
|
|
|
4654
4645
|
var newValues = resolvedAST.values.map(function(mValue) {
|
|
4655
4646
|
var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
|
|
4656
4647
|
if (mTree.value !== void 0 && mTree.value !== null) {
|
|
4657
|
-
|
|
4658
|
-
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)) {
|
|
4659
|
-
mTree.value.forEach(function(v) {
|
|
4660
|
-
unpackAndPush(v, childValue);
|
|
4661
|
-
});
|
|
4662
|
-
} else {
|
|
4663
|
-
childValue.push(mTree.value);
|
|
4664
|
-
}
|
|
4648
|
+
childValue.push(mTree.value);
|
|
4665
4649
|
}
|
|
4666
4650
|
mTree.dependencies.forEach(function(bindingDep) {
|
|
4667
4651
|
return childDependencies.add(bindingDep);
|