visionmedia / page.js

Micro client-side router inspired by the Express router

Home Page:http://visionmedia.github.com/page.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'prevContext' on hash change not set properly

thamsrang opened this issue · comments

commented

Hi,
ctx.page.prevContext not set on hash change in current path.
This is not working between hash change between hashes and from path to hash.

For example:

  • From /profile to /profile#/details. Here previous ctx for /profile not set to ctx.page.prevContext
  • From /profile#/details to /profile#/settings. Here previous ctx for /profile#/details not set to ctx.page.prevContext

In this above transition both ctx and ctx.page.prevContext are same.