Merge branch 'master' of github.com:XaminProject/handlebars.php

This commit is contained in:
fzerorubigd 2012-11-10 14:45:16 +03:30
commit 4c2573ffc2

View File

@ -413,7 +413,7 @@ class Handlebars_Engine
*/ */
public function loadPartial($name) public function loadPartial($name)
{ {
$source = $this->getPartialLoader()->load($name); $source = $this->getPartialsLoader()->load($name);
$tree = $this->_tokenize($source); $tree = $this->_tokenize($source);
return new Handlebars_Template($this, $tree, $source); return new Handlebars_Template($this, $tree, $source);
} }