Selaa lähdekoodia

Editor: Clean up

linbingquan 6 vuotta sitten
vanhempi
commit
882a108efa
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      editor/js/Sidebar.Settings.js

+ 3 - 3
editor/js/Sidebar.Settings.js

@@ -16,8 +16,8 @@ Sidebar.Settings = function ( editor ) {
 	// language
 	// language
 
 
 	var options = {
 	var options = {
-		'en': 'English',
-		'zh': '中文'
+		en: 'English',
+		zh: '中文'
 	};
 	};
 
 
 	var languageRow = new UI.Row();
 	var languageRow = new UI.Row();
@@ -72,7 +72,7 @@ Sidebar.Settings = function ( editor ) {
 	themeRow.add( new UI.Text( strings.getKey( 'sidebar/settings/theme' ) ).setWidth( '90px' ) );
 	themeRow.add( new UI.Text( strings.getKey( 'sidebar/settings/theme' ) ).setWidth( '90px' ) );
 	themeRow.add( theme );
 	themeRow.add( theme );
 
 
-	container.add( themeRow );	
+	container.add( themeRow );
 
 
 	container.add( new Sidebar.Settings.Shortcuts( editor ) );
 	container.add( new Sidebar.Settings.Shortcuts( editor ) );
 	container.add( new Sidebar.Settings.Viewport( editor ) );
 	container.add( new Sidebar.Settings.Viewport( editor ) );