File tree Expand file tree Collapse file tree 4 files changed +0
-71
lines changed Expand file tree Collapse file tree 4 files changed +0
-71
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import AuthorInfo from './author-info.jsx';
2626import AccountNav from '../../containers/account-nav.jsx' ;
2727import LoginDropdown from './login-dropdown.jsx' ;
2828import SB3Downloader from '../../containers/sb3-downloader.jsx' ;
29- import RubyDownloader from '../../containers/ruby-downloader.jsx' ;
3029import DeletionRestorer from '../../containers/deletion-restorer.jsx' ;
3130import TurboMode from '../../containers/turbo-mode.jsx' ;
3231import MenuBarHOC from '../../containers/menu-bar-hoc.jsx' ;
@@ -446,20 +445,6 @@ class MenuBar extends React.Component {
446445 </ MenuItem >
447446 ) } </ SB3Downloader >
448447 </ MenuSection >
449- < MenuSection >
450- < RubyDownloader > { ( className , downloadProjectCallback ) => (
451- < MenuItem
452- className = { className }
453- onClick = { this . getSaveToComputerHandler ( downloadProjectCallback ) }
454- >
455- < FormattedMessage
456- defaultMessage = "Save Ruby to your computer"
457- description = "Menu bar item for downloading Ruby code to your computer" // eslint-disable-line max-len
458- id = "gui.smalruby3.menuBar.downloadRubyCodeToComputer"
459- />
460- </ MenuItem >
461- ) } </ RubyDownloader >
462- </ MenuSection >
463448 </ MenuBarMenu >
464449 </ div >
465450 ) }
Original file line number Diff line number Diff line change @@ -39,10 +39,6 @@ export default appTarget => {
3939 HashParserHOC
4040 ) ( GUI ) ;
4141
42- // TODO a hack for testing the backpack, allow backpack host to be set by url param
43- const backpackHostMatches = window . location . href . match ( / [ ? & ] b a c k p a c k _ h o s t = ( [ ^ & ] * ) & ? / ) ;
44- const backpackHost = backpackHostMatches ? backpackHostMatches [ 1 ] : null ;
45-
4642 const scratchDesktopMatches = window . location . href . match ( / [ ? & ] i s S c r a t c h D e s k t o p = ( [ ^ & ] + ) / ) ;
4743 let simulateScratchDesktop ;
4844 if ( scratchDesktopMatches ) {
@@ -75,9 +71,6 @@ export default appTarget => {
7571 /> :
7672 < WrappedGui
7773 canEditTitle
78- backpackVisible
79- showComingSoon
80- backpackHost = { backpackHost }
8174 canSave = { false }
8275 onClickLogo = { onClickLogo }
8376 /> ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -52,11 +52,6 @@ describe('Menu bar settings', () => {
5252 await findByXpath ( '//*[li[span[text()="Save to your computer"]] and not(@data-tip="tooltip")]' ) ;
5353 } ) ;
5454
55- test ( 'Share button should NOT be enabled' , async ( ) => {
56- await loadUri ( uri ) ;
57- await findByXpath ( '//div[span[div[span[text()="Share"]]] and @data-tip="tooltip"]' ) ;
58- } ) ;
59-
6055 test ( 'Logo should be clickable' , async ( ) => {
6156 await loadUri ( uri ) ;
6257 await clickXpath ( '//img[@alt="Smalruby"]' ) ;
You can’t perform that action at this time.
0 commit comments