@webqit/oohtml 4.1.1-debug.4 → 4.1.1-debug.5
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/main.js +1 -1
- package/dist/main.js.map +2 -2
- package/dist/main.lite.js +9 -9
- package/dist/main.lite.js.map +2 -2
- package/dist/scoped-js.js +1 -1
- package/dist/scoped-js.js.map +2 -2
- package/package.json +1 -1
- package/src/scoped-js/index.js +3 -0
package/package.json
CHANGED
package/src/scoped-js/index.js
CHANGED
|
@@ -58,6 +58,7 @@ function exposeAPIs( config ) {
|
|
|
58
58
|
|
|
59
59
|
// Script runner
|
|
60
60
|
async function execute( config, execHash ) {
|
|
61
|
+
console.log('//........', execHash);
|
|
61
62
|
const window = this, { realdom } = window.webqit;
|
|
62
63
|
const exec = _fromHash( execHash );
|
|
63
64
|
if ( !exec ) throw new Error( `Argument must be a valid exec hash.` );
|
|
@@ -68,7 +69,9 @@ async function execute( config, execHash ) {
|
|
|
68
69
|
} else if ( config.script.retention === 'dispose' ) {
|
|
69
70
|
script.textContent = `"source hidden"`;
|
|
70
71
|
} else {
|
|
72
|
+
console.log('//........1');
|
|
71
73
|
script.textContent = await compiledScript.toString();
|
|
74
|
+
console.log('//........2');
|
|
72
75
|
}
|
|
73
76
|
// Execute and save state
|
|
74
77
|
const documentRoot = script.getRootNode();
|