mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
Remove ES2015 let from css block
This commit is contained in:
parent
e42f12320b
commit
0631eaec3e
@ -255,7 +255,7 @@ export default function dom ( parsed, source, options, names ) {
|
||||
|
||||
if ( parsed.css && options.css !== false ) {
|
||||
builders.main.addBlock( deindent`
|
||||
let addedCss = false;
|
||||
var addedCss = false;
|
||||
function addCss () {
|
||||
var style = ${generator.helper( 'createElement' )}( 'style' );
|
||||
style.textContent = ${JSON.stringify( processCss( parsed, generator.code ) )};
|
||||
|
Loading…
Reference in New Issue
Block a user