Commit graph

1855 commits

Author SHA1 Message Date
Leo Horie
111187cb4f Merge pull request #1319 from sdougbrown/db/querystring-slashes
[rewrite] queryString parse - Prevent undesired date parsing
2016-09-15 16:28:42 -04:00
Douglas Brown
391e7f43f5 Prevent undesired Date parsing
Native Date parsing is unpredictable and will occasionally turn a string
like "/foo/1" into a valid date of Jan 1, 2001.  This can be prevented
by not parsing a string that begins with a slash.

It's likely that this is a rare case, but it's annoying when it does
come up.
2016-09-15 16:05:30 -04:00
Pat Cavit
91851e2025 Formatting ✏️ 2016-09-13 06:10:55 +00:00
Pat Cavit
e334b5026f Combine duplicate sections 2016-09-12 11:03:44 -07:00
Pat Cavit
1cd0ec0cd2 m.component removal 2016-09-12 10:35:08 -07:00
Gandalf-the-Bot
ea4bb1bef4 Bundled output for commit edea16575d [skip ci] 2016-09-12 14:28:01 +00:00
Leo Horie
edea16575d special case 304 2016-09-12 10:26:08 -04:00
Gandalf-the-Bot
5584abde1d Bundled output for commit 87b60d19dc [skip ci] 2016-09-12 14:11:51 +00:00
Leo Horie
87b60d19dc Merge pull request #1309 from sdougbrown/db/invalid-stream-guard
WIP - Prevent Infinite Loop in m.prop.combine
2016-09-12 10:09:20 -04:00
Gandalf-the-Bot
383805c61c Bundled output for commit 55f0dfa4dd [skip ci] 2016-09-12 13:50:05 +00:00
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
Douglas Brown
fd0d7059df Prevent Infinite Loop in m.prop.combine
Passing a non-stream value to combine or merge will result in uncaught
errors that are not descriptive enough to be helpful.
2016-09-09 23:06:30 -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