MCPcopy Index your code
hub / github.com/Phlow/feeling-responsive / S

Function S

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

Source from the content-addressed store, hash-verified

37return i}function C(e,t,n){var i=Xe.exec(t)
38return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function T(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=Z.css(e,n+we[o],!0,r)),i?("content"===n&&(s-=Z.css(e,"padding"+we[o],!0,r)),"margin"!==n&&(s-=Z.css(e,"border"+we[o]+"Width",!0,r))):(s+=Z.css(e,"padding"+we[o],!0,r),"padding"!==n&&(s+=Z.css(e,"border"+we[o]+"Width",!0,r)))
39return s}function S(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=ze(e),s="border-box"===Z.css(e,"boxSizing",!1,o)
40if(0>=r||null==r){if(r=_(e,t,o),(0>r||null==r)&&(r=e.style[t]),$e.test(r))return r
41i=s&&(G.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+T(e,t,n||(s?"border":"content"),i,o)+"px"}function E(e,t){for(var n,i,r,o=[],s=0,a=e.length;a>s;s++)i=e[s],i.style&&(o[s]=ve.get(i,"olddisplay"),n=i.style.display,t?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&ke(i)&&(o[s]=ve.access(i,"olddisplay",b(i.nodeName)))):(r=ke(i),"none"===n&&r||ve.set(i,"olddisplay",r?n:Z.css(i,"display"))))
42for(s=0;a>s;s++)i=e[s],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[s]||"":"none"))
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

Callers 1

javascript.min.jsFile · 0.70

Calls 3

zeFunction · 0.85
TFunction · 0.85
_Function · 0.70

Tested by

no test coverage detected