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';
26
26
import AccountNav from '../../containers/account-nav.jsx' ;
27
27
import LoginDropdown from './login-dropdown.jsx' ;
28
28
import SB3Downloader from '../../containers/sb3-downloader.jsx' ;
29
- import RubyDownloader from '../../containers/ruby-downloader.jsx' ;
30
29
import DeletionRestorer from '../../containers/deletion-restorer.jsx' ;
31
30
import TurboMode from '../../containers/turbo-mode.jsx' ;
32
31
import MenuBarHOC from '../../containers/menu-bar-hoc.jsx' ;
@@ -446,20 +445,6 @@ class MenuBar extends React.Component {
446
445
</ MenuItem >
447
446
) } </ SB3Downloader >
448
447
</ 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 >
463
448
</ MenuBarMenu >
464
449
</ div >
465
450
) }
Original file line number Diff line number Diff line change @@ -39,10 +39,6 @@ export default appTarget => {
39
39
HashParserHOC
40
40
) ( GUI ) ;
41
41
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
-
46
42
const scratchDesktopMatches = window . location . href . match ( / [ ? & ] i s S c r a t c h D e s k t o p = ( [ ^ & ] + ) / ) ;
47
43
let simulateScratchDesktop ;
48
44
if ( scratchDesktopMatches ) {
@@ -75,9 +71,6 @@ export default appTarget => {
75
71
/> :
76
72
< WrappedGui
77
73
canEditTitle
78
- backpackVisible
79
- showComingSoon
80
- backpackHost = { backpackHost }
81
74
canSave = { false }
82
75
onClickLogo = { onClickLogo }
83
76
/> ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -52,11 +52,6 @@ describe('Menu bar settings', () => {
52
52
await findByXpath ( '//*[li[span[text()="Save to your computer"]] and not(@data-tip="tooltip")]' ) ;
53
53
} ) ;
54
54
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
-
60
55
test ( 'Logo should be clickable' , async ( ) => {
61
56
await loadUri ( uri ) ;
62
57
await clickXpath ( '//img[@alt="Smalruby"]' ) ;
You can’t perform that action at this time.
0 commit comments