feat: update justblackbird/handlebars.php-helpers dependency to v1

* update .../String namespace to .../Text in Handlebars/Helpers.php
This commit is contained in:
Joshua Fricke 2016-09-22 13:42:12 -07:00
parent e3123d7c45
commit 45ac4ec1ee
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@
},
"require": {
"xamin/handlebars.php": "0.10.*",
"justblackbird/handlebars.php-helpers": "~0.2.1",
"justblackbird/handlebars.php-helpers": "1.*",
"symfony/http-foundation": "2.6.*",
"symfony/routing": "2.6.*",
"symfony/config": "2.6.*",

View File

@ -47,9 +47,9 @@ class Helpers extends BaseHelpers
$this->add('ifAny', new HandlebarsHelpers\Comparison\IfAnyHelper());
$this->add('ifEven', new HandlebarsHelpers\Comparison\IfEvenHelper());
$this->add('ifOdd', new HandlebarsHelpers\Comparison\IfOddHelper());
$this->add('repeat', new HandlebarsHelpers\String\RepeatHelper());
$this->add('replace', new HandlebarsHelpers\String\ReplaceHelper());
$this->add('cutString', new HandlebarsHelpers\String\TruncateHelper());
$this->add('repeat', new HandlebarsHelpers\Text\RepeatHelper());
$this->add('replace', new HandlebarsHelpers\Text\ReplaceHelper());
$this->add('cutString', new HandlebarsHelpers\Text\TruncateHelper());
$blocks = new HandlebarsHelpers\Layout\BlockStorage();
$this->add('extends', new HandlebarsHelpers\Layout\ExtendsHelper($blocks));
$this->add('block', new HandlebarsHelpers\Layout\BlockHelper($blocks));