MCPcopy Create free account
hub / github.com/Phlow/feeling-responsive / D

Function D

assets/js/javascript.min.js:45–53  ·  view source on GitHub ↗
(e,t,n)

Source from the content-addressed store, hash-verified

43return e}function N(e,t,n,i,r){return new N.prototype.init(e,t,n,i,r)}function F(){return setTimeout(function(){Ge=void 0}),Ge=Z.now()}function j(e,t){var n,i=0,r={height:e}
44for(t=t?1:0;4>i;i+=2-t)n=we[i],r["margin"+n]=r["padding"+n]=e
45return t&&(r.opacity=r.width=e),r}function A(e,t,n){for(var i,r=(nt[t]||[]).concat(nt["*"]),o=0,s=r.length;s>o;o++)if(i=r[o].call(n,t,e))return i}function D(e,t,n){var i,r,o,s,a,l,c,u,d=this,f={},h=e.style,p=e.nodeType&&ke(e),g=ve.get(e,"fxshow")
46n.queue||(a=Z._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,Z.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],c=Z.css(e,"display"),u="none"===c?ve.get(e,"olddisplay")||b(e.nodeName):c,"inline"===u&&"none"===Z.css(e,"float")&&(h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))
47for(i in t)if(r=t[i],Ke.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue
48p=!0}f[i]=g&&g[i]||Z.style(e,i)}else c=void 0
49if(Z.isEmptyObject(f))"inline"===("none"===c?b(e.nodeName):c)&&(h.display=c)
50else{g?"hidden"in g&&(p=g.hidden):g=ve.access(e,"fxshow",{}),o&&(g.hidden=!p),p?Z(e).show():d.done(function(){Z(e).hide()}),d.done(function(){var t
51ve.remove(e,"fxshow")
52for(t in f)Z.style(e,t,f[t])})
53for(i in f)s=A(p?g[i]:0,i,d),i in g||(g[i]=s.start,p&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function q(e,t){var n,i,r,o,s
54for(n in e)if(i=Z.camelCase(n),r=t[i],o=e[n],Z.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),s=Z.cssHooks[i],s&&"expand"in s){o=s.expand(o),delete e[i]
55for(n in o)n in e||(e[n]=o[n],t[n]=r)}else t[i]=r}function L(e,t,n){var i,r,o=0,s=tt.length,a=Z.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1
56for(var t=Ge||F(),n=Math.max(0,c.startTime+c.duration-t),i=n/c.duration||0,o=1-i,s=0,l=c.tweens.length;l>s;s++)c.tweens[s].run(o)

Callers

nothing calls this directly

Calls 5

keFunction · 0.85
ZFunction · 0.85
lFunction · 0.70
bFunction · 0.70
AFunction · 0.70

Tested by

no test coverage detected