Skip to content

Commit 1231444

Browse files
committed
delinting
1 parent 40d7eed commit 1231444

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

js/jquery.mobile.dialog.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ define( [ "jquery", "./jquery.mobile.widget" ], function( $ ) {
1111

1212
$.widget( "mobile.dialog", $.mobile.widget, {
1313
options: {
14-
closeBtnText : "Close",
15-
overlayTheme : "a",
16-
initSelector : ":jqmData(role='dialog')"
14+
closeBtnText: "Close",
15+
overlayTheme: "a",
16+
initSelector: ":jqmData(role='dialog')"
1717
},
1818
_create: function() {
1919
var self = this,
@@ -25,7 +25,7 @@ $.widget( "mobile.dialog", $.mobile.widget, {
2525
});
2626

2727
$el.addClass( "ui-dialog ui-overlay-" + this.options.overlayTheme );
28-
28+
2929
// Class the markup for dialog styling
3030
// Set aria role
3131
$el
@@ -52,7 +52,7 @@ $.widget( "mobile.dialog", $.mobile.widget, {
5252

5353
/* bind events
5454
- clicks and submits should use the closing transition that the dialog opened with
55-
unless a data-transition is specified on the link/form
55+
unless a data-transition is specified on the link/form
5656
- if the click was on the close button, or the link has a data-rel="back" it'll go back in history naturally
5757
*/
5858
$el.bind( "vclick submit", function( event ) {

js/jquery.mobile.forms.button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ $.widget( "mobile.button", $.mobile.widget, {
5757
classes = "ui-btn-right";
5858
}
5959

60-
if( $el.attr( "type" ) == "submit" || $el.attr( "type" ) == "reset" ) {
60+
if( $el.attr( "type" ) === "submit" || $el.attr( "type" ) === "reset" ) {
6161
classes += "ui-submit";
6262
}
6363
$( "label[for='" + $el.attr( "id" ) + "']" ).addClass( "ui-submit" );
64-
64+
6565
// Add ARIA role
6666
this.button = $( "<div></div>" )
6767
[ $el.html() ? "html" : "text" ]( $el.html() || $el.val() )

js/jquery.mobile.forms.select.custom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ define( [
380380

381381
self.listbox
382382
.one( "opened", focusMenuItem )
383-
.popup( "open",
383+
.popup( "open",
384384
self.button.offset().left + self.button.outerWidth() / 2,
385385
self.button.offset().top + self.button.outerHeight() / 2 );
386386

@@ -492,7 +492,7 @@ define( [
492492
var selectmenuWidget = $( event.target ).data( "selectmenu" );
493493

494494
if( !selectmenuWidget.options.nativeMenu &&
495-
selectmenuWidget.element.parents(":jqmData(role='popup')").length === 0 ){
495+
selectmenuWidget.element.parents(":jqmData(role='popup')").length === 0 ){
496496
extendSelect( selectmenuWidget );
497497
}
498498
});

0 commit comments

Comments
 (0)