[TwigBundle] fixed typos

This commit is contained in:
Fabien Potencier 2010-06-08 22:14:17 +02:00
parent b86880da5e
commit 37dda2ba8b

View File

@ -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'),