@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/dist/html-modules.js +1 -1
- package/dist/html-modules.js.map +2 -2
- package/dist/main.js +2 -2
- package/dist/main.js.map +2 -2
- package/dist/scoped-js.js +5 -5
- package/dist/scoped-js.js.map +3 -3
- package/package.json +1 -1
- package/src/html-modules/HTMLExportsManager.js +1 -1
- package/src/scoped-js/index.js +1 -0
package/package.json
CHANGED
|
@@ -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()
|
package/src/scoped-js/index.js
CHANGED
|
@@ -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';
|