Ghislain Seguin
9e935c31f6
Merge branch 'out-in-transition'
...
Conflicts:
css/structure/index.php
docs/_assets/js/jqm-docs.js
index.html
2012-01-12 09:56:48 -08:00
scottjehl
8f54d62527
added some unit tests for maxTransitionWidth option
2012-01-11 21:31:06 +07:00
scottjehl
4125bc6756
disable the maxTransitionWidth during testing by default so that window width doesn't conflict with tests.
2012-01-11 11:27:24 +07:00
Ghislain Seguin
ff9b742723
Use css/themes/default/jquery.mobile.css instead of css/themes/default/index.php
2012-01-10 14:49:52 -08:00
Mat Marquis
148cb09132
Updated docs’ CSS to use new @import scheme.
2012-01-10 16:35:51 -05:00
scottjehl
e35327c894
rewrote the transitions test suite and handlers to account for our new sequence. The main difference is most tests are async now, and use two functions: onFromComplete and onToComplete to test conditions before each page's animationComplete handler finishes (while animation classes are still present, for instance). onToComplete must call start() so that pages stay in proper sequences, as fromComplete may not always run depending on pages in play, and it's only halfway done in the trans.Needs more tests now!
2012-01-10 17:30:28 +07:00
scottjehl
679a46dbf0
even when stubbing out the function for testing, this $.fn needs to return this (it's relied upon for chaining in nav)
2012-01-10 13:23:55 +07:00
John Bender
cf611bc1c7
conceding defeat on determining the load order issue that's causing the test failure
2012-01-06 15:27:21 -08:00
John Bender
f60dd96178
remove duplicate test run
2012-01-06 15:27:21 -08:00
John Bender
12f112d6d4
check to make sure cached test page appears
2012-01-06 15:27:21 -08:00
jblas@adobe.com
f0cc30719d
Corrected the title for the functional test.
2012-01-06 10:23:54 -08:00
jblas@adobe.com
1a5224047b
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-06 10:19:04 -08:00
John Bender
3cea545f73
enforce test order ... dying a little inside
2012-01-05 14:23:17 -08:00
John Bender
3c2bfaca8a
remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php
2012-01-04 14:26:03 -08:00
John Bender
ea01f9f960
update functional tests to use requirejs
2012-01-04 14:04:18 -08:00
John Bender
b47d9ba24e
fix async loading select test issue where keepnative isn't defined in time for the leading test
2012-01-04 13:13:24 -08:00
John Bender
95073892f0
Merge branch 'amd'
2012-01-04 12:24:33 -08:00
John Bender
223ad8daab
move to reloadModule as it returns a deferred
2012-01-04 11:26:36 -08:00
John Bender
bda2834acc
make sure the slider core runs before init to set keepNative properly
2012-01-04 11:23:21 -08:00
John Bender
0a48b9168f
update select cached tests to use async
2012-01-04 11:10:04 -08:00
John Bender
dc3e42ec86
update listview pushstate test to use async
2012-01-04 11:08:21 -08:00
John Bender
912a7e852f
init test order and other small fixes
2012-01-04 11:05:52 -08:00
John Bender
739452ded0
fixed listview tests async loading
2012-01-04 09:45:36 -08:00
Mat Marquis
573fcf8668
Updating select menu tests to match recent dialog markup changes.
2012-01-04 12:35:13 -05:00
John Bender
16391e4af9
stub define in event tests
2012-01-04 09:10:52 -08:00
John Bender
81d1f6f282
stubbed define in nav tests
2012-01-04 08:56:35 -08:00
John Bender
9c7e1b755f
fix url checks to use search where appropriate
2012-01-04 08:02:31 -08:00
Mat Marquis
9b3aefae84
Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page.
2012-01-03 18:16:29 -05:00
John Bender
d82b6aacfc
update nav base tests to use new push state helper
2012-01-03 14:13:56 -08:00
Ghislain Seguin
c5415307ba
Fixed checkboxradio tests
2011-12-28 14:08:18 -08:00
Ghislain Seguin
83de694e9f
Reverted unwanted changes
2011-12-24 00:51:39 -08:00
Ghislain Seguin
0bd10de3e8
Added require.js 1.0.3 as a submodule
2011-12-24 00:48:08 -08:00
Ghislain Seguin
42190caef2
AMDized
2011-12-22 17:32:01 -08:00
Ghislain Seguin
d97118d891
Added $.testHelper.deferredSequence
...
Renamed reloadLib to reloadModule
Resuscitated $.testHelper.reloadLib
2011-12-22 17:31:11 -08:00
Ghislain Seguin
1bbd67bc98
Remove .js suffix from libName
2011-12-22 10:44:08 -08:00
Ghislain Seguin
db5a919928
Use new testHelper.reloadLib
2011-12-22 09:55:07 -08:00
Ghislain Seguin
b249dbe519
Changed reloadLib to use requirejs' context. That process being async it now returns a $.Deferred
2011-12-22 09:54:34 -08:00
Ghislain Seguin
a3392bc0ff
Remove .js suffix from libName
2011-12-22 09:53:26 -08:00
Ghislain Seguin
22c6409f63
AMDized
2011-12-22 09:49:33 -08:00
Ghislain Seguin
c58022c8ff
AMDized
2011-12-21 16:41:43 -08:00
Ghislain Seguin
67df0cdf10
Minimized imported resources
...
Added css links
2011-12-21 14:41:48 -08:00
Ghislain Seguin
dba47fee54
Fixed test name
2011-12-21 14:41:19 -08:00
Ghislain Seguin
5c4c62e5e5
AMDized
2011-12-21 14:39:45 -08:00
Ghislain Seguin
2f43368fda
Trailing comma
2011-12-21 14:37:43 -08:00
Ghislain Seguin
4bb45a9b70
Minimized imported resources
2011-12-21 14:35:14 -08:00
Ghislain Seguin
ee91030bb3
AMDized
2011-12-21 14:29:09 -08:00
Ghislain Seguin
69d69092d5
AMDized
2011-12-21 13:59:48 -08:00
Ghislain Seguin
2c38391171
AMDized
2011-12-21 13:43:48 -08:00
Ghislain Seguin
ba6c4dd8c8
AMDized
2011-12-21 13:36:59 -08:00
Ghislain Seguin
185ea02809
AMDized
2011-12-21 11:54:12 -08:00