fix(dependencies): fix versions

This commit is contained in:
Alexander Zhukov 2017-02-16 12:47:26 +03:00
parent 62810aeb3d
commit 5523029e88
4 changed files with 144 additions and 113 deletions

View file

@ -64,10 +64,12 @@ function createTag(tagName, attrMap, publicPath) {
}
}
return name + '="' + value + '"';
return `${name}="${value}"`;
});
return '<' + tagName + ' ' + attributes.join(' ') + '>';
const closingTag = tagName === 'script' ? '</script>' : '';
return `<${tagName} ${attributes.join(' ')}>${closingTag}`;
}
/**