Commit graph

83 commits

Author SHA1 Message Date
John Bender
f2802bdc65 reverted fixed toolbar merge, there are some issues with the branch that need to be addressed 2012-01-17 21:46:28 -08:00
scottjehl
57af436ab6 Merge branch 'fixedtoolbar'
Conflicts:
	Makefile
	css/structure/index.php
	css/structure/jquery.mobile.core.css
	css/structure/jquery.mobile.forms.slider.css
	css/structure/jquery.mobile.transitions.fade.css
	css/themes/default/jquery.mobile.css
	css/themes/default/jquery.mobile.theme.css
	docs/pages/page-transitions.html
	js/jquery.mobile.core.js
	js/jquery.mobile.define.js
	js/jquery.mobile.docs.js
	js/jquery.mobile.fixHeaderFooter.js
	js/jquery.mobile.fixHeaderFooter.native.js
	js/jquery.mobile.forms.button.js
	js/jquery.mobile.forms.select.custom.js
	js/jquery.mobile.init.js
	js/jquery.mobile.js
	js/jquery.mobile.navigation.js
	js/jquery.mobile.support.js
	js/jquery.mobile.transition.flip.js
	js/jquery.mobile.transition.flow.js
	js/jquery.mobile.transition.js
	js/jquery.mobile.transition.pop.js
	js/jquery.mobile.transition.slide.js
	js/jquery.mobile.transition.slidedown.js
	js/jquery.mobile.transition.slideup.js
	js/jquery.mobile.transition.turn.js
	tests/jquery.testHelper.js
	tests/unit/listview/listview_core.js
	tests/unit/support/index.html
2012-01-18 00:05:45 +07:00
Mat Marquis
2c34b82e69 Merge pull request #3398 from garann/master
fix for duplicate/incorrect enhancement of buttons
2012-01-16 15:04:56 -08:00
Ghislain Seguin
e64c02de8e Added dependency on jquery 2012-01-13 17:32:25 +07:00
Mat Marquis
42536ecafe Added download builder metadata. 2012-01-13 17:26:21 +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
Jake Boone
5f4c0a4914 Remove ui-btn-down class on scrollstart 2012-01-13 17:25:50 +07:00
Ghislain Seguin
c6e49f7b07 Discovered r.js' pragmas use them instead of the hacky solution provided by amd-stripper.js 2012-01-13 17:24:49 +07:00
Ghislain Seguin
f3e3121166 Specified more dependencies 2012-01-13 17:23:19 +07:00
Ghislain Seguin
88d5f0f89a Removed dep on jqm.core 2012-01-13 17:20:44 +07:00
Ghislain Seguin
dbedf643d3 Specified dependencies 2012-01-13 17:20:43 +07:00
Ghislain Seguin
b6e6febb76 Added dep on vmouse 2012-01-13 17:20:43 +07:00
Ghislain Seguin
3f1543a451 AMDized 2012-01-13 17:20:23 +07:00
Ghislain Seguin
948d39b898 Added dependency on jquery 2012-01-12 21:22:00 -08:00
Garann Means
c0dbecc855 fix for #3141 - redirect from button() and buttonMarkup() to correct function for element 2012-01-09 23:38:12 -06:00
Mat Marquis
d7afc8aa78 Added download builder metadata. 2012-01-06 19:31:31 -05:00
John Bender
95073892f0 Merge branch 'amd' 2012-01-04 12:24:33 -08:00
Mat Marquis
5b9ca5caf0 Ensured the hover delay only applies to touch devices, logic that was mysteriously absent from my previous commit. 2011-12-30 15:58:56 -05:00
Mat Marquis
171be28a22 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. 2011-12-30 15:24:46 -05:00
Jake Boone
13cb24e586 Remove ui-btn-down class on scrollstart 2011-12-29 11:13:54 -05:00
Ghislain Seguin
e4bf0b1a8e Merge remote branch 'upstream/master' into amd
Conflicts:
	js/jquery.mobile.hashchange.js
2011-12-15 23:31:35 -08:00
Ghislain Seguin
57a1129bfb Discovered r.js' pragmas use them instead of the hacky solution provided by amd-stripper.js 2011-12-15 18:15:42 -08:00
Ghislain Seguin
754cc81115 Specified more dependencies 2011-12-15 13:07:55 -08:00
Mat Marquis
d05ba205e3 Fixes #3238 — Seems markup structure was changed at some stage, making the ‘aria-hidden=true’ attribute a little over-reaching. Removed. 2011-12-15 12:41:18 -05:00
Ghislain Seguin
cf04068eba Assume jquery is loaded so don't require it 2011-12-08 10:02:36 -08:00
Ghislain Seguin
b72efb3bec Removed dep on jqm.core 2011-12-01 17:28:11 -08:00
Ghislain Seguin
7a90116ee2 Specified dependencies 2011-12-01 17:28:10 -08:00
Ghislain Seguin
45c6b309cb Added dep on vmouse 2011-12-01 17:28:10 -08:00
Ghislain Seguin
7f14a3dfed AMDized 2011-12-01 17:28:08 -08:00
Hans-Peter Buniat
f3f5ba62e5 changed $.inArray to indexOf in closestEnabledButton - see http://jsperf.com/fsdsgt4 2011-11-20 23:32:14 +01:00
jblas@adobe.com
ba8458daef Fix for issues:
- Modified findClosestEnabledButton() so that instead of checking for existence of ele.className, before using it, that it check for typeof ele.className === 'string'. This prevents us from looking at the className property of SVG elements which actually use type SVGAnimatedString which does not have the split() function in its API.
2011-11-15 10:19:37 -08:00
jblas@adobe.com
6bd8f7a85b Reclaiming another 200-300 msecs on the 400 listview item page for iPad and WP7.5.
- Use $.data() instead of $.fn.data() in buttonMarkup().
- Avoid excess function overhead with a filtered children() call by walking the DOM ourselves in listview code.
2011-11-11 14:51:58 -08:00
John Bender
3fdb12600e Merge pull request #2994 from eddiemonge/5535e24c46c95f16b437c0ebec8c19094caf18a7
License Changes
2011-11-09 15:27:25 -08:00
Ghislain Seguin
1b2f1d8e40 Merge pull request #2894 from MauriceG/patch-3
Fix for #2893: Buttons keep ui-btn-down-x class if leaved with mouse button pressed
2011-11-09 13:46:04 -08:00
Eddie Monge
5535e24c46 Update to add license to root, update individual files to not have license, add license to built and testing files 2011-11-08 15:43:36 -08:00
jblas@adobe.com
ebd7e04ce0 More enhancement optimizations:
- Modified buttonMarkup so that it checks options against undefined before calling jqmData(). This is necessary because false is a valid option.

- Modified listview so that it doesn't check for a data-counttheme unless it actually has a count item.
2011-11-01 09:26:41 -07:00
Maurice Gottlieb
3080b2a9c4 removing now also the ui-btn-down-x class when button loses focus 2011-11-01 14:34:53 +01:00
jblas@adobe.com
86e4e6fb43 Some code optimizations to speed up page enhancement.
- Avoid using $.each() when you can directly iterate on the collection. This avoids extra function calling overhead.

- Avoid calling jqmData() for options that are specified.

- Avoid calling $.fn.wrapInner(), creating the DOM nodes manually is much faster.
2011-10-31 23:45:42 -07:00
John Bender
a8202d240d reference the buttonMarkup text wrapper element through data 2011-10-31 13:24:17 -07:00
Mat Marquis
410a169b2b Fixes an issue introduced in commit #b0db8976, where lack of indexOf() was keeping IE 6/7/8 (at least) from rendering anything at all. 2011-10-26 16:54:11 -04:00
Eddie Monge
f6e319ef8a Standardize licenses in files and match jQuery core min license in min files 2011-10-25 11:15:19 -07:00
Eddie Monge
b0db897654 Button markup optimization 2011-10-21 16:08:28 -07:00
gseguin
04b2ec4c41 Revert "Small button markup optimization"
This reverts commit c496044a47.
2011-10-21 15:54:13 -07:00
Eddie Monge
c496044a47 Small button markup optimization 2011-10-21 15:22:43 -07:00
jblas@adobe.com
af870605ac Removed all of the redundant code used to crawl the DOM upward looking for a theme to inherit from, and replaced it with a call to the new $.mobile.getInheritedTheme() function.
Also, fixed a bug in textinput.js that was placing a ui-body-null class on the input element when a data-theme was not specified directly on the input.
2011-10-17 16:54:20 -07:00
Matthew Leon Grinshpun
62459c7cca fix for button iconshadow 2011-10-15 15:09:45 -04:00
Matthew Leon Grinshpun
6ef1d6ea6c fix for shadows and corners 2011-10-15 15:00:37 -04:00
John Bender
71b0eb0552 move $.fn.text invocation to $.fn.getEncodedTest where the content is being re-added to the dom for xss safety Fixes #2550 2011-10-04 18:25:54 -07:00
Mat Marquis
3c3a777158 Fixes #2594 — Button text is no longer read aloud twice (and treated as two separate navigable items) in iOS VoiceOver. 2011-10-04 16:45:14 -04:00