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

Function isAutoPx

dist-module/jquery.factory.module.js:4123–4130  ·  view source on GitHub ↗
( prop )

Source from the content-addressed store, hash-verified

4121 rautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;
4122
4123function isAutoPx( prop ) {
4124
4125 // The first test is used to ensure that:
4126 // 1. The prop starts with a lowercase letter (as we uppercase it for the second regex).
4127 // 2. The prop is not empty.
4128 return ralphaStart.test( prop ) &&
4129 rautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) );
4130}
4131
4132function adjustCSS( elem, prop, valueParts, tween ) {
4133 var adjusted, scale,

Callers 2

adjustCSSFunction · 0.70
jQueryFactoryWrapperFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected