summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-01-05 16:28:02 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-01-05 16:28:02 +0000
commit5c46a45979de49776983c6e7c0263e4156bb1069 (patch)
treeb03d127e034f352766610dd81930852d0feb244f /app
parentc15e36b2d728eebd1b3879de229939dde45328ab (diff)
parentafb857d1e72d31b9e93cb7b2443fcf40851f85e0 (diff)
downloadgitlab-ce-5c46a45979de49776983c6e7c0263e4156bb1069.tar.gz
Merge branch 'remove-custom-event-polyfill' into 'master'
Removes CustomEvent polyfill and tests See merge request !8400
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/lib/utils/custom_event_polyfill.js.es612
1 files changed, 0 insertions, 12 deletions
diff --git a/app/assets/javascripts/lib/utils/custom_event_polyfill.js.es6 b/app/assets/javascripts/lib/utils/custom_event_polyfill.js.es6
deleted file mode 100644
index 5ae978010c9..00000000000
--- a/app/assets/javascripts/lib/utils/custom_event_polyfill.js.es6
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * CustomEvent support for IE
- */
-if (typeof window.CustomEvent !== 'function') {
- window.CustomEvent = function CustomEvent(e, params) {
- const options = params || { bubbles: false, cancelable: false, detail: undefined };
- const evt = document.createEvent('CustomEvent');
- evt.initCustomEvent(e, options.bubbles, options.cancelable, options.detail);
- return evt;
- };
- window.CustomEvent.prototype = window.Event.prototype;
-}