Ghislain Seguin
e419648b44
Added temporary dependency on mobile.widget
2012-01-13 17:24: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
c9cdf7f984
Fixed deps
2012-01-13 17:21:26 +07:00
Ghislain Seguin
dbedf643d3
Specified dependencies
2012-01-13 17:20:43 +07:00
Ghislain Seguin
323a52c195
Whitespace change
2012-01-13 17:20:25 +07:00
Ghislain Seguin
3f1543a451
AMDized
2012-01-13 17:20:23 +07:00
scottjehl
f779416c8d
moved touchOverflowEnabled setting to global config, class is applied through page plugin. False by default. No longer dependent on fixed headers and footers.
2011-12-26 16:30:00 +07:00
John Bender
c716ab707a
take closestParentPage off of $.fn
2011-12-09 14:39:57 -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
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
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
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
Eddie Monge
f6e319ef8a
Standardize licenses in files and match jQuery core min license in min files
2011-10-25 11:15:19 -07:00
John Bender
8f5889a707
add linkBindingEnabled to mobile object for complex apps that want to handle all nav
2011-10-20 15:16:03 -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
John Bender
57079e1d6b
add the ability to disable native orientation change support Fixes #793
...
the frequency of the triggered event in certain android releases ( 2.1, 2.2) appears to be dependent on a host of things other than an actual orientation change, eg alerts, zoom, and scrolling. This provides a way for the user to disable it in favor for using throttled resize while still making use of the window.orientation where its available for reliability
2011-10-04 11:54:26 -07:00
John Bender
ac0288a5ba
create getEncodedText helper and update custom select for use Fixes #2547
2011-09-27 15:19:35 -07:00
John Bender
eca88ea818
quick rename to addDependents
2011-09-23 16:32:56 -07:00
John Bender
b837a49b32
add dependent tracking functions for jquery mobile objects
2011-09-23 16:32:56 -07:00
gseguin
27b51c47e9
Fixed $.jqmData() behavior to match $.fn.jqmData()
2011-10-05 15:12:11 -07:00
gseguin
15667eee1b
Fix for issue #2455
...
Removed .jqmHasData()
2011-09-16 09:17:01 -07:00
gseguin
a0ca22ae3d
Changed behavior of .jqmData() only when called with no argument. It now returns undefined as per discussion on #jquerymobile-dev
2011-09-16 09:12:25 -07:00
scottjehl
003505a4b9
changed minscroll to 250, better organization of lastscroll
2011-09-06 12:56:46 -04:00
John Bender
8a994d3dfa
add config option for pushstate
2011-08-25 11:42:32 -07:00
scottjehl
df3fbca3f4
implemented the autoInitializePage global config option, so that auto-initialization may be disabled in favor of manually initializing the page later on. Still needs a unit test.
2011-07-24 19:27:21 -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
Kin Blas
2b51355656
Switch back to processing link clicks on the "click" event. It really is the only reliable way across all the devices we support.
...
Also, remove all references to useFastClick.
2011-06-29 17:38:00 -07:00
Rick Waldron
ab751c8bdc
jQuery core style guide conformance: jquery.mobile.core.js
2011-06-28 20:17:45 -04:00
John Bender
1bf84177e0
whitespace correction in core
2011-06-26 12:10:11 -07:00
John Bender
b321d5f5f0
removed old nsNormalize camelcase regex
2011-06-26 12:10:11 -07:00
John Bender
601b4a8481
core whitespace fixes
2011-06-26 12:10:10 -07:00
scottjehl
45a71ac499
Added global config option "useFastClick", so that the changes we made for automated ajax handling since A4 can be disabled if needed, for whatever reason. When handling clicks and taps automatically with Ajax, this option will use jQuery Mobile's <code>vclick</code> event, enabling page changes to happen slightly sooner on devices that support touch events, and keeping the address bar hidden during page transtions. When disabled, the automatied Ajax handling will use an ordinary <code>click</code> event instead. This option has no effect on non-touch devices, but when enabled, it may interfere with jQuery plugins that bind to click events rather than vclick events. Fixes #1857
2011-06-20 11:35:09 -04:00
scottjehl
a09c53eb71
improved the address bar hiding logic to support Android as well by determining up-front which hiding number should be used. Fixes #1673 . Fixes #1322 . Fixes #1786 .
2011-06-19 13:53:27 -04:00
scottjehl
fcbfc2f380
added minScrollBack feature to core options. This is the minimum scroll distance that will be jumped-to when returning to a page. By default, the distance is screen.height /2. If you really needed to disable scroll memory altogether, this could be set to Infinity. Note that disabling scroll memory altogether is almost never a good idea for usability, but the option is there.
2011-06-17 19:19:47 -04:00
scottjehl
8929ac33b9
Removed the ajaxLinksEnabled and ajaxFormsEnabled settings. These were deprecated in a4 and scheduled for removal. Automated link and form ajax handling can still be globally disabled via the ajaxEnabled option.
2011-05-24 16:08:30 -04:00
Kin Blas
368d3e55b4
Merge branch 'master' into navigation
2011-05-23 17:00:32 -07:00
John Bender
fe7ba3f6c6
jquery style compliance for nsNormalize
2011-05-20 12:32:08 -07:00
Kin Blas
3c792c58f0
Merge branch 'master' into navigation
...
Fixed Conflicts:
js/jquery.mobile.init.js
js/jquery.mobile.navigation.js
2011-05-20 09:39:19 -07:00
John Bender
4c299a600b
moved nsNormalize from replace to jquery camelCase function
2011-05-20 09:20:15 -07:00
John Bender
ad6279dd8a
small optimization to prevent unnecessary recompilation of normalization regex
2011-05-20 01:09:39 -07:00
John Bender
3520e77dc4
comment for clarity on function purpose
2011-05-20 00:48:41 -07:00
John Bender
118599748b
comment whitespace
2011-05-20 00:43:53 -07:00
John Bender
7eb1085764
data attribute namespace normalization to comply with spec and jquery 1.6 changes
2011-05-20 00:31:27 -07:00
John Bender
6487eb684f
spaces to tabs in core
2011-05-19 15:36:22 -07:00
scottjehl
adf3808e84
Removed the dynamically-appended Meta tag, which was deprecated in Alpha 4, and scheduled for removal in beta. jQM users must provide their own meta viewport tag in the head of jQM apps.
2011-05-17 18:03:54 -04:00
scottjehl
04cb9c1850
followup to previous change, this time for dynamically appended meta viewport tags.
2011-05-17 17:30:13 -04:00
Kin Blas
b96310eedf
- Externalize some of the nested functions in changePage().
...
- Modified changePage() so that it can take an options object. Updated all references throughout the framework.
- Split $.mobile.pageLoading() into 2 functions $.mobile.show/hidePageLoadingMsg(). Updated docs accordingly.
- Renamed $.mobile.defaultTransition to $.mobie.defaultPageTransition. Updated docs accordingly.
- Added $.mobile.defaultDialogTransition so that it isn't hard coded in the changePage/transitionPages and select code.
- Hand integrated jquery.mobile.navigation.js checkins from master: 4b4ee54a , e775f5e8 , e597ccb3 , 084bbbd8 .
2011-05-16 16:02:26 -07:00
John Bender
74d13ee034
whitespace in mobile core
2011-03-31 23:39:09 -07:00