Fixed error in documentation example of rt-virtual

Also, added `rt-virtual` to list of `Built-in directives`
This commit is contained in:
Jayesh Kurambhatti 2017-02-09 19:23:32 +05:30 committed by Ido
parent d47ef7e264
commit 6797ad9354
1 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ http://plugins.jetbrains.com/plugin/7648
* [rt-template](#rt-template)
* [rt-include](#rt-include)
* [rt-pre](#rt-pre)
* [rt-virtual](#rt-virtual)
* [styles](#styles)
* [event handlers](#event-handlers)
@ -161,7 +162,7 @@ For instance, to repeat several nodes at once without a shared root for each ins
<rt-virtual rt-repeat="n in [1,2,3]">
<li>{n}</li>
<li>{n*2}</li>
</virtual>
</rt-virtual>
</ul>
```