Commit graph

9 commits

Author SHA1 Message Date
Kin Blas
9b0bf5252d Removed deprecated "beforechangepage", "changepage", and "changepagefailed" event references in preparation for jQM 1.0 release.
Updated the unit tests to use "pagechange" event instead of "changepage".
2011-09-20 16:59:30 -07:00
Kin Blas
cac203291e Switched the sample-reuse-page-external.html sample over to calling a PHP script that supplies JSON data when called via XHR, or HTML when called directly. 2011-09-14 18:19:46 -07:00
John Resig
dc8f8e7103 Fix whitespace in headers for the build script. 2011-09-08 21:14:03 -04:00
Kin Blas
675657f877 Added an index page for the dynamic-samples directory and linked to it from the age-dynamic.html page. 2011-09-08 13:46:18 -07:00
Kin Blas
b3ce277152 Moved scottjehl's modified sample to a new file (sample-reuse-page-external.html) and restored the original code in sample-reuse-page.html. 2011-09-08 13:35:42 -07:00
scottjehl
6e0912f3b5 progress towards making this demo work with urls that represent server resources 2011-09-08 15:58:53 -04:00
Kin Blas
889d4b5acf Corrected a grammatical error in one of the sample comments. 2011-09-08 11:30:02 -07:00
Kin Blas
64537fa8c0 Removed some debug code from sample-reuse-page.html.
Checking in the start of a doc that walks folks through how to use the pagebeforechange event to short-circuit default changePage() behavior.
2011-09-08 11:26:22 -07:00
Kin Blas
78041bc7c9 Added path.isFirstPageUrl() which is now called from loadPage() when trying to determine if the URL being loaded refers to a page that is already in the DOM. This will prevent us from duplicating the first-page in the main application document.
Also checking in the first example of how to use the pagebeforechange notification to allow for dynamically updating and re-using a page that is already in the DOM.
2011-09-08 09:21:31 -07:00