Pierre-Yves Gerardy
bfc69267d5
Remove a few crumbs I left behind
2016-07-29 20:31:06 +02:00
Leo Horie
20fd1b8198
Merge pull request #1183 from pygy/onbeforeremove-state-vnode-done
...
[rewrite] Pass `vnode.state` as context to `onbeforeremove`.
2016-07-29 09:35:48 -04:00
Pierre-Yves Gerardy
72bc17e9b4
Pass vnode.state as context to onbeforeremove.
2016-07-29 15:23:28 +02:00
Pierre-Yves Gerardy
0566b04a0f
Add test for onbeforeremove context.
2016-07-29 15:23:28 +02:00
Leo Horie
09a0464a01
don't break tests in node
2016-07-29 08:49:57 -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
0ac6ef44b8
update README
2016-07-28 23:39:44 -04:00
Leo Horie
91a492b2e8
fix node module resolution in bundler
2016-07-28 23:22:37 -04: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
640b19228a
improve bundler
2016-07-28 22:35:22 -04:00
Leo Horie
fbb324e433
simplify handling of FormData
2016-07-28 22:34:16 -04:00
Leo Horie
fd2f381cea
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-07-27 00:15:40 -04:00
Leo Horie
ab6cc583f2
more docs for m.request
2016-07-27 00:14:47 -04:00
Leo Horie
023956b62e
Merge pull request #1174 from pygy/move-up-vnodes-assignment
...
Move the `dom.vnodes` assignement up one line.
2016-07-26 10:32:34 -04:00
Leo Horie
d1216f3e06
Merge pull request #1175 from gaspoute/pass-namespace-to-children
...
Pass namespace to new children when updating their parent
2016-07-26 10:30:45 -04:00
Gaspar
4acf5e58a3
Pass namespace to new children when updating their parent
2016-07-26 11:09:13 +02:00
Pierre-Yves Gerardy
75f1bd2f71
Move the dom.vnodes assignement up one line.
...
It makes it possible to peek into the vnodes tree from the `oncreate` hook of a component.
2016-07-26 08:58:38 +02:00
Pierre-Yves Gerardy
357de85129
Test for #1146 and #1153
2016-07-26 00:53:33 +02:00
Leo Horie
d64c6175a9
Merge pull request #1171 from pygy/remove-test
...
Remove questionable test
2016-07-25 10:06:48 -04:00
Pierre-Yves Gerardy
6e12373e71
Remove questionable test
...
Its failure breaks CI and having it break may be desirable.
2016-07-24 11:55:16 +02:00
Leo Horie
8bc47632ee
some more docs
2016-07-22 00:06:59 -04:00
Leo Horie
1155027c91
fix #1163
2016-07-21 00:52:32 -04:00
Isiah Meadows
6da4e973d8
Merge pull request #1149 from barneycarroll/multi-mount-test
...
Test for #1146
2016-07-20 05:09:59 -04:00
Leo Horie
fe630b9651
Merge pull request #1161 from mindeavor/patch-1
...
Update m.sync migration docs
2016-07-18 13:35:11 -04:00
Gilbert
9e59d4a98d
Update m.sync migration docs
2016-07-18 12:25:29 -05:00
Leo Horie
250495915b
Merge pull request #1156 from pygy/fix-onremove-tests
...
Fix the onremove tests
2016-07-18 10:22:25 -04:00
Barney Carroll
8590a2da5b
Alt test for multiple mountpoint redraw (fails)
2016-07-18 11:32:30 +01:00
Barney Carroll
e43d638f54
Merge branch 'rewrite' into multi-mount-test
2016-07-18 09:02:49 +01:00
Pierre-Yves Gerardy
7b09f1975c
Fix the onremove tests
2016-07-16 23:13:54 +02:00
Leo Horie
264741f2f5
report uncaught errors
2016-07-15 22:56:29 -04:00
Leo Horie
e4a16d3bf4
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-07-15 22:24:07 -04:00
Leo Horie
602d048611
build
2016-07-15 22:24:04 -04:00
Leo Horie
519b352c2c
fix onremove across components
2016-07-15 22:22:34 -04:00
Leo Horie
a7a4cc0cc8
Merge pull request #1148 from barneycarroll/prop.toString
...
prop.toString
2016-07-15 10:05:13 -04:00
Leo Horie
26137158d2
Merge pull request #1153 from pygy/rewrite
...
Event handlers redraw all mount points. Fix #1146
2016-07-15 09:56:45 -04:00
Pierre-Yves Gerardy
e0a0e97ada
Event handlers redraw all mount points. Fix #1146
2016-07-15 12:54:26 +02:00
Leo Horie
7a5978df59
make note about m("[")
2016-07-15 01:35:18 -04:00
Leo Horie
d8b48666f4
rebuild
2016-07-15 01:22:47 -04:00
Leo Horie
084d99f125
fix back button on default route trigger
2016-07-15 01:22:34 -04:00
Leo Horie
a2680b30a4
s/sync/merge
2016-07-15 00:35:18 -04:00
Leo Horie
5f90bde20f
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-07-15 00:28:17 -04:00
Leo Horie
276184484d
fix diff bugs when there are null components in list
2016-07-15 00:28:01 -04:00
Barney Carroll
adaef70729
Test use cases for prop valueOf & toString
2016-07-14 14:23:01 +01:00
Barney Carroll
193b08e10c
Test for #1146
2016-07-14 14:10:55 +01:00
Barney Carroll
8f17472bcc
Merge branch 'prop.toString' of github.com:barneycarroll/mithril.js into prop.toString
2016-07-14 13:28:33 +01:00
Barney Carroll
f3a4a7e1eb
compile prop.toString method
2016-07-14 13:28:19 +01:00
Barney Carroll
e6029a9a5c
Compile results for test purposes
2016-07-14 13:27:48 +01:00
Barney Carroll
3d02aeae36
prop.toString method
2016-07-14 13:19:31 +01:00
Leo Horie
01875b4cf4
Merge pull request #1147 from mindeavor/rewrite-sync
...
Add m.prop.sync
2016-07-13 09:04:08 -04:00