Commit graph

2903 commits

Author SHA1 Message Date
Collin Stedman
4616f2bab0 Specify tab width in editorconfig 2016-07-18 09:31:04 -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
Collin Stedman
62ae1e8b48 Patch for #956: redraw trusted content with multiple nodes 2016-07-18 01:28:48 -04: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
Gilbert
008ffc9587 Add m.prop.sync 2016-07-12 23:27:36 -05:00
Leo Horie
7227cc546f fix recycling when tag is different in unkeyed node 2016-07-12 11:30:58 -04:00
Leo Horie
c196b8b475 fix loading/error example, beef up render docs 2016-07-12 00:34:56 -04:00
Leo Horie
0039a0b4a5 Merge pull request #1144 from ludbek/proper.component
proper component check at m()
2016-07-11 15:52:52 -04:00
ludbek
e46f8d5881 fixed syntax error 2016-07-11 20:56:39 +05:45
ludbek
cb64be965b removed stupid test 2016-07-11 20:34:03 +05:45
Leo Horie
86fa142faa update readme 2016-07-11 09:50:50 -04:00
Leo Horie
a6c56ff6b9 resolve hook in router 2016-07-11 09:50:00 -04:00
Leo Horie
b3d784d841 fix example 2016-07-11 09:31:56 -04:00
ludbek
8d14e811f9 proper component check at m() 2016-07-11 10:55:30 +05:45
Leo Horie
ffa9736151 fix diff for other null component root cases 2016-07-08 15:08:56 -04:00
Leo Horie
abadcfc13a fix null ref when updating component root from null to something 2016-07-08 14:57:10 -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
Isiah Meadows
03c6188989 Merge pull request #1137 from nurtom/patch-1
Tests for issue #1124/#1125
2016-07-06 18:55:23 -04:00
Pat Cavit
0ac094d2cb Update m.route.getPath/setPath docs 2016-07-06 13:55:07 -07:00
Thomas Erfurth
3a9a271765 Merge remote-tracking branch 'origin/patch-1' into patch-1
# Conflicts:
#	mithril.js
2016-07-06 16:05:40 +02:00
Thomas Erfurth
d6f7653e31 Added tests for history modification when switching routes with parameters (#1125) 2016-07-06 16:00:39 +02:00
darda
c17ea5bbc8 Push route to history stack, when using parameters
Bugfix for issue #1124
The condition has been changed, which is deciding to push the a route to history stack.
I think, it is necessary to compare the old route with the current route, instead of old route with root (without parameters).
2016-07-06 16:00:39 +02:00
Thomas Erfurth
d327c92f0a Added tests for history modification when switching routes with parameters (#1125) 2016-07-06 10:54:46 +02:00
Pat Cavit
34bed08cd0 m.route.getPath/setPath -> m.route.get/set (#1133) 2016-07-01 12:46:15 -07:00
Leo Horie
e8e0bae726 make setPath always async 2016-07-01 13:03:07 -04:00
Leo Horie
520d15a060 remove non-deterministic test 2016-07-01 00:01:28 -04:00