Commit graph

294 commits

Author SHA1 Message Date
Leo Horie
fed82b2135 #382 don't render single empty space if not needed 2015-01-19 22:20:43 -05: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
Leo Horie
75567c68cc don't break input cursor in chrome 2014-11-17 23:03:13 -05:00
Leo Horie
5afefb30b8 const style 2014-11-14 23:37:36 -05:00
Leo Horie
b836cccb99 performance optimization: don't add key as an attribute 2014-11-14 23:35:06 -05:00
Leo Horie
1321aec9fb inline flatten 2014-11-14 22:54:16 -05:00
Leo Horie
6736537fcf remove dead code 2014-11-14 22:41:32 -05:00
Leo Horie
940289773e clean up 2014-11-13 22:10:29 -05:00
Leo Horie
394fb5922b restoring state 2014-11-13 21:50:26 -05:00
Leo Horie
4a4a3a54fc Merge remote-tracking branch 'origin/next' into next 2014-11-13 21:15:56 -05:00
Leo Horie
59ebe873f7 refactor flatten 2014-11-13 21:15:07 -05:00
Leo Horie
a4b589ab36 Merge pull request #338 from AlexGalays/next
Performance tuning: Array.push instead of Array.concat
2014-11-13 20:31:52 -05:00
Leo Horie
5501d23652 prevent stupid error on GET w/ data 2014-11-13 20:05:44 -05:00
Alex Galays
7720f67ca3 Performance tuning: Push in an existing Array instance, instead of recreating an Array every time with concat. 2014-11-13 18:15:41 +01:00
Leo Horie
90e0afde61 #337 make elements not display is="undefined" in chrome 2014-11-12 23:15:18 -05:00
Leo Horie
c9bbfb2bbc Merge branch 'next' of github.com:g00fy-/mithril.js into g00fy--next
Conflicts:
	mithril.js
	mithril.min.js
	mithril.min.js.map
2014-11-12 23:03:46 -05:00
Leo Horie
753b1abb21 fix #336 (related: #151, #214, #288) 2014-11-12 20:37:16 -05:00
Leo Horie
515ba7cf9c Merge pull request #334 from edwinvanrijkom/next
Adding support for custom elements that derive from a native element
2014-11-12 13:33:57 -05:00
Edwin van Rijkom
bb9477313a Adding support for custom elements that derive from a native element (i.e. <button is="my-button">). 2014-11-12 16:19:10 +01:00
Barney
b5de0c2b4d Fixed m.request initialValue tests 2014-11-10 15:32:31 +00:00