Sha256: f24dc6b02a129a4483db0a6a5f08a3571879520c8460e1a06ab81ef694196505
Contents?: true
Size: 870 Bytes
Versions: 18
Compression:
Stored size: 870 Bytes
Contents
(function( $, undefined ) { $( document ).on( "mobileinit", function(){ $.widget( "mobile.listview", $.mobile.listview, { options: { theme: null, countTheme: "c", headerTheme: "b", dividerTheme: "b", icon: "arrow-r", splitIcon: "arrow-r", splitTheme: "b", corners: true, shadow: true, inset: false, initSelector: ":jqmData(role='listview')", globalNav: false }, _create: function(){ this._super(); if ( this.options.globalNav ){ this._globalnav(); } }, _globalnav: function(){ var base = $( "base" ).attr( "href" ).split('docs')[0], base = base.split('index.html')[0] + this.options.globalNav + "/"; this.element.find( "a" ).each(function() { var href = base + $( this ).attr( "href" ); $( this ).attr( "href", href ); }); } }); }); })( jQuery );
Version data entries
18 entries across 18 versions & 1 rubygems