Coding standards

This commit is contained in:
Ghislain Seguin 2011-06-28 22:17:41 -07:00
parent 547a82c44c
commit 595a2371f2

View file

@ -9,7 +9,7 @@
$.widget( "mobile.navbar", $.mobile.widget, {
options: {
iconpos: 'top',
iconpos: "top",
grid: null
},
@ -20,10 +20,10 @@ $.widget( "mobile.navbar", $.mobile.widget, {
iconpos = $navbtns.filter( ":jqmData(icon)" ).length ?
this.options.iconpos : undefined;
$navbar.addClass('ui-navbar')
.attr("role","navigation")
.find("ul")
.grid({grid: this.options.grid });
$navbar.addClass( "ui-navbar ")
.attr( "role","navigation" )
.find( "ul" )
.grid({ grid: this.options.grid });
if ( !iconpos ) {
$navbar.addClass( "ui-navbar-noicons" );