In the readme for Susy, it states, in relation to the +omega and other
mixins:
"In nested contexts, all of these mixins take an extra final argument,
the width in columns of the parent (nesting) element."
In studying the Sass for Susy (_grid.sass), this statement had me
totally scratching my head. I couldn't see why or how the width in
columns came into it; seemingly you're just flipping a boolean to true,
rather than actually setting a value. This had me confused for quite
some time (I know, I'm a bit slow) as I thought there *must* be
something I misunderstood about Susy, Sass or Compass for the code to
say one thing, while the docs suggested another.
But anyway, can I just confirm that we can set that value to *anything*
and it will have the same effect? That is, the presence of any value
other than nil returns True? Actually, even nil seems to get implicitly
converted to a string and therefore returns True.
Or have I indeed misunderstood something, somewhere?
Cheers,
Charles
p.s Really enjoying messing about with Susy so far.
2009/11/4 Eric Meyer <erii...@gmail.com>:
> Now that you've discovered my secret, you can do as you like. I still
> plan to recommend supplying context. I think it's a good habit to be
> in for using Susy as a whole.
Good to know, thanks for the explanation. I agree entering the context
makes sense and it is indeed much easier than typing "True". Perhaps
all that's required to avoid confusing newbies like me is a little
explanation on this somewhere, perhaps in the source?
Cheers,
Charles