@webqit/oohtml 4.1.1-debug.0 → 4.1.1-debug.2
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/README.md +1 -2
- package/dist/html-imports.js +1 -1
- package/dist/html-imports.js.map +2 -2
- package/dist/main.js +11 -11
- package/dist/main.js.map +2 -2
- package/dist/main.lite.js +1 -1
- package/dist/main.lite.js.map +2 -2
- package/package.json +1 -1
- package/src/html-imports/_HTMLImportElement.js +3 -0
- package/src/html-imports/index.js +0 -1
package/package.json
CHANGED
|
@@ -154,6 +154,8 @@ export default function() {
|
|
|
154
154
|
* @return void
|
|
155
155
|
*/
|
|
156
156
|
fill( slottableElements ) {
|
|
157
|
+
console.log('////////--///////', slottableElements);
|
|
158
|
+
|
|
157
159
|
if ( Array.isArray( slottableElements ) ) { slottableElements = new Set( slottableElements ) }
|
|
158
160
|
// This state must be set before the diffing below and the serialization done at createAnchorNode()
|
|
159
161
|
this.el.setAttribute( 'data-nodecount', slottableElements.size );
|
|
@@ -189,6 +191,7 @@ export default function() {
|
|
|
189
191
|
_( slottableElementClone ).set( 'slot@imports', this.el );
|
|
190
192
|
this[ '#' ].slottedElements.add( slottableElementClone );
|
|
191
193
|
this[ '#' ].anchorNode.before( slottableElementClone );
|
|
194
|
+
console.log('////////---////---///', slottableElementClone);
|
|
192
195
|
} );
|
|
193
196
|
} );
|
|
194
197
|
}
|
|
@@ -165,7 +165,6 @@ function realtime( config ) {
|
|
|
165
165
|
record.exits.forEach( node => handleRealtime( node, false, record ) );
|
|
166
166
|
}, { live: true, subtree: 'cross-roots', timing: 'sync' } );
|
|
167
167
|
function handleRealtime( entry, connectedState ) {
|
|
168
|
-
console.log('///////////////', entry, connectedState);
|
|
169
168
|
const elInstance = HTMLImportElement.instance( entry );
|
|
170
169
|
if ( connectedState ) { elInstance[ '#' ].connectedCallback(); }
|
|
171
170
|
else { elInstance[ '#' ].disconnectedCallback(); }
|