Move examples into the test fixtures.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
class RecursivePartials {
|
||||
public $name = 'George';
|
||||
public $child = array(
|
||||
'name' => 'Dan',
|
||||
'child' => array(
|
||||
'name' => 'Justin',
|
||||
'child' => false,
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
> {{ name }}{{#child}}{{>child}}{{/child}}
|
||||
@@ -0,0 +1 @@
|
||||
{{name}}{{#child}}{{>child}}{{/child}}
|
||||
@@ -0,0 +1 @@
|
||||
George > Dan > Justin
|
||||
Reference in New Issue
Block a user