File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
html-components/list/snippet-html-console Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 105105 </ script >
106106
107107
108- < link rel =stylesheet href ='../css/component.css '>
108+ < link rel =stylesheet href ='../css/component.css ' crossorigin = anonymous >
109109
110110 < style >
111-
112- body
113- {margin-top : 90px }
114-
115- html-components-hdr
116- {position : fixed;z-index : 1 ;background : white;top : 0px ;padding-top : 20px }
117-
118111 </ style >
119112
120113 </ head >
@@ -196,12 +189,14 @@ <h3>
196189 var html = md . render ( md_txt ) ;
197190 $ ( '#readme' ) . innerHTML = html ;
198191
192+ var keys = Object . keys ( files . examples ) ;
193+ var initial = keys [ 0 ] ;
199194
200195 files = dirtree . build ( files ) ;
201196 dirtree . display ( files , { callback} ) ;
202197
198+ await show . examples ( initial ) ;
203199
204- await show . examples ( 'filemod-v2.0-test.html' ) ;
205200 $ ( '#view' ) . style . display = '' ;
206201
207202
You can’t perform that action at this time.
0 commit comments