File indexing completed on 2024-12-22 05:33:16
0001 /* =================================================== 0002 * bootstrap-transition.js v2.0.4 0003 * http://twitter.github.com/bootstrap/javascript.html#transitions 0004 * =================================================== 0005 * Copyright 2012 Twitter, Inc. 0006 * 0007 * Licensed under the Apache License, Version 2.0 (the "License"); 0008 * you may not use this file except in compliance with the License. 0009 * You may obtain a copy of the License at 0010 * 0011 * http://www.apache.org/licenses/LICENSE-2.0 0012 * 0013 * Unless required by applicable law or agreed to in writing, software 0014 * distributed under the License is distributed on an "AS IS" BASIS, 0015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0016 * See the License for the specific language governing permissions and 0017 * limitations under the License. 0018 * ========================================================== */ 0019 0020 0021 !function ($) { 0022 0023 $(function () { 0024 0025 "use strict"; // jshint ;_; 0026 0027 0028 /* CSS TRANSITION SUPPORT (http://www.modernizr.com/) 0029 * ======================================================= */ 0030 0031 $.support.transition = (function () { 0032 0033 var transitionEnd = (function () { 0034 0035 var el = document.createElement('bootstrap') 0036 , transEndEventNames = { 0037 'WebkitTransition' : 'webkitTransitionEnd' 0038 , 'MozTransition' : 'transitionend' 0039 , 'OTransition' : 'oTransitionEnd' 0040 , 'msTransition' : 'MSTransitionEnd' 0041 , 'transition' : 'transitionend' 0042 } 0043 , name 0044 0045 for (name in transEndEventNames){ 0046 if (el.style[name] !== undefined) { 0047 return transEndEventNames[name] 0048 } 0049 } 0050 0051 }()) 0052 0053 return transitionEnd && { 0054 end: transitionEnd 0055 } 0056 0057 })() 0058 0059 }) 0060 0061 }(window.jQuery);