@@ -181,35 +181,35 @@ const Text = React.createClass({
181
181
}
182
182
return setResponder ;
183
183
} ,
184
- onResponderGrant : ( e : SyntheticEvent , dispatchID : string ) = > {
184
+ onResponderGrant : function ( e : SyntheticEvent , dispatchID : string ) {
185
185
this . touchableHandleResponderGrant ( e , dispatchID ) ;
186
186
this . props . onResponderGrant &&
187
187
this . props . onResponderGrant . apply ( this , arguments ) ;
188
- } ,
189
- onResponderMove : ( e : SyntheticEvent ) => {
188
+ } . bind ( this ) ,
189
+ onResponderMove : function ( e : SyntheticEvent ) {
190
190
this . touchableHandleResponderMove ( e ) ;
191
191
this . props . onResponderMove &&
192
192
this . props . onResponderMove . apply ( this , arguments ) ;
193
- } ,
194
- onResponderRelease : ( e : SyntheticEvent ) => {
193
+ } . bind ( this ) ,
194
+ onResponderRelease : function ( e : SyntheticEvent ) {
195
195
this . touchableHandleResponderRelease ( e ) ;
196
196
this . props . onResponderRelease &&
197
197
this . props . onResponderRelease . apply ( this , arguments ) ;
198
- } ,
199
- onResponderTerminate : ( e : SyntheticEvent ) => {
198
+ } . bind ( this ) ,
199
+ onResponderTerminate : function ( e : SyntheticEvent ) {
200
200
this . touchableHandleResponderTerminate ( e ) ;
201
201
this . props . onResponderTerminate &&
202
202
this . props . onResponderTerminate . apply ( this , arguments ) ;
203
- } ,
204
- onResponderTerminationRequest : ( ) : bool => {
203
+ } . bind ( this ) ,
204
+ onResponderTerminationRequest : function ( ) : bool {
205
205
// Allow touchable or props.onResponderTerminationRequest to deny
206
206
// the request
207
207
var allowTermination = this . touchableHandleResponderTerminationRequest ( ) ;
208
208
if ( allowTermination && this . props . onResponderTerminationRequest ) {
209
- allowTermination = this . props . onResponderTerminationRequest ( ) ;
209
+ allowTermination = this . props . onResponderTerminationRequest . apply ( this , arguments ) ;
210
210
}
211
211
return allowTermination ;
212
- } ,
212
+ } . bind ( this ) ,
213
213
} ;
214
214
}
215
215
newProps = {
0 commit comments