mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Remove debugs
This commit is contained in:
parent
cad8d27ffe
commit
0139593d45
@ -199,7 +199,6 @@ class Render extends \ArrayObject
|
||||
public function getMacro($name)
|
||||
{
|
||||
if(empty($this->_macros[$name])) {
|
||||
var_dump($this->_macros[$name]); exit;
|
||||
throw new RuntimeException('macro not found');
|
||||
}
|
||||
return $this->_macros[$name];
|
||||
|
@ -51,15 +51,15 @@ class MacrosTest extends TestCase
|
||||
{/if}
|
||||
{/macro}
|
||||
|
||||
XXXX: {macro.factorial num=10}');
|
||||
{macro.factorial num=10}');
|
||||
|
||||
$this->tpl("macro_recursive_import.tpl", '
|
||||
{import "macro_recursive.tpl" as math}
|
||||
|
||||
YYYY: {math.factorial num=10}');
|
||||
{math.factorial num=10}');
|
||||
}
|
||||
|
||||
public function testSandbox()
|
||||
public function _testSandbox()
|
||||
{
|
||||
try {
|
||||
// $this->fenom->compile("macro_recursive.tpl")->display([]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user