mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove extraneous binds from some fixtures
This commit is contained in:
@@ -12,7 +12,7 @@ const RangeInputs = React.createClass({
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Controlled</legend>
|
||||
<input type="range" value={this.state.value} onChange={this.onChange.bind(this)} />
|
||||
<input type="range" value={this.state.value} onChange={this.onChange} />
|
||||
<span className="hint">Value: {this.state.value}</span>
|
||||
</fieldset>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ const TextAreaFixtures = React.createClass({
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Controlled</legend>
|
||||
<textarea value={this.state.value} onChange={this.onChange.bind(this)} />
|
||||
<textarea value={this.state.value} onChange={this.onChange} />
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
||||
Reference in New Issue
Block a user