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
Leo Horie
ce8299e8e0
fix querystring parsing of array syntax
2014-05-25 14:36:01 -04:00
Leo Horie
1f75f71b22
add support for route query string
2014-05-25 11:19:12 -04:00
Leo Horie
80379bcd1b
Merge branch 'route-query-string' of github.com:yolk/mithril.js into yolk-route-query-string
...
Conflicts:
tests/mithril-tests.js
2014-05-24 20:11:34 -04:00
Sergey Kirillov
9b1ccc7981
Added support for overriding xml namespace.
...
It was required to allow embedding HTML foreignObjects inside SVG
2014-05-24 22:30:32 +03:00
Leo Horie
c4e13384db
Merge pull request #88 from yolk/route-trailing-slash
...
Added support for trailing slashes in routes
2014-05-24 13:30:00 -04:00
Leo Horie
3c17bd17f2
remove random test files
2014-05-23 13:34:48 -04:00
Sebastian
5b6b7de045
m.route supports params as an object, and builds querystring from it
...
m.route('/path', {param: 1}) => navigates to '/path?param=1'
The API is a little bit problematic, as it is not possible to combine it with `shouldReplaceHistoryEntry`.
2014-05-22 16:09:37 +02:00
Sebastian
001263080e
Add query string support to m.route
...
m.route now parses query string in given path into m.route.param
* Params gathered the old way (e.g. /test/:id) overwrite params from the query string
* /?valid => m.route.param('valid') === true
* /?blank= => in m.route.param('blank') === ''
* Supports nested values: ?test[a][b]=1&test[a][b]=2 => m.route.param('a') == {b: "1", c: "2"}
The nested values where only added to behave similar to the encoding function querystring in mithril. Maybe this is not necessary? Code could be shorter.
2014-05-22 15:55:31 +02:00
Sebastian
d10d77288c
Added support for trailing slashes in routes
...
m.route now matches a path with a trailing slash against a route without one.
2014-05-22 14:41:21 +02:00
Leo Horie
f50befc503
update docs about when it's appropriate to use start/endComputation
2014-05-21 23:16:16 -04:00
Leo Horie
d87153c1b8
document fix in change log
2014-05-21 23:11:05 -04:00
Leo Horie
7e73004b28
add test for double removal
2014-05-21 23:07:48 -04:00
Leo Horie
34b3ef9e97
fix double removals
2014-05-21 22:56:38 -04:00
Leo Horie
e332ffe473
make m.request exception follow promise resolution procedure
2014-05-20 22:53:30 -04:00
Leo Horie
715336d7c5
update tweet in homepage
2014-05-20 22:11:39 -04:00
Leo Horie
46565f2e03
allow resolving w/ no value
2014-05-18 19:47:46 -04:00
Leo Horie
67c5400d44
clarify wording
2014-05-16 10:22:21 -04:00
Leo Horie
002ed9e2aa
fix style in benchmarks page
2014-05-16 09:44:29 -04:00
Leo Horie
d677480f9b
add benchmarks page
2014-05-16 09:37:03 -04:00