File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
utils/browser-extensions/cors Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 113113
114114 < dir-tree component > </ dir-tree >
115115
116- < snippet-editor id =manifest component v2.0 src =' github:javascript-2020:browser-extensions:main:/cors/chrome/manifest.json ' > </ snippet-editor >
117- < snippet-editor id =extension component v2.0 src =' github:javascript-2020:browser-extensions:main:/cors/chrome/extension.js ' > </ snippet-editor >
116+ < snippet-editor id =manifest component v2.0 > </ snippet-editor >
117+ < snippet-editor id =extension component v2.0 > </ snippet-editor >
118118
119119
120120
@@ -192,6 +192,12 @@ <h3>
192192
193193 dirtree . display ( files . chrome ) ;
194194
195+ manifest . editor . filename ( 'manifest.json' ) ;
196+ extension . editor . filename ( 'extension.js' ) ;
197+
198+ load_github ( url . manifest ( 'chrome' ) ) . then ( txt => manifest . editor . setvalue ( txt ) ) ,
199+ load_github ( url . extension ( 'chrome' ) ) . then ( txt => extension . editor . setvalue ( txt ) ) ;
200+
195201
196202 } //initdom
197203
You can’t perform that action at this time.
0 commit comments