Explorar el Código

fixed Firefox issue when using parseSrcset

Gildas hace 7 años
padre
commit
e09d75dd07
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/single-file/single-file-browser.js

+ 1 - 1
lib/single-file/single-file-browser.js

@@ -83,7 +83,7 @@ this.SingleFile = (() => {
 				getComputedStyle,
 				document: doc,
 				serialize: () => getDoctype(doc) + doc.documentElement.outerHTML,
-				parseSrcset,
+				parseSrcset: srcset => parseSrcset(srcset),
 				uglifycss: (content, options) => uglifycss.processString(content, options)
 			};
 		}