hash-state
global state bus persist with hash(#)
用hash作为事件总线,当hash变化的时候触发变化
var HashState = ;var ko = ;var hashState = ;kolocationhash = '#/a/b?c=d';locationhash = '#/e';// output// init datapath: ''query: {}// '#/a/b?c=d'path: '/a/b'query:c: 'd'// '#/e'path: '/e'query: {}