Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Navigation: Remove $.mobile.changePage and $.mobile.loadPage #7947

Conversation

gabrielschulhof
Copy link

Fixes gh-6691
Fixes gh-7946

@@ -133,7 +133,10 @@
home: function() {

// Programatically changes to the categories page
$.mobile.changePage( "#categories" , { reverse: false, changeHash: false } );
$.mobile.pageContainer.pagecontainer( "change", "#categories" , {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$.mobile.pageContainer is deprecated

@arschmitz
Copy link
Contributor

I stopped commenting on the uses of $.mobile.pageContainer but these all need to be fixed.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 83.7% when pulling 5fd199e on gabrielschulhof:7946-remove-changePage into 57a8fff on jquery:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 83.7% when pulling 5fd199e on gabrielschulhof:7946-remove-changePage into 57a8fff on jquery:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-12.47%) to 71.13% when pulling cc5270c on gabrielschulhof:7946-remove-changePage into 57a8fff on jquery:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-12.38%) to 71.22% when pulling 460d914 on gabrielschulhof:7946-remove-changePage into 57a8fff on jquery:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-12.38%) to 71.22% when pulling 9798521 on gabrielschulhof:7946-remove-changePage into ab24dd4 on jquery:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 83.7% when pulling d784706 on gabrielschulhof:7946-remove-changePage into ab24dd4 on jquery:master.

@arschmitz
Copy link
Contributor

@gabrielschulhof it looks like you introduced pagecontainers but don't actually use it any where can you update to use it where applicable?

@gabrielschulhof
Copy link
Author

@arschmitz I'm not sure how I would go about using it. Should I always just access $.mobile.pagecontainers[ 0 ]?

@arschmitz
Copy link
Contributor

@gabrielschulhof yes thats exactly what you should do. maybe add a support comment anywhere we will need to update to support multiple to make it easy to find

@arschmitz
Copy link
Contributor

replaced by #8261

@arschmitz arschmitz closed this Mar 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigation: Remove $.mobile.changePage() $.mobile.changePage ignores pageContainer option in JQM 1.4.0RC1
4 participants