Sha256: 6bede6e417288eaa90e761f451602b3fb2a36ca857510f9bc4e74c364c437683

Contents?: true

Size: 1.72 KB

Versions: 39

Compression:

Stored size: 1.72 KB

Contents

/* ===================================================
 * bootstrap-transition.js v2.1.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"; // jshint ;_;


    /* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
     * ======================================================= */

    $.support.transition = (function () {

      var transitionEnd = (function () {

        var el = document.createElement('bootstrap')
          , transEndEventNames = {
               'WebkitTransition' : 'webkitTransitionEnd'
            ,  'MozTransition'    : 'transitionend'
            ,  'OTransition'      : 'oTransitionEnd otransitionend'
            ,  'transition'       : 'transitionend'
            }
          , name

        for (name in transEndEventNames){
          if (el.style[name] !== undefined) {
            return transEndEventNames[name]
          }
        }

      }())

      return transitionEnd && {
        end: transitionEnd
      }

    })()

  })

}(window.jQuery);

Version data entries

39 entries across 39 versions & 8 rubygems

Version Path
kirgudu_base-0.0.25 app/assets/javascripts/kirgudu_base/bootstrap/bootstrap-transition.js
kirgudu_base-0.0.23 app/assets/javascripts/kirgudu_base/bootstrap/bootstrap-transition.js
kirgudu_base-0.0.22 app/assets/javascripts/kirgudu_base/bootstrap/bootstrap-transition.js
kirgudu_base-0.0.21 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.19 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.18 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.17 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.16 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.15 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.14 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.13 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.12 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.11 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.10 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.9 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.8 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.7 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.6 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.5 app/assets/javascripts/kirgudu_base/bootstrap-transition.js
kirgudu_base-0.0.4 app/assets/javascripts/kirgudu_base/bootstrap-transition.js