route
route copied to clipboard
A client + server routing library for Dart
The client example uses the now deprecated query() instead of querySelector. This may be true of other parts of the examples but this is the one I noticed. http://api.dartlang.org/docs/channels/stable/latest/dart_html.html#querySelector
Would be great to have the dartdocs hanging out somewhere.
Would it make sense to support URL parameters? I've been using route with an app that used to do routing manually, sometimes using URL parameters. I want to maintain compatibility...
Strawman: - default If you approve, I can create a patch.
Please rename UrlPattern to UriPattern to be more consistent with the dart:uri library.
I tried to start the provided example application in Dart Editor. It works when I run it as JavaScript but doesn't work in Dartium. OS: Win7 64bit Dart SDK: 0.5.1.0_r22072...
A proposal to fix the issue of Browsers behave differently on page load. If you start listening with a router in Chrome this will fire a handler on page load....
It seems like it might a good idea to use a standard URI template syntax rather than one of the many ad-hoc syntaxes, including route's UriPattern. http://tools.ietf.org/html/rfc6570 The spec is...