MCPcopy Index your code
hub / github.com/caike/jQuery-Simple-Timer / actualDisplay

Function actualDisplay

examples/bundle.js:6702–6712  ·  view source on GitHub ↗
( name, doc )

Source from the content-addressed store, hash-verified

6700
6701// Called only from within defaultDisplay
6702function actualDisplay( name, doc ) {
6703 var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),
6704
6705 display = jQuery.css( elem[ 0 ], "display" );
6706
6707 // We don't have any data stored on the element,
6708 // so use "detach" method as fast way to get rid of the element
6709 elem.detach();
6710
6711 return display;
6712}
6713
6714/**
6715 * Try to determine the default display value of an element

Callers 1

defaultDisplayFunction · 0.85

Calls 1

jQueryFunction · 0.85

Tested by

no test coverage detected