Commit graph

276 commits

Author SHA1 Message Date
Pepe Bawagan
16d4eb77c8 always use XMLHttpRequest
current behavior will use XDomainRequest whenever it is available even though the request is not necessarily CORS. this creates a problem when on certain browsers (e.g. ie10) because:
- Access-Control-Allow-Origin header is expected despite the request not being CORS
- XDR does not have an onreadystatechange function (http://msdn.microsoft.com/en-us/library/ie/cc288060(v=vs.85).aspx) and use of its proper callback functions appear to have not yet been implemented
2014-06-01 21:44:10 +08:00
Sergey Kirillov
af2fdc0421 Fixed typo in complex config test 2014-05-31 18:51:13 +03:00
Sergey Kirillov
164e5b178c Added more tests for config context 2014-05-31 18:49:04 +03:00
Sergey Kirillov
5a2d7fdf81 Added mocked test as well 2014-05-31 13:49:24 +03:00
Sergey Kirillov
20b102b478 Added context for config handlers 2014-05-31 13:38:55 +03:00
Leo Horie
5446a39702 Merge pull request #115 from eddyystop/master
Correcting a code example.
2014-05-30 13:47:12 -04:00
eddyystop
3961d70322 Correcting a code example. 2014-05-30 13:36:19 -04:00
Leo Horie
5b98b9b190 Merge pull request #114 from eddyystop/master
Correcting example in routing doc.
2014-05-30 09:51:54 -04:00
eddyystop
b37432760c Correcting example in routing doc. 2014-05-30 09:31:43 -04:00
Leo Horie
16e6f6fdd5 clarify controller in guide 2014-05-29 22:20:46 -04:00
Leo Horie
7cb6982e57 Merge pull request #105 from pistolero/e2e_tests
Added end to end test suite and test for issue #99
2014-05-29 22:10:35 -04:00
Leo Horie
a546911358 archive 2014-05-29 22:06:38 -04:00
Leo Horie
7204a2e673 Merge pull request #111 from eddyystop/master
Some corrections to Getting-Started docs.
2014-05-29 19:26:44 -04:00
eddyystop
dcc3bf1205 Made some corrections to docs. 2014-05-29 18:27:05 -04:00
Leo Horie
9e5bd07235 add test for m.sync pr 2014-05-29 08:21:05 -04:00
Sergey Kirillov
1141af3bad Merge branch 'next' of https://github.com/lhorie/mithril.js into e2e_tests 2014-05-29 10:11:32 +03:00
Leo Horie
95d2a58abb add tests 2014-05-28 21:41:58 -04:00
Leo Horie
3fcd634c44 fix node removal regression 2014-05-28 21:29:55 -04:00
Sergey Kirillov
f08abb92ec More tests 2014-05-28 23:58:56 +03:00
Sergey Kirillov
85f754cd3a Added assert messages 2014-05-28 23:54:17 +03:00
Sergey Kirillov
29eb6128fe Updated Travis CI config to run e2e tests 2014-05-28 23:46:09 +03:00
Sergey Kirillov
ed0283e7aa Fixed identation 2014-05-28 22:31:47 +03:00
Sergey Kirillov
e9e6082aae Added end to end test suite and test for issue #99 2014-05-28 22:23:18 +03:00
Leo Horie
9cd7d280dc Merge remote-tracking branch 'origin/master' into next 2014-05-28 07:10:06 -04:00
Leo Horie
ee2cc44955 Merge pull request #103 from purcell/patch-2
m.sync: Also use result index when creating failure callback
2014-05-28 07:09:52 -04:00
Steve Purcell
80e909aa17 m.sync: Also use result index when creating failure callback 2014-05-28 09:17:39 +01:00
Leo Horie
061cb168e5 fix textarea value updating 2014-05-27 22:27:10 -04:00
Leo Horie
f4effe90ae Merge remote-tracking branch 'origin/master' into next 2014-05-27 16:10:43 -04:00
Leo Horie
133bc88c01 Merge pull request #102 from purcell/patch-1
Return results of sync promises in the same order they were given
2014-05-27 16:09:55 -04:00
Leo Horie
047812df2f version bump 2014-05-27 16:09:51 -04:00
Leo Horie
2e6a69af2b tweak homepage 2014-05-27 15:42:00 -04:00
Steve Purcell
aabc102abb Return results of sync promises in the same order they were given 2014-05-27 18:15:29 +01:00
Leo Horie
0550079bfc editorial 2014-05-27 08:51:34 -04:00
Leo Horie
d9243f4998 Merge pull request #97 from jdnier/master
Copy edit docs
2014-05-27 08:50:15 -04:00
David Niergarth
a80729a179 Add #performance to home page
Also back out whitespace-only change.
2014-05-27 00:19:39 -05:00
David Niergarth
9ea782f759 Copy edit docs 2014-05-26 23:51:16 -05:00
Leo Horie
6c5353726f archive 2014-05-26 22:11:30 -04:00
Leo Horie
2b74586660 don't use watch anymore 2014-05-26 22:10:51 -04:00
Leo Horie
41d3ee2983 prevent null ref 2014-05-26 21:59:41 -04:00
Leo Horie
b9cdd940bc ensure http errors reject promises 2014-05-26 21:57:09 -04:00
Leo Horie
ea0b661b79 Merge remote-tracking branch 'origin/master' into next 2014-05-25 23:53:02 -04:00
Leo Horie
bdcfbde8e0 document new argument in m.route(path) 2014-05-25 23:52:46 -04:00
Leo Horie
e1090c9c90 Merge pull request #93 from yolk/spaces
Removed trailing spaces
2014-05-25 23:51:47 -04:00
Leo Horie
2b8c82e365 Merge remote-tracking branch 'origin/master' into next 2014-05-25 23:31:28 -04:00
Leo Horie
26064dce7b Merge pull request #94 from yolk/simple-querystring
Simplified version of parseQueryString: no nested objets anymore
2014-05-25 23:31:08 -04:00
Sebastian
682485f22b Simplified version of parseQueryString: no nested objets anymore 2014-05-25 23:50:13 +02:00
Sebastian
3df5578e7b Removed trailing spaces 2014-05-25 23:19:52 +02:00
Leo Horie
9389db7480 fix current route on popstate 2014-05-25 15:38:42 -04:00
Leo Horie
38634a0292 document querystring support in routes 2014-05-25 15:37:53 -04:00
Leo Horie
d4cb7959d4 Merge pull request #91 from pistolero/master
Added support for overriding xml namespace.
2014-05-25 15:15:35 -04:00