Commit graph

2940 commits

Author SHA1 Message Date
John Bender
f7d5d918ae fixes for select tests and tests to cover basic functionality for new cached pages and select dialogs 2011-08-01 18:08:28 -07:00
Todd Parker
d958983e5b Merge pull request #2179 from defeated/docs-errata
fixed typo: swatch E identifying as swatch D. Thanks defeated!
2011-07-31 18:46:20 -07:00
eddie cianci
1410e03601 fixed typo: swatch E identifying as swatch D 2011-07-31 21:25:38 -04:00
scottjehl
faf26d8f6d namespaced $.fixedToolbars to $.mobile. Kept a deprecated pointer to $.fixedToolbars that we'll want to remove later. This feature can now be documented. Addresses Issue #2024 2011-07-31 20:35:18 -04:00
scottjehl
f020f0661b documented the loadPage method's loadMsgDelay option. 2011-07-31 10:08:38 -04:00
scottjehl
ee17b4f05c Ensure that navigating backwards through dialogs works as expected when domCache is false (which is the default now). 2011-07-31 10:03:22 -04:00
scottjehl
be74405b49 Added a configurable timeout to $.mobile.loadPage to give pages that are being fetched from cache a little time to load before a loading message appears. We'll need to tweak this timer based on device testing to determine how long it takes on average to fetch a cached page. If the delay ends up needing to be longer than 300ms or so to suit some devices, it's probably not worth having this feature at all. 2011-07-30 08:33:04 -04:00
scottjehl
bdba60efd5 removed urlHistory references to (and use of) each entry's "page" property, which kept a reference to the DOM elements of each page that had been loaded. This fixes leaking memory on removed pages, and outsources page requests to the browser cache (for real this time :) ). 2011-07-29 19:51:17 -04:00
scottjehl
5c01f3f1e5 fixed dead links 2011-07-29 19:46:19 -04:00
Todd Parker
2aad1bf345 Merge pull request #2175 from ovargas27/master
Radio  button - new API docs format. Thanks ovargas27!
2011-07-29 14:40:27 -07:00
toddparker
1c136582ac Added an H2 2011-07-29 17:34:18 -04:00
toddparker
8d496b782e Page title fixes 2011-07-29 17:33:08 -04:00
toddparker
30fb05c162 Merge remote branch 'origin/master' 2011-07-29 17:30:46 -04:00
toddparker
264e71522d Re-vamp of pages docs section to add new features, better organization 2011-07-29 17:29:31 -04:00
Omar Vargas
06f57b35a1 Radio input with new API docs format 2011-07-29 15:59:06 -05:00
scottjehl
aeaa0f7845 added unit test verifying that the domCache page option can be set globally via $.mobile.page.prototype.options.domCache = true; 2011-07-29 16:03:20 -04:00
John Bender
50acf2eb7c fix to use options defined on page widget to determing domCache settings 2011-07-29 12:55:40 -07:00
John Bender
7a6b28d398 added to to verify that the nested pages are preserved when the parent page is cached 2011-07-29 10:10:26 -07:00
John Bender
3dc9f975e6 fixed second test for page caching 2011-07-29 10:10:26 -07:00
John Bender
3f20eaa038 fixed nav test for new namespace and made the test order independent 2011-07-29 10:10:26 -07:00
John Bender
27b4ba1691 ajaxDomCaching -> domCache 2011-07-29 10:10:26 -07:00
John Bender
ded500f3b4 testing additions for listview core 2011-07-29 10:10:26 -07:00
John Bender
180243e9ad added a todo for the subpage tracking 2011-07-29 10:10:26 -07:00
John Bender
85114be097 use childPages method to abstract method for finding child pages, hopefully we can find something better than the url selector 2011-07-29 10:10:25 -07:00
John Bender
3035387446 first test for nested page removal/caching 2011-07-29 10:10:25 -07:00
John Bender
0cd7bb8370 whitespace fix for listview fixtures 2011-07-29 10:10:25 -07:00
John Bender
f79a1afd17 whitespace and semi's in listview core tests 2011-07-29 10:10:25 -07:00
John Bender
bda88be82e whitespace and semi's in listview core tests 2011-07-29 10:10:25 -07:00
John Bender
d716f3e9e7 moved dom cache check above the enhance to let widgets unbind parent page hide behaviour. added parent removal to listview special remove 2011-07-29 10:10:25 -07:00
John Bender
57a1e9abf7 whitespace and log statement in listview 2011-07-29 10:10:25 -07:00
scottjehl
115f1710b1 remove entire list when parent page is hidden and next page is not a sub list. Note: the unbind of the "pagehide.remove" does not appear to be preventing the parent page from removal, and it regenerates its sublists when revisiting that parent, since it was removed. 2011-07-29 10:10:25 -07:00
John Bender
1a95670012 added test for explicit page caching via data attribute 2011-07-29 10:10:25 -07:00
John Bender
151d55f351 moved dom cache test to page sequence, negative case incoming 2011-07-29 10:10:25 -07:00
John Bender
191815440f whitespace and missing semi 2011-07-29 10:10:25 -07:00
scottjehl
2b1baeb078 fixed up unit test so that it's now properly testing the ajax dom caching page option 2011-07-29 10:10:25 -07:00
scottjehl
a8c3859d84 using regular data method to access widget 2011-07-29 10:10:25 -07:00
scottjehl
dc054a10e7 implemented ajax dom caching option of the page plugin, which can be overridden by page options or data attribute. Includes unit test to support feature. 2011-07-29 10:10:25 -07:00
Todd Parker
1e01306559 Merge pull request #2166 from ovargas27/master
Text Input plugin with new API docs format
2011-07-28 19:55:49 -07:00
Omar Vargas
b13e9cede5 Update text input plugin link 2011-07-28 18:00:52 -05:00
Ghislain Seguin
30e8ea8e09 Coding standards 2011-07-28 15:25:57 -07:00
Ghislain Seguin
29c408f32a Merge remote-tracking branch 'upstream/master' 2011-07-28 15:25:10 -07:00
Ghislain Seguin
703d31073e Merge pull request #2102 from kpozin/patch-6
Cache option indices in <li>s in custom select menus instead of doing linear search on every click
2011-07-28 15:21:52 -07:00
Omar Vargas
b9127f6eb3 Text Input plugin with new API docs format 2011-07-28 16:37:29 -05:00
toddparker
0bf8b7c8de Minor content tweaks. 2011-07-28 17:00:59 -04:00
toddparker
650c2c5156 Added initSelector option documentation 2011-07-28 17:00:32 -04:00
toddparker
5413459d6d Removed quotes around boolean value examples. 2011-07-28 16:43:05 -04:00
toddparker
433f9af612 Updated markup to match the new API styles 2011-07-28 16:41:02 -04:00
toddparker
aac698520e Added clearer messaging about dom ready and how to use pagecreate instead. 2011-07-28 16:26:34 -04:00
toddparker
91dfba1d0a Fixed a path issue in the assets for these pages. Needed an extra hop for the CSS files. 2011-07-28 12:29:20 -04:00
toddparker
9ae4115ec8 Fixed broken paths in this page. We still need to figure out what to do with this page since it's sort of a duplicate of the homepage. 2011-07-28 12:23:43 -04:00