Commit graph

484 commits

Author SHA1 Message Date
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
Leo Horie
4ad4fdf75c add missing space 2016-06-30 23:38:52 -04:00
Leo Horie
015a812610 fantasy-land methods no longer absorb streams 2016-06-30 01:28:50 -04:00
Leo Horie
7fa3fee9ce improve docs for m.request 2016-06-24 23:41:35 -04:00
Isiah Meadows
9288a915a4 Merge pull request #1121 from barneycarroll/patch-3
Long-term Node fans might take exception (lol)...
2016-06-22 14:22:58 -04:00
Rasmus Porsager
bbeeb75087 Correct descriptions for map in table
Seems like some copy paste slipped through ;)
2016-06-21 20:29:28 +02:00
Barney Carroll
af49a7dcb4 Long-term Node fans might take exception (lol)...
...to saying there aren't *any* mechanisms for error-handling in callback-centric async APIs
2016-06-21 10:09:59 +01:00
Leo Horie
639967c767 lint docs 2016-06-20 23:35:43 -04:00
Pat Cavit
5422309e96 Update name 2016-06-20 08:32:05 -07:00
Leo Horie
f5bb364b22 some credits 2016-06-20 09:57:31 -04:00
Leo Horie
459b8cf7f5 fix typo in header 2016-06-20 09:39:41 -04:00
Leo Horie
f652c25a54 fix typo 2016-06-20 09:39:05 -04:00
Leo Horie
bce2abbffd Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	docs/keys.md
	docs/signatures.md
	docs/v1.x-migration.md
	index.js
	ospec/bin/ospec.cmd
	request/request.js
	request/tests/test-xhr.js
	util/prop.js
	util/tests/index.html
	util/tests/test-prop.js
2016-06-20 09:34:14 -04:00
Leo Horie
5e3e984152 request docs wip 2016-06-20 09:22:52 -04:00
Leo Horie
ce0c30a235 update docs 2016-06-20 09:22:00 -04:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Sebastian Sandqvist
80d0a69dab Add migration docs for m.route.prefix (#1104)
Also made a change in the documentation around passing components to `m()`. Before, the syntax that was used made it look like jsx, which could easily have been misinterpreted. Since `component` is defined in the docs just prior, I don't think we need any special syntax to indicate that it might have been a placeholder value.
2016-06-11 11:45:55 -07:00
Leo Horie
4b6c4254ba s/shouldUpdate/onbeforeupdate 2016-06-06 09:59:35 -04:00
Pat Cavit
d05b155abc Add more docs around m.route (#1089) 2016-06-03 11:33:46 -07:00
An Cao
aa77da2700 Fix typo in Component arguments v0.2.x 2016-05-31 09:02:49 +03:00
Pat Cavit
ada711ec8e More migration details (#1077) 2016-05-26 15:28:18 -07:00
Leo Horie
7e98ad6d74 fix shouldUpdate docs 2016-05-26 15:26:04 -04:00
Leo Horie
261b28ad96 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-05-26 15:23:22 -04:00
Leo Horie
0ed3d20c4c documentation fixes 2016-05-26 15:21:30 -04:00
Pat Cavit
6a233cd03c Add more migration notes (#1075) 2016-05-25 23:06:52 -07:00
Stephan Hoyer
578ff6d970 Adding how you could access the DOM element in the new lifecycle methods 2016-05-25 23:30:49 +02:00
Pat Cavit
fa34941cee Starting on a migration guide
I'm sure there's other pieces I'm forgetting
2016-05-25 10:27:28 -07:00
Leo Horie
e35fc79f09 mroe docs 2016-05-25 02:01:27 -04:00
Leo Horie
5815a590a8 test empty object 2016-05-24 23:18:11 -04:00
Richard Ivan
63d67e1d71 typo
typo
2016-05-24 16:44:50 +02:00
Leo Horie
e24e4e9a1a style fixes in docs 2016-05-19 01:46:46 -04:00
Leo Horie
cd8b8b12e6 Some documentation 2016-05-19 01:22:01 -04:00
Leo Horie
13fdb60f66 clean slate 2016-04-20 20:01:04 -04:00
Leo Horie
5d2b6ea2b7 v0.2.4 2016-04-20 00:45:42 -04:00
Ryan Whitmire
ad0fc7ed60 fix broken link in mithril.deps.md 2016-03-17 22:42:21 -04:00
Leo Horie
4b97b94f38 fix change log styling 2016-03-02 16:22:00 -05:00
Leo Horie
501e380825 v0.2.3 2016-03-02 16:10:51 -05:00
Leo Horie
5f804460fe Merge pull request #958 from barneycarroll/patch-1
"Currently active component" is unhelpful at best, misleading at worst
2016-02-10 12:07:01 -05:00
Leo Horie
42d756ea74 change link to Arthur Clemens' template compiler 2016-02-08 10:28:51 -05:00
Barney Carroll
6e60ed5720 "Currently active component" is ambiguous at best
It seems this condition is put here to reassure users that redrawing in a given route state will not draw the views of components for other routes, but it's difficult to imagine how somebody might worry that might happen.

As it is, people end up believing that redraw acts per-component, which is highly misleading in a situation where there are nested components or multiple mount points, and the call to redraw is invoked within one of those components.
2016-02-07 19:20:31 +00:00
Leo Horie
56a51664b7 Merge branch 'next' of github.com:lhorie/mithril.js into next 2016-02-05 12:19:41 -05:00
Leo Horie
741e588f4d don't render undefined classes 2016-02-05 12:19:28 -05:00