diff --git a/src/wrappers.js b/src/wrappers.js index 28f7536..9a4db8a 100644 --- a/src/wrappers.js +++ b/src/wrappers.js @@ -21,6 +21,7 @@ var ShadowDOMPolyfill = {}; var f = new Function('', 'return true;'); hasEval = f(); } catch (ex) { + hasEval = false; } } @@ -370,4 +371,4 @@ var ShadowDOMPolyfill = {}; scope.wrapIfNeeded = wrapIfNeeded; scope.wrappers = wrappers; -})(this.ShadowDOMPolyfill); \ No newline at end of file +})(this.ShadowDOMPolyfill);