Pierre-Yves Gerardy
|
7ee34c122d
|
Call RouteResolver.render on route.set(route.get())
|
2016-12-04 23:42:01 +01:00 |
|
Pierre-Yves Gerardy
|
b6c8e2c63e
|
Add an assertion for RouteResolver.render calls on route.set(route.get())
|
2016-12-04 23:38:01 +01:00 |
|
Leo Horie
|
2ffd2fb7e4
|
throttle m.route redraws
|
2016-12-04 01:53:39 -05:00 |
|
Leo Horie
|
7368cf6f26
|
spacing
|
2016-12-03 09:09:37 -05:00 |
|
Leo Horie
|
23d0939647
|
test mount redraw count
|
2016-12-03 00:35:35 -05:00 |
|
Leo Horie
|
713c25c9c0
|
fix #1404
|
2016-12-01 01:45:07 -05:00 |
|
Leo Horie
|
93fba4dc1d
|
add error message in m.mount
|
2016-10-27 20:28:33 -04:00 |
|
Leo Horie
|
c1cb1fe3da
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
|
2016-10-18 18:07:28 -04:00 |
|
Leo Horie
|
66aa9ce818
|
alignment
|
2016-10-18 10:15:08 -04:00 |
|
1111hui
|
49d678e9a2
|
double test timeout for test pass in old machine
|
2016-10-10 16:41:57 +08:00 |
|
Leo Horie
|
cffe77b2c2
|
tweak timeout in some api/router tests
|
2016-10-04 16:43:31 -04:00 |
|
Pierre-Yves Gerardy
|
426f1b55b0
|
Respect the key set on the vnode of routed components
|
2016-09-17 22:50:43 +02:00 |
|
Pierre-Yves Gerardy
|
118da88889
|
Add test for keys on routed components
|
2016-09-17 22:43:38 +02:00 |
|
Leo Horie
|
af586f5a20
|
Merge pull request #1303 from pygy/simplify-resolution-identifiers
Simplify resolution identifier logic (just a bit)
|
2016-09-09 10:38:31 -04:00 |
|
Pierre-Yves Gerardy
|
b8673f2ff5
|
Validate the DOM node passed to render
|
2016-09-09 15:20:26 +02:00 |
|
Pierre-Yves Gerardy
|
a689bf4ccc
|
Simplify resolution identifier logic (just a bit)
|
2016-09-08 20:00:45 +02:00 |
|
Pierre-Yves Gerardy
|
a1131eb4f2
|
Lint the router files
|
2016-09-03 00:32:12 +02:00 |
|
Pierre-Yves Gerardy
|
879b9d6883
|
Adapt tests for debouncedAsync.
|
2016-09-02 23:05:34 +02:00 |
|
Pierre-Yves Gerardy
|
a34685d7a4
|
m.route.get() returns the last fully resolved route (fix #1276), change RouteResolver.onmatch() signature according to #1277
|
2016-09-02 22:03:27 +02:00 |
|
Pierre-Yves Gerardy
|
419897f72c
|
Add test for #1276
|
2016-09-02 22:00:59 +02:00 |
|
Pierre-Yves Gerardy
|
09578197a1
|
Mount-based api/router.js
Fix #1180
Fix #1268
Fix #1275
Fix #1286
|
2016-09-02 21:59:05 +02:00 |
|
Pierre-Yves Gerardy
|
2e3a610a78
|
Tests for the bugs fixed by the mount-based router
|
2016-09-02 21:56:58 +02:00 |
|
Pierre-Yves Gerardy
|
f9b358331e
|
White space cleanup
|
2016-09-01 20:17:05 +02:00 |
|
Leo Horie
|
00d555b9f4
|
prevent race condition between route.set and async resolve
remove path and route from attrs
|
2016-08-26 00:56:01 -04:00 |
|
Leo Horie
|
ec07d76fcd
|
m.fragment docs
public api tests
|
2016-08-24 00:26:15 -04:00 |
|
Leo Horie
|
53a83a58f2
|
rename RouteResolver::view back to render to restore diff semantics
prevent double resolving
|
2016-08-23 22:33:18 -04:00 |
|
Pierre-Yves Gerardy
|
747f2b2847
|
Move otherwise redundant unsubscription
|
2016-08-17 16:22:44 +02:00 |
|
Pierre-Yves Gerardy
|
aca514eba7
|
Better cleanup when unmounting
|
2016-08-17 15:20:19 +02:00 |
|
Leo Horie
|
0de67f3ac9
|
re-add line removed by mistake
|
2016-08-17 09:14:46 -04:00 |
|
Leo Horie
|
8c9cc0e1f4
|
lint docs
|
2016-08-17 09:09:45 -04:00 |
|
Leo Horie
|
80c25e3809
|
rename routeresolver methods to {onmatch,view}
expose some piecemeal modules
rename internal xhr to request
mirror internal stream api to match public api
|
2016-08-17 00:10:47 -04:00 |
|
Leo Horie
|
68331065b7
|
more router tests
|
2016-08-12 23:56:17 -04:00 |
|
Leo Horie
|
2ee15e3639
|
fix stream uncaught error reporting
fix stream JSON stringification
rename internal render function to `use`
|
2016-08-12 00:41:44 -04:00 |
|
Pat Cavit
|
c92e24b7e1
|
render clears non-mithril dom nodes
|
2016-08-05 14:15:25 -07:00 |
|
Pierre-Yves Gerardy
|
ccc2e1c85d
|
Unmount and cleanly refresh mount points.
|
2016-08-05 00:55:18 +02:00 |
|
Pierre-Yves Gerardy
|
37e7b67a49
|
Add a test for unmounting.
|
2016-08-04 23:31:53 +02:00 |
|
Leo Horie
|
3a19dddb22
|
more docs
|
2016-08-04 00:00:31 -04:00 |
|
Leo Horie
|
a7a546ad7d
|
Merge pull request #1173 from pygy/multi-mount-redraw-test
Test for #1146 and #1153
|
2016-08-03 13:21:10 -04:00 |
|
Leo Horie
|
8ec3a3f2c5
|
test router using file protocol as start point
|
2016-08-02 23:21:13 -04:00 |
|
Leo Horie
|
47070e2f0c
|
compare path, not route
|
2016-08-02 10:32:26 -04:00 |
|
Leo Horie
|
9bd0cd73fc
|
inline Date.now, remove redundant comment
|
2016-07-30 14:55:34 -04:00 |
|
Pat Cavit
|
47b9aba680
|
Use Date.now() if available since it's faster
|
2016-07-29 23:18:11 -07:00 |
|
Leo Horie
|
7c736b511a
|
rename node to vnode
|
2016-07-29 22:04:04 -04:00 |
|
Pierre-Yves Gerardy
|
357de85129
|
Test for #1146 and #1153
|
2016-07-26 00:53:33 +02: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 |
|
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 |
|
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 |
|
Pierre-Yves Gerardy
|
e0a0e97ada
|
Event handlers redraw all mount points. Fix #1146
|
2016-07-15 12:54:26 +02:00 |
|