Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 78d3cb7

Browse files
committed
remove unintended global.
1 parent bc3d3d6 commit 78d3cb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/base.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
var hasNative = ('import' in document.createElement('link'));
1313
var useNative = hasNative;
1414

15-
isIE = /Trident/.test(navigator.userAgent);
15+
var isIE = /Trident/.test(navigator.userAgent);
1616

1717
// TODO(sorvell): SD polyfill intrusion
1818
var hasShadowDOMPolyfill = Boolean(window.ShadowDOMPolyfill);
1919
var wrap = function(node) {
2020
return hasShadowDOMPolyfill ? ShadowDOMPolyfill.wrapIfNeeded(node) : node;
2121
};
22+
2223
var mainDoc = wrap(document);
2324

2425
// NOTE: We cannot polyfill document.currentScript because it's not possible

0 commit comments

Comments
 (0)