Commit graph

22 commits

Author SHA1 Message Date
scottjehl
263193f490 Moved autoinit calls to after widgets. Made it so auto init selectors use the initSelector option, so that it can be configurable. 2011-07-27 18:42:16 -04:00
scottjehl
e07c40e3d0 exposed automatic initialization selectors on most widgets that expose options through the widget factory. Option name is "initSelector" 2011-07-26 14:22:08 -04:00
scottjehl
fdb77bfa52 changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions 2011-07-22 09:05:55 -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
Rick Waldron
c351e9929a jQuery core style guide conformance: jquery.mobile.controlGroup.js 2011-06-28 19:01:27 -04:00
Ghislain Seguin
ebd4eeced0 Fix for issue #1929 (second attempt) 2011-06-24 21:13:46 -07:00
Ghislain Seguin
00297af2ab Revert "Fixed issue #1929" as it is breaking horizontal controlgroups
This reverts commit 226873d988.
2011-06-24 20:08:51 -07:00
Ghislain Seguin
226873d988 Fixed issue #1929 2011-06-24 16:11:54 -07:00
scottjehl
7503f62a10 changed our two new custom data helper names to jqmData() and :jqmData() 2011-03-25 17:50:40 -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
ehynds
c8a161a04d same fix in a few other places 2010-12-28 10:15:30 -05:00
scottjehl
93179f9a3d updated comment about license to match other jQuery projects - MIT "or" GPL 2010-11-19 22:47:47 -05:00
scottjehl
a24196e550 dolla dolla bills y'all.
Fixes #126, Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
356308e6b7 updates to comments 2010-11-09 19:55:52 -05:00
scottjehl
f8524f2e0c Rolling back changes from commit #ea4db95b3c4d296c2719 as it didn't accommodate controlgroups used in radios/checkboxes. Further testing needed on those. 2010-10-18 12:44:44 -04:00
imjoshdean
ea4db95b3c flipClasses would not work properly when there is only one list-divider at the top or bottom. Now works properly in any case. 2010-10-17 23:02:25 -07:00
scottjehl
faf0b66868 improved inherited theming of buttons, and controlgroup orientation 2010-10-11 19:15:02 -04:00
scottjehl
d960370138 annnnd one more. :) now we're good. 2010-10-11 14:44:51 -04:00
scottjehl
c4e0f5c19e whoops typo ruined everything 2010-10-11 14:44:09 -04:00
scottjehl
c09e92d7de moved direction over to controlgroup plugin. This should be updated to use data-direction rather than type 2010-10-11 14:39:32 -04:00
Scott González
5c3d35574f Renamed files. 2010-10-07 11:30:48 -04:00
Renamed from js/jQuery.mobile.controlGroup.js- (Browse further)