fix: css var polyfill

This commit is contained in:
qingwei.li 2017-02-07 20:17:54 +08:00
parent 8c7e4d7866
commit 8cd386ae49

View File

@ -16,7 +16,7 @@ export function cssVars () {
} else if (block.nodeName === 'LINK') {
const href = block.getAttribute('href')
if (/\.css$/.test(href)) return
if (!/\.css$/.test(href)) return
load(href).then(res => {
const style = document.createElement('style')