mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
fix improperly camel cased module references
This commit is contained in:
parent
e4bf0b1a8e
commit
f904de98bf
3 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
* "slider" plugin
|
||||
*/
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.forms.textInput" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.widget", "jquery.mobile.forms.textinput" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.navigation.pushState" ], function() {
|
||||
define( [ "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.navigation.pushstate" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, window, undefined ) {
|
||||
var $html = $( "html" ),
|
||||
|
|
@ -101,12 +101,12 @@ define( [ "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.navig
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// This function injects a meta viewport tag to prevent scaling. Off by default, on by default when touchOverflow scrolling is enabled
|
||||
function disableZoom() {
|
||||
var cont = "user-scalable=no",
|
||||
meta = $( "meta[name='viewport']" );
|
||||
|
||||
|
||||
if( meta.length ){
|
||||
meta.attr( "content", meta.attr( "content" ) + ", " + cont );
|
||||
}
|
||||
|
|
@ -114,7 +114,7 @@ define( [ "jquery.mobile.core", "jquery.mobile.navigation", "jquery.mobile.navig
|
|||
$( "head" ).prepend( "<meta>", { "name": "viewport", "content": cont } );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// if touch-overflow is enabled, disable user scaling, as it creates usability issues
|
||||
if( $.support.touchOverflow && $.mobile.touchOverflowEnabled && !$.mobile.touchOverflowZoomEnabled ){
|
||||
disableZoom();
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ define([
|
|||
'jquery.mobile.page',
|
||||
'jquery.mobile.core',
|
||||
'jquery.mobile.navigation',
|
||||
'jquery.mobile.navigation.pushState',
|
||||
'jquery.mobile.navigation.pushstate',
|
||||
'jquery.mobile.transition',
|
||||
'jquery.mobile.degradeInputs',
|
||||
'jquery.mobile.dialog',
|
||||
|
|
@ -26,7 +26,7 @@ define([
|
|||
'jquery.mobile.forms.checkboxradio',
|
||||
'jquery.mobile.forms.button',
|
||||
'jquery.mobile.forms.slider',
|
||||
'jquery.mobile.forms.textInput',
|
||||
'jquery.mobile.forms.textinput',
|
||||
'jquery.mobile.forms.select.custom',
|
||||
'jquery.mobile.forms.select',
|
||||
'order!jquery.mobile.buttonMarkup',
|
||||
|
|
|
|||
Loading…
Reference in a new issue