From 1ca12ab32221933aece24e0be9122e1a3bcf5d40 Mon Sep 17 00:00:00 2001 From: Pleun Vanderbauwhede Date: Wed, 8 Aug 2018 16:48:12 +0200 Subject: [PATCH] fix(addStyles): use `var` instead of `const` (IE fix) (#338) --- lib/addStyles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addStyles.js b/lib/addStyles.js index 3f443a4b..077a368f 100644 --- a/lib/addStyles.js +++ b/lib/addStyles.js @@ -209,7 +209,7 @@ function createStyleElement (options) { } if(options.attrs.nonce === undefined) { - const nonce = getNonce(); + var nonce = getNonce(); if (nonce) { options.attrs.nonce = nonce; }