Commit graph

221 commits

Author SHA1 Message Date
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
Leo Horie
be9032eb8f Merge pull request #253 from zzmp/fix-redraw-infinite-delay
Fix redraw infinite delay
2014-09-17 17:47:36 -04:00
zzmp
8f3af0b6f1 prevent infinite delay on redraw 2014-09-17 14:24:22 -07:00
zzmp
d763793027 refactor type fn for readability/brevity 2014-09-17 12:17:18 -07:00
Leo Horie
86a79a0f5e setTimeout of 16 instead of 0 2014-09-16 21:42:42 -04:00
Leo Horie
bf356a1ab2 drop facade 2014-09-15 22:56:00 -04:00
Leo Horie
fe17009bc9 Merge branch 'next' into es6-promise
Conflicts:
	docs/mithril.deferred.md
2014-09-15 21:32:39 -04:00
Leo Horie
f667d18b36 don't use invalid element tag names 2014-09-15 21:30:52 -04:00
Leo Horie
5a134ecf5b fix bug when mixing keyed and unkeyed elements 2014-09-15 15:53:52 -04:00
Leo Horie
be7718213f refactor promises 2014-09-14 23:18:39 -04:00
Leo Horie
2537bded27 Merge branch 'next' into es6-promise 2014-09-14 22:31:24 -04:00
Leo Horie
70e7dec0ac remove redundant code 2014-09-14 21:40:03 -04:00
Leo Horie
7d718a9e76 Merge pull request #242 from Whoaa512/m.module-return-controller
M.module return controller
2014-09-14 00:59:44 -04:00
Leo Horie
7f38eddbf5 Merge branch 'next' into es6-promise 2014-09-14 00:57:21 -04:00
Leo Horie
067da7eedc code style 2014-09-14 00:47:06 -04:00
C. James Winslow
1222eb913a return reference to the instantiated controller from m.module 2014-09-10 16:21:33 -07:00
Leo Horie
0ee2d7f200 mimic html fallback-to-doing-nothing-on-invalid-attributes behavior in IE8, instead of throwing non-helpful "Invalid argument." error 2014-09-04 22:10:14 -04:00
Leo Horie
5ff1767646 Merge pull request #233 from Bobris/next
Useless line removed.
2014-09-03 21:16:20 -04:00
Leo Horie
499dfe9d4e Merge branch 'next' into es6-promise 2014-09-03 21:15:20 -04:00