From c44db783bf17c907dd46f53fdaa917ec74ffbded Mon Sep 17 00:00:00 2001 From: Johann-S Date: Wed, 25 Jul 2018 11:29:16 +0200 Subject: chore(update): bump to 4.1.3 --- js/src/index.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'js/src/index.js') diff --git a/js/src/index.js b/js/src/index.js index 0c662873d..aa35ed07b 100644 --- a/js/src/index.js +++ b/js/src/index.js @@ -3,9 +3,7 @@ import Button from './button' import Carousel from './carousel' import Collapse from './collapse' import Dropdown from './dropdown' -import EventHandler from './dom/eventHandler' import Modal from './modal' -import Polyfill from './dom/polyfill' import Popover from './popover' import ScrollSpy from './scrollspy' import Tab from './tab' @@ -20,21 +18,6 @@ import Util from './util' * -------------------------------------------------------------------------- */ -/* istanbul ignore next */ -// focusin and focusout polyfill -if (Polyfill.focusIn) { - (() => { - function listenerFocus(event) { - EventHandler.trigger(event.target, 'focusin') - } - function listenerBlur(event) { - EventHandler.trigger(event.target, 'focusout') - } - EventHandler.on(document, 'focus', 'input', listenerFocus) - EventHandler.on(document, 'blur', 'input', listenerBlur) - })() -} - export { Util, Alert, -- cgit v1.2.3