diff options
author | Mark Otto <markdotto@gmail.com> | 2017-06-30 07:31:11 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-06-30 07:31:11 +0300 |
commit | f46f26bbaa16486bdfe07789a1491cc05eec8dcb (patch) | |
tree | ead610844e1ee1b04e82f73b8b6f5bd4e7c54f18 /js/dist/util.js | |
parent | 41f8af8afa16afb05d8842bbd39f3bf37e3b8567 (diff) |
build
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 58d5dd9e63..034895948f 100644 --- a/js/dist/util.js +++ b/js/dist/util.js @@ -22,10 +22,9 @@ 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(); } @@ -39,7 +38,8 @@ 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; } |