Commit graph

1835 commits

Author SHA1 Message Date
Pierre-Yves Gerardy
b8673f2ff5 Validate the DOM node passed to render 2016-09-09 15:20:26 +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
Gandalf-the-Bot
435b729289 Bundled output for commit 6bebdf8d4b [skip ci] 2016-08-18 23:28:06 +00:00
Leo Horie
6bebdf8d4b Merge pull request #1249 from pygy/m-fragment
Add `m.fragment()`
2016-08-18 19:27:07 -04:00
Pierre-Yves Gerardy
305035f03b Add m.fragment() 2016-08-18 23:34:36 +02:00
Pat Cavit
644f0d484b 4 spaces != 1 tab 2016-08-18 09:52:36 -07:00
Pat Cavit
15116d5b2e Update package metadata (#1256) 2016-08-18 09:51:24 -07:00
Leo Horie
8cbe2dd193 Merge pull request #1255 from tivac/ospec-package
Add package.json to ospec so it can be published
2016-08-18 12:39:00 -04:00
Pat Cavit
54dc599ca0 Add package.json to ospec so it can be published 2016-08-18 09:36:57 -07:00
Leo Horie
3682a78880 clean up duplicate test 2016-08-18 00:01:11 -04:00
Gandalf-the-Bot
29ee36e967 Bundled output for commit 3761226c2c [skip ci] 2016-08-18 03:55:23 +00:00