Commit graph

249 commits

Author SHA1 Message Date
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
Leo Horie
d993da1cfd Merge branch 'typeof_refactor' of github.com:Naddiseo/mithril.js into Naddiseo-typeof_refactor
Conflicts:
	mithril.js
	tests/mithril-tests.js
2014-09-27 19:38:49 -04:00
Leo Horie
030f44aee5 Merge pull request #267 from iartem/next
Add default Accept header for XHR
2014-09-27 18:45:21 -04:00
Leo Horie
c16350de5a defend against rare null ref when 3rd party libs mess w/ dom 2014-09-25 13:04:43 -04:00
Leo Horie
75d7221d06 don't send content-type header if no data 2014-09-25 07:24:25 -04:00
Leo Horie
1032dc49d7 revert until I figure out what's breaking 2014-09-25 00:37:48 -04:00
Leo Horie
99c079dbfc don't send content-type header if no data 2014-09-25 00:34:16 -04:00
Leo Horie
31644f52db add comments 2014-09-24 17:00:26 -04:00
Leo Horie
d32dd4adf5 revert workaround for #29 in favor of key-based solution 2014-09-21 21:24:15 -04:00
Leo Horie
16faf2159d add docs in setAttributes 2014-09-21 14:49:00 -04:00
Leo Horie
d9760fa323 remove dead code 2014-09-20 10:51:43 -04:00
Leo Horie
7cf7e2cba5 fix diff for root=document and no m("html") 2014-09-20 10:33:35 -04:00
Leo Horie
094c4e57ff refactor config: m.route to use context 2014-09-20 10:07:56 -04:00
Artem Salpagarov
5b918c9760 Add default Accept header for XHR
By default we're expecting JSON, so it should be "application/json, text/*"
2014-09-19 22:18:06 +04:00
Leo Horie
5a0de885db ops broke the tests 2014-09-19 11:19:37 -04:00
Leo Horie
5d56955720 Merge remote-tracking branch 'origin/next' into next 2014-09-19 09:51:46 -04:00
Leo Horie
b568426f57 fix logic 2014-09-19 09:51:31 -04:00
Leo Horie
f704ca38dc Merge pull request #265 from taylorhakes/unused-autoredraw-param
Removed unused group param from autoredraw
2014-09-19 09:46:19 -04:00
Leo Horie
153d2384c8 actually fix error from promise branch merge 2014-09-19 00:28:30 -04:00
Taylor Hakes
8f0a22f914 Removed unused group param from autoredraw 2014-09-19 00:17:31 -04:00