Commit graph

760 commits

Author SHA1 Message Date
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
d941a61533 Merge branch 'next' into components 2015-02-18 22:09:55 -05:00
Leo Horie
46e5a24d82 fix polyfill.io link 2015-02-18 22:09:43 -05:00
Leo Horie
0d819f082b ordered list in docs 2015-02-18 22:05:52 -05:00
Leo Horie
8fadeadb8f some docs 2015-02-18 21:59:54 -05:00
Leo Horie
2160dc13c1 Merge remote-tracking branch 'origin/next' into components 2015-02-18 21:41:41 -05:00
Leo Horie
a795c1ba1d Merge pull request #460 from cbowdon/typescript_stricter_defs
Typescript stricter defs
2015-02-18 20:17:26 -05:00
Chris Bowdon
130a075a91 Fixed weird 7-space indentation in d.ts (now 4) 2015-02-14 13:32:34 +00:00
Chris Bowdon
a5667ff341 Made it possible to use TypeScript class as a controller 2015-02-14 13:31:50 +00:00
Leo Horie
a48cf080f4 fix return value in doc 2015-02-13 13:42:04 -05:00
Leo Horie
8ac72911a8 update docs and change log 2015-02-12 22:15:42 -05:00
Leo Horie
105a936a06 #320 fix routing bug in IE9 2015-02-12 22:02:44 -05:00
Leo Horie
e9eb03285a fix docs typo 2015-02-12 20:56:28 -05:00
Leo Horie
b88942d79d Merge pull request #457 from cbowdon/typescript_stricter_defs
Stricter TypeScript definitions
2015-02-11 22:47:26 -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
Chris Bowdon
492eb2ed67 Stricter TypeScript definitions 2015-02-11 20:51:48 +00: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
e0aa878fc1 add more elaborate test 2015-02-09 23:24:26 -05:00
Leo Horie
5bf0faf357 #453 fix html entity order bug in m.trust 2015-02-09 23:23:00 -05:00
Leo Horie
2fa4632186 fix docs about shouldReplaceHistory 2015-02-09 23:11:20 -05:00
Leo Horie
d482020daa fix onunload preventdefault in non-curried modules 2015-02-09 23:02:32 -05:00
Leo Horie
d446272cf3 Merge pull request #447 from TheThing/next
m.request: Add XMLHttpRequest parameter to the unwrap method
2015-02-09 15:55:05 -05: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
Leo Horie
57021b6b5e add tests 2015-02-06 22:08:08 -05:00
Leo Horie
4259c06a0a Merge pull request #445 from webcss/patch-2
handle mixed type children correctly - fixes #443
2015-02-06 21:51:22 -05:00
webcss
96b1f9e791 handle mixed type children correctly - fixes #443 2015-02-07 00:18:07 +01:00
Leo Horie
4b92c821c2 v0.1.30 2015-02-04 22:00:40 -05:00
Leo Horie
784973f168 Merge branch 'next' into components
Conflicts:
	mithril.js
2015-02-03 21:45:19 -05:00
Leo Horie
a4d2be55c2 Merge pull request #440 from dailymuse/feature/multi-args
added multi argument brackets
2015-02-02 23:13:20 -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
ffd7efc15d Merge pull request #438 from liamcurry/patch-1
Small change to example code
2015-02-01 09:16:03 -05:00
Liam Curry
0cd1c4e5bf Small change to example code 2015-02-01 00:59:46 -07: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
Leo Horie
eb3885ea5e Merge pull request #435 from webcss/patch-1
fix for #428 introduces new misbehaviour
2015-01-30 10:15:42 -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