From fb5d640b458e1db8f100c8d8d97cb40a72c5ee2b Mon Sep 17 00:00:00 2001 From: MathuraMG Date: Thu, 11 Aug 2016 13:29:30 -0400 Subject: [PATCH] change file names --- ...editorHidden.js => editorAccessibility.js} | 0 ...EditorHidden.js => EditorAccessibility.js} | 6 +++--- client/modules/IDE/pages/IDEView.js | 20 +++++++++---------- ...editorHidden.js => editorAccessibility.js} | 4 ++-- client/reducers.js | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) rename client/modules/IDE/actions/{editorHidden.js => editorAccessibility.js} (100%) rename client/modules/IDE/components/{EditorHidden.js => EditorAccessibility.js} (88%) rename client/modules/IDE/reducers/{editorHidden.js => editorAccessibility.js} (88%) diff --git a/client/modules/IDE/actions/editorHidden.js b/client/modules/IDE/actions/editorAccessibility.js similarity index 100% rename from client/modules/IDE/actions/editorHidden.js rename to client/modules/IDE/actions/editorAccessibility.js diff --git a/client/modules/IDE/components/EditorHidden.js b/client/modules/IDE/components/EditorAccessibility.js similarity index 88% rename from client/modules/IDE/components/EditorHidden.js rename to client/modules/IDE/components/EditorAccessibility.js index 518feab1..f83c7df2 100644 --- a/client/modules/IDE/components/EditorHidden.js +++ b/client/modules/IDE/components/EditorAccessibility.js @@ -1,6 +1,6 @@ import React, { PropTypes } from 'react'; -class EditorHidden extends React.Component { +class EditorAccessibility extends React.Component { componentDidMount() { } @@ -27,10 +27,10 @@ class EditorHidden extends React.Component { } } -EditorHidden.propTypes = { +EditorAccessibility.propTypes = { toggleBeep: PropTypes.func.isRequired, lintMessages: PropTypes.array.isRequired, lineNo: PropTypes.number.isRequired, }; -export default EditorHidden; +export default EditorAccessibility; diff --git a/client/modules/IDE/pages/IDEView.js b/client/modules/IDE/pages/IDEView.js index b3a43db2..fb96f856 100644 --- a/client/modules/IDE/pages/IDEView.js +++ b/client/modules/IDE/pages/IDEView.js @@ -1,6 +1,6 @@ import React, { PropTypes } from 'react'; import Editor from '../components/Editor'; -import EditorHidden from '../components/EditorHidden'; +import EditorAccessibility from '../components/EditorAccessibility'; import Sidebar from '../components/Sidebar'; import PreviewFrame from '../components/PreviewFrame'; import Toolbar from '../components/Toolbar'; @@ -13,7 +13,7 @@ import { connect } from 'react-redux'; import * as FileActions from '../actions/files'; import * as IDEActions from '../actions/ide'; import * as ProjectActions from '../actions/project'; -import * as EditorHiddenActions from '../actions/editorHidden'; +import * as EditorAccessibilityActions from '../actions/editorAccessibility'; import * as PreferencesActions from '../actions/preferences'; import { getFile, getHTMLFile, getJSFiles, getCSSFiles, setSelectedFile } from '../reducers/files'; @@ -104,14 +104,14 @@ class IDEView extends React.Component { updateFileName={this.props.updateFileName} />
- { +const editorAccessibility = (state = initialState, action) => { switch (action.type) { case ActionTypes.TOGGLE_BEEP: return Object.assign({}, state, { enableBeep: !state.enableBeep }); @@ -24,4 +24,4 @@ const editorHidden = (state = initialState, action) => { } }; -export default editorHidden; +export default editorAccessibility; diff --git a/client/reducers.js b/client/reducers.js index f689c860..d827a927 100644 --- a/client/reducers.js +++ b/client/reducers.js @@ -3,7 +3,7 @@ import files from './modules/IDE/reducers/files'; import ide from './modules/IDE/reducers/ide'; import preferences from './modules/IDE/reducers/preferences'; import project from './modules/IDE/reducers/project'; -import editorHidden from './modules/IDE/reducers/editorHidden'; +import editorAccessibility from './modules/IDE/reducers/editorAccessibility'; import user from './modules/User/reducers'; import sketches from './modules/Sketch/reducers'; import { reducer as form } from 'redux-form'; @@ -16,7 +16,7 @@ const rootReducer = combineReducers({ user, project, sketches, - editorHidden + editorAccessibility }); export default rootReducer;