Sha256: 91458df25e43b0fe3946c7a92acd2ee9f22c8963d8a90b215ca8cc707f047942

Contents?: true

Size: 1.99 KB

Versions: 12

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"%7a04300d19a359c2c5e81c99f5c8ed74;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"%9ed47349c3136b7f7a265ce161be0c2e;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
storytime-1.0.2 spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a
storytime-1.0.2 spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05
storytime-1.0.1 spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05
storytime-1.0.1 spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a
storytime-1.0.0 spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05
storytime-1.0.0 spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a
storytime-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05
storytime-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a
storytime-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a
storytime-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05
storytime-0.0.1 spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05
storytime-0.0.1 spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a