Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Content Widget: Remove mobile base widget
Browse files Browse the repository at this point in the history
  • Loading branch information
arschmitz committed Aug 5, 2013
1 parent cd13e36 commit 17ae60a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions js/jquery.mobile.helpers.js
Expand Up @@ -150,18 +150,22 @@ define( [ "jquery", "./jquery.mobile.ns", "./jquery.ui.core", "json!../package.j
if( $.mobile.nojs ) {
$.mobile.nojs( this );
}

// Bind links for ajax nav
if( $.mobile.links ) {
$.mobile.links( this );
}

// Degrade inputs for styleing
if( $.mobile.degradeInputsWithin ){
$.mobile.degradeInputsWithin( this );
}

// Run buttonmarkup
if( $.fn.buttonMarkup ){
$( $.fn.buttonMarkup.initSelector ).buttonMarkup();
}

// Add classes for fieldContain
if( $.fn.fieldcontain ) {
$( ":jqmData(role='fieldcontain')", this ).jqmEnhanceable().fieldcontain();
Expand Down
4 changes: 3 additions & 1 deletion js/jquery.mobile.navigation.js
Expand Up @@ -18,7 +18,9 @@ define( [
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {

$.widget( "mobile.content", $.mobile.widget, {
$.widget( "mobile.content", {
initSelector: false,

_create: function() {
var $window = $( window );

Expand Down

0 comments on commit 17ae60a

Please sign in to comment.