Pat Cavit
|
2cdd8a96d1
|
tests: undefined until a route has been matched
|
2017-01-11 14:25:19 -08:00 |
|
Pat Cavit
|
834dd02610
|
feat: bring back m.route.params()
Because it's annoying only having route params available to the
top-level components within a route.
|
2017-01-11 14:23:42 -08:00 |
|
Leo Horie
|
9ad16858a5
|
#1520 ospec: report duplicate test names
|
2017-01-08 13:05:27 -05:00 |
|
Leo Horie
|
78b9a082ac
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
# Conflicts:
# api/router.js
|
2016-12-26 12:20:03 -05:00 |
|
Leo Horie
|
e8f36e4e26
|
don't break back button on bail
|
2016-12-26 12:18:51 -05:00 |
|
Bryce Gibson
|
eadd9a0768
|
Ensure the test checks the right thing.
|
2016-12-24 09:36:24 +11:00 |
|
Leo
|
d42d728681
|
fix test
|
2016-12-23 08:52:09 -05:00 |
|
Bryce Gibson
|
f4084671bc
|
Typo.
|
2016-12-22 21:16:32 +11:00 |
|
Bryce Gibson
|
088c41a47f
|
Test precondition.
|
2016-12-22 21:16:32 +11:00 |
|
Bryce Gibson
|
b6daeaab5a
|
Fix back button for default route.
|
2016-12-22 21:16:24 +11:00 |
|
Pierre-Yves Gerardy
|
703aab7905
|
[router] Fix hopefully the last race condition
|
2016-12-09 11:13:42 +01:00 |
|
Pierre-Yves Gerardy
|
605fa44711
|
[api/router] Test for two deferred onmatch racing
|
2016-12-08 15:18:37 +01:00 |
|
Pierre-Yves Gerardy
|
f8bb81f539
|
[api/router] simplify the route finalization logic
|
2016-12-07 23:06:02 +01:00 |
|
Pierre-Yves Gerardy
|
3a671fc5ca
|
[router] add tests for onmatch corner cases
|
2016-12-07 17:07:37 +01:00 |
|
Leo Horie
|
f1f52445ec
|
more router fixes
|
2016-12-07 07:57:58 -05:00 |
|
Leo Horie
|
992aa30ccc
|
fix m.route.link and m.route.set history replacement
|
2016-12-06 23:29:15 -05:00 |
|
Leo Horie
|
37cb9a0622
|
test some more routeresolver cases
|
2016-12-06 21:59:45 -05:00 |
|
Leo Horie
|
c2acdf6f4a
|
fix and test some edge cases in router
|
2016-12-06 19:59:39 -05:00 |
|
Leo Horie
|
8bc3c2b4d4
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
|
2016-12-06 16:53:31 -05:00 |
|
Leo Horie
|
d8ad94adb2
|
fix invalidation test
|
2016-12-06 16:53:16 -05:00 |
|
Pierre-Yves Gerardy
|
650f7c4f3b
|
[router] remove logic made redundant by promise use
|
2016-12-06 21:44:49 +01:00 |
|
Pierre-Yves Gerardy
|
cf12c00fa1
|
[router] don't mutate RouteResolvers, move a branch out of redraw
|
2016-12-06 21:34:24 +01:00 |
|
Leo Horie
|
b6c79f5911
|
tighten up async testing
|
2016-12-06 12:43:23 -05:00 |
|
Leo Horie
|
846d6ce24b
|
router fixes
|
2016-12-06 10:44:25 -05:00 |
|
Leo Horie
|
3134202d24
|
fix tests
|
2016-12-06 00:09:09 -05:00 |
|
Pat Cavit
|
adabc37fd7
|
Handle resolving with a component
|
2016-12-05 17:09:02 -08:00 |
|
Pat Cavit
|
22e9c3bb6f
|
Make api/router.js promise-aware
|
2016-12-05 16:24:24 -08:00 |
|
Leo Horie
|
9f340daa3a
|
reduce router code size
|
2016-12-05 12:32:11 -05:00 |
|
Leo Horie
|
b11f54b919
|
avoid null ref if mount redraw runs midway route init
|
2016-12-05 11:35:50 -05:00 |
|
Leo Horie
|
809d8921c9
|
bypass route resolution algorithm on non-routed redraws
|
2016-12-05 11:23:25 -05:00 |
|
Leo Horie
|
bb4321e8db
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
|
2016-12-04 23:36:52 -05:00 |
|
Leo Horie
|
a2b45ff131
|
add integration test
|
2016-12-04 23:36:38 -05:00 |
|
Pierre-Yves Gerardy
|
ec9f4baa6c
|
Pass the RouteResolver as context to RouteResolver.render
|
2016-12-05 01:09:25 +01:00 |
|
Pierre-Yves Gerardy
|
58275417d4
|
Add test for the context of onmatch and render
|
2016-12-04 23:49:33 +01:00 |
|
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 |
|