using parseFloat for offset and position methods and removed num helper method

This commit is contained in:
Brandon Aaron 2009-03-17 21:07:11 +00:00
parent a37cccc882
commit aabf635cfe
2 changed files with 11 additions and 16 deletions

View file

@ -1289,8 +1289,3 @@ function cleanData( elems ) {
}
}
}
// Helper function used by the dimensions and offset modules
function num(elem, prop) {
return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
}