Skip to content

Commit

Permalink
Do trivial formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
remo5000 authored and ning-y committed May 16, 2018
1 parent 931a204 commit b451e08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/actions/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const UPDATE_EDITOR_VALUE: string = 'UPDATE_EDITOR_VALUE'

/**
* Represents an `Action` which updates the `editorValue` of a
* `IPlaygroundState`
* `IPlaygroundState`
* @property type - Unique string identifier for this `Action`
* @property newEditorValue - The new string value for `editorValue`
*/
Expand All @@ -18,7 +18,7 @@ export interface IUpdateEditorValue extends Action {
}

/**
* An `ActionCreator` returning an `IUpdateEditorValue` `Action`
* An `ActionCreator` returning an `IUpdateEditorValue` `Action`
* @param newEditorValue - The new string value for `editorValue`
*/
export const updateEditorValue: ActionCreator<IUpdateEditorValue> = (newEditorValue: string) => ({
Expand Down
16 changes: 8 additions & 8 deletions src/components/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export default class Playground extends React.Component<IPlaygroundProps, {}> {
return (
<div className="Playground">
<h2>Playground</h2>
<AceEditor
height='90%'
width='90%'
mode="javascript"
theme="github"
value={this.props.editorValue}
onChange={this.props.updateCode}
/>
<AceEditor
height="90%"
width="90%"
mode="javascript"
theme="github"
value={this.props.editorValue}
onChange={this.props.updateCode}
/>
</div>
)
}
Expand Down

0 comments on commit b451e08

Please sign in to comment.