1- module ( "Columntoggle style options" ) ;
1+ module ( "Columntoggle options" ) ;
22
33function getSwatchClasses ( element , prefix ) {
44 var index ,
@@ -40,26 +40,26 @@ function testClasses( table, element, prefix, startClass, optionName, newValue,
4040
4141test ( "Default columnBtnTheme" , function ( ) {
4242 testClasses (
43- $ ( "#columntoggle-style- option-test-blank" ) ,
44- $ ( "#columntoggle-style- option-test-blank-button" ) [ 0 ] ,
43+ $ ( "#columntoggle-option-test-blank" ) ,
44+ $ ( "#columntoggle-option-test-blank-button" ) [ 0 ] ,
4545 "ui-btn-" , "" , "columnBtnTheme" , "b" , "ui-btn-b" ) ;
4646} ) ;
4747
4848test ( "Explicit columnBtnTheme" , function ( ) {
4949 testClasses (
50- $ ( "#columntoggle-style- option-test-explicit" ) ,
51- $ ( "#columntoggle-style- option-test-explicit-button" ) [ 0 ] ,
50+ $ ( "#columntoggle-option-test-explicit" ) ,
51+ $ ( "#columntoggle-option-test-explicit-button" ) [ 0 ] ,
5252 "ui-btn-" , "ui-btn-b" , "columnBtnTheme" , "a" , "ui-btn-a" ) ;
5353} ) ;
5454
5555test ( "Default columnPopupTheme" , function ( ) {
56- var popup = $ ( "#columntoggle-style- option-test-blank-popup" ) ;
56+ var popup = $ ( "#columntoggle-option-test-blank-popup" ) ;
5757
5858 deepEqual ( popup . popup ( "option" , "theme" ) , null ,
5959 "Popup has no theme assigned initially" ) ;
6060
6161 testClasses (
62- $ ( "#columntoggle-style- option-test-blank" ) ,
62+ $ ( "#columntoggle-option-test-blank" ) ,
6363 popup [ 0 ] ,
6464 "ui-body-" , "ui-body-inherit" , "columnPopupTheme" , "b" , "ui-body-b" ) ;
6565
@@ -68,13 +68,13 @@ test( "Default columnPopupTheme", function() {
6868} ) ;
6969
7070test ( "Explicit columnPopupTheme" , function ( ) {
71- var popup = $ ( "#columntoggle-style- option-test-explicit-popup" ) ;
71+ var popup = $ ( "#columntoggle-option-test-explicit-popup" ) ;
7272
7373 deepEqual ( popup . popup ( "option" , "theme" ) , "b" ,
7474 "Popup has swatch 'b' assigned initially" ) ;
7575
7676 testClasses (
77- $ ( "#columntoggle-style- option-test-explicit" ) ,
77+ $ ( "#columntoggle-option-test-explicit" ) ,
7878 popup [ 0 ] ,
7979 "ui-body-" , "ui-body-b" , "columnPopupTheme" , "a" , "ui-body-a" ) ;
8080
@@ -83,8 +83,8 @@ test( "Explicit columnPopupTheme", function() {
8383} ) ;
8484
8585test ( "Explicitly assigned columnBtnText" , function ( ) {
86- $ ( "#columntoggle-style- option-test-explicit" ) . table ( "option" , "columnBtnText" , "xyzzy" ) ;
86+ $ ( "#columntoggle-option-test-explicit" ) . table ( "option" , "columnBtnText" , "xyzzy" ) ;
8787
88- deepEqual ( $ ( "#columntoggle-style- option-test-explicit-button" ) . text ( ) , "xyzzy" ,
88+ deepEqual ( $ ( "#columntoggle-option-test-explicit-button" ) . text ( ) , "xyzzy" ,
8989 "Button text assigned via option is propagated to the button" ) ;
9090} ) ;
0 commit comments