From 426d8320b987139473714e06359508d30c818007 Mon Sep 17 00:00:00 2001 From: Vasiliy Date: Sat, 16 Dec 2017 17:47:32 +0300 Subject: [PATCH] Fix appendContent mode docs --- docs/en/5-templates-syntax.md | 2 +- docs/ru/5-templates-syntax.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/5-templates-syntax.md b/docs/en/5-templates-syntax.md index 89c1d84e..32aa777e 100644 --- a/docs/en/5-templates-syntax.md +++ b/docs/en/5-templates-syntax.md @@ -402,7 +402,7 @@ content. block('quote')( prependContent()('“'), // add some things before actual content appendContent()('”'), // add content to the end - appendContent({ block: 'link' }); // add more content to the end + appendContent()({ block: 'link' }) // add more content to the end ); ``` ```js diff --git a/docs/ru/5-templates-syntax.md b/docs/ru/5-templates-syntax.md index cb10b5a0..cf9b8a70 100644 --- a/docs/ru/5-templates-syntax.md +++ b/docs/ru/5-templates-syntax.md @@ -399,7 +399,7 @@ content()(value) block('quote')( prependContent()('«'), appendContent()('»'), - appendContent({ block: 'link' }); + appendContent()({ block: 'link' }) ); ```