Commit graph

15 commits

Author SHA1 Message Date
scottjehl
b438472fec if no hash is present, run a replacestate. All nav tests still passing. 2011-08-18 22:41:13 -04:00
John Bender
2c3d9bc2f1 removed extra replace state fire, need to check with @scottjehl 2011-08-18 16:25:21 -07:00
John Bender
fb5d9df56f simplified the pushstate some more 2011-08-17 16:32:59 -07:00
John Bender
b197e760fd simplified the hash handling with help from @jblas 2011-08-17 16:22:09 -07:00
John Bender
eba4e7eeb4 switched path helper 2011-08-16 17:06:55 -07:00
John Bender
b41b0573d2 leverage the path helpers to get this right 2011-08-16 13:25:04 -07:00
John Bender
72ce65767e support embedded pages as a hash since the concatenated form represents a file 2011-08-16 12:55:03 -07:00
John Bender
43b1b776d9 minor refactor for comprehension 2011-08-15 17:01:37 -07:00
scottjehl
0512916e72 centralized the hashchange fired flag 2011-08-14 10:20:14 -04:00
scottjehl
854ce44179 timeout number is arbitrary. Still looking for a way around it though. 2011-08-14 10:03:16 -04:00
scottjehl
2d29880f4c whitespace stuff 2011-08-14 09:57:12 -04:00
scottjehl
3ebe7b4218 just use location.pathname. same thing, in hindsight. 2011-08-14 09:30:33 -04:00
scottjehl
6d2f9737db conditionally trigger the hashchange after a popstate, only if it doesn't trigger its own. 2011-08-12 12:53:07 -04:00
scottjehl
e1fbaf9cce updated to support deep links to nested lists and dialog parent pages. Still battling a 2x back history issue on those. 2011-08-05 18:49:16 -04:00
scottjehl
e564eb1c5f first pass at implementing pushstate support from an external file. 2011-08-05 18:49:16 -04:00