Commit graph

1544 commits

Author SHA1 Message Date
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
Jonatan Nilsson
8c00296393 propify: Fix chaining to return original m.prop 2015-02-09 21:35:34 +00: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
Leo Horie
05831d98c7 v0.1.29 publish 2015-01-27 21:09:45 -05:00
Leo Horie
253cc7fc69 Merge branch 'ersinfotech-fix-bug-issue424' into next 2015-01-27 21:07:19 -05:00
Leo Horie
fa7e2b4afb Merge branch 'fix-bug-issue424' of https://github.com/ersinfotech/mithril.js into ersinfotech-fix-bug-issue424
Conflicts:
	mithril.js
2015-01-27 21:06:27 -05:00
Leo Horie
496d820ee3 #424 fix key association when DOM is modified by external code 2015-01-27 20:53:58 -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
3ea2126291 Merge branch 'next' into components 2015-01-25 23:28:03 -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
b38b0ade0c Merge remote-tracking branch 'origin/next' into next 2015-01-25 22:50:03 -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
c2407b4a17 Merge pull request #429 from majgis/npm-readme
README.md is now copied to the output and included for npm publish
2015-01-25 20:43:50 -05:00
majgis
4ffd72aee0 README.md is now copied to the output and included for npm publish
README.* was added to the files section of the package.json
instead of README.md because a find/replace operation changes
.md to .html
2015-01-25 11:13:59 -07:00
Leo Horie
8c112ca468 make controller extend tag 2015-01-24 21:22:51 -05:00