Commit graph

1844 commits

Author SHA1 Message Date
Leo Horie
55f0dfa4dd Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	docs/route.md
2016-09-12 09:48:30 -04:00
Leo Horie
8492e0c733 route docs tweak 2016-09-12 09:47:45 -04:00
Leo Horie
b9244f4c21 fix class removal 2016-09-12 09:45:57 -04:00
Gandalf-the-Bot
67bb288e01 Bundled output for commit 6fdfcbb852 [skip ci] 2016-09-09 14:42:49 +00: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
Leo Horie
6fdfcbb852 Merge pull request #1305 from pygy/validate-root-node
Validate the DOM node passed to `render`
2016-09-09 10:37:49 -04:00
Pierre-Yves Gerardy
b8673f2ff5 Validate the DOM node passed to render 2016-09-09 15:20:26 +02:00
Pat Cavit
ae1cf554ef Fix formatting 2016-09-08 16:00:43 -07:00
Pierre-Yves Gérardy
837c92349b docs/route.md: fix inner links (#1302) 2016-09-08 11:48:29 -07:00
Pierre-Yves Gerardy
a689bf4ccc Simplify resolution identifier logic (just a bit) 2016-09-08 20:00:45 +02:00
Gandalf-the-Bot
2c93e4995e Bundled output for commit 6a7b048064 [skip ci] 2016-09-07 13:52:44 +00:00
Leo Horie
6a7b048064 Merge pull request #1291 from pygy/debounceAsync
Router: Add debounceAsync to normalize the timing of onhashchange and onpopstate.
2016-09-07 09:51:15 -04:00
Pierre-Yves Gerardy
057f3a9d2f Fix the bundle and bundle tests 2016-09-03 23:28:17 +02:00
Pierre-Yves Gerardy
a1131eb4f2 Lint the router files 2016-09-03 00:32:12 +02:00
Pierre-Yves Gerardy
0539fc651d core router: add debounceAsync(), normalize onhashchange and onpopstate timing. Fix ##1269 2016-09-03 00:17:06 +02:00
Pierre-Yves Gerardy
879b9d6883 Adapt tests for debouncedAsync. 2016-09-02 23:05:34 +02:00
Pierre-Yves Gerardy
2e6a2ae5d9 Docs for the #1276 fix 2016-09-02 22:05:58 +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
Leo Horie
9fbcea2d06 Merge pull request #1287 from barneycarroll/ospec-spy-wrapping
[ospec] Spies reflect wrapped function's name & length
2016-09-02 10:34:29 -04:00
Pierre-Yves Gerardy
f9b358331e White space cleanup 2016-09-01 20:17:05 +02:00
Barney Carroll
b8e3dcfbe4 Code style fix for 6b922d0: substitute double quotes 2016-08-31 11:54:21 +01:00
Barney Carroll
6b922d02ea Spies reflect wrapped function's name & length 2016-08-31 11:51:15 +01:00
Leo Horie
f0888ac7bd make spy decorator 2016-08-30 14:05:53 -04:00
Leo Horie
32fed2dd88 Merge pull request #1284 from barneycarroll/ospec-spy-wrapping
[ospec] allow spy to wrap functions
2016-08-30 13:49:49 -04:00
Barney Carroll
211802793d [ospec] allow spy to wrap functions 2016-08-30 17:10:21 +01:00
Gandalf-the-Bot
9c4ebc8667 Bundled output for commit e0ee794126 [skip ci] 2016-08-26 04:57:32 +00:00
Leo Horie
e0ee794126 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-08-26 00:56:18 -04: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
9db345a40b Merge pull request #1274 from indus/patch-1
Update lifecycle-methods.md
2016-08-25 07:45:42 -04:00
Stefan Keim
82258f606f Update lifecycle-methods.md 2016-08-25 08:50:18 +02:00
Leo Horie
3b8fa57358 Merge pull request #1273 from jethroscott/patch-1
fix typo in RouteResolver description
2016-08-24 23:08:00 -04:00
jethroscott
5e604a8241 fix typo in RouteResolver description 2016-08-24 15:25:12 -07:00
Leo Horie
a1a087c4be fix code splitting example 2016-08-24 10:47:45 -04:00
Leo Horie
dee15a64e3 doc improvements 2016-08-24 10:46:44 -04:00
Leo Horie
ee27a8bab8 fix typo in comment 2016-08-24 01:20:27 -04:00
Gandalf-the-Bot
bbea6a8f61 Bundled output for commit f201ea73ff [skip ci] 2016-08-24 05:09:20 +00:00
Leo Horie
f201ea73ff ensure internal streams have same constructor as public streams 2016-08-24 01:08:20 -04:00
Leo Horie
678e4912c7 Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-08-24 00:26:45 -04:00
Leo Horie
ec07d76fcd m.fragment docs
public api tests
2016-08-24 00:26:15 -04:00
Gandalf-the-Bot
3d515af736 Bundled output for commit 53a83a58f2 [skip ci] 2016-08-24 02:34:16 +00: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
Leo Horie
17161a05c5 Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	mithril.min.js
2016-08-23 13:24:21 -04:00
Leo Horie
6531e3c363 expose parse/build querystring 2016-08-23 13:23:41 -04:00
Leo Horie
ccca916d78 Merge pull request #1263 from barneycarroll/circular-view-error
Circular view error
2016-08-22 10:26:24 -04:00
Barney Carroll
df04dacf2d Compiled circular view error catch 2016-08-22 11:38:42 +01:00
Barney Carroll
f2f8bf825e Test case for circular component returns 2016-08-22 11:37:42 +01:00
Barney Carroll
db45260dbc Throw self-returning component to avoid infinite loop #1260 2016-08-22 11:27:42 +01:00