@adecore/terminal 0.21.1 → 0.22.0

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.
@@ -81,7 +81,7 @@ class WebglBudget {
81
81
  Addon = module.WebglAddon;
82
82
  });
83
83
  void addonLoad.then(() => {
84
- if (this.slots.holders().includes(id)) {
84
+ if (this.slots.holds(id)) {
85
85
  this.load(id);
86
86
  }
87
87
  }, () => this.apply(this.slots.lost(id)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/terminal",
3
- "version": "0.21.1",
3
+ "version": "0.22.0",
4
4
  "description": "A themed terminal pane on xterm.js that fits its container and is fed by the app.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",
@@ -105,7 +105,7 @@ class WebglBudget {
105
105
  });
106
106
  void addonLoad.then(
107
107
  () => {
108
- if (this.slots.holders().includes(id)) {
108
+ if (this.slots.holds(id)) {
109
109
  this.load(id);
110
110
  }
111
111
  },