more partial examples

This commit is contained in:
Tj Holowaychuk 2011-03-02 10:39:32 -08:00
parent b70bde58be
commit f0e0073a09
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1 @@
li= value

View File

@ -1 +1,5 @@
li.victim= victim
// this is insane overkill, I do not recommend
// doing tiny partials like this as it gets expensive
// with collections, however this illustrates the new
// partial lookup mechanism
!= partial('../../li', { object: victim, as: 'value' })