Commit graph

820 commits

Author SHA1 Message Date
David
e26e1f10c0 docs: URL Param + Variadic route doc (#1813) 2017-04-26 09:34:28 -07:00
Isiah Meadows
040a70ff99 Merge pull request #1796 from isiahmeadows/vnode-event
Pass `vnode` as second argument
2017-04-24 14:40:23 -04:00
Pierre-Yves Gérardy
8416afb6b8 Merge pull request #1795 from tivac/code-of-conduct
Add code of conduct
2017-04-19 15:55:04 +02:00
Pat Cavit
034ef4d318 docs: add master -> next merge for package.json 2017-04-13 09:42:22 -07:00
cavemansspa
7ad1b2edcf Add example for mounting a component with args 2017-04-12 10:23:50 -04:00
Pat Cavit
05990024e1 docs: flesh out releasing process further 2017-04-11 11:17:25 -07:00
Isiah Meadows
2fcaafd080 Merge pull request #4 from lhorie/next
Update fork
2017-04-11 13:35:35 -04:00
Isiah Meadows
a92ffb3077 Clarify events, document extra vnode property 2017-04-11 13:33:46 -04:00
Pat Cavit
3409a72c4e docs: add code of conduct and nav link 2017-04-11 10:32:00 -07:00
Pierre-Yves Gérardy
2dc5522af5 Merge branch 'next' into load-mithril 2017-04-11 10:27:52 +02:00
Pat Cavit
94dfc52a98 docs: add simple scaffolding pen to intro section 2017-04-10 23:50:07 -07:00
Pat Cavit
4cfd0c4070 docs: load mithril on mithril.js.org
For futzing around in the dev console
2017-04-10 23:43:10 -07:00
Pat Cavit
451cf00951 docs: add incrementing value to repeated anchors 2017-04-10 23:31:56 -07:00
Pat Cavit
96fb9a5bbd docs: add examples for tutorial 2017-04-10 23:31:44 -07:00
Pat Cavit
9a54b12702 docs: fix some links 2017-04-06 21:01:52 +00:00
Pat Cavit
6d23e0913c docs: try to improve releasing docs 2017-04-06 20:41:55 +00:00
Pierre-Yves Gerardy
906d1d18ed Fix change log 2017-04-04 12:35:34 +02:00
Pierre-Yves Gerardy
63ce8995a2 Update change log for v1.1.1 2017-04-03 11:17:37 +02:00
Henrik Myntti
c32d508de1 Improve keys example
The previous example about hiding keys had syntax errors, and example in itself didn't follow our own guidelines (key should be on immediate child of an array)

In the new example we reuse the code from the previous example but break out a User component (which is much more likely) and the example says to move the key from inside the user component instead
2017-03-30 18:46:42 +02:00
Pierre-Yves Gérardy
5c42e3dc22 Merge pull request #1756 from JAForbes/patch-1
Acknowledge multiple component creation strategies
2017-03-30 16:04:25 +02:00
James Forbes
6612cf6ebd ES6 classes may require build tools.
Instead of saying they won't need build tools, we can say that we only use native features of the language which usually makes for a simpler project.
2017-03-30 12:09:17 +11:00
Stefan Thon
c904758f10 button[type=button] => button[type=submit]
I went through the tutorial.
button[type=button] was not working for me.
button[type=submit] did.
2017-03-29 11:14:43 +02:00
James Forbes
5e3b0adec3 Acknowledge multiple component creation strategies 2017-03-29 16:23:39 +11:00
Pat Cavit
7ba74ad424 docs: Fix missing generated docs (#1754) 2017-03-28 11:21:01 -07:00
Pat Cavit
87a053224c docs: updated releasing workflow 2017-03-27 15:24:36 -07:00
Pierre-Yves Gérardy
a6bb1d4651 docs: update the toc of components.md to match the content (#1748) 2017-03-27 15:19:16 -07:00
Pat Cavit
5d9694cc2e docs: remove fake change 2017-03-27 15:12:22 -07:00
Pat Cavit
d8627ca786 docs: correct version on change-log 2017-03-27 15:09:56 -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
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