@webqit/oohtml 2.1.22 → 2.1.24

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/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "wicg-proposal"
15
15
  ],
16
16
  "homepage": "https://webqit.io/tooling/oohtml",
17
- "version": "2.1.22",
17
+ "version": "2.1.24",
18
18
  "license": "MIT",
19
19
  "repository": {
20
20
  "type": "git",
@@ -136,7 +136,7 @@ export default class HTMLExportsManager {
136
136
  // The promise
137
137
  const controller = new AbortController();
138
138
  const fire = ( type, detail ) => this.host.dispatchEvent( new this.window.CustomEvent( type, { detail } ) );
139
- const request = this.window.fetch( src, { signal: controller.signal } ).then( response => {
139
+ const request = this.window.fetch( src, { signal: controller.signal, element: this.host } ).then( response => {
140
140
  return response.ok ? response.text() : Promise.reject( response.statusText );
141
141
  }).then( content => {
142
142
  this.host.innerHTML = content.trim(); // IMPORTANT: .trim()
@@ -2,6 +2,7 @@
2
2
  /**
3
3
  * @imports
4
4
  */
5
+ import { _isTypeObject } from '@webqit/util/js/index.js';
5
6
  import { resolveParams } from '@webqit/subscript/src/params.js';
6
7
  import SubscriptFunction from '@webqit/subscript/src/SubscriptFunctionLite.js';
7
8
  import Observer from '@webqit/observer';