From 8b576e08f2e0cc44558a5c5c98f11bf9e1eebedb Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 4 Aug 2013 13:34:56 +0200 Subject: [PATCH] fixed versions in docs --- doc/tags/macro.rst | 4 ++-- doc/templates.rst | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) 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. -- 1.7.2.5