projects
/
konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2b7e8d9
)
added twig comments
author
Robert Gruendler
<robert@play.fm>
Mon, 18 Jul 2011 12:35:57 +0000 (14:35 +0200)
committer
Robert Gruendler
<robert@play.fm>
Mon, 18 Jul 2011 12:35:57 +0000 (14:35 +0200)
lib/Twig/Extension/Core.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Extension/Core.php
b/lib/Twig/Extension/Core.php
index
3771f48
..
6e1f9b2
100644
(file)
--- a/
lib/Twig/Extension/Core.php
+++ b/
lib/Twig/Extension/Core.php
@@
-329,7
+329,7
@@
function twig_default_filter($value, $default = '')
*
* <pre>
* {% for key in array|keys %}
- * ...
+ * {# ... #}
* {% endfor %}
* </pre>
*
@@
-729,7
+729,7
@@
function twig_test_constant($value, $constant)
* <pre>
* {# defined works with variable names #}
* {% if foo is defined %}
-* ...
+* {# ... #}
* {% endif %}
* </pre>
*
@@
-747,7
+747,7
@@
function twig_test_defined($name, $context)
* <pre>
* {# evaluates to true if the foo variable is null, false, or the empty string #}
* {% if foo is empty %}
-* ...
+* {# ... #}
* {% endif %}
* </pre>
*