Sha256: 41e2dc862bc9b4452f2f24c50b3895eff8b13256ccbe96549ba1d78bb6bfa17b
Contents?: true
Size: 1.99 KB
Versions: 10
Compression:
Stored size: 1.99 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"bootstrap/transition.js; FI" pathname; TI"r/Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts/bootstrap/transition.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+aSI"length; TiI"digest; TI"%3f1aaa88f4cafe3575d62da423da6afc; FI"source; TI"/* ======================================================================== * Bootstrap: transition.js v3.1.1 * http://getbootstrap.com/javascript/#transitions * ======================================================================== * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ +function ($) { 'use strict'; // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) // ============================================================ function transitionEnd() { var el = document.createElement('bootstrap') var transEndEventNames = { WebkitTransition : 'webkitTransitionEnd', MozTransition : 'transitionend', OTransition : 'oTransitionEnd otransitionend', transition : 'transitionend' } for (var name in transEndEventNames) { if (el.style[name] !== undefined) { return { end: transEndEventNames[name] } } } return false // explicit for ie8 ( ._.) } // http://blog.alexmaccaw.com/css-transitions $.fn.emulateTransitionEnd = function (duration) { var called = false, $el = this $(this).one($.support.transition.end, function () { called = true }) var callback = function () { if (!called) $($el).trigger($.support.transition.end) } setTimeout(callback, duration) return this } $(function () { $.support.transition = transitionEnd() }) }(jQuery); ; TI"required_assets_digest; TI"%1a475b59e69805770344ea68037ae3ab; FI" _version; TI"%2b66aa67c90052d553e0328c249bc9b0; F
Version data entries
10 entries across 5 versions & 1 rubygems