File tree Expand file tree Collapse file tree
utils/misc/html-entities/v2.0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 console . log ( 'html-entities-v2.0.html' ) ;
4646 console . log ( ) ;
4747 console . json = v => console . log ( JSON . stringify ( v , null , 4 ) ) ;
48- var df = true , version = 'v2.0'
49- ;
48+ var version = 'v2.0' ;
49+ var df = true ;
50+
5051
5152
5253 var he ;
221222
222223 < div id =center >
223224
224- < misc-hdr component =grp >
225- < img class =title src ='images/html-entities.png ' style ='top:-20px;height:80px ' alt =html-entities >
225+ < misc-hdr v2.0 component =grp >
226+ < img slot = title class =title src ='images/html-entities.png ' style ='top:-20px;height:80px ' alt =html-entities >
226227 < time slot =date datetime =2025-10-31 > 31 Oct 2025</ time >
228+
227229 </ misc-hdr >
228230
229231
266268
267269 root = rootnode ;
268270
269- var hdr = $ ( root , '#hdr' ) ;
271+ hdr . initdom ( ) ;
272+ hdr . set . version ( version ) ;
273+
274+ var r1 = $ ( root , '#hdr' ) ;
270275
271- filemod . initdom ( hdr ) ;
276+ filemod . initdom ( r1 ) ;
272277
273- $ ( hdr , '[value=encode]' ) . onclick = btn . encode ;
274- $ ( hdr , '[value=decode]' ) . onclick = btn . decode ;
278+ $ ( r1 , '[value=encode]' ) . onclick = btn . encode ;
279+ $ ( r1 , '[value=decode]' ) . onclick = btn . decode ;
275280
276281
277282
You can’t perform that action at this time.
0 commit comments