mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
extend rather than define
This commit is contained in:
parent
8e616aaa8e
commit
f3c9716b52
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
(function( $, window, undefined ) {
|
||||
|
||||
//jQuery.mobile configurable options
|
||||
$.mobile = {
|
||||
$.extend( $.mobile, {
|
||||
|
||||
//define the url parameter used for referencing widget-generated sub-pages.
|
||||
//Translates to to example.html&ui-page=subpageIdentifier
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
gradeA: function(){
|
||||
return $.support.mediaquery;
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
//trigger mobileinit event - useful hook for configuring $.mobile settings before they're used
|
||||
$( window.document ).trigger('mobileinit');
|
||||
|
|
|
|||
Loading…
Reference in a new issue