Permalink
Browse files

alterations to repro

  • Loading branch information...
1 parent da2352a commit e4e8ff24e3f4846fb7fe38a5120fa95e6bebaa6a @johnbender committed Oct 7, 2011
Showing with 863 additions and 863 deletions.
  1. +3 −1 js/jquery.mobile.navigation.pushstate.js
  2. +0 −2 tests/unit/navigation/index.html
  3. +860 −860 tests/unit/navigation/navigation_core.js
@@ -62,7 +62,7 @@
if( self.onHashChangeDisabled ){
return;
}
-
+
var href, state,
hash = location.hash,
isPath = $.mobile.path.isPath( hash );
@@ -99,6 +99,8 @@
// if there's no state its not a popstate we care about, ie chrome's initial popstate
// or forward popstate
if( poppedState ) {
+ alert( poppedState.hash );
+
// disable any hashchange triggered by the browser
self.nextHashChangePrevented( true );
@@ -17,8 +17,6 @@
<script type="text/javascript">
$.testHelper.setPushStateFor([
- "navigation_transitions.js",
- "navigation_helpers.js",
"navigation_core.js",
"navigation_paths.js"
]);
Oops, something went wrong.

0 comments on commit e4e8ff2

Please sign in to comment.