File tree 2 files changed +0
-19
lines changed
2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ logger.info('start -> blocking initialization');
111
111
112
112
registry_ . hooks_on_register . forEach ( hook => hook ( { cls } ) ) ;
113
113
114
- console . log ( 'registered class' , id , registry_ ) ;
115
-
116
114
// Find class that owns 'on_self_registered' hook
117
115
let owner = cls ;
118
116
while (
@@ -133,7 +131,6 @@ logger.info('start -> blocking initialization');
133
131
} ;
134
132
135
133
scope . use = id => {
136
- console . log ( 'use called with id: ' , id ) ;
137
134
if ( id === undefined ) {
138
135
return registry_ . classes_m ;
139
136
}
@@ -142,13 +139,6 @@ logger.info('start -> blocking initialization');
142
139
throw new Error ( `Class with ID ${ id } not registered` ) ;
143
140
}
144
141
145
- console . log (
146
- 'okay it\'s going to return:' ,
147
- registry_ . classes_m [ id ] ,
148
- 'and the entire map is this: ' ,
149
- registry_ . classes_m
150
- )
151
-
152
142
return registry_ . classes_m [ id ] ;
153
143
}
154
144
} ) ( globalThis ) ;
Original file line number Diff line number Diff line change @@ -37,16 +37,10 @@ export const Component = def(class Component extends HTMLElement {
37
37
38
38
// Automatically define components for all HTML elements
39
39
on_other_registered ( ( { cls } ) => {
40
- console . log ( 'detected class' , cls . ID ) ;
41
40
if ( cls . ID === 'ui.component.StepHeading' ) {
42
41
globalThis . sh_shouldbe = cls ;
43
- console . log (
44
- 'this is what StepHeading should be' ,
45
- cls
46
- ) ;
47
42
}
48
43
if ( globalThis . lib . is_subclass ( cls , HTMLElement ) ) {
49
- console . log ( 'registering as an element' ) ;
50
44
defineComponent ( cls ) ;
51
45
}
52
46
} ) ;
@@ -222,9 +216,6 @@ export const defineComponent = (component) => {
222
216
// TODO: This is necessary because files can be loaded from
223
217
// both `/src/UI` and `/UI` in the URL; we need to fix that
224
218
if ( customElements . get ( name ) ) return ;
225
-
226
- // console.log('[surely] defining', name, 'as', component);
227
-
228
219
customElements . define ( name , component ) ;
229
220
component . defined_as = name ;
230
221
}
You can’t perform that action at this time.
0 commit comments