Created
August 24, 2015 20:31
-
-
Save rrichardson/f87841c867725466dee1 to your computer and use it in GitHub Desktop.
These navbar*
classes are not part of Skeleton, right?
@alesch, (=>) = (,)
is used to avoid extra parentheses and to ascribe meaning to the tuple. Without it, line 11 would have probably been:
a [ classList [("active", (model.page == "home")), ("navbar-link", True)],
making it less obvious that there is a semantic link between active
and model.page == "home"
.
At least this is how I read it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is this first line:
(=>) = (,)
?