File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "name" : " javascript-repl" ,
33 "svelte" : " src/Repl.svelte" ,
44 "module" : " index.mjs" ,
5- "version" : " 0.4.2 " ,
5+ "version" : " 0.4.3 " ,
66 "description" : " " ,
77 "main" : " index.js" ,
88 "author" : " Mila Frerichs <mila.frerichs@gmail.com>" ,
Original file line number Diff line number Diff line change 2121 let editor;
2222 let manualUpdates = false ;
2323 let currentContent = ' ' ;
24- let iframeComtainerWidth ;
25- let iframeComtainerHeight ;
24+ let width ;
25+ let height ;
2626
2727 const layouts = new Map ([
2828 [ ' default' , Default ],
143143 }
144144 </style >
145145
146- <svelte:component this ={selectedLayout } {cssStyles } let :width ={width } let :height ={height } >
146+ <svelte:component this ={selectedLayout } {cssStyles } bind :width ={width } bind :height ={height } >
147147 <div slot =" editor" >
148148 <Editor bind:this ={editor } on:change ={debounceChangeCode }/>
149149 </div >
You can’t perform that action at this time.
0 commit comments