Sha256: 25b21a7f87b28a46e013e0cd5bc162410bdc1b0c937a14027e8977e7b7cedcda

Contents?: true

Size: 1.83 KB

Versions: 176

Compression:

Stored size: 1.83 KB

Contents

/* ===================================================
 * bootstrap-transition.js v2.0.0
 * http://twitter.github.com/bootstrap/javascript.html#transitions
 * ===================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */

!function( $ ) {

  $(function () {

    "use strict"

    /* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
     * ======================================================= */

    $.support.transition = (function () {
      var thisBody = document.body || document.documentElement
        , thisStyle = thisBody.style
        , support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined

      return support && {
        end: (function () {
          var transitionEnd = "TransitionEnd"
          if ( $.browser.webkit ) {
          	transitionEnd = "webkitTransitionEnd"
          } else if ( $.browser.mozilla ) {
          	transitionEnd = "transitionend"
          } else if ( $.browser.opera ) {
          	transitionEnd = "oTransitionEnd"
          }
          return transitionEnd
        }())
      }
    })()

  })
  
}( window.jQuery )

Version data entries

176 entries across 119 versions & 19 rubygems

Version Path
milksteak-0.0.15 lib/public/milksteak/js/bootstrap-transition.js
mongo_fe-0.1.2 lib/mongo_fe/public/bootstrap/js/basic/bootstrap-transition.js
sidekiq-2.2.1 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
sidekiq-2.2.0 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
creeper-2.0.2 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
creeper-2.0.1 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
creeper-2.0.0 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
sidekiq-2.1.1 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
sidekiq-2.1.0 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
milksteak-0.0.13 lib/public/milksteak/js/bootstrap-transition.js
milksteak-0.0.12 lib/public/milksteak/js/bootstrap-transition.js
mongo_fe-0.1.1 lib/mongo_fe/public/bootstrap/js/basic/bootstrap-transition.js
mongo_fe-0.1.0 lib/mongo_fe/public/bootstrap/js/basic/bootstrap-transition.js
sidekiq-2.0.3 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
milksteak-0.0.11 lib/public/milksteak/js/bootstrap-transition.js
sidekiq-2.0.2 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
sidekiq-2.0.1 web/assets/javascripts/vendor/bootstrap/bootstrap-transition.js
milksteak-0.0.10 lib/public/milksteak/js/bootstrap-transition.js
milksteak-0.0.9 lib/public/milksteak/js/bootstrap-transition.js
milksteak-0.0.8 lib/public/milksteak/js/bootstrap-transition.js