7575 hdr . initmod ( { ext, $} ) ;
7676 log . initmod ( { ext, $} ) ;
7777
78-
79-
78+ ex [ 'firefox-manifest' ] = mod [ 'firefox-manifest' ] ;
79+ ex [ 'firefox-manifest' ] . initmod ( { ext, $, menu, menumod, ace} ) ;
80+ ex [ 'firefox-extension' ] = mod [ 'firefox-extension' ] ;
81+ ex [ 'firefox-extension' ] . initmod ( { ext, $, menu, menumod, ace} ) ;
82+
83+ ex [ 'chrome-manifest' ] = mod [ 'chrome-manifest' ] ;
84+ ex [ 'chrome-manifest' ] . initmod ( { ext, $, menu, menumod, ace} ) ;
85+ ex [ 'chrome-extension' ] = mod [ 'chrome-extension' ] ;
86+ ex [ 'chrome-extension' ] . initmod ( { ext, $, menu, menumod, ace} ) ;
87+
88+
8089
8190 await Promise . all ( [
8291 hdr . init ( ) ,
8392 log . init ( ) ,
84-
93+
94+ ex [ 'firefox-manifest' ] . init ( ) ,
95+ ex [ 'firefox-extension' ] . init ( ) ,
96+ ex [ 'chrome-manifest' ] . init ( ) ,
97+ ex [ 'chrome-extension' ] . init ( ) ,
98+
8599 ] ) ;
86100
87101
@@ -265,9 +279,9 @@ <h3 class=blog-hdr>
265279
266280 < img src ='ext/firefox/cubes.png '>
267281
268- < snippet-editor src ='ext/firefox/manifest.json ' mode =json fullsize component > </ snippet-editor >
282+ < snippet-editor id = firefox-manifest src ='ext/firefox/manifest.json ' mode =json fullsize component > </ snippet-editor >
269283
270- < snippet-editor src ='ext/firefox/extension.js ' mode =js fullsize component > </ snippet-editor >
284+ < snippet-editor id = firefox-extension src ='ext/firefox/extension.js ' mode =js fullsize component > </ snippet-editor >
271285 </ section >
272286
273287
@@ -278,9 +292,9 @@ <h3 class=bog-hdr>
278292
279293 < img src ='ext/chrome/cubes.png '>
280294
281- < snippet-editor src ='ext/chrome/manifest.json ' mode =json fullsize component > </ snippet-editor >
295+ < snippet-editor id = chrome-manifest src ='ext/chrome/manifest.json ' mode =json fullsize component > </ snippet-editor >
282296
283- < snippet-editor src ='ext/chrome/extension.js ' mode =js fullsize component > </ snippet-editor >
297+ < snippet-editor id = chrome-extension src ='ext/chrome/extension.js ' mode =js fullsize component > </ snippet-editor >
284298 </ section >
285299
286300
@@ -299,7 +313,12 @@ <h3 class=bog-hdr>
299313
300314 hdr . initdom ( ) ;
301315 log . initdom ( ) ;
302-
316+
317+
318+ ex [ 'firefox-manifest' ] . initdom ( ) ;
319+ ex [ 'firefox-extension' ] . initdom ( ) ;
320+ ex [ 'chrome-manifest' ] . initdom ( ) ;
321+ ex [ 'chrome-extension' ] . initdom ( ) ;
303322
304323 } //initdom
305324
0 commit comments