For inline code, try
-one line;
Or
@{
any number of lines
}
The first - or @ must be indented properly. The { is required for the @ syntax. The multiline doesn't need to be indented (but can be) because it will treat any white space as code until the matching }.
For use:content ... If the xmlns prefixes aren't working you might want to try the longer element-attribute form of those tags?
content name="foo"
this is foo
use content="foo"
Haven't tried it myself - but shade is really just XML without the <'s - so I expect that would work.
--
Louis - sent from mobile
From: Corey
Sent: 12/12/2012 1:50 PMTo: spar...@googlegroups.com
Subject: Couple of .shade related questionsWhat are the equivalents in shade?
<use:content>
Default content goes here.
</use:content>
#this.Asset("jquery"); //void calls as opposed to the typical ${ code }
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/spark-dev/-/8qjSWDX_lQoJ.
To post to this group, send email to
spar...@googlegroups.com.
To unsubscribe from this group, send email to
spark-dev+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/spark-dev?hl=en.