Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Merge requests
!2153
reduce max calls to $.browser from 3 to 1
Code
Review changes
Check out branch
Download
Email patches
Plain diff
Closed
Administrator
requested to merge
github/fork/darrhiggs/patch-1
into
master
13 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Created by: darrhiggs
http://jsperf.com/quicky
0
0
Compare
master
master (base)
and
latest version
latest version
029669f6
1 commit,
2 years ago
1 file
+
5
-
5
Expand all files
Preferences
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
js/bootstrap-transition.js
+
5
-
5
Options
View file @ 029669f6
Show full file
@@ -32,17 +32,17 @@
,
support
=
thisStyle
.
transition
!==
undefined
||
thisStyle
.
WebkitTransition
!==
undefined
||
thisStyle
.
MozTransition
!==
undefined
||
thisStyle
.
MsTransition
!==
undefined
||
thisStyle
.
OTransition
!==
undefined
return
support
&&
{
end
:
(
function
()
{
end
:
(
function
(
browser
)
{
var
transitionEnd
=
"
TransitionEnd
"
if
(
$
.
browser
.
webkit
)
{
if
(
browser
.
webkit
)
{
transitionEnd
=
"
webkitTransitionEnd
"
}
else
if
(
$
.
browser
.
mozilla
)
{
}
else
if
(
browser
.
mozilla
)
{
transitionEnd
=
"
transitionend
"
}
else
if
(
$
.
browser
.
opera
)
{
}
else
if
(
browser
.
opera
)
{
transitionEnd
=
"
oTransitionEnd
"
}
return
transitionEnd
}())
}(
$
.
browser
))
}
})()
Menu
Explore
Projects
Groups
Snippets