Commit graph

525 commits

Author SHA1 Message Date
Scott Simpson
e080a05b3e add parenthesis 2016-09-16 12:09:49 -07:00
Pat Cavit
91851e2025 Formatting ✏️ 2016-09-13 06:10:55 +00:00
Pat Cavit
e334b5026f Combine duplicate sections 2016-09-12 11:03:44 -07:00
Pat Cavit
1cd0ec0cd2 m.component removal 2016-09-12 10:35:08 -07:00
Leo Horie
55f0dfa4dd Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	docs/route.md
2016-09-12 09:48:30 -04:00
Leo Horie
8492e0c733 route docs tweak 2016-09-12 09:47:45 -04:00
Pat Cavit
ae1cf554ef Fix formatting 2016-09-08 16:00:43 -07:00
Pierre-Yves Gérardy
837c92349b docs/route.md: fix inner links (#1302) 2016-09-08 11:48:29 -07:00
Pierre-Yves Gerardy
2e6a2ae5d9 Docs for the #1276 fix 2016-09-02 22:05:58 +02:00
Stefan Keim
82258f606f Update lifecycle-methods.md 2016-08-25 08:50:18 +02:00
jethroscott
5e604a8241 fix typo in RouteResolver description 2016-08-24 15:25:12 -07:00
Leo Horie
a1a087c4be fix code splitting example 2016-08-24 10:47:45 -04:00
Leo Horie
dee15a64e3 doc improvements 2016-08-24 10:46:44 -04:00
Leo Horie
ec07d76fcd m.fragment docs
public api tests
2016-08-24 00:26:15 -04:00
Leo Horie
53a83a58f2 rename RouteResolver::view back to render to restore diff semantics
prevent double resolving
2016-08-23 22:33:18 -04:00
Leo Horie
8c9cc0e1f4 lint docs 2016-08-17 09:09:45 -04:00
Sebastian Sandqvist
17719098f2 Update route.md docs
Table formatting was broken, and the code example had `use` instead of `resolve`.
Wasn't sure about the `required` column, so it's blank for now.
2016-08-17 00:07:50 -07:00
Leo Horie
80c25e3809 rename routeresolver methods to {onmatch,view}
expose some piecemeal modules
rename internal xhr to request
mirror internal stream api to match public api
2016-08-17 00:10:47 -04:00
Leo Horie
905a351fcb show some <3 for @pygy :) 2016-08-16 17:11:46 -04:00
Pierre-Yves Gerardy
905309cb17 Simplify vnode.state creation.
For components, `vnode.tag` is always an object.
2016-08-13 10:47:54 +02:00
Leo Horie
7bb8ded6cb some docs for router 2016-08-12 23:56:29 -04:00
Leo Horie
48b93f9122 improve docs 2016-08-11 00:29:39 -04:00
Leo Horie
7f8363560e Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-08-10 09:13:19 -04:00
Leo Horie
93bd1cd3bf make render api doc more explicit about return value 2016-08-10 09:13:17 -04:00
Leo Horie
3bdf11cde3 Merge pull request #1172 from pygy/unmount
Unmount and cleanly refresh mount points
2016-08-04 22:46:48 -04:00
Pierre-Yves Gérardy
7c0223ec09 Migration docs: m.mount and m.route now require components where vdom nodes were once tolerated (#1217) 2016-08-04 16:55:26 -07:00
Pierre-Yves Gerardy
8c1e0cc073 m.mount() docs update. 2016-08-05 01:47:48 +02:00
Patrik Johnson
88e7cf5454 Rewrite: ignore m.request deserialize option if extract is passed 2016-08-04 19:19:12 +03:00
suren shrestha
354b1a10c1 Update render.md 2016-08-04 14:51:14 +05:45
Leo Horie
3a19dddb22 more docs 2016-08-04 00:00:31 -04:00
Leo Horie
1fd9cf4271 make note about default prefix in router #1176 2016-08-03 17:36:08 -04:00
ludbek
0a736b5e76 linked component doc 2016-08-03 21:43:54 +05:45
Leo Horie
608a494538 Merge pull request #1181 from barneycarroll/patch-4
Gotchas imply onbeforeupdate is inherently evil
2016-07-30 21:29:53 -04:00
Leo Horie
7c736b511a rename node to vnode 2016-07-29 22:04:04 -04:00
Barney Carroll
6c061a3170 Gotchas imply onbeforeupdate is inherently evil
The premature optimisation warning talks about `onbeforeupdate` as though returning false were its only purpose. In fact it's also useful for transforming simple input into a detailed model for the view, input-state comparisons for change highlighting, etc.
2016-07-29 10:55:37 +01:00
Leo Horie
ca7d1e856b document setup via npm 2016-07-28 22:41:26 -04:00
Leo Horie
726b79a18d document multi-upload 2016-07-28 22:40:46 -04:00
Leo Horie
ab6cc583f2 more docs for m.request 2016-07-27 00:14:47 -04:00
Leo Horie
8bc47632ee some more docs 2016-07-22 00:06:59 -04:00
Gilbert
9e59d4a98d Update m.sync migration docs 2016-07-18 12:25:29 -05:00
Leo Horie
7a5978df59 make note about m("[") 2016-07-15 01:35:18 -04:00
Leo Horie
a2680b30a4 s/sync/merge 2016-07-15 00:35:18 -04:00
Gilbert
008ffc9587 Add m.prop.sync 2016-07-12 23:27:36 -05:00
Leo Horie
c196b8b475 fix loading/error example, beef up render docs 2016-07-12 00:34:56 -04:00
Leo Horie
b3d784d841 fix example 2016-07-11 09:31:56 -04:00
Leo Horie
a988276e9b Revert "don't copy state anymore"
This reverts commit cece44d4ac.
2016-07-08 10:24:48 -04:00
Leo Horie
cece44d4ac don't copy state anymore 2016-07-08 00:40:52 -04:00
Leo Horie
40ff3c89b5 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-07-07 13:23:36 -04:00
Leo Horie
7318a0d88b update docs re: component anti-patterns, lint docs 2016-07-07 13:23:16 -04:00
Pat Cavit
0ac094d2cb Update m.route.getPath/setPath docs 2016-07-06 13:55:07 -07:00