VNDB fork of mithril.js
Find a file
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
archive clarify wording 2014-05-16 10:22:21 -04:00
deploy add template file for cdnjs deploy 2014-04-09 09:11:02 -04:00
docs clarify wording 2014-05-16 10:22:21 -04:00
tests Add query string support to m.route 2014-05-22 15:55:31 +02:00
.gitignore initial release 2014-03-16 22:07:53 -04:00
.travis.yml Make tests throw exception, add travis-ci integration. 2014-03-23 08:42:15 +01:00
background.html add social media section to home page 2014-05-15 17:13:16 -04:00
chain.html add social media section to home page 2014-05-15 17:13:16 -04:00
gnimmelf.html add social media section to home page 2014-05-15 17:13:16 -04:00
Gruntfile.js add benchmarks page 2014-05-16 09:37:03 -04:00
LICENSE Initial commit 2014-03-16 18:59:39 -07:00
mithril.d.ts add typescript definition file 2014-05-15 22:52:28 -04:00
mithril.js Add query string support to m.route 2014-05-22 15:55:31 +02:00
package.json initial release 2014-03-16 22:07:53 -04:00
README.md add links to blog and mailing list to readme 2014-05-07 23:01:08 -04:00

Build Status

Mithril

A Javascript Framework for Building Brilliant Applications

See the website for documentation

There's also a blog and a mailing list