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
Leo Horie
e23f69fc4e
add typescript file to build script
2014-05-15 22:55:01 -04:00
Leo Horie
0d10046a3e
add typescript definition file
2014-05-15 22:52:28 -04:00
Leo Horie
917f1e1d6b
add social media section to home page
2014-05-15 17:13:16 -04:00
Leo Horie
d24754dd2d
build archive for 0.1.13
2014-05-12 13:22:47 -04:00
Leo Horie
008e4c1248
clarify docs about compilation
2014-05-12 13:22:09 -04:00
Leo Horie
7f35cf31f2
prevent re-resolving
2014-05-12 13:21:46 -04:00
Leo Horie
92f85fa9ea
handle resolved/rejected promise
2014-05-11 23:20:51 -04:00
Leo Horie
b23ffd1aee
add support for controller.prototype.onunload
2014-05-11 22:20:47 -04:00
Leo Horie
762eeb7e31
link to wiki
2014-05-09 22:47:03 -04:00
Leo Horie
63a7461657
fix diff of css rule removal
2014-05-09 22:21:43 -04:00
Leo Horie
dc9cae09fc
v0.1.12 publish
2014-05-07 23:14:16 -04:00
Leo Horie
a80621e3a6
fix url decoding in route args
2014-05-07 23:09:27 -04:00
Leo Horie
85685f55b0
beef up m.deferred docs
2014-05-07 23:01:27 -04:00
Leo Horie
dfc10a2fc2
add links to blog and mailing list to readme
2014-05-07 23:01:08 -04:00
Leo Horie
3bccf4d2ef
add tests for variadic route
2014-05-07 10:27:45 -04:00
Leo Horie
0f1c9bcfba
added note about variadic routes to log
2014-05-07 10:13:31 -04:00
Leo Horie
f1321178df
add docs about variadic routes
2014-05-07 10:11:00 -04:00
Leo Horie
d5add06c6c
add support for path-y arguments to route args
2014-05-07 09:51:34 -04:00
Leo Horie
f321750896
ensure redrawing in event handlers
2014-05-07 09:42:15 -04:00
Leo Horie
6fccbc0b0a
Merge remote-tracking branch 'origin/master'
2014-05-06 22:27:32 -04:00
Leo Horie
deeb73973f
fix datalist and link redraw
2014-05-06 22:26:30 -04:00
Leo Horie
18786ea781
Merge pull request #73 from ysimonson/master
...
Remove unused function arguments
2014-05-06 22:25:47 -04:00
Yusuf Simonson
d85c5001c4
Removed unused function arguments
2014-05-05 13:00:13 -07:00
Leo Horie
da69bc4fa0
fix docs
2014-05-05 15:24:09 -04:00
Leo Horie
4046c07639
fix route path for non-root pages
2014-05-05 15:18:51 -04:00
Leo Horie
dc379a4cf8
added test to prevent releases w/ console.log
2014-05-03 08:20:30 -04:00
Leo Horie
9794c534eb
remove log
2014-05-03 08:09:45 -04:00
Leo Horie
3433cabf88
fix cloning when undefined present in tree
2014-05-02 22:20:51 -04:00
Leo Horie
f28ae323c5
use reverse loop with deletions
2014-05-01 22:39:52 -04:00
Leo Horie
42a33b074c
fix contenteditable diffing
2014-05-01 22:32:10 -04:00