Remove ES2015 let from css block

pull/7738/head
Tim Hall 9 years ago committed by Taylor Zane Glaeser
parent 04874b8b7f
commit 8b30a436b9

@ -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…
Cancel
Save