[TwigBundle] fixed typos

This commit is contained in:
Fabien Potencier 2010-06-08 22:14:17 +02:00
parent b86880da5e
commit 37dda2ba8b
1 changed files with 2 additions and 2 deletions

View File

@ -31,10 +31,10 @@ class Helpers extends \Twig_Extension
{
return array(
// {% 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 %}
new HelperTokenParser('stylesheets', '', 'stylesheets', 'render'),
new HelperTokenParser('javascripts', '', 'javascripts', 'render'),
// {% stylesheet 'bundles/blog/css/blog.css' with ['media': 'screen'] %}
new HelperTokenParser('stylesheet', '<css> [with <arguments:array>]', 'stylesheets', 'add'),