Skip to content

Commit 297c8f0

Browse files
committed
Checkboxradio: Style fixes for jscs
1 parent d2af710 commit 297c8f0

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

js/widgets/forms/checkboxradio.backcompat.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
//>>css.structure: ../css/structure/jquery.mobile.forms.checkboxradio.css
66
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css
77

8-
define([
8+
define( [
99
"jquery",
1010
"../../core",
1111
"../../widget",
1212
"../widget.theme",
1313
"../widget.backcompat",
1414
"./checkboxradio"
1515
], function( jQuery ) {
16+
1617
//>>excludeEnd("jqmBuildExclude");
17-
(function( $, undefined ) {
18+
( function( $, undefined ) {
1819

1920
if ( $.mobileBackcompat !== false ) {
2021
$.widget( "ui.checkboxradio", $.ui.checkboxradio, {
@@ -27,11 +28,13 @@ if ( $.mobileBackcompat !== false ) {
2728
},
2829

2930
classProp: "ui-checkboxradio-label"
30-
});
31+
} );
3132
$.widget( "ui.checkboxradio", $.ui.checkboxradio, $.mobile.widget.backcompat );
3233
}
3334

34-
})( jQuery );
35+
} )( jQuery );
36+
3537
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
36-
});
38+
} );
39+
3740
//>>excludeEnd("jqmBuildExclude");

js/widgets/forms/checkboxradio.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
//>>css.structure: ../css/structure/jquery.mobile.forms.checkboxradio.css
66
//>>css.theme: ../css/themes/default/jquery.mobile.theme.css
77

8-
define([
8+
define( [
99
"jquery",
1010
"../../core",
1111
"../../widget",
1212
"jquery-ui/checkboxradio",
1313
"../widget.theme"
1414
], function( jQuery ) {
15+
1516
//>>excludeEnd("jqmBuildExclude");
16-
(function( $, undefined ) {
17+
( function( $, undefined ) {
1718

1819
$.widget( "ui.checkboxradio", $.ui.checkboxradio, {
1920
initSelector: "input[type='radio'],input[type='checkbox']:not(:jqmData(role='flipswitch'))",
@@ -30,11 +31,13 @@ $.widget( "ui.checkboxradio", $.ui.checkboxradio, {
3031
this.icon = this.element.find( "ui-button-icon" );
3132
}
3233
}
33-
});
34+
} );
3435

3536
$.widget( "ui.checkboxradio", $.ui.checkboxradio, $.mobile.widget.theme );
3637

37-
})( jQuery );
38+
} )( jQuery );
39+
3840
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
39-
});
41+
} );
42+
4043
//>>excludeEnd("jqmBuildExclude");

0 commit comments

Comments
 (0)