ignore case (#25373)

Less on 2 symbols
This commit is contained in:
denisx 2018-01-21 22:51:49 +03:00 committed by XhmikosR
parent bd9084d249
commit db70164d13
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const Util = (($) => {
// Shoutout AngusCroll (https://goo.gl/pxwQGp) // Shoutout AngusCroll (https://goo.gl/pxwQGp)
function toType(obj) { function toType(obj) {
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase() return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase()
} }
function getSpecialTransitionEndEvent() { function getSpecialTransitionEndEvent() {