File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -95,14 +95,14 @@ describe("Toolbar Class", () => {
9595 test ( "sets correct strings for _THIS_IS_MUSIC_BLOCKS_ true" , ( ) => {
9696 global . _THIS_IS_MUSIC_BLOCKS_ = true ;
9797 toolbar . init ( { } ) ;
98- expect ( global . _ ) . toHaveBeenCalledTimes ( 132 ) ;
98+ expect ( global . _ ) . toHaveBeenCalledTimes ( 134 ) ;
9999 expect ( global . _ ) . toHaveBeenNthCalledWith ( 1 , "About Music Blocks" ) ;
100100 } ) ;
101101
102102 test ( "sets correct strings for _THIS_IS_MUSIC_BLOCKS_ false" , ( ) => {
103103 global . _THIS_IS_MUSIC_BLOCKS_ = false ;
104104 toolbar . init ( { } ) ;
105- expect ( global . _ ) . toHaveBeenCalledTimes ( 114 ) ;
105+ expect ( global . _ ) . toHaveBeenCalledTimes ( 116 ) ;
106106 expect ( global . _ ) . toHaveBeenNthCalledWith ( 1 , "About Turtle Blocks" ) ;
107107 } ) ;
108108
Original file line number Diff line number Diff line change @@ -59,17 +59,13 @@ class LanguageBox {
5959 * @returns {void }
6060 */
6161 ja_onclick ( ) {
62- this . _language = "ja-kanji " ;
63- this . activity . storage . kanaPreference = "kanji" ;
64- this . hide ( ) ;
62+ this . _language = "ja" ;
63+ this . activity . storage . kanaPreference = "kanji" ;
64+ this . hide ( ) ;
6565 }
6666
67- /**
68- * @public
69- * @returns {void }
70- */
7167 kana_onclick ( ) {
72- this . _language = "ja-kana " ;
68+ this . _language = "ja" ;
7369 this . activity . storage . kanaPreference = "kana" ;
7470 this . hide ( ) ;
7571 }
You can’t perform that action at this time.
0 commit comments