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:
1 parent
85aa7eebfc
commit
c31297b6d9
2 files changed
+2
-2
No files matched your search
@@ -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