Commit graph

312 commits

Author SHA1 Message Date
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
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
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
Leo Horie
985611baf4 fix key regression from perf optimization 2014-11-25 20:50:11 -05:00
Leo Horie
2110335f87 Merge branch 'next' into perf 2014-11-25 19:59:06 -05:00
Leo Horie
76aaa782d0 #358 ignore potential meaningless error 2014-11-25 19:46:50 -05:00
Leo Horie
6ef1f8ae2e don't duplicate route args when redirecting #352 2014-11-25 19:36:25 -05:00
Leo Horie
83bc89f188 #355 prevent interop problem w/ QUnit + requireJS 2014-11-24 10:01:54 -05:00
Leo Horie
903ec1496c Merge branch 'next' into perf 2014-11-17 23:13:36 -05:00
Leo Horie
1fce18069d improve comment clarity 2014-11-17 23:13:26 -05:00