mol_plot_all 1.2.556 → 1.2.558

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.
package/node.test.js CHANGED
@@ -2417,6 +2417,9 @@ var $;
2417
2417
  static scale(zoom) {
2418
2418
  return new $mol_style_func('scale', [zoom]);
2419
2419
  }
2420
+ static cubic_bezier(x1, y1, x2, y2) {
2421
+ return new $mol_style_func('cubic-bezier', [x1, y1, x2, y2]);
2422
+ }
2420
2423
  }
2421
2424
  $.$mol_style_func = $mol_style_func;
2422
2425
  })($ || ($ = {}));
@@ -9980,7 +9983,7 @@ var $;
9980
9983
  const en = this.texts('en')[key];
9981
9984
  if (!en)
9982
9985
  return key;
9983
- const cache_key = `$mol_locale.text(${JSON.stringify(key)})`;
9986
+ const cache_key = `$mol_locale.text(${JSON.stringify(key)}):${lang}`;
9984
9987
  const cached = this.$.$mol_state_local.value(cache_key);
9985
9988
  if (cached)
9986
9989
  return cached;