@player-ui/markdown-plugin 0.9.1-next.1 → 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.
@@ -8722,15 +8722,6 @@ var MarkdownPlugin = function() {
8722
8722
  ]);
8723
8723
  return Parser;
8724
8724
  }();
8725
- function unpackAndPush(item, initial) {
8726
- if (Array.isArray(item)) {
8727
- item.forEach(function(i) {
8728
- unpackAndPush(i, initial);
8729
- });
8730
- } else {
8731
- initial.push(item);
8732
- }
8733
- }
8734
8725
  var withContext = function(model) {
8735
8726
  return {
8736
8727
  get: function(binding, options) {
@@ -8951,14 +8942,7 @@ var MarkdownPlugin = function() {
8951
8942
  var newValues = resolvedAST.values.map(function(mValue) {
8952
8943
  var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
8953
8944
  if (mTree.value !== void 0 && mTree.value !== null) {
8954
- var _mTree_node_parent;
8955
- 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)) {
8956
- mTree.value.forEach(function(v) {
8957
- unpackAndPush(v, childValue);
8958
- });
8959
- } else {
8960
- childValue.push(mTree.value);
8961
- }
8945
+ childValue.push(mTree.value);
8962
8946
  }
8963
8947
  mTree.dependencies.forEach(function(bindingDep) {
8964
8948
  return childDependencies.add(bindingDep);