Commit graph

795 commits

Author SHA1 Message Date
Pat Cavit
46ebb340d1 merge: next onto master 2017-03-27 14:21:52 -07:00
Isiah Meadows
40637fe99f Update components.md [ci skip] 2017-03-27 12:41:45 -04:00
Pierre-Yves Gerardy
f7450c96b0 Document closure components (formerly known as "factory components") and flesh out class components docs 2017-03-27 16:47:45 +02:00
Pierre-Yves Gerardy
2d2c53fcfc Add some docs on undocumented vnode fields 2017-03-26 23:01:04 +02:00
Kelly Thomas Kline
fe5f92eb2e Fix grammar 2017-03-25 11:44:59 -07:00
spacejack
f1b66745af docs: stream scan and scanMerge (#1719) 2017-03-24 22:06:59 -07:00
Pat Cavit
33aa1fa735 docs: merge docs from next to master 2017-03-24 15:36:53 -07:00
Pat Cavit
2d03dc5dad feat: partial integrate of release changes 2017-03-24 14:41:22 -07:00
Pat Cavit
4d928d4493 docs: use npm run release instead of npm version 2017-03-24 14:31:49 -07:00
Pat Cavit
ad144072b6 chore: automate github release pages (#1741) 2017-03-24 12:35:14 -07:00
Scotty Simpson
74125e42c7 m.prop() isn't a thing anymore 2017-03-23 08:39:49 -07:00
spacejack
5229b0bc93 docs: Fix extract siguature, clarify deserialize & extract descriptions. (#1729) 2017-03-21 10:59:44 -07:00
Pierre-Yves Gérardy
c08b3f3c20 docs: more m.route docs fixes (#1712) 2017-03-14 16:31:57 -07:00
Leo
78c139a201 Merge remote-tracking branch 'origin/next' into next 2017-03-14 18:32:42 -04:00
Leo
1d48a30936 m.route.param docs #1711 2017-03-14 18:32:23 -04:00
Ferhat Elmasgüneş
0ed3695f78 Fixes component usage.
Updates `m.mount(document.body, <MyComponent />)` to `m.render(document.body, <MyComponent />)`.

After consuming a component using `m(component)`, you can't *mount* it to element but you can *render*.
2017-03-12 15:34:01 +02:00
Isiah Meadows
934e0ac55e Merge branch 'next' into strict-mode 2017-03-09 11:54:32 -05:00
Leo Horie
622bd6e165 Merge pull request #1689 from tivac/auto-publish
Docs auto-push to gh-pages branch
2017-03-09 09:43:26 -05:00
Pierre-Yves Gerardy
74cbd4c17b Let render() create the state rather than vnode() 2017-03-08 22:19:27 +01:00
Pat Cavit
43f050ae44 Docs auto-push to gh-pages branch 2017-03-07 22:07:55 -08:00
Красимир Беров
72359a76e3 Remove an obsolete line (#1681) 2017-03-04 23:38:34 +01:00
Pierre-Yves Gérardy
485febd0cc typo 2017-03-04 16:38:34 +01:00
Patrik Johnson
59ed3c7d48 Always expose stream on m.stream, use unpkg for docs (#1535)
... and document how streams are exposed in when loaded as <script> in global context
2017-03-04 16:27:02 +01:00
Isiah Meadows
d4a0417dde Merge branch 'next' of https://github.com/lhorie/mithril.js into strict-mode 2017-03-03 18:27:24 -05:00
Isiah Meadows
1cc5fa5ba7 "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
Leo Horie
5a9d7201e3 Merge pull request #1659 from barneycarroll/patch-13
Warn about data models w key props passed as attrs
2017-03-02 20:04:14 -05:00
Barney Carroll
57d3de1e5c Docs: component props aren't copied to instances 2017-02-26 17:29:43 +00:00
Barney Carroll
97c60f9046 Close code blocks! 2017-02-24 13:35:42 +00:00
Barney Carroll
71dcde6adf Warn about data models w key props passed as attrs
Hint to avoid problems such as those found here [February 23, 2017 6:28 PM](https://gitter.im/lhorie/mithril.js?at=58af29c47ceae5376a2d470e)
2017-02-24 10:54:07 +00:00
Leo
65941d1416 document classes 2017-02-19 08:29:35 -05:00
Leo
818c13dba9 fix example 2017-02-19 08:27:31 -05:00
Pat Cavit
a578ffafdf docs: another minor formatting tweak 2017-02-17 13:30:33 -08:00
Pat Cavit
76a816be86 docs: fix heading levels to be consistent 2017-02-17 13:30:03 -08:00
Leo Horie
ff16c7f47a Merge pull request #1618 from spacejack/api-docs-fixes
API docs signature fixes for route resolver, jsonp, fragment
2017-02-14 21:11:51 -05:00
Pat Cavit
03285f8279 docs: setting up mocks in non-browser env (#1630) 2017-02-14 14:35:28 -08:00
Leo
d6cbc1c324 Merge remote-tracking branch 'origin/next' into next 2017-02-14 08:15:54 -05:00
Leo
dc3d5f8494 fix migration example 2017-02-14 08:15:38 -05:00
spacejack
19f1ac8908 Minor fixes to get the tutorial working 2017-02-12 19:41:47 -05:00
spacejack
fc4d5f1892 resolver.render return type description consistent with m.render 2017-02-12 15:14:06 -05:00
spacejack
7e0a1db89f API docs signature fixes for route resolver, jsonp, fragment 2017-02-11 21:31:10 -05:00
Leo
6dd9394fef Merge remote-tracking branch 'origin/next' into next 2017-02-10 10:09:38 -05:00
Leo
632677e00c fix update lifecycle in children of recycled 2017-02-10 10:09:18 -05:00
balajisivanath
a273f512df Possible grammar correction 2017-02-09 22:59:45 +05:30
Leo
8feb6d3b39 add note about browser support 2017-02-09 08:44:37 -05:00
Leo
dc42b60687 #1609 fix lifecycle hooks in children of recycled keyed vnode 2017-02-09 08:31:08 -05:00
Luiz Paulo "Bills
1f38233a47 docs: better example codes (#1606) 2017-02-08 15:41:00 -08:00
Barry Els
153161b849 docs: Minor grammar and link bait update :) (#1602) 2017-02-08 11:30:34 -08:00
Yoshiki Shibukawa
c7e0b204f8 docs: Update route.md (#1600)
Fix typo
2017-02-07 23:02:39 -08:00
Pat Cavit
23a1693c02 docs: add m.route.build/parseQueryString to changelog (#1594) 2017-02-06 14:35:25 -08:00
Leo
e3b0861b8a clean doc artifacts 2017-02-03 23:06:22 -05:00