1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/js/bootstrap-transition.js Fri Jul 04 16:42:41 2014 +0400
1.3 @@ -0,0 +1,60 @@
1.4 +/* ===================================================
1.5 + * bootstrap-transition.js v2.3.1
1.6 + * http://twitter.github.com/bootstrap/javascript.html#transitions
1.7 + * ===================================================
1.8 + * Copyright 2012 Twitter, Inc.
1.9 + *
1.10 + * Licensed under the Apache License, Version 2.0 (the "License");
1.11 + * you may not use this file except in compliance with the License.
1.12 + * You may obtain a copy of the License at
1.13 + *
1.14 + * http://www.apache.org/licenses/LICENSE-2.0
1.15 + *
1.16 + * Unless required by applicable law or agreed to in writing, software
1.17 + * distributed under the License is distributed on an "AS IS" BASIS,
1.18 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1.19 + * See the License for the specific language governing permissions and
1.20 + * limitations under the License.
1.21 + * ========================================================== */
1.22 +
1.23 +
1.24 +!function ($) {
1.25 +
1.26 + "use strict"; // jshint ;_;
1.27 +
1.28 +
1.29 + /* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
1.30 + * ======================================================= */
1.31 +
1.32 + $(function () {
1.33 +
1.34 + $.support.transition = (function () {
1.35 +
1.36 + var transitionEnd = (function () {
1.37 +
1.38 + var el = document.createElement('bootstrap')
1.39 + , transEndEventNames = {
1.40 + 'WebkitTransition' : 'webkitTransitionEnd'
1.41 + , 'MozTransition' : 'transitionend'
1.42 + , 'OTransition' : 'oTransitionEnd otransitionend'
1.43 + , 'transition' : 'transitionend'
1.44 + }
1.45 + , name
1.46 +
1.47 + for (name in transEndEventNames){
1.48 + if (el.style[name] !== undefined) {
1.49 + return transEndEventNames[name]
1.50 + }
1.51 + }
1.52 +
1.53 + }())
1.54 +
1.55 + return transitionEnd && {
1.56 + end: transitionEnd
1.57 + }
1.58 +
1.59 + })()
1.60 +
1.61 + })
1.62 +
1.63 +}(window.jQuery);
1.64 \ No newline at end of file