Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !2153

reduce max calls to $.browser from 3 to 1

  • Review changes

  • 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

Compare
  • master (base)

and
  • latest version
    029669f6
    1 commit, 2 years ago

1 file
+ 5
- 5

    Preferences

    File browser
    Compare changes
js/bootstrap-transition.js
+ 5
- 5
  • View file @ 029669f6


@@ -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 ))
}
})()
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
1
js
1
js
    Assign labels
  • Manage project labels

Milestone
v3.3.4
v3.3.4
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: twbs/bootstrap!15681
Source branch: github/fork/darrhiggs/patch-1

Menu

Explore Projects Groups Snippets