Sha256: 2159fdaa5cc0655c2f92b93145885001a375f84dd4e7f795ac0475f1bc7f8d19

Contents?: true

Size: 1.99 KB

Versions: 14

Compression:

Stored size: 1.99 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"bootstrap/transition.js;FI"
pathname;TI"r/home/mike/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.0/vendor/assets/javascripts/bootstrap/transition.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ÊISI"length;Ti	I"digest;TI"%b3d8c267d0be9cb3ea15f83eede7d85b;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"%1ea6742093bd5b0182dd4c3fe513fbb3;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
odania_core-0.0.8 test/dummy/tmp/cache/assets/development/sprockets/b6fcc10b6124611eab9cf69c974be018
odania_core-0.0.8 test/dummy/tmp/cache/assets/development/sprockets/2f48660b594f769c1d8e801598092a46
odania_core-0.0.7 test/dummy/tmp/cache/assets/development/sprockets/b6fcc10b6124611eab9cf69c974be018
odania_core-0.0.7 test/dummy/tmp/cache/assets/development/sprockets/2f48660b594f769c1d8e801598092a46
odania_core-0.0.6 test/dummy/tmp/cache/assets/development/sprockets/2f48660b594f769c1d8e801598092a46
odania_core-0.0.6 test/dummy/tmp/cache/assets/development/sprockets/b6fcc10b6124611eab9cf69c974be018
odania_core-0.0.5 test/dummy/tmp/cache/assets/development/sprockets/b6fcc10b6124611eab9cf69c974be018
odania_core-0.0.5 test/dummy/tmp/cache/assets/development/sprockets/2f48660b594f769c1d8e801598092a46
odania_core-0.0.4 test/dummy/tmp/cache/assets/development/sprockets/b6fcc10b6124611eab9cf69c974be018
odania_core-0.0.4 test/dummy/tmp/cache/assets/development/sprockets/2f48660b594f769c1d8e801598092a46
odania_core-0.0.3 test/dummy/tmp/cache/assets/development/sprockets/b6fcc10b6124611eab9cf69c974be018
odania_core-0.0.3 test/dummy/tmp/cache/assets/development/sprockets/2f48660b594f769c1d8e801598092a46
odania_core-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/2f48660b594f769c1d8e801598092a46
odania_core-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/b6fcc10b6124611eab9cf69c974be018