@webqit/oohtml 4.1.1-debug.2 → 4.1.1-debug.3
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
|
@@ -116,7 +116,7 @@ export default function() {
|
|
|
116
116
|
priv.moduleRefRealtime = realdom.realtime( this.el ).attr( configs.HTML_IMPORTS.attr.ref, ( record, { signal } ) => {
|
|
117
117
|
priv.moduleRef = record.value;
|
|
118
118
|
// Below, we ignore first restore from hydration
|
|
119
|
-
priv.importRequest( fragments => !priv.hydrationImportRequest && this.fill( fragments ), signal );
|
|
119
|
+
priv.importRequest( fragments => (console.log('////--////---////---///', fragments), !priv.hydrationImportRequest && this.fill( fragments )), signal );
|
|
120
120
|
}, { live: true, timing: 'sync', lifecycleSignals: true } );
|
|
121
121
|
// Must come after
|
|
122
122
|
priv.hydrationImportRequest?.abort();
|
|
@@ -155,7 +155,6 @@ export default function() {
|
|
|
155
155
|
*/
|
|
156
156
|
fill( slottableElements ) {
|
|
157
157
|
console.log('////////--///////', slottableElements);
|
|
158
|
-
|
|
159
158
|
if ( Array.isArray( slottableElements ) ) { slottableElements = new Set( slottableElements ) }
|
|
160
159
|
// This state must be set before the diffing below and the serialization done at createAnchorNode()
|
|
161
160
|
this.el.setAttribute( 'data-nodecount', slottableElements.size );
|
|
@@ -191,7 +190,6 @@ export default function() {
|
|
|
191
190
|
_( slottableElementClone ).set( 'slot@imports', this.el );
|
|
192
191
|
this[ '#' ].slottedElements.add( slottableElementClone );
|
|
193
192
|
this[ '#' ].anchorNode.before( slottableElementClone );
|
|
194
|
-
console.log('////////---////---///', slottableElementClone);
|
|
195
193
|
} );
|
|
196
194
|
} );
|
|
197
195
|
}
|