Browse files

[navigation] Rename navReadyDeferred to navreadyDeferred

  • Loading branch information...
1 parent 8c56173 commit 9033a976847103d3ffb68b386945eb3a591dee68 @gabrielschulhof gabrielschulhof committed Jun 9, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 js/jquery.mobile.init.js
  2. +3 −3 js/jquery.mobile.navigation.js
  3. +1 −1 js/jquery.mobile.navigation.pushstate.js
View
2 js/jquery.mobile.init.js
@@ -95,7 +95,7 @@ define( [ "jquery", "./jquery.mobile.core", "./jquery.mobile.support", "./jquery
});
// initialize events now, after mobileinit has occurred
- $.mobile.navReadyDeferred.resolve();
+ $.mobile.navreadyDeferred.resolve();
// check which scrollTop value should be used by scrolling to 1 immediately at domready
// then check what the scroll top is. Android will report 0... others 1
View
6 js/jquery.mobile.navigation.js
@@ -1192,8 +1192,8 @@ define( [
//The following event bindings should be bound after mobileinit has been triggered
//the following deferred is resolved in the init file
- $.mobile.navReadyDeferred = $.Deferred();
- $.mobile.navReadyDeferred.done( function(){
+ $.mobile.navreadyDeferred = $.Deferred();
+ $.mobile.navreadyDeferred.done( function(){
//bind to form submit events, handle with Ajax
$( document ).delegate( "form", "submit", function( event ) {
var $this = $( this );
@@ -1478,7 +1478,7 @@ define( [
$( document ).bind( "pageshow", resetActivePageHeight );
$( window ).bind( "throttledresize", resetActivePageHeight );
- });//navReadyDeferred done callback
+ });//navreadyDeferred done callback
})( jQuery );
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
View
2 js/jquery.mobile.navigation.pushstate.js
@@ -145,7 +145,7 @@ define( [ "jquery", "./jquery.mobile.navigation", "../external/requirejs/depend!
});
// We need to init when "mobileinit", "domready", and "navready" have all happened
- $.when( domreadyDeferred, mobileinitDeferred, $.mobile.navReadyDeferred ).done( function() {
+ $.when( domreadyDeferred, mobileinitDeferred, $.mobile.navreadyDeferred ).done( function() {
if( $.mobile.pushStateEnabled && $.support.pushState ){
pushStateHandler.init();
}

0 comments on commit 9033a97

Please sign in to comment.