@webqit/oohtml 4.1.1-debug.5 → 4.1.1-debug.6

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": "4.1.1-debug.5",
17
+ "version": "4.1.1-debug.6",
18
18
  "license": "MIT",
19
19
  "repository": {
20
20
  "type": "git",
@@ -58,7 +58,6 @@ function exposeAPIs( config ) {
58
58
 
59
59
  // Script runner
60
60
  async function execute( config, execHash ) {
61
- console.log('//........', execHash);
62
61
  const window = this, { realdom } = window.webqit;
63
62
  const exec = _fromHash( execHash );
64
63
  if ( !exec ) throw new Error( `Argument must be a valid exec hash.` );
@@ -69,9 +68,7 @@ async function execute( config, execHash ) {
69
68
  } else if ( config.script.retention === 'dispose' ) {
70
69
  script.textContent = `"source hidden"`;
71
70
  } else {
72
- console.log('//........1');
73
71
  script.textContent = await compiledScript.toString();
74
- console.log('//........2');
75
72
  }
76
73
  // Execute and save state
77
74
  const documentRoot = script.getRootNode();
@@ -123,6 +120,7 @@ function realtime( config ) {
123
120
  if ( script.scoped ) { thisContext[ config.api.scripts ].push( script ); }
124
121
  const execHash = _toHash( { script, compiledScript, thisContext } );
125
122
  const manualHandling = record.type === 'query' || ( script.type && !window.HTMLScriptElement.supports( script.type ) );
123
+ console.log('--------////', record.event);
126
124
  if ( manualHandling ) { oohtml.Script.execute( execHash ); } else {
127
125
  script.textContent = `webqit.oohtml.Script.execute( '${ execHash }' );`;
128
126
  }