@@ -25,14 +25,10 @@ import { registerFrame } from '../../../utils/dispatcher';
25
25
26
26
import { getHTMLFile } from '../reducers/files' ;
27
27
28
- import * as FileActions from '../actions/files' ;
29
- import * as IDEActions from '../actions/ide' ;
30
- import * as ProjectActions from '../actions/project' ;
31
- import * as EditorAccessibilityActions from '../actions/editorAccessibility' ;
32
- import * as PreferencesActions from '../actions/preferences' ;
33
- import * as UserActions from '../../User/actions' ;
34
- import * as ToastActions from '../actions/toast' ;
35
- import * as ConsoleActions from '../actions/console' ;
28
+ import { stopSketch , expandConsole , endSketchRefresh } from '../actions/ide' ;
29
+ import { setTextOutput , setGridOutput , setSoundOutput } from '../actions/preferences' ;
30
+ import { setBlobUrl } from '../actions/files' ;
31
+ import { clearConsole , dispatchConsoleEvent } from '../actions/console' ;
36
32
37
33
38
34
const shouldRenderSketch = ( props , prevProps = undefined ) => {
@@ -381,31 +377,18 @@ const mapStateToProps = state => ({
381
377
} ) ;
382
378
383
379
384
- /*
385
- setTextOutput={this.props.setTextOutput}
386
- setGridOutput={this.props.setGridOutput}
387
- setSoundOutput={this.props.setSoundOutput}
388
- dispatchConsoleEvent={this.props.dispatchConsoleEvent}
389
- endSketchRefresh={this.props.endSketchRefresh}
390
- stopSketch={this.props.stopSketch}
391
- setBlobUrl={this.props.setBlobUrl}
392
- expandConsole={this.props.expandConsole}
393
- clearConsole={this.props.clearConsole}
394
- cmController={this.cmController}
395
- */
396
-
397
-
398
380
const mapDispatchToProps = dispatch => bindActionCreators (
399
381
Object . assign (
400
382
{ } ,
401
- EditorAccessibilityActions ,
402
- FileActions ,
403
- ProjectActions ,
404
- IDEActions ,
405
- PreferencesActions ,
406
- UserActions ,
407
- ToastActions ,
408
- ConsoleActions
383
+ stopSketch ,
384
+ expandConsole ,
385
+ endSketchRefresh ,
386
+ setTextOutput ,
387
+ setGridOutput ,
388
+ setSoundOutput ,
389
+ setBlobUrl ,
390
+ clearConsole ,
391
+ dispatchConsoleEvent ,
409
392
) ,
410
393
dispatch
411
394
) ;
0 commit comments