Merge pull request #4092 from gdpelican/vdom-helptext

DOCS: Add additional help for how to use 'h' helper with virtual DOM
This commit is contained in:
Robin Ward 2016-03-18 11:40:39 -04:00
commit 91e2a60369

View File

@ -19,6 +19,8 @@ class DecoratorHelper {
* // renders `<div class='some-class'><p>paragraph</p></div>`
* return helper.h('div.some-class', helper.h('p', 'paragraph'));
* ```
* Check out https://github.com/Matt-Esch/virtual-dom/blob/master/virtual-hyperscript/README.md
* for more details on how to construct markup with h.
**/
// h() is attached via `prototype` below