Commit graph

4514 commits

Author SHA1 Message Date
scottjehl
6a28fd4b13 removed commented out line 2012-01-13 17:27:01 +07:00
scottjehl
7a8821fb71 Much of the scripting in nav.js's transitionPages function was tied to the animation sequence for our css3transitionhandler. For example, the order was, scroll to top, run transitions, then scroll to the remembered location of the new page (there's more involved, but that's the gist of it). If we want to expand beyond this sequence, much of that scripting needs to move to the css3transitionhandler itself, and also to our "none" transition handler, which comes with nav model.
This commit moves all that logic into the transition handlers, and should provide a better starting point for adding different transition sequences, such as fade-out, scroll, fade-in.

In the process of making this change, the reFocus function was made public as $.mobile.focusPage.
2012-01-13 17:27:01 +07:00
Ghislain Seguin
70c4f9f0a5 Fixes #3394 - jquery.mobile.init was not being included in the built bundle 2012-01-13 17:26:21 +07:00
Ghislain Seguin
22ec6cf3ed Fixed wrong line break 2012-01-13 17:26:21 +07:00
Mat Marquis
42536ecafe Added download builder metadata. 2012-01-13 17:26:21 +07:00
John Bender
6b0d9dd2d0 conceding defeat on determining the load order issue that's causing the test failure 2012-01-13 17:25:56 +07:00
John Bender
4650f57222 remove duplicate test run 2012-01-13 17:25:56 +07:00
John Bender
21394cb5e5 check to make sure cached test page appears 2012-01-13 17:25:56 +07:00
jblas@adobe.com
c1a61aa6a8 Corrected the title for the functional test. 2012-01-13 17:25:56 +07:00
jblas@adobe.com
d4c7123c85 Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices
It seems that some device/browser vendors use window.orientation values 0 and 180 to denote the "default" orientation. For iOS devices, and most other smart-phones tested, the default orientation is always "portrait", but in some Android and RIM based tablets, the default orientation is "landscape".

- Modified the orientationchange plugin so that it injects a landscape orientation media query into the document to figure out what the initial orientation is, it then makes adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
2012-01-13 17:25:55 +07:00
John Bender
bf39926d0d enforce test order ... dying a little inside 2012-01-13 17:25:55 +07:00
Eddie Monge Jr
01d1ce2342 increase java cache size 2012-01-13 17:25:55 +07:00
John Bender
384e8979f3 remove submodule update note 2012-01-13 17:25:55 +07:00
John Bender
fdcfd54172 vendor r.js and require.js 2012-01-13 17:25:55 +07:00
John Bender
8b08b65676 remove requirejs and r.js submodules in favor of vendoring the libraries 2012-01-13 17:25:55 +07:00
John Bender
5365928b40 add submodule update/init to readme 2012-01-13 17:25:55 +07:00
John Bender
6688882ef2 remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php 2012-01-13 17:25:54 +07:00
John Bender
0c006605d1 obviate the need for stub definition of define when using vanilla /js require 2012-01-13 17:25:54 +07:00
John Bender
b3d1b49008 update functional tests to use requirejs 2012-01-13 17:25:54 +07:00
John Bender
4ca0e94b73 add ui-mobile-rendering to docs to temprarily prevent fouc with async load. @gseguin to address with jqm-docs.js change 2012-01-13 17:25:54 +07:00
John Bender
b3048e4be5 switch to explicit false check to avoid undefined issues 2012-01-13 17:25:54 +07:00
John Bender
921ab705f5 fix async loading select test issue where keepnative isn't defined in time for the leading test 2012-01-13 17:25:54 +07:00
John Bender
b3c4b8f939 note about fouc 2012-01-13 17:25:54 +07:00
John Bender
bb240a55a6 whitespace in readme 2012-01-13 17:25:54 +07:00
John Bender
67967318d4 added note about local server support for development 2012-01-13 17:25:53 +07:00
John Bender
799c0b6b5b ensure defaultTransitionHandler is defined after the navigation has been loaded 2012-01-13 17:25:53 +07:00
John Bender
fe32fd5b17 ensure defaultTransitionHandler is defined after the navigation has been loaded 2012-01-13 17:25:53 +07:00
John Bender
d347be825c move to reloadModule as it returns a deferred 2012-01-13 17:25:53 +07:00
John Bender
c50310bfab make sure the slider core runs before init to set keepNative properly 2012-01-13 17:25:53 +07:00
John Bender
3890539f8f update select cached tests to use async 2012-01-13 17:25:53 +07:00
John Bender
9747f2ce87 update listview pushstate test to use async 2012-01-13 17:25:53 +07:00
John Bender
5a6c8b145e init test order and other small fixes 2012-01-13 17:25:53 +07:00
John Bender
a85a5bc537 fixed listview tests async loading 2012-01-13 17:25:52 +07:00
Mat Marquis
6148cf9229 Updating select menu tests to match recent dialog markup changes. 2012-01-13 17:25:52 +07:00
John Bender
79c7590660 stub define in event tests 2012-01-13 17:25:52 +07:00
John Bender
6795eb37c9 stubbed define in nav tests 2012-01-13 17:25:52 +07:00
Mat Marquis
3d62715b3c Fixing navigation bug caused by dialog markup changes. 2012-01-13 17:25:52 +07:00
John Bender
7ba4547aa3 fix url checks to use search where appropriate 2012-01-13 17:25:52 +07:00
Mat Marquis
00b7c85b4f Applied top margin to dialog headers rather than .ui-dialog, as the latter was breaking content-only dialogs meant to align with the top of the viewport. 2012-01-13 17:25:52 +07:00
Mat Marquis
20b0434207 Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page. 2012-01-13 17:25:52 +07:00
Mat Marquis
eb9968c2b6 Partial dialog refactor, in progress. 2012-01-13 17:25:52 +07:00
John Bender
57b1b23373 update nav base tests to use new push state helper 2012-01-13 17:25:51 +07:00
Frederik Lassen
de5ca04a74 Optimized the images even more. (Using ScriptPNG) 2012-01-13 17:25:51 +07:00
Frederik Lassen
b9853108b8 Corrected tiny typo. 2012-01-13 17:25:51 +07:00
Chetan K Jain
a95419ff73 data-id is not used in Pages and Dialogs 2012-01-13 17:25:51 +07:00
Chetan K Jain
3d8e887734 Update docs/about/getting-started.html 2012-01-13 17:25:51 +07:00
Chetan K Jain
5c7c1d875d Update docs/pages/page-anatomy.html 2012-01-13 17:25:51 +07:00
Mat Marquis
6e5d454880 Ensured the hover delay only applies to touch devices, logic that was mysteriously absent from my previous commit. 2012-01-13 17:25:51 +07:00
Mat Marquis
00b328b6cb Added slight delay before application of hover/down classes on touch devices, to prevent unintentional hover-ish behavior when the user intent is to scroll. 2012-01-13 17:25:50 +07:00
Anne-Gaelle Colom
ef56188c71 added navbar 2012-01-13 17:25:50 +07:00