Commit graph

340 commits

Author SHA1 Message Date
Leo Horie
643e85cd5b prevent early redraw if controller goes async 2015-02-26 22:28:28 -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
Leo Horie
c81294bce8 #466 allow modules as second parameter of m 2015-02-24 17:53:49 -05:00
Leo Horie
971b0def51 make error more generic to account for submodule'd modules 2015-02-24 09:17:10 -05:00
Leo Horie
550fe9871a Merge pull request #454 from TheThing/next
propify: Fix chaining to return original m.prop
2015-02-18 22:20:42 -05:00
Leo Horie
2160dc13c1 Merge remote-tracking branch 'origin/next' into components 2015-02-18 21:41:41 -05:00
Leo Horie
105a936a06 #320 fix routing bug in IE9 2015-02-12 22:02:44 -05:00
Leo Horie
1ed2ffe118 Merge branch 'next' into components 2015-02-11 22:44:35 -05:00
Leo Horie
bd771ab0b4 Merge branch 'next' into components 2015-02-11 22:44:08 -05:00
Leo Horie
2369586167 Merge pull request #452 from nordfjord/next
always select exact route if it exists
2015-02-10 09:47:47 -05:00
Einar Norðfjörð
6aaa199a24 add whitespace my editor removed 2015-02-10 10:40:13 +00:00
Leo Horie
6c13087844 #448 fix flatten edge case 2015-02-09 23:27:31 -05:00
Leo Horie
5bf0faf357 #453 fix html entity order bug in m.trust 2015-02-09 23:23:00 -05:00
Leo Horie
d482020daa fix onunload preventdefault in non-curried modules 2015-02-09 23:02:32 -05:00
Jonatan Nilsson
8c00296393 propify: Fix chaining to return original m.prop 2015-02-09 21:35:34 +00:00
Einar Norðfjörð
fa824ca080 always select exact route if it exists 2015-02-09 18:11:56 +00:00
Leo Horie
adf7b39650 fix onunload preventDefault in components 2015-02-08 23:38:38 -05:00
Leo Horie
ad303427bf prevent infinite recursion in m.redraw 2015-02-07 23:20:51 -05:00
Jonatan Nilsson
fa719a4a60 request: Send xhrRequest to unwrap method 2015-02-07 14:37:38 +00:00
Leo Horie
2ac027a2af tests for components 2015-02-06 23:41:31 -05:00
Leo Horie
67cdda7249 Merge branch 'next' into components 2015-02-06 22:41:20 -05:00
webcss
96b1f9e791 handle mixed type children correctly - fixes #443 2015-02-07 00:18:07 +01:00
Leo Horie
784973f168 Merge branch 'next' into components
Conflicts:
	mithril.js
2015-02-03 21:45:19 -05:00
Leo Horie
80ce42cfdc fix tests 2015-02-02 23:10:23 -05:00
Leo Horie
1302ace4b5 remove .args, .onupdate and .view 2015-02-02 22:59:10 -05:00
Shlomo Dalezman
da4ef441fd added multi argument brackets 2015-02-02 13:38:12 -05:00
Leo Horie
45ee2751e7 Merge pull request #434 from ciscoheat/redraw-context-fix
Fixed context when calling a module view during redraw.
2015-02-01 15:11:30 -05:00
Leo Horie
231900486a clean up 2015-01-31 22:23:33 -05:00
Leo Horie
10f291d64a components API: take 2 2015-01-30 22:41:35 -05:00
webcss
e158b52c47 fix for #428 introduces new misbehaviour
The fix for #428 provided prevents entries beeing written to history. History.back() or hitting browsers back-button don't work anymore, since there are no history entries. 
This is because you are assigning the new path to route to to currentPath and compare these, which always turn out to be equal. Saving the currentPath before the assignment fixes this missbehaviour.
2015-01-30 11:20:53 +01:00
Andreas
5080db017f Fixed context when calling a module view during redraw. 2015-01-29 22:38:03 +07:00
Leo Horie
6d01629416 Merge branch 'next' into components 2015-01-27 21:43:52 -05:00
fanlia
0ac28928f3 fix issue #424 2015-01-28 09:32:13 +08:00
Leo Horie
aacc618dfd #428 don't add history entry on reload from link 2015-01-26 22:08:31 -05:00
Leo Horie
f9df39f5f7 #425 fix querystring detection in pathname mode 2015-01-25 23:27:35 -05:00
Leo Horie
71980112b7 #425 fix querystring detection in pathname mode 2015-01-25 23:25:17 -05:00
Leo Horie
6650023c63 Merge branch 'next' into components 2015-01-25 22:50:20 -05:00
Leo Horie
6c77586616 #426 make array-to-querystring serialization work like jquery 2015-01-25 22:49:46 -05:00
Leo Horie
5314888d46 extend 2015-01-25 22:14:14 -05:00
Leo Horie
8c112ca468 make controller extend tag 2015-01-24 21:22:51 -05:00
Leo Horie
dfde6de222 redraw after diff 2015-01-24 18:48:19 -05:00
Leo Horie
ad8b581077 proof of concept for components 2015-01-24 18:09:28 -05:00
Leo Horie
509ecbe3d9 Merge pull request #421 from dudeman/next
remove script from parentNode since $document.body may have changed
2015-01-19 23:01:45 -05:00
Leo Horie
a04d67500e #420 allow unloading of modules 2015-01-19 22:29:12 -05:00
Leo Horie
fed82b2135 #382 don't render single empty space if not needed 2015-01-19 22:20:43 -05:00
Max Baumann
e0855cce65 remove script from parentNode since $document.body may have changed 2015-01-18 17:04:54 -08:00
Leo Horie
d418423eec revert #415 since it breaks build 2015-01-14 21:46:42 -05:00
Ondrej
9391a789ea fixes TypeError: Illegal Invocation in node-webkit
requestAnimationFrame, setTimeout and clearTimeout need to be called on the window object explicitely in node-webkit.
2015-01-14 22:13:21 +01:00
Barney Carroll
d874748c6f Merge branch 'next' of github.com:lhorie/mithril.js into next 2015-01-06 19:37:01 +00:00