jquery/jquery-mobile — pull request #3286 by pehrlich (2011-12-16 00:40:50+00:00)
Title: data-prefetch=false

re: feature request https://github.com/jquery/jquery-mobile/issues/3263 (mine)

pages with data-prefetch=false will no longer be preloaded.

I also went through the source and looked for other instances of elements being selected by virtue of having an attribute, no matter the value. I don't think I know enough to say whether they too should be updated for consistency, so I'll just list them here:

In widget#_create: iconpos = $navbtns.filter( ":jqmData(icon)" ).length ? this.options.iconpos : undefined;

// In listview creation:
if ( $( this ).jqmData( "inset" ) ) {
wrapper.addClass( "ui-listview-filter-inset" );
}

//And in adding dialogs:
// unless the data url is already set set it to the pathname
if ( !$this.jqmData("url") ) {
$this.attr( "data-" + $.mobile.ns + "url", $this.attr( "id" ) || location.pathname + location.search );

Coincidentally,

return $( ":jqmData(url^='"+ parentUrl + "&" + $.mobile.subPageUrlKey +"')");

I couldn't figure out what ^= is does-- certainly not !=. Is this a bug?

Cheers