Commit graph

45 commits

Author SHA1 Message Date
Ghislain Seguin
079324cf56 Use jQuery tag inserter instead of pointing directly at jquery.js 2012-01-22 23:15:30 -08:00
jrburke
73a8d24134 Move require.js to first tag so it can catch jquery module registration, otherwise jquery may be loaded twice. 2012-01-12 21:35:46 -08: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
John Bender
bda2834acc make sure the slider core runs before init to set keepNative properly 2012-01-04 11:23:21 -08:00
Ghislain Seguin
0bd10de3e8 Added require.js 1.0.3 as a submodule 2011-12-24 00:48:08 -08:00
Ghislain Seguin
ba6c4dd8c8 AMDized 2011-12-21 13:36:59 -08:00
John Bender
7a267e2c7d test that the link title value is the selected option text 2011-12-06 16:09:52 -08:00
John Bender
5f6ce0d651 test that an empty string val results in the min attr value on refresh 2011-12-05 15:38:25 -08:00
John Bender
b4f945f73b test steps in refresh 2011-11-23 13:30:40 -08:00
John Bender
3b78250b17 comment linebreak 2011-11-23 13:30:40 -08:00
John Bender
3b83d4e032 force round numbers to avoid testing step rounding in keypress tests 2011-11-23 13:30:40 -08:00
Gabriele Rabbiosi
0e14c98efe Corrected some tests for the slider widget 2011-11-02 23:58:50 +01:00
John Bender
fef4b200a6 handle pixel values from calls to $.fn.css('left') in slider tests 2011-10-28 15:58:25 -07:00
Gabriele Rabbiosi
ee05bb5576 Fixed issue #2631 - flip toggle switch animation improved 2011-10-23 14:30:10 +02:00
Gabriele Rabbiosi
396f8d019e Issue #2756 - flip toggle switch value can be changed when the switch is disabled 2011-10-22 17:05:05 +02:00
Eddie Monge
8bc5e42fb3 2700: Step 5 Update all doc references 2011-10-17 13:51:45 -07:00
John Bender
b958e84e2c correction of slider test markup 2011-10-10 14:21:37 -07:00
John Bender
ec2c015136 slider enhanceWith tests 2011-10-10 14:21:37 -07:00
Jörn Zaefferer
0ed1460279 Add swarminject.js to prepare for TestSwarm integration 2011-10-04 15:02:17 -04:00
Kin Blas
36a47bbb0e Added slider unit test for issue 2315 - Flip toggle switch with change event bound, triggers multiple times 2011-09-22 16:24:56 -07:00
John Resig
0b83cf8d60 Tweak some more stylesheet formatting. 2011-09-08 21:35:28 -04:00
scottjehl
fdb77bfa52 changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions 2011-07-22 09:05:55 -04:00
scottjehl
6f701add58 updated unit tests to ensure the enhance event is working properly on self-initializing widgets 2011-07-20 09:35:48 -04:00
scottjehl
2a6c7fc1b9 This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
- Internally, each plugin self-initializes by binding to the pagecreate event.

- Unit tests have been added and adjusted to support some internal changes involved in this commit.

- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.

- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.

- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
Ghislain Seguin
584e3070ae Unit tests for issue #1526 2011-07-12 23:32:22 -07:00
scottjehl
8ba4c27300 Ya'll can scale your pages now. Fixes #1645. Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/ 2011-05-17 17:28:19 -04:00
scottjehl
d97a964884 been meaning to do this for a while. 2011-04-14 16:04:47 -04:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07:00
John Bender
8943287c75 Revert "fixed failing slider tests in firefox by adding data-type to type=range inputs"
This reverts commit 6ca79aceb4.
2011-03-14 08:22:44 -07:00
John Bender
6ca79aceb4 fixed failing slider tests in firefox by adding data-type to type=range inputs 2011-03-13 23:40:03 -07:00
scottjehl
0d9627d54e Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags. 2011-03-14 00:20:23 -04:00
scottjehl
0bf5ce8a37 set unit test pages namespace to "nstest-" 2011-03-09 23:16:48 -05:00
scottjehl
77ac0f009a a few more non-namespaced attrs to bring over 2011-03-09 21:03:40 -05:00
scottjehl
9e91fa6752 updated docs with jq namespace, found some more stragglers 2011-03-09 21:03:40 -05:00
John Bender
421dc352c0 corrected js test includes and simplified to prevent further breakages 2011-02-20 18:07:17 -08:00
John Bender
cbd1eb7ac9 moved page and dialog styling to qunit css to remove repition and make sure that its consistent across pages 2011-02-05 21:22:50 -08:00
John Bender
a79799e3b3 added step tests for keypress, removed data-step attribute check in favor of html5 range step attribute 2011-02-02 23:46:20 -08:00
scottjehl
4c4ccbd971 removed the position plugin script references 2011-01-31 23:48:13 -05:00
John Bender
442e4b19b0 updated slider refresh function with an extra param for preventing validation on its input Fixes #468 2011-01-24 23:38:50 -08:00
John Bender
cc307ec902 tests for large select dialog issue 2011-01-15 23:15:17 -08:00
Kin Blas
38f09ee66f Sweep through all files to add a trailing slash to <link> tags that include thems/default. This should fix Opera Mobile Issue 763. 2011-01-05 16:19:24 -08:00
John Bender
3a9652c9cc slider switch keyboard access tests Fixes #632 2010-12-26 23:09:11 -08:00
John Bender
fa760da3bd docs updated with information about the slider keys 2010-12-22 23:53:44 -08:00
John Bender
39f4749257 added tests for home and end keys 2010-12-22 23:31:53 -08:00
John Bender
b2d58c1f30 slider keypress tests, comments, and style addition to navigation test page 2010-12-22 23:18:14 -08:00