Commit graph

1864 commits

Author SHA1 Message Date
Scott Simpson
17ee04c00a fix missing return in BetterLabeledComponent view (#1332) 2016-09-20 11:09:41 -07:00
Pat Cavit
5132c50ec0 view() params and xlink namespace 2016-09-20 10:58:16 -07:00
Scott Simpson
6252a00bed small fixes in hyperscript.md (#1330)
Moved SVG/MathML section down to reflect the order of the TOC
Renamed "Avoid Anti-patterns" to enable TOC link
2016-09-20 10:24:08 -07:00
Leo Horie
de9049ad11 Merge pull request #1329 from jethroscott/patch-3
fix component name
2016-09-20 13:07:15 -04:00
Scott Simpson
3f70d20bb1 fix component name 2016-09-20 09:53:25 -07:00
Leo Horie
b8398544a0 bump ospec version 2016-09-19 14:03:49 -04:00
Leo Horie
d461c7a2e0 Merge pull request #1320 from jethroscott/patch-1
[rewrite] add parenthesis
2016-09-19 10:36:41 -04:00
Scott Simpson
e080a05b3e add parenthesis 2016-09-16 12:09:49 -07:00
Gandalf-the-Bot
fe7cc3efe6 Bundled output for commit 111187cb4f [skip ci] 2016-09-15 20:30:07 +00:00
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