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
John Bender
75b50f2c88
add mouse event props to virtual mouse events Fixes #3280
2011-12-15 15:40:07 -08:00
Ghislain Seguin
754cc81115
Specified more dependencies
2011-12-15 13:07:55 -08:00
John Bender
c7e1bf0c14
update jquery to 1.7.1 Fixes #2965 , #3267
2011-12-15 10:35:53 -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
f55cf4d7c4
Moved r.js and require.js to external
2011-12-14 15:31:33 -08:00
Ghislain Seguin
08b89551b2
Use original r.js, externalized stripping of define/require to amd-stripper.js
2011-12-14 15:08:25 -08:00
Ghislain Seguin
ad98a8f13b
Added amd-stripper.js
2011-12-14 15:07:06 -08:00
John Bender
15f1c6de66
wait to focus page header until after mobile rendering class is stripped Fixes #2965
2011-12-14 14:48:38 -08:00
John Bender
c716ab707a
take closestParentPage off of $.fn
2011-12-09 14:39:57 -08:00
John Bender
851f6d4c67
Merge pull request #3171 from eddiemonge/issue_3169.2
...
Not using YUI for js so removing this line
2011-12-09 14:00:59 -08:00
John Bender
c49eac6e67
added commentary on selector perf and whitespace
2011-12-09 12:36:19 -08:00
John Bender
978762dc67
centralized method for finding closest page data
2011-12-09 12:17:20 -08:00
John Bender
2b49d382d8
Merge branch 'master' of https://github.com/eromba/jquery-mobile into eromba-master
2011-12-09 11:50:15 -08:00
Ghislain Seguin
aa1a3cdf49
Updated AMD stripping regexp
2011-12-08 13:48:07 -08:00
Ghislain Seguin
cf04068eba
Assume jquery is loaded so don't require it
2011-12-08 10:02:36 -08:00
Ghislain Seguin
2ece69afd5
Merge remote branch 'upstream/master' into amd
2011-12-07 15:45:36 -08:00
Ghislain Seguin
d45e4a1585
Not much, really
2011-12-07 15:44:13 -08:00
Ghislain Seguin
4d4866c017
Renamed r.js to r-jqm.js
2011-12-07 15:42:25 -08:00
Ghislain Seguin
ff25bcc662
Fixed deps
2011-12-07 15:42:08 -08:00
Ghislain Seguin
f37f9c72b3
Fixed deps
2011-12-07 15:41:40 -08:00
Ghislain Seguin
b79de8c168
use define instead of require
...
use order plugin for init (not ideal)
2011-12-07 15:40:25 -08:00
John Bender
1742820c17
removed dead code path in slider
2011-12-07 10:03:01 -08:00
John Bender
c45160973a
Merge branch 'eugenb1-patch-1'
2011-12-06 16:10:12 -08:00
John Bender
c0b857ab5e
fixed closure compiler warning for missing while block
2011-12-06 15:56:28 -08:00
John Bender
3f9bca14a6
Revert "Merge pull request #3172 from eddiemonge/issue_3169.1"
...
This reverts commit 9e58b93cc5 , reversing
changes made to 97bad66016 .
2011-12-06 15:53:06 -08:00
John Bender
9066a0b932
Merge branch 'patch-1' of https://github.com/eugenb1/jquery-mobile into eugenb1-patch-1
2011-12-06 15:18:07 -08:00
John Bender
9e58b93cc5
Merge pull request #3172 from eddiemonge/issue_3169.1
...
Update IE checker code for compiler
2011-12-06 14:33:08 -08:00
John Bender
cbaa42d63c
default emptry string val to 0 on refresh Fixes #3029
2011-12-05 15:38:25 -08:00
Marcus Lunzenauer
98b6ea3fb4
fix list item pruning while filtering
2011-12-02 11:57:55 +01:00
Ghislain Seguin
07d21c6666
Actually need order! plugin for controlgroup at least
2011-12-01 17:28:11 -08:00
Ghislain Seguin
271fbeb109
Up'd to 1.0.2
2011-12-01 17:28:11 -08:00
Ghislain Seguin
6f77ee64a0
Added dep on jquery.mobile.core
2011-12-01 17:28:11 -08:00
Ghislain Seguin
cd9d8070ce
Added dep on jquery.mobile.core
2011-12-01 17:28:11 -08:00
Ghislain Seguin
dd562968d2
removeClass( "ui-link" ) on first anchor in the li
2011-12-01 17:28:11 -08:00
Ghislain Seguin
b72efb3bec
Removed dep on jqm.core
2011-12-01 17:28:11 -08:00
Ghislain Seguin
63da13b8f5
Removed ref to order
...
Added dir exclusion regex for build
2011-12-01 17:28:10 -08:00
Ghislain Seguin
0fa1cd188b
Not using order after all
2011-12-01 17:28:10 -08:00
Ghislain Seguin
3d4f524604
Moved $.support.mediaquery to jquery.mobile.media
...
Set dependencies
2011-12-01 17:28:10 -08:00
Ghislain Seguin
7a90116ee2
Specified dependencies
2011-12-01 17:28:10 -08:00
Ghislain Seguin
82162fe904
Added collapsibleSet
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
6b7e83effa
Added dep on jquery.mobile.buttonMarkup
2011-12-01 17:28:10 -08:00
Ghislain Seguin
00e62041ed
Added r.js
2011-12-01 17:28:10 -08:00
Ghislain Seguin
9bfb4b83f3
Whitespace change
2011-12-01 17:28:10 -08:00
Ghislain Seguin
276fd72b0e
Modified shimming condition
2011-12-01 17:28:10 -08:00
Ghislain Seguin
1f9e17172c
Added almond.js
2011-12-01 17:28:10 -08:00
Ghislain Seguin
5e19574165
Added RequireJS 1.0
2011-12-01 17:28:09 -08:00
Ghislain Seguin
e9e7b96d01
Removed
2011-12-01 17:28:09 -08:00
Ghislain Seguin
03878b7be8
Added module for docs
2011-12-01 17:28:09 -08:00
Ghislain Seguin
34ce8a8feb
Added jQuery AMD shim to support jQuery < 1.7
2011-12-01 17:28:09 -08:00
Ghislain Seguin
c1672dc654
Fixed path to almond.js
...
Excluded order plugin
2011-12-01 17:28:09 -08:00
Ghislain Seguin
46cd8f8436
added order plugin to the baseUrl directory
2011-12-01 17:28:09 -08:00
Ghislain Seguin
ff5f38a1f2
AMDized
2011-12-01 17:28:09 -08:00
Ghislain Seguin
6d67f667cc
AMD build file
2011-12-01 17:28:08 -08:00
Ghislain Seguin
c76f3551b6
Main AMD module
2011-12-01 17:28:08 -08:00
Ghislain Seguin
981f7567a7
Added requirejs v1.0
2011-12-01 17:28:08 -08:00
Ghislain Seguin
63292b805d
AMDized
2011-12-01 17:28:08 -08:00
Ghislain Seguin
7f14a3dfed
AMDized
2011-12-01 17:28:08 -08:00
Jake Boone
1e669734c3
Spelling correction in jquery.mobile.fixHeaderFooter.js.
2011-12-01 15:33:18 -05:00
Eugen Bolz
27f49f0dcf
Slider: use also option text as title
2011-11-29 08:35:18 +01:00
Eddie Monge
43d83e2ef9
Not using YUI for js so removing this line
2011-11-26 12:27:31 -08:00
Eddie Monge
26dc452dc9
Update IE checker code for compiler
2011-11-26 12:21:18 -08:00
John Bender
3e47bff3ff
whitespace and spelling correction
2011-11-23 13:30:40 -08:00
jrowny
1597d756d8
slider step, remove round clean up code a bit
2011-11-23 13:30:40 -08:00
jrowny
e09374b41d
add slider step support from jQuery UI
2011-11-23 13:30:40 -08:00
jrowny
7d204230f0
Add slider step support from jQuery UI
2011-11-23 13:30:40 -08:00
Kin Blas
2b40784c4e
Merge pull request #3122 from hpbuniat/closestEnabledButton-speedup
...
Minor performance optimization for closestEnabledButton in buttonMarkup
2011-11-21 16:35:19 -08:00
Ethan Romba
a8c04855b4
Issue #3081 : Range inputs on dialogs don't degrade
...
The degradeInputs plugin bails early for pages that do not have
data-role="page". This behavior prevented range inputs (for slider widgets)
from degrading properly when used in dialogs.
Updated degradeInputs unit tests to check dialogs, too.
2011-11-21 16:47:14 -06:00
John Bender
7c62253ee5
Merge pull request #3097 from eddiemonge/intro
...
Old file that was replaced by license.txt in the root folder
2011-11-21 14:40:01 -08:00
John Bender
c80428062a
move to hasClass check to avoid psuedo selector slowdown
2011-11-21 13:09:00 -08:00
Thomas Lallement
9d6ca3cc11
Edited js/jquery.mobile.navbar.js via GitHub
2011-11-21 13:09:00 -08:00
John Bender
6f00d35db8
move pagechange binding for textarea autogrow outside the check for text content
2011-11-21 10:15:47 -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
Eddie Monge
ff6a349229
Old file that was replaced by license.txt in the root folder
2011-11-17 17:47:06 -08:00
Ghislain Seguin
3542c9c0b1
Merge pull request #3008 from eddiemonge/live-delegate
...
Change .live() to .delegate()
2011-11-17 15:13:29 -08:00
Mat Marquis
a0ec2eb4f3
Fixes #3086 — Windows Phone 7 seems unable to use find() for an attribute-based selector, in this context.
2011-11-17 18:08:05 -05:00
Ghislain Seguin
3d17a69d8b
Merge pull request #3010 from gseguin/issue-2905
...
Decoupled collapsible and collapsible set
2011-11-17 09:35:05 -08:00
Mat Marquis
ff93c76037
Fixes #3041 — Cleans up the support test for Opera Mini and opts it out of fixed toolbar behavior.
2011-11-16 17:13:13 -05:00
Mat Marquis
f016c2dc21
Ensures that dialogs’ content elements _do_ inherit the overall page theme.
2011-11-16 15:25:00 -05:00
Mat Marquis
4c5e85cc50
Correctly addresses #3020 — “Content” elements now correctly apply themes, but do not inherit the theme set on the overall page.
2011-11-16 10:35:03 -05:00
jblas@adobe.com
16aafad67e
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-15 16:18:50 -08:00
jblas@adobe.com
098eed9c3b
Fix for #2826 - an error occurred with click event on svg element using "live" or "delegate"
...
- Modified findClosestLink() to check the ele.nodeName type before trying to access it.
2011-11-15 16:17:14 -08:00
Mat Marquis
b3e65595e6
Fixes #3053 — I was a little overzealous in ensuring “content” elements didn’t inherit a theme if it wasn’t intended.
2011-11-15 17:37:14 -05: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
db2782b564
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-14 09:45:21 -08:00
jblas@adobe.com
3353649a29
Uh, yeah, I'll take back another 700 msecs on WP7.5 (Mango) and 200 msecs on iPad. Thank You.
...
- Don't set the item class on the list item or it's btn-inner children until after the main processing loop. We now use a dictionary of item-classes to track what items get what set of classes and then set them all afterwards. This cuts down the per-item addClass() and children() function overhead significantly and gets us big wins on platforms like WP 7.5
2011-11-14 09:42:48 -08:00
Mat Marquis
f62c5c01b3
Fixes #3028 — Listviews themselves are now inheriting the theme set at the page level. Individual list items remain themeable.
2011-11-14 12:02:42 -05:00
jakeboone02
9040f56c53
Fix comments
2011-11-12 10:26:20 -05:00
Mat Marquis
b2106887d8
Merge remote-tracking branch 'upstream/master'
2011-11-11 18:54:48 -05:00
jblas@adobe.com
0e0435ed1c
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-11 14:54:05 -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
Mat Marquis
5262c2be56
Fixes #3020 — Theme-dependent backgrounds should be applied only to ‘data-role=content’ within a dialog.
2011-11-11 15:20:36 -05:00
John Bender
ced1f865a2
whitespace and a comment on setting buttonPlaceholder to undefined
2011-11-11 12:08:59 -08:00
frietsch
c824b16816
Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time.
2011-11-11 12:08:59 -08:00
frietsch
b051c3203e
Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time.
2011-11-11 12:08:59 -08:00
John Bender
73508f1dbf
Merge branch 'pbosakov-issue_2821'
2011-11-11 11:20:57 -08:00
John Bender
46f6c678eb
simplify nested branches
2011-11-11 11:20:30 -08:00
jblas@adobe.com
343161c972
Reclaim 250 msecs on iPad and WP7.5 (Mango) by simply combining find().filter() calls and getting rid of fake pseudo selectors :eq(0) and :last.
2011-11-11 10:31:31 -08:00
John Bender
1f20d7c002
Merge branch 'issue_2821' of https://github.com/pbosakov/jquery-mobile into pbosakov-issue_2821
2011-11-11 09:58:16 -08:00
jblas@adobe.com
ac8a7c7cb9
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-10 14:15:25 -08:00
jblas@adobe.com
87070cc690
Reclaiming another 700-800 msecs on the 400 listview item test for WP7.5 (Mango) with a few minor tweaks:
...
- Added _findFirstElementByTagName() which does basic DOM traversal to find the first of an element with the given nodeName. Use this in place of $.fn.closest() and $.fn.children() calls that filter with ":eq(0)".
- Avoid calling $.fn.add() if you can. The creation of the new collection is costing about 400 msecs.
- Avoid calling $() with markup for a single node, just use document.createElement() and pass it to $().
2011-11-10 14:15:12 -08:00
Ghislain Seguin
c2436806f4
Removed double setting of ui-body- class on collapsible content
2011-11-10 09:54:58 -08:00
Ghislain Seguin
eb28b7ec57
Removed console.debug
2011-11-10 09:36:44 -08:00
Ghislain Seguin
3b13aaf288
Re-applied Kin's optimizations
2011-11-10 09:36:44 -08:00
Ghislain Seguin
6d4274fd6c
Decoupled collapsible and collapsible-set
...
That fixes issue #2905 as well
2011-11-10 09:36:44 -08:00
Ghislain Seguin
94389bdcad
Renamed variable
2011-11-10 09:36:44 -08:00
Ghislain Seguin
4bba893940
Fixed custom select dialog header styling
2011-11-10 09:17:31 -08:00
Ghislain Seguin
acdbd8f1b7
Renamed variable
2011-11-10 09:17:31 -08:00
John Bender
8ef15e82cc
correction to license include in js/index.php
2011-11-09 22:36:00 -08:00
jblas@adobe.com
a8a6f58d3e
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-09 18:02:27 -08:00
jblas@adobe.com
8e23813d25
Got rid of pseudo selectors :header and :eq(0) since they take a long time on WP7.5 (Mango). This shaves off 300 msecs when loading the form gallery page.
2011-11-09 17:59:25 -08:00
Eddie Monge
c367c832e2
Change .live() to .delegate()
2011-11-09 16:01:37 -08:00
John Bender
7085843b74
moved info text to license-info.txt
2011-11-09 16:00:25 -08:00
John Bender
989f7f1542
move intro to text for css combine, js combine, and makefile use
2011-11-09 15:45:08 -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
John Bender
1d4109295d
textinput whitespace
2011-11-09 11:43:40 -08:00
John Bender
d50aa91e6d
comment clarification
2011-11-09 11:42:57 -08:00
John Bender
3f52c482d0
account for css load in initial document load and page transition with text area autogrow
2011-11-09 11:35:21 -08:00
Eddie Monge Jr.
6b5ca6311a
Remove unneeded css as height will suffice. Trigger the inputs keyup. Im not sure calling $(keyup) called the function on the element.
2011-11-09 08:32:00 -08:00
jblas@adobe.com
cb820f6e5d
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-08 17:07:18 -08:00
jblas@adobe.com
76766a635f
Speed up listview enhancement for WP 7.5 (Mango). This change allows the 400 listview item page to load in 3-4 seconds instead of 30 seconds.
...
- Modified refresh() so that it manually checks for the first image in the list item or .ui-link-inherit element. This allows us to avoid executing a selector with a direct descendant and :eq(0) pseudo which is quite slow on WP 7.5 IE.
2011-11-08 17:04:41 -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
John Bender
94c2651244
Merge pull request #2959 from garann/158a65c1fd7f34afb6f157921a1604f6e3159a29
...
Store title of initial page
2011-11-08 13:38:29 -08:00
jblas@adobe.com
b198f57276
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-08 11:21:01 -08:00
jblas@adobe.com
488e8f70ad
Some minor performance tweaks:
...
- Cache the nsNormalize() results so we don't have to call $.camelcase() every time jqmData() is called.
- Move the regexp used in our monkey patched $.find outside of the function to save some regex compilation cycles.
2011-11-08 11:19:39 -08:00
Ghislain Seguin
8dcef4493d
Fix for #2954
2011-11-07 21:02:28 -08:00
jblas@adobe.com
e17e29b559
Eeking out another 200+ msecs (on iPad) by simply switching to children("img:eq0") instead of find(">img:eq0"). Still need to figure out how to get rid of the find(".ui-link-inherit>img:eq(0)") which is the where the bulk of listview enhancement is spent on WP7.
2011-11-07 15:16:32 -08:00
jblas@adobe.com
8177ec4bb5
Shave another 200-300ms off the 400 listview item page by simply reducing the number of function calls we make during enhancement.
...
- Got rid of _itemApply() and moved it's functionality to the bottom of refresh(), doing finds from $list where we can, and li where we can't. Boom, at least 1200+ less function calls.
2011-11-07 12:38:54 -08:00
Garann Means
158a65c1fd
Store title of initial page so it will appear correctly if reloaded via link instead of back button
2011-11-07 14:23:27 -06:00
Ghislain Seguin
47e0e4bf99
Fixed inheritance of content theme
2011-11-04 22:34:58 -07:00
Ghislain Seguin
26c48c8c6c
Fix for #2871 : Added overlayTheme option to dialog widget
2011-11-04 22:34:58 -07:00
Mat Marquis
63573bce5e
Merge pull request #2934 from garann/master
...
Issue #1447 - unescape entities in page titles
2011-11-04 15:04:26 -07:00
jblas@adobe.com
0b5f6dab5d
Reworked getInheritedTheme() to avoid closest() and attr(). This new version shaves off 200ms of page enhancement time on the forms gallery page on a Droid X (Android 2.1).
2011-11-04 14:11:19 -07:00
Garann Means
6699dab7d1
Corrected logic for locating entities in titles
2011-11-04 15:08:10 -05:00
jblas@adobe.com
97e3f8a800
Fix for issue #2520 - No longer able to remove / expire pages reliably
...
- Modified loadPage() so that if we are attempting to load the first page of the application document, that we first check to make sure it is in the DOM before returning our cached copy. If it is not in the DOM, we let it fall through to the ajax loading code so that it gets recreated. This is necessary since some developers are agressively pruning pages, including embedded ones, for various reasons.
2011-11-04 10:58:44 -07:00
Garann Means
d7d52544e7
Fix for #1447 - create element and read text from there to unescape entities in page title
2011-11-04 12:33:07 -05:00
John Bender
408c98322a
whitespace in mobile widget
2011-11-02 14:23:29 -07:00
Petko Bossakov
8387919d26
Issue 2821: prevented caling blur() on a body element, causes bug in IE8
2011-11-02 22:09:25 +02:00
jblas@adobe.com
8c81959a7d
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-01 14:59:36 -07:00
jblas@adobe.com
e056d20728
Some minor listview tweaking to eliminate 1200 $.fn.find calls in our 400 item listview test case.
...
- Moved some of the finds we used to do for every item, out of the processing loop so we do just 3 big finds. This shaves off 200-300ms on iPad iOS 4.3.5.
2011-11-01 14:57:31 -07:00
John Bender
010e93152d
Merge pull request #2899 from jpfiset/master
...
Fix for issue #2897
2011-11-01 09:44:43 -07: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
Jean-Pierre Fiset
bd5f62cb3c
Fix for issue #2897
2011-11-01 11:00:27 -04: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
John Bender
0ffaab8d22
switched to prop per @eddiemonge
2011-10-31 11:44:56 -07:00
Alex Roberts
6b767b4b8d
Update form button text on refresh.
...
Allows submit button values to change dynamically, and update accordingly in the UI. Such as in the event a button should read "Update" instead of "Save".
2011-10-31 11:05:54 -07:00