Commit graph

239 commits

Author SHA1 Message Date
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
Leo Horie
d80b898b98 fix errors 2014-09-19 00:02:26 -04:00
Leo Horie
090aefbc07 expose exception monitor 2014-09-18 23:32:37 -04:00
Leo Horie
69ead12a1d Merge branch 'next' into es6-promise 2014-09-18 23:05:14 -04:00
Leo Horie
7efda2c10b deal with setTimeout properly 2014-09-18 22:58:59 -04:00
Leo Horie
ac4863ff7c Merge remote-tracking branch 'origin/next' into es6-promise
Conflicts:
	mithril.js
2014-09-18 22:26:13 -04:00
Richard Eames
c56f75a4c3 Check for arguments object edge case, and remove instanceof 2014-09-18 12:37:22 -06:00
Richard Eames
f3018776b8 Check for weird edge-case & tests 2014-09-18 12:04:02 -06:00
Richard Eames
c3d3fa7315 Check that the 2nd argument to m.route is a string 2014-09-18 10:57:30 -06:00
Richard Eames
e94a0a7c22 Added tests for other kinds of string 2014-09-18 10:56:17 -06:00
Richard Eames
9ae6d0ede1 Created common functions for typeof 2014-09-17 18:01:25 -06:00