Commit graph

2172 commits

Author SHA1 Message Date
Leo Horie
992aa30ccc fix m.route.link and m.route.set history replacement 2016-12-06 23:29:15 -05:00
Leo Horie
08a4442814 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-12-06 21:59:58 -05:00
Leo Horie
37cb9a0622 test some more routeresolver cases 2016-12-06 21:59:45 -05:00
Gandalf-the-Bot
0e9790e342 Bundled output for commit c2acdf6f4a [skip ci] 2016-12-07 01:00:36 +00: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
Gandalf-the-Bot
e73f4ba126 Bundled output for commit 678a8b13ae [skip ci] 2016-12-06 21:28:09 +00:00
Leo Horie
678a8b13ae Merge pull request #1461 from pygy/rewrite-router-cleanup
[rewrite] router cleanup
2016-12-06 16:27:26 -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
19729bccdf Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-12-06 12:43:40 -05:00
Leo Horie
b6c79f5911 tighten up async testing 2016-12-06 12:43:23 -05:00
Leo Horie
532225f791 Merge pull request #1459 from barneycarroll/docs-change-log-m.deferred-removal
Document m.deferred removal
2016-12-06 12:38:19 -05:00
Barney Carroll
aff78cf9ca Document m.deferred removal 2016-12-06 16:48:43 +00:00
Gandalf-the-Bot
6a63cb702d Bundled output for commit 846d6ce24b [skip ci] 2016-12-06 15:45:34 +00:00
Leo Horie
846d6ce24b router fixes 2016-12-06 10:44:25 -05:00
Leo Horie
3fb160c12e Merge remote-tracking branch 'origin/rewrite' into rewrite
# Conflicts:
#	docs/route.md
2016-12-06 00:10:30 -05:00
Leo Horie
c4dc637de5 Merge branch 'tivac-promised-router' into rewrite 2016-12-06 00:09:34 -05:00
Leo Horie
3134202d24 fix tests 2016-12-06 00:09:09 -05:00
Barney Carroll
bc14b0568d Migration docs: elaborate on changes in redraw logic (#1440)
* Migration docs: elaborate on changes in redraw logic

* Removed bad m.request().then(m.redraw) docs
2016-12-05 17:20:17 -08: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
Pat Cavit
05e888958d Naively make m.route.set return a Promise 2016-12-05 16:22:52 -08:00
Pat Cavit
4e9505335c Fix TOC link, remove m.request.run ref (#1456) 2016-12-05 11:41:20 -08:00
Gandalf-the-Bot
624c0d5fa1 Bundled output for commit 9f340daa3a [skip ci] 2016-12-05 17:33:12 +00:00
Leo Horie
9f340daa3a reduce router code size 2016-12-05 12:32:11 -05:00
Leo Horie
8623eb59cd Merge remote-tracking branch 'origin/rewrite' into rewrite
# Conflicts:
#	mithril.min.js
2016-12-05 11:36:40 -05:00
Leo Horie
b11f54b919 avoid null ref if mount redraw runs midway route init 2016-12-05 11:35:50 -05:00
Gandalf-the-Bot
6b3e8163ae Bundled output for commit 809d8921c9 [skip ci] 2016-12-05 16:25:00 +00: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
Gandalf-the-Bot
c84525b503 Bundled output for commit c544390d43 [skip ci] 2016-12-05 04:32:57 +00:00
Leo Horie
c544390d43 Merge pull request #1451 from darsain/update-event
Improve event binding
2016-12-04 23:32:08 -05:00
Gandalf-the-Bot
a12c594d9b Bundled output for commit 9a6a4dddc4 [skip ci] 2016-12-05 04:31:50 +00:00
Leo Horie
9a6a4dddc4 Merge pull request #1452 from pygy/rrrouter
[rewrite: api/router] Misc router fixes
2016-12-04 23:31:04 -05:00
Leo Horie
1b36aa0239 Merge pull request #1454 from bruce-one/patch-1
Fix broken migration links in readme
2016-12-04 23:22:16 -05:00
bruce-one
64be17387c Fix broken links 2016-12-05 13:45:16 +11: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
Tomas Sardyha
3e44c9234c Improve event binding 2016-12-03 11:57:46 +01:00
Leo Horie
23d0939647 test mount redraw count 2016-12-03 00:35:35 -05:00
Leo Horie
c6ebb21b86 add example of how jsx syntax looks 2016-12-02 23:08:10 -05:00
Leo Horie
cfe5e13667 update jsonp docs 2016-12-02 23:07:49 -05:00
Leo Horie
4e25e170e9 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-12-02 22:41:48 -05:00