News for hackers. Stuff that matters.
Re:Scrub values in JavaScript live by nornagon on Wednesday November 28, 2012 @03:46AM (#4841607)
Unfortunately there's no type information in JS, so it's very difficult to extract range data from just the source. Just don't drag it into that range ;)

PS, I'm planning to implement a color picker for strings like 'rgba(200,0,234,0.4)'

Re:Scrub values in JavaScript live by tantalor on Wednesday November 28, 2012 @11:54AM (#4843485)
How does scrubby know the alpha value is real-valued (not integral)?
Re:Scrub values in JavaScript live by nornagon on Wednesday November 28, 2012 @07:53PM (#4845699)