Re: [css-variables] Initial value of variables

Yes, I think that makes sense.
On May 31, 2012 11:03 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Thu, May 31, 2012 at 1:04 AM, Chris Eppstein <chris@eppsteins.net>
> wrote:
> > Why not treat un-initialized variables as a null value? Empty string is
> just
> > a poor-man's null that I think will come back to bite us. We've just
> added a
> > null initial value for variables to Sass and it really cleaned up a lot
> of
> > edge-case scenarios like the one mentioned here.
>
> Not empty string, *empty*.  An empty string serializes as "\"\"" in JS.
>
> ~TJ
>
>

Received on Thursday, 31 May 2012 15:09:24 UTC