[TwigBundle] fixed typos
This commit is contained in:
parent
b86880da5e
commit
37dda2ba8b
@ -31,10 +31,10 @@ class Helpers extends \Twig_Extension
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
// {% javascript 'bundles/blog/js/blog.js' %}
|
// {% javascript 'bundles/blog/js/blog.js' %}
|
||||||
new HelperTokenParser('stylesheet', '<js> [with <arguments:array>]', 'javascripts', 'add'),
|
new HelperTokenParser('javascript', '<js> [with <arguments:array>]', 'javascripts', 'add'),
|
||||||
|
|
||||||
// {% javascripts %}
|
// {% javascripts %}
|
||||||
new HelperTokenParser('stylesheets', '', 'stylesheets', 'render'),
|
new HelperTokenParser('javascripts', '', 'javascripts', 'render'),
|
||||||
|
|
||||||
// {% stylesheet 'bundles/blog/css/blog.css' with ['media': 'screen'] %}
|
// {% stylesheet 'bundles/blog/css/blog.css' with ['media': 'screen'] %}
|
||||||
new HelperTokenParser('stylesheet', '<css> [with <arguments:array>]', 'stylesheets', 'add'),
|
new HelperTokenParser('stylesheet', '<css> [with <arguments:array>]', 'stylesheets', 'add'),
|
||||||
|
Reference in New Issue
Block a user