Specified more dependencies

This commit is contained in:
Ghislain Seguin 2011-12-15 13:07:55 -08:00
parent f55cf4d7c4
commit 754cc81115
17 changed files with 18 additions and 18 deletions

View file

@ -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 || {};

View file

@ -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: {

View file

@ -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 ) {

View file

@ -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

View file

@ -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 " +

View file

@ -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",

View file

@ -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: {

View file

@ -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,

View file

@ -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: {

View file

@ -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: {

View file

@ -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: {

View file

@ -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 );

View file

@ -2,7 +2,7 @@
* "links" plugin - simple class additions for links
*/
define(function() {
define( function() {
$( document ).bind( "pagecreate create", function( e ){

View file

@ -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

View file

@ -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: {

View file

@ -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 ),

View file

@ -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;