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
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
Deon Tan
6ffeeaa19d
Update mithril.md
...
Should component be MyComponent?
2016-06-17 16:13:02 +01: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
Leo Horie
9f91858843
Merge remote-tracking branch 'origin/next' into next
2016-06-06 09:22:20 -04:00
Syaiful Bahri
52b0918297
update integration docs
...
correct the code example to avoid infinite loop
the infinite loop occure because the code example also
update the value on change handler. issue #954 .
prove https://jsfiddle.net/syaiful6/kps3gabo/
2016-06-05 12:02:55 +07:00
Leo Horie
2289061f90
fix doc
2016-06-03 16:53:24 -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
Demian Ferreiro
20dfbbadc6
Update mithril.request.md
...
Add call to promise returned by m.request(). Otherwise the value of `ctrl.user` will always be truthy.
2016-05-27 11:08:47 -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
Leo Horie
0ad6749f87
callbackName
2016-05-26 11:19:39 -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
AlonsoSoto
51e553f980
Update mithril.request.md
2016-05-20 14:36:20 -05: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
Alexandr Panchenko
4e8ca4035c
ContactList → ContactForm
2016-05-17 17:50:47 +03:00
Demian Ferreiro
577808c6df
Add <body> tag to Getting Started guide
...
This makes the code on the Summary section a working single-file application.
Without the <body> tag the code failed with "Error: Please ensure the DOM element exists before rendering a template into it" because the <script> containing the application was inserted and run on the <head>, before `document.body` is created.
2016-04-21 12:36:45 -03:00