From: Fabien Potencier Date: Sun, 4 Aug 2013 11:34:56 +0000 (+0200) Subject: fixed versions in docs X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8b576e08f2e0cc44558a5c5c98f11bf9e1eebedb;p=konrad%2Ftwig.git fixed versions in docs --- diff --git a/doc/tags/macro.rst b/doc/tags/macro.rst index 4cb70fe..800957e 100644 --- a/doc/tags/macro.rst +++ b/doc/tags/macro.rst @@ -1,8 +1,8 @@ ``macro`` ========= -.. versionadded:: 1.12 - Support for default argument values was added in Twig 1.12. +.. versionadded:: 1.14 + Support for default argument values was added in Twig 1.14. Macros are comparable with functions in regular programming languages. They are useful to put often used HTML idioms into reusable elements to not repeat diff --git a/doc/templates.rst b/doc/templates.rst index 81dcd35..c81cc72 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -199,8 +199,8 @@ Named Arguments .. versionadded:: 1.12 Support for named arguments was added in Twig 1.12. -.. versionadded:: 1.13.2 - Support for named arguments for macros was added in Twig 1.13.2. +.. versionadded:: 1.14 + Support for named arguments for macros was added in Twig 1.14. Arguments for filters, functions and macros can also be passed as *named arguments*: @@ -503,9 +503,9 @@ Macros .. versionadded:: 1.12 Support for default argument values was added in Twig 1.12. -.. versionadded:: 1.13.2 - Support for macro call with named arguments was added in Twig 1.13.2. - Support for directly call macros defined in the same template was added in Twig 1.13.2. +.. versionadded:: 1.14 + Support for macro call with named arguments was added in Twig 1.14. + Support for directly call macros defined in the same template was added in Twig 1.14. Macros are comparable with functions in regular programming languages. They are useful to reuse often used HTML fragments to not repeat yourself.