Commit graph

319 commits

Author SHA1 Message Date
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
Barney Carroll
18dd27a493 Removed decodeSpace function: fixes #399 2015-01-06 17:34:55 +00:00
Eirik S. Morland
6dd5c46090 Make code block comments the way closure compiler likes them. 2015-01-01 22:45:47 +01:00
Leo Horie
2a34765547 add comment for obscure snippet 2014-12-31 20:49:38 -05:00
Leo Horie
857ce0df99 Merge branch 'perf' into next 2014-12-31 17:22:58 -05:00
Leo Horie
fa04377a51 fix #380 correctly (see also #385) 2014-12-31 16:12:47 -05:00
Leo Horie
b4069e2391 Merge remote-tracking branch 'origin/next' into perf 2014-12-31 15:30:16 -05:00
Leo Horie
d4bfee425a #388 throw error if no root element 2014-12-31 15:28:39 -05:00
Leo Horie
cbedf999cd loop refactor 2014-12-12 09:30:48 -05:00
Leo Horie
6435a7c646 Merge branch 'next' into perf
Conflicts:
	mithril.js
2014-12-12 09:20:49 -05:00
Leo Horie
3073b27abd improve loop 2014-12-10 23:06:15 -05:00
Leo Horie
09b25cb803 #378 fix strategy none semantics 2014-12-10 22:34:20 -05:00
Leo Horie
cbdbdd7c60 don't throw error when using console.log in firefox 2014-12-09 11:20:40 -05:00
Leo Horie
f3076367ee #372 cache length in loops 2014-12-08 11:57:31 -05:00
Leo Horie
e453ec7ce3 #380 empty value attr in option should show up 2014-12-08 11:47:27 -05:00
Leo Horie
dc42632e5a #299 fix key bug when nulls are mixed in 2014-12-08 09:55:32 -05:00
Leo Horie
eb3951ce12 #379 fix equality checks 2014-12-06 14:29:59 -05:00
Leo Horie
5f12b23f37 #364 set input type as an attribute, not a property, because CSS 2014-12-01 11:03:37 -05:00
Leo Horie
c5939e6fac show error message if m.route.param is called before m.route(el, defRoute, routes) 2014-12-01 11:03:07 -05:00
Leo Horie
f99308c39c #362 add error for selector arg in m() 2014-11-28 12:45:41 -05:00
Leo Horie
c9c0250f12 short-circuit keys algorithm if no keys changed 2014-11-28 12:44:43 -05:00
Leo Horie
b6693c7f06 decrease memory reallocations 2014-11-25 21:27:55 -05:00