RE: Couple of .shade related questions

73 views
Skip to first unread message

Louis DeJardin

unread,
Dec 14, 2012, 11:58:16 AM12/14/12
to Corey, spar...@googlegroups.com
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 PM
To: spar...@googlegroups.com
Subject: Couple of .shade related questions

What 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.

Corey

unread,
Dec 22, 2012, 10:38:30 AM12/22/12
to spar...@googlegroups.com, Corey
This helped. Thanks
Reply all
Reply to author
Forward
0 new messages