Skip to content

Commit 87fdd4e

Browse files
save file
1 parent 7295304 commit 87fdd4e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎utils/editors/js-console/html/output-console/output-console.html‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,9 @@
267267
debug('initdom');
268268
shadow = host.shadowRoot;
269269

270-
var style = $(shadow,'style');
271-
$.stylesheet.copyrule('#page-inline','.icon',style);
270+
var style2 = $(shadow,'style');
271+
$.stylesheet.copyrule('#page-inline','.icon',style2);
272+
$.editor.ace.import_style(shadow,()=>shadow.append(style));
272273

273274

274275
root = $(shadow,'#root');
@@ -295,7 +296,9 @@
295296
output = $(shadow,'#output');
296297
cur.root = output;
297298

299+
298300
output_console = $(shadow,'#output-console');
301+
obj.set.type('console');
299302
jsconsole = jsconsolemod.create(output_console);
300303

301304
shadow.append(style);
@@ -648,7 +651,7 @@
648651

649652

650653
obj.set.type = function(type){
651-
654+
debug('set.type',type);
652655
switch(type){
653656

654657
case 'console' :

0 commit comments

Comments
 (0)