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
Leo Horie
9afefe0fd7
don't swallow redraws
2016-06-30 23:46:47 -04:00
Leo Horie
88b91b1073
ospec: display brackets in errors about arrays
2016-06-30 23:39:22 -04:00
Leo Horie
4ad4fdf75c
add missing space
2016-06-30 23:38:52 -04:00
Leo Horie
b848655d8b
Merge pull request #1131 from 2is10/route
...
Fixing m.route() after a canceled navigation (#1126 )
2016-06-30 08:32:16 -04:00
Jared Jacobs
e9e2a45caa
Fixing m.route() after a canceled navigation ( #1126 )
2016-06-29 22:48:45 -07:00
Leo Horie
015a812610
fantasy-land methods no longer absorb streams
2016-06-30 01:28:50 -04:00
Leo Horie
2173d8c0e3
Merge pull request #1129 from 2is10/contributing
...
Updating the links to known failing tests (now just one)
2016-06-29 18:45:18 -04:00
Jared Jacobs
d59341ed06
Updating the links to known failing tests (now just one)
2016-06-29 15:34:41 -07:00
Leo Horie
7fa3fee9ce
improve docs for m.request
2016-06-24 23:41:35 -04:00
Leo Horie
36e6894859
extend rejection reason w/ json error on request error
2016-06-24 21:40:11 -04:00
Leo Horie
6e3ce0aeb5
rebuild
2016-06-24 16:02:01 -04:00
Leo Horie
794d32d7d1
initialValue arg
2016-06-24 15:58:30 -04:00
darda
753944efe8
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-06-23 08:49:18 +02:00
Leo Horie
c4c916b1d2
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-06-23 01:10:49 -04:00
Leo Horie
89492a4956
modularize bundler and minify scripts
2016-06-23 01:10:30 -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
Leo Horie
e1be5e8368
Merge pull request #1122 from porsager/patch-1
...
Correct descriptions for map in table
2016-06-21 15:23:23 -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
Leo Horie
92d9e93ee1
let bundler resolve npm deps
2016-06-20 23:08:43 -04:00
Leo Horie
93a9e5a2f8
rebuild
2016-06-20 23:08:27 -04:00
Leo Horie
816363eebf
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-06-20 22:25:58 -04:00
Leo Horie
a875f7e162
ensure upstream does not affect ended stream
2016-06-20 22:25:43 -04:00
Leo Horie
0a301df16a
Merge pull request #1120 from pygy/patch-1
...
Remove the injection of `Stream` into `requestService`
2016-06-20 12:51:10 -04:00
Pierre-Yves Gérardy
05c8c411ad
Remove the injection of Stream into requestService
...
I guess the leftovers of a previous version...
2016-06-20 18:37:17 +02:00