Commit graph

268 commits

Author SHA1 Message Date
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
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
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
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
Barney
71a6321c46 m.request default parameter allows immediate invocation of returned m.prop 2014-11-09 13:34:04 +00:00
Piotr Majewski
98794a668e chore: extract & cache commonly accessed variables 2014-11-08 09:10:54 +01:00
Piotr Majewski
b70a3addd3 style: fix missing commas 2014-11-08 07:56:01 +01:00
Leo Horie
a607060267 performance tuning 2014-11-05 00:25:52 -05:00
Leo Horie
eb9720656e #319 fix dynamic link w/ config:m.route 2014-11-04 21:41:39 -05:00
Leo Horie
cb296f6832 #317 resolve w/ empty array if empty array 2014-10-31 21:50:19 -04:00
Leo Horie
19f5878592 revert last push 2014-10-31 21:42:46 -04:00
Leo Horie
3a0439de04 add error message for case of bad serialize 2014-10-31 21:35:32 -04:00
Leo Horie
c980fd9b66 fix order issue when trusted content is mixed with other siblings,
fix js error when child is a random object
make home demo more minimalist
add explanation about modules in guide
2014-10-31 09:31:01 -04:00
Leo Horie
b65252d38b fix global pollution 2014-10-30 10:08:33 -04:00
Leo Horie
8b952ee5ea fix m.route when called from constructor 2014-10-30 09:57:08 -04:00
Leo Horie
459c20b01e clean redundant type check 2014-10-12 22:01:31 -04:00
Leo Horie
b75afdc893 Merge remote-tracking branch 'origin/next' into next 2014-10-12 21:48:54 -04:00
Leo Horie
121ed385cd #304 parse querystring correctly in routed links 2014-10-12 21:48:30 -04:00
Gavin Steacy
cd08248e1e Prevent creating property on global object 2014-10-11 19:43:42 +11:00
Leo Horie
d4642a9bba more ie fixes 2014-10-08 22:12:51 -04:00
Leo Horie
f2a3cd08b2 ops 2014-10-08 09:34:53 -04:00
Leo Horie
d020d7f4b9 #298 improve object detection 2014-10-08 09:30:32 -04:00
Leo Horie
a4c98e63e8 Fix tests for IE 2014-10-06 21:46:18 -04:00
Brian Suh
8d2434ac21 #290 fix m.route hrefs for pathname mode 2014-10-04 12:18:22 -07:00
Leo Horie
67666e76dd #278 fix select[multiple] w/ many option[selected] 2014-10-04 12:28:57 -04:00
Leo Horie
50173f0e74 fix IE null ref exception 2014-10-03 13:31:02 -04:00
Leo Horie
8749379703 #292 don't duplicate querystring parameters if dataType and method are both present 2014-10-02 17:48:49 -04:00
Leo Horie
481d3feead whitespace 2014-10-01 22:22:38 -04:00
Leo Horie
586591c8b2 break #151 to fix #214 and #288. Use m.redraw.strategy("none") to resolve double-redraws in onkeypress+oninput 2014-10-01 22:22:23 -04:00
Leo Horie
a0ab0d1943 #289 remove weird characters 2014-10-01 22:18:17 -04:00