mirror of
https://github.com/jquery/jquery.git
synced 2026-02-04 16:55:05 -05:00
using parseFloat for offset and position methods and removed num helper method
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user