text: //>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
  //>>description: Adds classes to links.
  //>>label: Link Classes
  //>>group: Utilities
  
  define( [ "jquery",
  	"./jquery.mobile.core",
  	"./navigation/path" ], function( jQuery ) {
  //>>excludeEnd("jqmBuildExclude");
  (function( $, undefined ) {
  
  $.mobile.links = function( target ) {
  
  	//links within content areas, tests included with page
  	$( target )
  		.find( "a" )
  		.jqmEnhanceable()
  		.filter( ":jqmData(rel='popup')[href][href!='']" )
  		.each( function() {
  			// Accessibility info for popups
  			var element = this,
  				idref = element.getAttribute( "href" ).substring( 1 );
  
  			if ( idref ) {
  				element.setAttribute( "aria-haspopup", true );
  				element.setAttribute( "aria-owns", idref );
  				element.setAttribute( "aria-expanded", false );
  			}
  		})
  		.end()
  		.not( ".ui-btn, :jqmData(role='none'), :jqmData(role='nojs')" )
  		.addClass( "ui-link" );
  
  };
  
  })( jQuery );
  
  //>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
  });
  //>>excludeEnd("jqmBuildExclude");
  