Commit graph

538 commits

Author SHA1 Message Date
maks feltrin
ce93bdbb79 rename ctrl to state
I am not sure you agree, but i find the name `state` a bit less confusing that the name `ctrl` used in v 0.2.x.
thank you and kind regards
2016-10-22 04:04:47 +02:00
Leo Horie
59e4e8ff26 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-10-04 12:20:56 -04:00
Leo Horie
f49fd1c6a2 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-10-03 10:56:47 -04:00
Leo Horie
d0a4993681 clean up 2016-10-03 10:56:44 -04:00
Daniel Loomer
bedf2ec4ac prop.md: fixed small typo 2016-10-02 23:54:15 -04:00
Hugo Freitas
45ebf2f2db Fix RouteResolver link 2016-09-29 12:45:12 -03:00
Carl Mungazi
00adb7ae0e Update components.md (#1337)
Fixed typos.
2016-09-23 16:11:28 -07:00
Pierre-Yves Gérardy
67433a7816 Correct the RouteResolver.onmatch() signature (#1327) 2016-09-20 19:44:19 -07:00
Jan-T. Brinkmann
9fe85b3461 fixed broken anchor link in fragment.md
"monomorphic objects" linked to `vnodes.md#monomorphic-objects`, however the proper hash currently is `#monomorphic-class`
2016-09-20 21:32:47 +02:00
Scott Simpson
17ee04c00a fix missing return in BetterLabeledComponent view (#1332) 2016-09-20 11:09:41 -07:00
Pat Cavit
5132c50ec0 view() params and xlink namespace 2016-09-20 10:58:16 -07:00
Scott Simpson
6252a00bed small fixes in hyperscript.md (#1330)
Moved SVG/MathML section down to reflect the order of the TOC
Renamed "Avoid Anti-patterns" to enable TOC link
2016-09-20 10:24:08 -07:00
Scott Simpson
3f70d20bb1 fix component name 2016-09-20 09:53:25 -07:00
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