MCPcopy Index your code
hub / github.com/jquery/jquery / cssInt

Function cssInt

test/unit/effects.js:1309–1311  ·  view source on GitHub ↗
( prop )

Source from the content-addressed store, hash-verified

1307 div = jQuery( "<div style='position: absolute; margin-left: 0; left: 0px;'></div>" )
1308 .appendTo( "#qunit-fixture" );
1309 function cssInt( prop ) {
1310 return parseInt( div.css( prop ), 10 );
1311 }
1312 assert.equal( cssInt( "marginLeft" ), 0, "Margin left is 0" );
1313 assert.equal( cssInt( "left" ), 0, "Left is 0" );
1314 div.animate( {

Callers 1

effects.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected