mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
fix views a bit
This commit is contained in:
parent
9a266a3cc4
commit
62b342e665
2 changed files with 11 additions and 6 deletions
|
@ -13,7 +13,8 @@ var CommandView = React.createClass({
|
|||
|
||||
propTypes: {
|
||||
// the backbone command model
|
||||
command: React.PropTypes.object.isRequired
|
||||
command: React.PropTypes.object.isRequired,
|
||||
id: React.PropTypes.string,
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
|
@ -67,7 +68,7 @@ var CommandView = React.createClass({
|
|||
]);
|
||||
|
||||
return (
|
||||
<div className="reactCommandView">
|
||||
<div id={this.props.id} className="reactCommandView">
|
||||
<p className={commandClass}>
|
||||
<span className="prompt">{'$'}</span>
|
||||
{' ' + this.state.rawStr}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue