From: Robert Gruendler Date: Mon, 18 Jul 2011 12:35:57 +0000 (+0200) Subject: added twig comments X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=351910bf21f06c11ceab6d9bac6e989d658c2b51;p=konrad%2Ftwig.git added twig comments --- diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index 3771f48..6e1f9b2 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -329,7 +329,7 @@ function twig_default_filter($value, $default = '') * *
  * {% for key in array|keys %}
- *      ...
+ *      {# ... #}
  *  {% endfor %}
  * 
* @@ -729,7 +729,7 @@ function twig_test_constant($value, $constant) *
 * {# defined works with variable names #}
 * {% if foo is defined %}
-*     ...
+*     {# ... #}
 * {% endif %}
 * 
* @@ -747,7 +747,7 @@ function twig_test_defined($name, $context) *
 * {# evaluates to true if the foo variable is null, false, or the empty string #}
 * {% if foo is empty %}
-*     ...
+*     {# ... #}
 * {% endif %}
 * 
*