Closed iamdanfox closed 10 years ago
It would be nice to use a super lightweight router (maybe like the one from ampersand?).
Essentially the routes /:user/:repo/:path should always match the values of the UserStore, RepoStore and FileStore.
/:user/:repo/:path
UserStore
RepoStore
FileStore
How hard can it be???
I think this pretty much worked!
https://github.com/iamdanfox/ghupdate/blob/gh-pages/src/Router/RefluxRouter.coffee https://github.com/iamdanfox/ghupdate/blob/gh-pages/src/Router/RouteBinding.coffee
It would be nice to use a super lightweight router (maybe like the one from ampersand?).
Essentially the routes
/:user/:repo/:path
should always match the values of theUserStore
,RepoStore
andFileStore
.How hard can it be???