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

Context `path` and `state.path` not equal

PaulMaly opened this issue · comments

Looks like some inconsistency:

ctx.path !== ctx.state.path;
ctx.pathname === ctx.state.path;

Is it correct behavior?