Commit graph

2302 commits

Author SHA1 Message Date
Leo Horie
4cbc768aa7 test for #129 2014-06-09 16:39:29 -04:00
Leo Horie
1bd3b713d2 don't call removeChild if no parent 2014-06-09 16:30:22 -04:00
Leo Horie
1da116bbd3 ignore redraw if called without valid controller 2014-06-09 16:14:17 -04:00
Leo Horie
55514c3557 ensure type option only applies to successful responses 2014-06-07 22:19:19 -04:00
Leo Horie
8bba1dc9d9 scope config stack to m.render call 2014-06-06 18:23:20 -04:00
Leo Horie
33ac4fc7d1 reference window correctly 2014-06-05 22:11:51 -04:00
Leo Horie
647208f3a0 update change log 2014-06-05 22:11:38 -04:00
Leo Horie
e82ac2ef71 defer calling of configs until DOM exists 2014-06-05 21:54:51 -04:00
eddyystop
8e13d01357 Correcting web services unwrapping code doc 2014-06-04 12:46:52 -04:00
Leo Horie
2d8db79cef fix test 2014-06-04 09:22:49 -04:00
Leo Horie
cb7e9b668a make example work in Chrome 2014-06-04 08:30:26 -04:00
Leo Horie
0f4f263441 improve error when error response is not JSON 2014-06-04 08:30:12 -04:00
Leo Horie
161fbec443 Merge remote-tracking branch 'origin/master' into next 2014-06-04 08:21:08 -04:00
Leo Horie
036111e6e8 Merge pull request #122 from eddyystop/master
Possible correction to web services sample code
2014-06-04 08:20:55 -04:00
Leo Horie
4020933780 Merge remote-tracking branch 'origin/next' into next
Conflicts:
	mithril.js
	tests/e2e/tests.js
2014-06-03 23:27:19 -04:00
Leo Horie
ff2cb55a04 add config context 2014-06-03 23:26:04 -04:00
Leo Horie
eb353aa808 Merge remote-tracking branch 'origin/master' 2014-06-03 22:47:13 -04:00
Leo Horie
f7240e0ce5 Merge pull request #119 from pistolero/config_context
Added context for config handlers
2014-06-03 22:46:39 -04:00
Leo Horie
4d04ce034d fix diff on nested arrays 2014-06-03 22:42:14 -04:00
eddyystop
26abd2e325 Correcting web services code 2014-06-03 15:02:51 -04:00
eddyystop
70ef8c2b05 Correcting correction to web services code 2014-06-03 15:00:12 -04:00
eddyystop
a13bd15a64 Correcting code in web services example 2014-06-03 14:57:52 -04:00
Leo Horie
ec69af4660 unbreak browserify 2014-06-02 07:32:24 -04:00
Leo Horie
9792a0ac85 update change log 2014-06-01 22:12:05 -04:00
Leo Horie
75fa3bd3f2 version bump 2014-06-01 22:10:56 -04:00
Leo Horie
1d2ba8b0b0 prevent route change event if only hash changes 2014-06-01 22:09:37 -04:00
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