indvd00m@0: /* =================================================== indvd00m@0: * bootstrap-transition.js v2.3.1 indvd00m@0: * http://twitter.github.com/bootstrap/javascript.html#transitions indvd00m@0: * =================================================== indvd00m@0: * Copyright 2012 Twitter, Inc. indvd00m@0: * indvd00m@0: * Licensed under the Apache License, Version 2.0 (the "License"); indvd00m@0: * you may not use this file except in compliance with the License. indvd00m@0: * You may obtain a copy of the License at indvd00m@0: * indvd00m@0: * http://www.apache.org/licenses/LICENSE-2.0 indvd00m@0: * indvd00m@0: * Unless required by applicable law or agreed to in writing, software indvd00m@0: * distributed under the License is distributed on an "AS IS" BASIS, indvd00m@0: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. indvd00m@0: * See the License for the specific language governing permissions and indvd00m@0: * limitations under the License. indvd00m@0: * ========================================================== */ indvd00m@0: indvd00m@0: indvd00m@0: !function ($) { indvd00m@0: indvd00m@0: "use strict"; // jshint ;_; indvd00m@0: indvd00m@0: indvd00m@0: /* CSS TRANSITION SUPPORT (http://www.modernizr.com/) indvd00m@0: * ======================================================= */ indvd00m@0: indvd00m@0: $(function () { indvd00m@0: indvd00m@0: $.support.transition = (function () { indvd00m@0: indvd00m@0: var transitionEnd = (function () { indvd00m@0: indvd00m@0: var el = document.createElement('bootstrap') indvd00m@0: , transEndEventNames = { indvd00m@0: 'WebkitTransition' : 'webkitTransitionEnd' indvd00m@0: , 'MozTransition' : 'transitionend' indvd00m@0: , 'OTransition' : 'oTransitionEnd otransitionend' indvd00m@0: , 'transition' : 'transitionend' indvd00m@0: } indvd00m@0: , name indvd00m@0: indvd00m@0: for (name in transEndEventNames){ indvd00m@0: if (el.style[name] !== undefined) { indvd00m@0: return transEndEventNames[name] indvd00m@0: } indvd00m@0: } indvd00m@0: indvd00m@0: }()) indvd00m@0: indvd00m@0: return transitionEnd && { indvd00m@0: end: transitionEnd indvd00m@0: } indvd00m@0: indvd00m@0: })() indvd00m@0: indvd00m@0: }) indvd00m@0: indvd00m@0: }(window.jQuery);