Browse files

Updates SC.Color with writable cssText and an error state. Includes u…

…nit tests.

Note that this changes the behavior of SC.Color.from, which previously returned NO for invalid input and now returns an SC.Color in error mode. You should use SC.ok() to test the validity of a created color. This will work both before and after this commit.
  • Loading branch information...
1 parent 6f23d90 commit 768dbd492dc1d20f4643081314ae2d0cbd6424f6 @dcporter dcporter committed Feb 14, 2014
Showing with 420 additions and 84 deletions.
  1. +384 −64 frameworks/core_foundation/system/color.js
  2. +36 −20 frameworks/core_foundation/tests/system/color.js
Oops, something went wrong.

0 comments on commit 768dbd4

Please sign in to comment.