Default numeric values to pixels in CSS related methods.
Reported by Joe Gornick | September 18th, 2010 @ 12:41 PM | in Iteration 3
When setting CSS property values, if a Number is specified, default it to pixels.
Example:
$('.foo').setStyle({ 'top': -9999 });
will default too:
$('.foo').setStyle({ 'top': '-9999px' });
Comments and changes to this ticket
-
Joe Gornick September 19th, 2010 @ 05:52 PM
- Milestone cleared.
- Milestone order changed from 20 to 0
-
Joe Gornick September 29th, 2010 @ 09:43 AM
- Assigned user changed from John-David Dalton to Joe Gornick
-
Joe Gornick October 5th, 2010 @ 12:48 AM
- State changed from new to patched
- Assigned user changed from Joe Gornick to John-David Dalton
-
Joe Gornick March 22nd, 2011 @ 09:36 PM
- Milestone set to Iteration 2
- Milestone order changed from 8 to 0
-
Joe Gornick March 22nd, 2011 @ 09:41 PM
- Milestone changed from Iteration 2 to Iteration 3
- Milestone order changed from 15 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.