cea0d08c1d
Fixed textnode bug, whitespace was being removed. Added added local name for #with and #each. Form of ${#each list [localName]} and ${#with object [localNme]} Added ability to call another template (located in the same tmpl file). Form is ${#templateName(parms)}
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9728009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5665 260f80e4-7a28-3924-810f-c04153c831b5
6 lines
139 B
Cheetah
6 lines
139 B
Cheetah
template NameEntry(String name, int age) {
|
|
<div> } part1 part2 ${name} part3 } </div>
|
|
<div> age = ${age} </div>}
|
|
}
|
|
|