self -> this in ScrollResponder

Summary:
I *think* this is causing a crash for me in a release build (curiously, not a debug build):
```
ReferenceError: Can't find variable: self
```

I saw this in 0.18.1, which I assume was renamed to v0.19.0-rc.
Closes https://github.com/facebook/react-native/pull/5562

Reviewed By: svcscm

Differential Revision: D2866491

Pulled By: androidtrunkagent

fb-gh-sync-id: 196f718bf807c5eef676f66f1e15d7bde9475d5b
This commit is contained in:
Jed Lau 2016-01-26 14:22:29 -08:00 коммит произвёл facebook-github-bot-9
Родитель 7e64ad8fc4
Коммит affd6230fe
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -372,7 +372,7 @@ var ScrollResponderMixin = {
*/
scrollResponderScrollWithoutAnimationTo: function(offsetX: number, offsetY: number) {
console.warn('`scrollResponderScrollWithoutAnimationTo` is deprecated. Use `scrollResponderScrollTo` instead');
self.scrollResponderScrollTo(offsetX, offsetY, false);
this.scrollResponderScrollTo(offsetX, offsetY, false);
},
/**