Commit graph

2862 commits

Author SHA1 Message Date
jacob4u2
9ff4d4cfd3 fix for #2119; updated to 2011-07-20 16:03:10 -05:00
scottjehl
3afef99719 forgot to add a file to the unit test markup 2011-07-20 14:37:02 -04:00
scottjehl
a3afffdbbd restored autocorrect/complete disabling, as it was implemented in the page plugin already. 2011-07-20 12:59:20 -04:00
scottjehl
79cef2c01f restored default theming for headers and footers 2011-07-20 12:58:38 -04:00
scottjehl
5dc3555373 restored dialog theming, which overrides default page theming, but not custom page theming. 2011-07-20 12:40:46 -04:00
scottjehl
3da4bd32a8 whitespace 2011-07-20 12:37:54 -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
64e6ef0e72 bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance". 2011-07-19 22:44:03 -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
scottjehl
c7b63920e7 fixed test failures that occured when the jquery-mobile directory is located in a subdirectory of the server root. 2011-07-19 22:25:05 -04:00
scottjehl
8e354a06c5 typo in docs 2011-07-17 17:04:11 -04:00
scottjehl
a93cdbcea0 changed up the unit test so that it didn't load the page in an iframe, which seemed to mess things up on the test server. 2011-07-17 16:29:05 -04:00
scottjehl
03f32728c6 removed a console.log 2011-07-17 16:22:13 -04:00
scottjehl
44dfea16e1 Merge remote branch 'origin/master' 2011-07-17 14:53:44 -04:00
scottjehl
259815d480 Make data-role=page elements optional. This change makes the framework more lenient with markup, and will ease integration with existing sites, as well as mashups with external content. Unit tests included. Fixes #2096 2011-07-17 14:52:49 -04:00
Scott Jehl
116df45ae7 Merge pull request #2091 from taktran/master
Minor doc fix up
2011-07-17 09:22:03 -07:00
Scott Jehl
c4f8e7dbfb Merge pull request #2094 from hotTea/master
Fixes #2087 : Upgrade valencia to use the new gradient syntax
2011-07-17 09:03:35 -07:00
Mayank Varia
81581150dd Upgrade valencia to use the new gradient syntax. Fixes #2087
Adjusted css3 prefixing for background gradients and removed -ms filter
gradients
2011-07-17 00:55:44 -07:00
Tak Tran
fc15c53d2d Matching end comment for ui-grid-b code 2011-07-15 16:37:42 -07:00
John Bender
53a8023b14 fixed select tests to click the button instead of calling the select menu method 2011-07-15 15:22:56 -07:00
John Bender
2e2f318562 whitespace and missing semi in select 2011-07-15 15:22:56 -07:00
toddparker
edee8c42b3 Merge remote branch 'origin/master' 2011-07-15 17:04:33 -04:00
toddparker
6b8f322c66 Updated the single and multi-page templates to use the CDN version and have better design/content. Linked to these from the index page so they are more accessible too. 2011-07-15 17:02:25 -04:00
scottjehl
f84ceb12ed Merge remote branch 'origin/master' 2011-07-15 16:30:03 -04:00
toddparker
4f6eea6e00 Fixed inline button docs to remove the incorrect info that wrapping multiple buttons in a container with data-inline="true" woudl work. You must add this each each button. 2011-07-15 16:11:26 -04:00
scottjehl
22b0cae65c added unit tests for the data-prefetch attr 2011-07-15 15:55:27 -04:00
John Bender
ca173441d0 small refactor the the base url change for readability 2011-07-15 10:47:06 -07:00
scottjehl
098687ae63 added documentation for data-prefetch 2011-07-15 13:22:13 -04:00
scottjehl
a5d0a294e9 Implemented data-prefetch attribute for anchor elements. Presence of this attribute on an anchor will cause the referenced page to be preloaded when the parent page of that anchor is shown. Fixes #1819. 2011-07-15 13:16:31 -04:00
scottjehl
3dd495588b removed the nonHistorySelectors option, which was no longer in use after the nav refactor. 2011-07-15 11:50:26 -04:00
scottjehl
b0552d79de removed some old alpha comments. Versioning covers this sort of thing. 2011-07-15 11:47:32 -04:00
scottjehl
affd609330 This ensures inner button text is visible in IE7. Fixes #2058. Yay. 2011-07-15 11:42:25 -04:00
scottjehl
6da7e4a1dc Made loading message configurable at runtime. Fixes #2044. Fixes #1974. Fixes #1947. 2011-07-14 22:46:06 -04:00
Todd Parker
12d52772cb Merge pull request #2075 from mattopenstack/master
Small update to doc readme for running the repo locally. Thanks mattopenstack!
2011-07-14 08:40:19 -07:00
Matt
00f86c83f0 update docs regarding running demos 2011-07-14 07:22:25 -07:00
John Bender
af3877be43 tests updated to accomodate relative hash references 2011-07-13 16:04:24 -07:00
John Bender
d827be3bf2 relative url change per Kin Blas's last pre-vacation request 2011-07-13 16:04:24 -07:00
Ghislain Seguin
584e3070ae Unit tests for issue #1526 2011-07-12 23:32:22 -07:00
Ghislain Seguin
3062d385b8 Fix for issue #1526 2011-07-12 23:32:10 -07:00
Ghislain Seguin
8623b67a41 Merge pull request #2062 from taktran/patch-1
Fixed up spelling mistake.
2011-07-12 16:50:05 -07:00
Tak Tran
80edfd9f15 Fixed up spelling mistake. 2011-07-12 16:48:40 -07:00
scottjehl
815d82ba1f changed padding-box to padding for -moz-background-clip per https://developer.mozilla.org/en/CSS/background-clip#Browser_compatibility 2011-07-11 02:17:17 -04:00
scottjehl
e5e198a8db adjusted css3 prefixing for background gradients to a) increase browser support for standard prefixed gradients, and b) remove -ms filter gradients due to a rendering issue in IE9 that conflicts with border radius. Gradient support is set for IE10, however. More info on this bug and decision can be found at issue #2046. Fixes #2046. Fixes #1933. Addresses a portion of #13 as well. 2011-07-11 02:06:24 -04:00
scottjehl
ada46734ec abstracted out some of the page hide behavior to fix issues with the close button not returning focus to the button after closing. Also fixes an issue where a full page custom menu would open as a misplaced small custom menu the second time it opens (if the menu was closed via the custom close button). Fixes #1618. Fixes #1692. Fixes #1750. 2011-07-10 21:56:58 -04:00
scottjehl
2de817d24c fixed some logical errors in these tests. they now pass consistently in Firefox. Still inconsistent in Chrome, though they did pass once in Chrome during testing. Getting closer... 2011-07-10 21:51:08 -04:00
Scott Jehl
7b1966c850 Merge pull request #2015 from mlitwin/bug_1992
Fixes #1992; Swipe threshold constants are configurable
2011-07-10 15:20:15 -07:00
scottjehl
e567742c90 fixed up logic and code style for the _removeCorners "which" argument. Thx for the logic suggestion, @eugenb1. Fixes #1996. 2011-07-10 18:07:12 -04:00
scottjehl
4703fe0d24 Merge branch 'master' of https://github.com/wietsevenema/jquery-mobile into wietsevenema-master 2011-07-10 17:46:51 -04:00
scottjehl
fdde24b51f fixed unit test - menu var wasn't defined. 2011-07-10 17:34:38 -04:00
scottjehl
033ce4ab96 Merge branch 'fix_issue_1851' of https://github.com/tigbro/jquery-mobile into tigbro-fix_issue_1851
Conflicts:
	js/jquery.mobile.forms.checkboxradio.js
2011-07-10 17:17:51 -04:00