style fixes in docs
This commit is contained in:
parent
cd8b8b12e6
commit
e24e4e9a1a
3 changed files with 9 additions and 9 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
Components are a mechanism to encapsulate parts of a view to make code easier to organize and/or reuse.
|
||||
|
||||
Any Javascript object that has a view method is a Mithril component. Components can be consumed via the [`m`](hyperscript.md) utility:
|
||||
Any Javascript object that has a view method is a Mithril component. Components can be consumed via the [`m()`](hyperscript.md) utility:
|
||||
|
||||
```javascript
|
||||
var Example = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue