2
0
Эх сурвалжийг харах

Editor: Cleaned up Publish commented code.

Mr.doob 10 жил өмнө
parent
commit
5317b5b6ba

+ 9 - 8
editor/js/Menubar.File.js

@@ -190,40 +190,41 @@ Menubar.File = function ( editor ) {
 	} );
 	options.add( option );
 
+	/*
 	//
 
 	options.add( new UI.HorizontalRule() );
 
-	/*
-	// Test
+	// Publish
 
 	var option = new UI.Panel();
 	option.setClass( 'option' );
-	option.setTextContent( 'Test' );
+	option.setTextContent( 'Publish' );
 	option.onClick( function () {
 
-		var text = new UI.Text( 'blah' );
-		editor.showDialog( text );
+		alert( 'Not yet...' );
 
 	} );
 	options.add( option );
 	*/
 
 	/*
-	// Publish
+	// Test
 
 	var option = new UI.Panel();
 	option.setClass( 'option' );
-	option.setTextContent( 'Publish' );
+	option.setTextContent( 'Test' );
 	option.onClick( function () {
 
-		alert( 'Not yet...' );
+		var text = new UI.Text( 'blah' );
+		editor.showDialog( text );
 
 	} );
 	options.add( option );
 	*/
 
 
+
 	//
 
 	var exportString = function ( output ) {