The library for web and native user interfaces.
Remove remaining calls to ReactCompositeComponent.autoBind.
This is causing console.warning spew in the open source tests.
Ben Newman committed
Jul 15, 2013 at 15:06 UTC
f457394362d4d7514761ae2b70318024c5cbd2f6
2 files changed
+4
-4
src/dom/components/ReactDOMInput.js
+2
-2
@@ -96,7 +96,7 @@ var ReactDOMInput = ReactCompositeComponent.createClass({
96
}
97
},
98
99
- handleChange: ReactCompositeComponent.autoBind(function(event) {
99
+ handleChange: function(event) {
100
var returnValue;
101
if (this.props.onChange) {
102
this._isChanging = true;
@@ -108,7 +108,7 @@ var ReactDOMInput = ReactCompositeComponent.createClass({
108
value: event.target.value
109
});
110
return returnValue;
111
- })
111
+ }
112
113
});
114
src/dom/components/ReactDOMTextarea.js
+2
-2
@@ -122,7 +122,7 @@ var ReactDOMTextarea = ReactCompositeComponent.createClass({
122
}
123
},
124
125
- handleChange: ReactCompositeComponent.autoBind(function(event) {
125
+ handleChange: function(event) {
126
var returnValue;
127
if (this.props.onChange) {
128
this._isChanging = true;
@@ -131,7 +131,7 @@ var ReactDOMTextarea = ReactCompositeComponent.createClass({
131
}
132
this.setState({value: event.target.value});
133
return returnValue;
134
- })
134
+ }
135
136
});
137