mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-20 12:21:52 +00:00
Specified more dependencies
This commit is contained in:
parent
f55cf4d7c4
commit
754cc81115
17 changed files with 18 additions and 18 deletions
|
|
@ -2,7 +2,7 @@
|
|||
* "buttons" plugin - for making button-like links
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.vmouse" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.vmouse" ], function() {
|
||||
|
||||
$.fn.buttonMarkup = function( options ) {
|
||||
options = options || {};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "collapsible" plugin
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
|
||||
$.widget( "mobile.collapsible", $.mobile.widget, {
|
||||
options: {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "controlgroup" plugin - corner-rounding for groups of buttons, checks, radios, etc
|
||||
*/
|
||||
|
||||
define(function() {
|
||||
define( [ "jquery.mobile.buttonMarkup" ], function() {
|
||||
|
||||
$.fn.controlgroup = function( options ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ define(function() {
|
|||
var nsNormalizeDict = {};
|
||||
|
||||
// jQuery.mobile configurable options
|
||||
$.extend( $.mobile, {
|
||||
$.extend( { mobile: {
|
||||
|
||||
// Namespace used framework-wide for data-attrs. Default is no namespace
|
||||
ns: "",
|
||||
|
|
@ -158,7 +158,7 @@ define(function() {
|
|||
|
||||
return ltr || defaultTheme || "a";
|
||||
}
|
||||
});
|
||||
}});
|
||||
|
||||
// Mobile version of data and removeData and hasData methods
|
||||
// ensures all data is set and retrieved using jQuery Mobile's data namespace
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "events" plugin - Handles events
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.support", "jquery.mobile.vmouse" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.support", "jquery.mobile.vmouse" ], function() {
|
||||
|
||||
// add new event shortcuts
|
||||
$.each( ( "touchstart touchmove touchend orientationchange throttledresize " +
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "fixHeaderFooter" plugin - on-demand positioning for headers,footers
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.vmouse" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.vmouse" ], function() {
|
||||
|
||||
var slideDownClass = "ui-header-fixed ui-fixed-inline fade",
|
||||
slideUpClass = "ui-footer-fixed ui-fixed-inline fade",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "checkboxradio" plugin
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup", "jquery.mobile.vmouse" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget" ], function() {
|
||||
|
||||
$.widget( "mobile.checkboxradio", $.mobile.widget, {
|
||||
options: {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* custom "selectmenu" plugin
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.forms.select", "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.forms.select" ], function() {
|
||||
var extendSelect = function( widget ){
|
||||
|
||||
var select = widget.select,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "selectmenu" plugin
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup", "jquery.mobile.vmouse" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget" ], function() {
|
||||
|
||||
$.widget( "mobile.selectmenu", $.mobile.widget, {
|
||||
options: {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "slider" plugin
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup", "jquery.mobile.vmouse" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.forms.textInput" ], function() {
|
||||
|
||||
$.widget( "mobile.slider", $.mobile.widget, {
|
||||
options: {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "textinput" plugin for text inputs, textareas
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.degradeInputs" ], function() {
|
||||
|
||||
$.widget( "mobile.textinput", $.mobile.widget, {
|
||||
options: {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "init" - Initialize the framework
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.navigation" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.navigation.pushState" ], function() {
|
||||
var $html = $( "html" ),
|
||||
$head = $( "head" ),
|
||||
$window = $( window );
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "links" plugin - simple class additions for links
|
||||
*/
|
||||
|
||||
define(function() {
|
||||
define( function() {
|
||||
|
||||
$( document ).bind( "pagecreate create", function( e ){
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "listview" plugin
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
|
||||
//Keeps track of the number of lists per page UID
|
||||
//This allows support for multiple nested list in the same page
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* "navbar" plugin
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.widget", "jquery.mobile.buttonMarkup" ], function() {
|
||||
define( [ "jquery.mobile.widget" ], function() {
|
||||
|
||||
$.widget( "mobile.navbar", $.mobile.widget, {
|
||||
options: {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* core utilities for auto ajax navigation, base tag mgmt,
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.hashchange", "jquery.mobile.event" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.hashchange", "jquery.mobile.event", "jquery.mobile.page" ], function() {
|
||||
|
||||
//define vars for interal use
|
||||
var $window = $( window ),
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* This plugin handles theming and layout of headers, footers, and content areas
|
||||
*/
|
||||
|
||||
define( [ "jquery.mobile.page" ], function() {
|
||||
define( [ "jquery.mobile.page", "jquery.mobile.core" ], function() {
|
||||
|
||||
$.mobile.page.prototype.options.backBtnText = "Back";
|
||||
$.mobile.page.prototype.options.addBackBtn = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue