Added [currently failing] test case for recursive partials.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
class RecursivePartials extends Mustache {
|
||||
protected $_partials = array(
|
||||
'child' => "* {{ name }}",
|
||||
);
|
||||
|
||||
public $name = 'George';
|
||||
public $child = array(
|
||||
'name' => 'Dan',
|
||||
'child' => array(
|
||||
'name' => 'Justin',
|
||||
)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user