-
Dec 20th, 2011, 06:31 PM
#1
[JavaScript] Testing for "undefined" numbers?
I've got some code at http://jsfiddle.net/EPWF6/9/ which converts HSL values to RGB. I'm using the Wikipedia page for the algorithm reference, and one of the conditions is triggered when "H" (hue) is "undefined". Are there any "undefined" checks that I've missed in the code?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|