Commit graph

64 commits

Author SHA1 Message Date
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
scottjehl
4a45d8d96b Added pageLoadErrorMessage option. Defaults to "Error Loading Page". Documentation included. Fixes #1258 and Fixes #363 2011-03-27 11:45:03 -04:00
scottjehl
665e87dd5b make sure an undefined prop stays undefined 2011-03-26 17:48:21 -04:00
scottjehl
8880ceb431 jqm coding style 2011-03-26 14:17:19 -04:00
scottjehl
e8cee23744 major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well. 2011-03-26 14:14:02 -04:00
scottjehl
7503f62a10 changed our two new custom data helper names to jqmData() and :jqmData() 2011-03-25 17:50:40 -04:00
jeresig
29c0471cca Make sure that the :jqdata() selector also works for filtered items. 2011-03-22 14:35:11 -04:00
John Bender
018609fa32 removed mass of duplication from core of functionality that was moved to init, fixed init tests 2011-03-22 00:26:24 -07:00
Kin Blas
882c27c03f Tweaked the jqdata selector regexp so that it wasn't so greedy. This will allow for multiple jqdata() and other pseudo selectors that use parens withinthe same selector string. 2011-03-18 08:42:24 -07:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07:00
John Resig
42c1271963 Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace. 2011-03-15 15:08:02 -04:00
scottjehl
f69c98caf0 gradeA adjusted to IE7 and up rather than 6 and up ( this still includes Windows Phone 7). Unit test adjusted to match 2011-03-14 00:20:26 -04:00
scottjehl
d3a170db09 moved the IE test to support.js, added a workaround to the listview refresh method to prevent default on mousedown, which makes the tap highlight color look right in Windows Phone 7. Without this workaround, it still works fine, but the entire listview is highlighted when an LI is clicked. 2011-03-14 00:20:25 -04:00
scottjehl
8cb9923055 gradeA test was missed in the update. back in now, with IE 6+ enabled. 2011-03-14 00:20:24 -04:00
scottjehl
aa31e01d63 updated to latest core js, with deprecation note 2011-03-14 00:20:24 -04:00
scottjehl
5b1f586cdb added meta back. This is now deprecated for A4 in favor of putting the viewport meta directly in the markup. 2011-03-14 00:20:24 -04:00
scottjehl
dcbe844f5c brought back meta definition. This is now deprecated in A4 2011-03-14 00:20:23 -04:00
scottjehl
dfe7cf6593 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
1370d5a48e add IE version check to gradeA qualifier. 2011-03-14 00:20:22 -04:00
scottjehl
ea60207c1b changed custom data method to $.fn.mobileData() and updated plugins that use it. 2011-03-09 23:27:21 -05:00
scottjehl
19f5fd7cae changed the default namespace to "" and updated the docs/demos as such 2011-03-09 22:36:14 -05:00
scottjehl
77ac0f009a a few more non-namespaced attrs to bring over 2011-03-09 21:03:40 -05:00
scottjehl
bc0f1e02f3 better var names 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
scottjehl
cee4c617ba first pass at extending data() to either return a) if no arguments, return non-namespaced versions of any namespaced properties in the data hash, or b) if getting a data property, try getting the namespaced version if the first is undefined. If it's defined, return that instead 2011-03-09 20:49:43 -05:00
scottjehl
ce34ece257 namespaced data- attrs to $.mobile.ns (defaults to "jq-") throughout the JS 2011-03-09 20:47:44 -05:00
John Bender
a4a8d859ca small refactor of core to unify call to extend 2011-03-04 22:25:33 -08:00
John Bender
608b39ed39 moved loading message after init to account for customization 2011-03-03 18:06:07 -08:00
John Bender
a64a44504b moved page additions after gradeA check in init and removed from core 2011-02-20 18:07:17 -08:00
John Bender
b21531a0ac left gradeA in core, added todo for page element addition refactor 2011-02-20 18:07:17 -08:00
John Bender
891f9b1b07 moved initialization down in the build order, still requires some small refactoring 2011-02-20 18:07:17 -08:00
John Bender
a025c0bffc backed out autoInitialize moving to feature request backlog 2011-02-06 21:18:51 -08:00
scottjehl
67987925b4 property should not be defined in $.mobile. 2011-02-02 20:02:04 -05:00
John Bender
107fc25838 minor simplification to the on ready init 2011-02-01 22:04:05 -08:00
John Bender
0a7bdfd632 whitespace in mobile core 2011-02-01 22:04:05 -08:00
unknown
9caaa9cfde Added ability to control if $.mobile will automatically load first page/pages on dom ready using $.mobile.autoInitialize. 2011-02-01 22:04:05 -08:00
scottjehl
3162428558 added hashListeningEnabled global flag. This is meant as a global config option for end users to disable hashchange listening (as opposed to urlHistory.listeningEnabled, which is an internal toggle). Unit test included. Fixes #748 2011-01-31 23:25:36 -05:00