@@ -22,9 +22,9 @@ function assertEnabled( checkbox, assert ) {
2222test ( "disabled" , function ( assert ) {
2323 var checkbox = $ ( "#checkbox-option-disabled" ) ;
2424 expect ( 6 ) ;
25- checkbox . checkboxradio ( {
25+ checkbox . checkboxradio ( {
2626 disabled : true
27- } ) ;
27+ } ) ;
2828
2929 assertDisabled ( checkbox , assert ) ;
3030
@@ -33,7 +33,7 @@ test( "disabled", function( assert ) {
3333
3434 checkbox . checkboxradio ( "option" , "disabled" , true ) ;
3535 assertDisabled ( checkbox , assert ) ;
36- } ) ;
36+ } ) ;
3737test ( "disabled - prop true on init" , function ( assert ) {
3838 expect ( 2 ) ;
3939 var checkbox = $ ( "#checkbox-option-disabled" ) ;
@@ -42,17 +42,17 @@ test( "disabled - prop true on init", function( assert ) {
4242 checkbox . checkboxradio ( ) ;
4343
4444 assertDisabled ( checkbox , assert ) ;
45- } ) ;
45+ } ) ;
4646test ( "disabled - explicit null value, checks the DOM" , function ( assert ) {
4747 expect ( 2 ) ;
4848 var checkbox = $ ( "#checkbox-option-disabled" ) ;
4949
5050 checkbox . prop ( "disabled" , true ) ;
51- checkbox . checkboxradio ( {
51+ checkbox . checkboxradio ( {
5252 disabled : null
53- } ) ;
53+ } ) ;
5454 assertDisabled ( checkbox , assert ) ;
55- } ) ;
55+ } ) ;
5656
5757function assertNoIcon ( checkbox ) {
5858 strictEqual ( checkbox . checkboxradio ( "widget" ) . find ( "span.ui-icon" ) . length , 0 ,
@@ -73,9 +73,9 @@ test( "icon - false on init", function() {
7373
7474 expect ( 1 ) ;
7575
76- checkbox . checkboxradio ( { icon : false } ) ;
76+ checkbox . checkboxradio ( { icon : false } ) ;
7777 assertNoIcon ( checkbox ) ;
78- } ) ;
78+ } ) ;
7979
8080test ( "icon - default unchecked" , function ( assert ) {
8181 var checkbox = $ ( "#checkbox-option-icon" ) ;
@@ -84,8 +84,8 @@ test( "icon - default unchecked", function( assert ) {
8484
8585 checkbox . checkboxradio ( ) ;
8686 assertIcon ( checkbox , false , assert ) ;
87- } ) ;
88- test ( "icon" , function ( assert ) {
87+ } ) ;
88+ test ( "icon" , function ( assert ) {
8989 var checkbox = $ ( "#checkbox-option-icon" ) ;
9090
9191 expect ( 8 ) ;
@@ -108,7 +108,7 @@ test( "icon", function( assert ){
108108 checkbox . checkboxradio ( "option" , "icon" , true ) ;
109109 assertIcon ( checkbox , false , assert ) ;
110110
111- } ) ;
111+ } ) ;
112112
113113test ( "label - default" , function ( ) {
114114 var checkbox = $ ( "#checkbox-option-label" ) ,
@@ -122,12 +122,12 @@ test( "label - default", function() {
122122 "checkbox label" , "When no value passed on create text from dom is used for option" ) ;
123123 strictEqual ( widget . text ( ) ,
124124 " checkbox label" , "When no value passed on create text from dom is used in dom" ) ;
125- } ) ;
125+ } ) ;
126126test ( "label - explicit value" , function ( ) {
127127 expect ( 5 ) ;
128- var checkbox = $ ( "#checkbox-option-label" ) . checkboxradio ( {
128+ var checkbox = $ ( "#checkbox-option-label" ) . checkboxradio ( {
129129 label : "foo"
130- } ) ,
130+ } ) ,
131131 widget = checkbox . checkboxradio ( "widget" ) ,
132132 icon = widget . find ( ".ui-icon" ) ,
133133 iconSpace = widget . find ( ".ui-checkboxradio-icon-space" ) ;
@@ -142,7 +142,7 @@ test( "label - explicit value", function() {
142142 "Icon space is preserved when label is set on init when wrapped in label" ) ;
143143 strictEqual ( $ ( "#checkbox-option-label" ) . length , 1 ,
144144 "Element is preserved when label is set on init when wrapped in label" ) ;
145- } ) ;
145+ } ) ;
146146
147147test ( "label - explicit null value" , function ( ) {
148148 var checkbox = $ ( "#checkbox-option-label" ) ,
@@ -153,16 +153,16 @@ test( "label - explicit null value", function() {
153153 // We are testing the default here because the default null is a special value which means to check
154154 // the DOM, so we need to make sure this happens correctly checking the options should never return
155155 // null. It should always be true or false
156- checkbox . checkboxradio ( {
156+ checkbox . checkboxradio ( {
157157 label : null
158- } ) ;
158+ } ) ;
159159 widget = checkbox . checkboxradio ( "widget" ) ;
160160 strictEqual ( checkbox . checkboxradio ( "option" , "label" ) ,
161161 "checkbox label" , "When null is passed on create text from dom is used for option" ) ;
162162 strictEqual ( widget . text ( ) ,
163163 " checkbox label" , "When null is passed on create text from dom is used in dom" ) ;
164164
165- } ) ;
165+ } ) ;
166166
167167test ( "label" , function ( ) {
168168 var checkbox = $ ( "#checkbox-option-label" ) ,
@@ -184,6 +184,6 @@ test( "label", function() {
184184 strictEqual ( widget . text ( ) ,
185185 " bar" , "When null is passed text from dom is used in dom" ) ;
186186
187- } ) ;
187+ } ) ;
188188
189189} ) ;
0 commit comments