Querystrings - Profiscience/ko-component-router GitHub Wiki

ko.router.use(function * (ctx) {
  ctx.query = new Query({}, ctx.router.depth)
  yield
  yield
  ctx.query.dispose()
})