From 01080cf17fde910152fee02a355ed24c2374d2f9 Mon Sep 17 00:00:00 2001 From: Denis Koltsov Date: Wed, 15 Mar 2017 23:51:33 +0100 Subject: [PATCH] fix: syntax error in IE10 and below because of `const` keyword (#190) --- addStyles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addStyles.js b/addStyles.js index 9249cf32..5094f85d 100644 --- a/addStyles.js +++ b/addStyles.js @@ -249,7 +249,7 @@ function updateLink(linkElement, options, obj) { on by default. Otherwise default to the convertToAbsoluteUrls option directly */ - const autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap; + var autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap; if (options.convertToAbsoluteUrls || autoFixUrls){ css = fixUrls(css);