aboutsummaryrefslogtreecommitdiff
path: root/js/dist/util.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-06-18 18:32:16 -0700
committerMark Otto <[email protected]>2017-06-18 18:32:16 -0700
commit16d77b4cb07f575d45ae486125ea9df06bd45d3f (patch)
tree604dfa1acc7c6cbc11776d8a2f363e131cbe8507 /js/dist/util.js
parenteed427690b8b2abfab6998be942c9ecbff08ff06 (diff)
downloadbootstrap-16d77b4cb07f575d45ae486125ea9df06bd45d3f.tar.xz
bootstrap-16d77b4cb07f575d45ae486125ea9df06bd45d3f.zip
build
Diffstat (limited to 'js/dist/util.js')
-rw-r--r--js/dist/util.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/dist/util.js b/js/dist/util.js
index 034895948..58d5dd9e6 100644
--- a/js/dist/util.js
+++ b/js/dist/util.js
@@ -22,9 +22,10 @@ var Util = function ($) {
MozTransition: 'transitionend',
OTransition: 'oTransitionEnd otransitionend',
transition: 'transitionend'
+ };
- // shoutout AngusCroll (https://goo.gl/pxwQGp)
- };function toType(obj) {
+ // shoutout AngusCroll (https://goo.gl/pxwQGp)
+ function toType(obj) {
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
}
@@ -38,8 +39,7 @@ var Util = function ($) {
delegateType: transition.end,
handle: function handle(event) {
if ($(event.target).is(this)) {
- return event.handleObj.handler.apply(this, arguments // eslint-disable-line prefer-rest-params
- );
+ return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
}
return undefined;
}