Commit graph

57 commits

Author SHA1 Message Date
Thibault Duplessis
d539c515ea Test SVG update element with tag change
Currently failing. Updating an SVG element which tag changes
actually results in an unknown HTML element.
2016-11-13 11:30:22 +01:00
Leo Horie
3c6e257a19 #1311 don't repeatedly throw the same error if oninit async-redraws and view throws 2016-11-02 14:56:17 -04:00
Leo Horie
65b4116666 don't throw error on undefined/null trusted vnode #1375 2016-10-28 09:51:07 -04:00
Leo Horie
730c960416 #1281 fixed recyling edge case 2016-10-04 16:33:57 -04:00
Leo Horie
b8ef290acd improved bundler, handle width/height atts 2016-09-23 10:31:33 -04: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
b9244f4c21 fix class removal 2016-09-12 09:45:57 -04:00
Pierre-Yves Gerardy
b8673f2ff5 Validate the DOM node passed to render 2016-09-09 15:20:26 +02:00
Leo Horie
ec07d76fcd m.fragment docs
public api tests
2016-08-24 00:26:15 -04: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
Barney Carroll
f2f8bf825e Test case for circular component returns 2016-08-22 11:37:42 +01: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
Leo Horie
3682a78880 clean up duplicate test 2016-08-18 00:01:11 -04:00
Leo Horie
3761226c2c Merge pull request #1244 from pygy/robust-onbeforeremove
Robust onbeforeremove
2016-08-17 23:54:36 -04:00
Pat Cavit
6ae4e22446 Improve hyperscript test coverage (#1250) 2016-08-17 10:09:35 -07:00
Pierre-Yves Gerardy
0ddad54e88 Tests for remove phase Zalgo flakiness. 2016-08-17 01:51:53 +02:00
Leo Horie
6c3036e5c6 fix event removal in diff
fix CI
2016-08-12 22:08:02 -04:00
Leo Horie
f964252c2c test for #1216 2016-08-11 19:44:23 -04:00
Pierre-Yves Gerardy
b6bb63ff85 Skip diff for cached, non-keyed nodes fix #1206 2016-08-06 00:10:54 +02:00
Pat Cavit
4b340ecd75 Clean up test for #1222 a bit (#1223)
Since @lhorie asked nicely.
2016-08-05 14:49:16 -07:00
Pat Cavit
c92e24b7e1 render clears non-mithril dom nodes 2016-08-05 14:15:25 -07:00
Leo Horie
f4b267ff39 don't duplicate html on updates 2016-07-30 15:46:14 -04:00
Leo Horie
a548290dda Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-07-29 22:04:20 -04:00
Leo Horie
7c736b511a rename node to vnode 2016-07-29 22:04:04 -04:00
Pierre-Yves Gerardy
bfc69267d5 Remove a few crumbs I left behind 2016-07-29 20:31:06 +02:00
Pierre-Yves Gerardy
0566b04a0f Add test for onbeforeremove context. 2016-07-29 15:23:28 +02:00
Leo Horie
1155027c91 fix #1163 2016-07-21 00:52:32 -04:00
Pierre-Yves Gerardy
7b09f1975c Fix the onremove tests 2016-07-16 23:13:54 +02:00
Leo Horie
519b352c2c fix onremove across components 2016-07-15 22:22:34 -04:00
Leo Horie
276184484d fix diff bugs when there are null components in list 2016-07-15 00:28:01 -04:00
Leo Horie
7227cc546f fix recycling when tag is different in unkeyed node 2016-07-12 11:30:58 -04:00
Leo Horie
a6c56ff6b9 resolve hook in router 2016-07-11 09:50:00 -04:00
Leo Horie
ffa9736151 fix diff for other null component root cases 2016-07-08 15:08:56 -04:00
Leo Horie
abadcfc13a fix null ref when updating component root from null to something 2016-07-08 14:57:10 -04:00
Leo Horie
a988276e9b Revert "don't copy state anymore"
This reverts commit cece44d4ac.
2016-07-08 10:24:48 -04:00
Leo Horie
cece44d4ac don't copy state anymore 2016-07-08 00:40:52 -04:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
693c87f5f1 fix svg class updates 2016-06-07 20:20:30 -04:00
Leo Horie
4b6c4254ba s/shouldUpdate/onbeforeupdate 2016-06-06 09:59:35 -04:00
Leo Horie
ca784a684e fix svg across component boundaries 2016-06-03 12:27:24 -04:00
Leo Horie
f9ef480b34 fix bugs about recycling in components, and styles when reusing style object 2016-06-02 21:42:18 -04:00
Leo Horie
15373057df ensure multiple attributes work at the same time as attrs w/ square brackets 2016-06-01 16:22:37 -04:00
Leo Horie
b2b0ab34dd parse pattern attribute correctly 2016-06-01 15:43:42 -04:00
Leo Horie
e7420e72e1 more tests 2016-05-24 23:16:43 -04:00
Leo Horie
977239d207 rename limiter to throttle and refactor
- don't inject raf/setTimeout since we can't really mock them w/ a good degree of timing accuracy anyways

fix some unrelated tests
2016-05-19 23:24:04 -04:00
Leo Horie
b4903538f3 prevent recycling for vnodes w/ integration methods 2016-05-19 01:20:21 -04:00
Leo Horie
5ec06e7c08 init state, fix examples 2016-05-15 11:14:38 -04:00
Leo Horie
5265697cb2 semi-working bundle 2016-05-14 01:01:35 -04:00
Leo Horie
41cfda2719 more component lifecycle tests 2016-05-13 07:03:01 -04:00