Commit graph

247 commits

Author SHA1 Message Date
Leo Horie
2d5d042131 allow m.redraw(true) to force-render component 2015-05-05 21:16:29 -04:00
Gilbert
2a61907839 Test promise-like catch 2015-05-01 16:47:19 -05:00
Leo Horie
8214d56411 clean up 2015-04-21 21:45:33 -04:00
Leo Horie
926ed2d692 teardown #571 test properly 2015-04-21 20:55:23 -04:00
Leo Horie
16bad63113 Merge pull request #575 from tobscure/redraw-all-fix
Add test case for #571
2015-04-21 20:54:23 -04:00
Leo Horie
8f9cbb751f teardown route tests properly 2015-04-21 20:53:54 -04:00
Toby Zerner
337ec325b3 Add test case 2015-04-22 07:31:59 +09:30
Leo Horie
d6911d105b clean up unused test code 2015-04-21 09:24:13 -04:00
Leo Horie
dbee97bf04 ensure component lifecycle works for components with implicit controllers 2015-04-21 09:23:55 -04:00
Leo Horie
15c0686b27 prevent early redraw of component w/ routed async components 2015-04-20 12:41:51 -04:00
Leo Horie
cf1f316bee don't redraw component before async service finishes 2015-04-20 11:20:04 -04:00
Leo Horie
b847ca1067 add regression test 2015-04-18 09:17:48 -04:00
Leo Horie
fce5f4b86f prevent dom recreation if only class value changed 2015-04-15 22:40:50 -04:00
Leo Horie
94d804d850 #554 don't initialize ctx.retain 2015-04-14 22:47:56 -04:00
Leo Horie
ce883b4089 #555 don't cache controller if redraw strategy is all 2015-04-14 21:38:21 -04:00
Leo Horie
f0f1e88170 #551 don't destroy root if forced synchronous redraw 2015-04-13 23:04:04 -04:00
Leo Horie
2923104d27 clean up 2015-04-13 08:29:03 -04:00
Leo Horie
9e558c199c #544 ignore class: undefined 2015-04-11 20:14:43 -04:00
Leo Horie
465632b1c3 Merge branch 'next' into components 2015-04-09 22:46:25 -04:00
Leo Horie
9e8dc6998d rework api 2015-04-09 22:44:45 -04:00
Leo Horie
f7413dc6e3 fix svg tests 2015-04-01 12:31:39 -04:00
Leo Horie
f85e3a675c split into m.component and m.mount, deprecate m.module 2015-03-31 15:53:41 -04:00
Leo Horie
ba26db057e Merge remote-tracking branch 'origin/next' into components 2015-03-31 10:50:41 -04:00
Leo Horie
b111d058be fix regression caused by #524 2015-03-31 10:50:19 -04:00
Leo Horie
1d0aa035c6 add test for #523 2015-03-30 14:53:03 -04:00
Leo Horie
dab565727c Merge branch 'next' into components 2015-03-30 13:27:17 -04:00
Leo Horie
8d9fa8ff04 remove timing code 2015-03-30 13:26:56 -04:00
Leo Horie
648f4734b5 #524 fix diff bug when mixing undefined in a tree 2015-03-30 13:25:32 -04:00
Leo Horie
8b1a58bc51 Merge branch 'next' into components 2015-03-27 11:58:59 -04:00
Leo Horie
9748b6ece4 #454 fix regression 2015-03-27 11:55:09 -04:00
Leo Horie
1586d8aaa1 Merge remote-tracking branch 'origin/next' into components 2015-03-26 21:14:49 -04:00
Leo Horie
f7cacb7a0b #507 fix diff regression when mixing elements and text nodes 2015-03-26 21:14:30 -04:00
Leo Horie
9ada8111d7 Merge branch 'next' into components
Conflicts:
	mithril.d.ts
2015-03-25 22:07:11 -04:00
Leo Horie
6f832a7040 #501,#502,#504 buildQueryString and parseQueryString fixes and tests 2015-03-25 21:54:36 -04:00
Leo Horie
9f110774aa #510 allow recursive nesting of components 2015-03-24 22:18:06 -04:00
Leo Horie
c1ea98fd09 Merge branch 'next' into components 2015-03-24 20:23:39 -04:00
Leo Horie
0ed23d4fa3 push test 2015-03-23 22:49:15 -04:00
Leo Horie
c52060a670 Merge branch 'next' into components 2015-03-13 23:23:16 -04:00
Leo Horie
904f4ee34a #463 don't try to manage 3rd party dom element when using keys 2015-03-13 23:22:54 -04:00
Leo Horie
9a9f0bd08e Merge remote-tracking branch 'origin/next' into components 2015-03-13 22:55:02 -04:00
Leo Horie
8cc4a862fe #413 fix ctx.retain bug 2015-03-13 22:54:46 -04:00
Leo Horie
fdbbe7f78f #481 recreate controller if only component type changes 2015-03-11 21:18:13 -04:00
Leo Horie
114ebec22f Merge remote-tracking branch 'origin/next' into components 2015-03-11 09:52:56 -04:00
Leo Horie
b8a7d7217d #476 fix conditional 2015-03-09 21:30:15 -04:00
Leo Horie
bf32eb7dfc test retain flag 2015-03-06 08:58:06 -05:00
Leo Horie
eb8fa6f1c3 Merge branch 'next' into components
Conflicts:
	mithril.js
	tests/mithril-tests.js
2015-03-05 20:55:33 -05:00
Leo Horie
71a19a27a9 document flag 2015-03-02 22:25:52 -05:00
Leo Horie
1a57bcc403 Merge remote-tracking branch 'origin/next' into ctx-reuse-flag 2015-02-26 22:54:13 -05:00
Leo Horie
06c6e56cc4 Merge remote-tracking branch 'origin/next' into components 2015-02-24 21:26:07 -05:00
Leo Horie
655e4ceafb allow omitting controller for sub modules 2015-02-24 21:25:39 -05:00