diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-18 13:18:18 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-18 13:18:18 +0100 |
commit | 50ab9266a8a51a281b835dd90e72990c9c775d4f (patch) | |
tree | 0c8c6af85b4f9122cca09dfe9b70b499c2ea22aa /src | |
parent | c482c602500494c8f30357284fd873046296ab65 (diff) | |
download | svg.js-50ab9266a8a51a281b835dd90e72990c9c775d4f.tar.gz svg.js-50ab9266a8a51a281b835dd90e72990c9c775d4f.zip |
missed one
Diffstat (limited to 'src')
-rw-r--r-- | src/polyfill.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyfill.js b/src/polyfill.js index 06ae0fd..d99ab76 100644 --- a/src/polyfill.js +++ b/src/polyfill.js @@ -1,5 +1,5 @@ // Add CustomEvent to IE9 and IE10 -if (typeof CustomEvent !== 'function') { +if (typeof window.CustomEvent !== 'function') { // Code from: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent var CustomEvent = function(event, options) { options = options || { bubbles: false, cancelable: false, detail: undefined } |