Skip to content

Commit e0336a4

Browse files
save file
1 parent 5197de9 commit e0336a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

html-components/ex/web-console-demo.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
mod['web-console'].log({hello:'world'});
1212

13-
var webconsole = document.querySelector('web-console').__obj;
13+
var host = document.querySelector('web-console')
14+
var webconsole = host.__obj;
1415
webconsole.log('this works too !');
1516

1617
}//ready

0 commit comments

Comments
 (0)