diff options
author | Mark Otto <markdotto@gmail.com> | 2017-07-01 01:45:27 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-07-01 01:45:27 +0300 |
commit | 7f6479b0d9878dc8fc2de2a6787ec0f6450b46c9 (patch) | |
tree | dc9802745b6ba7d151a2c0a4df296555e46a968b /js/dist/util.js | |
parent | a7a47081f21c69159cfa5734e9deb2be3a1acaad (diff) |
build dist
Diffstat (limited to 'js/dist/util.js')
-rw-r--r-- | js/dist/util.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/dist/util.js b/js/dist/util.js index 034895948f..58d5dd9e63 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; } |