mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 08:14:42 +03:00
feat: update justblackbird/handlebars.php-helpers dependency to v1
* update .../String namespace to .../Text in Handlebars/Helpers.php
This commit is contained in:
parent
e3123d7c45
commit
45ac4ec1ee
@ -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.*",
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user