PageSourceSearch

https://mxdm999.com/usr/themes/Joe-master/assets/plugin/twitter-bo…/3.4.1/js/transition.js?version=1.3294

js mxdm999.com collected 2026-10-06 13:14:45 UTC 1,741 bytes, 60 lines download raw bytes

vendor: 1,741 bytes, lines 1-60
1
2/* ========================================================================
3 * Bootstrap: transition.js v3.4.1
4 * https://getbootstrap.com/docs/3.4/javascript/#transitions
5 * ========================================================================
6 * Copyright 2011-2019 Twitter, Inc.
7 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
8 * ======================================================================== */
9
10
11+function ($) {
12	'use strict';
13
14	// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/)
15	// ============================================================
16
17	function transitionEnd() {
18		var el = document.createElement('bootstrap')
19
20		var transEndEventNames = {
21			WebkitTransition: 'webkitTransitionEnd',
22			MozTransition: 'transitionend',
23			OTransition: 'oTransitionEnd otransitionend',
24			transition: 'transitionend'
25		}
26
27		for (var name in transEndEventNames) {
28			if (el.style[name] !== undefined) {
29				return { end: transEndEventNames[name] }
30			}
31		}
32
33		return false // explicit for ie8 (  ._.)
34	}
35
36	// https://blog.alexmaccaw.com/css-transitions
37	$.fn.emulateTransitionEnd = function (duration) {
38		var called = false
39		var $el = this
40		$(this).one('bsTransitionEnd', function () { called = true })
41		var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
42		setTimeout(callback, duration)
43		return this
44	}
45
46	$(function () {
47		$.support.transition = transitionEnd()
48
49		if (!$.support.transition) return
50
51		$.event.special.bsTransitionEnd = {
52			bindType: $.support.transition.end,
53			delegateType: $.support.transition.end,
54			handle: function (e) {
55				if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
56			}
57		}
58	})
59
60}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.