ScrollWithouth => ScrollWithout

Summary:
Oops!
Closes https://github.com/facebook/react-native/pull/5029

Reviewed By: svcscm

Differential Revision: D2793490

Pulled By: vjeux

fb-gh-sync-id: 0115d3ef38cad3e838241937263308827e56f25f
This commit is contained in:
Brent Vatne 2015-12-29 12:41:34 -08:00 коммит произвёл facebook-github-bot-5
Родитель d1864fa436
Коммит fef01ed394
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -370,7 +370,7 @@ var ScrollResponderMixin = {
* Like `scrollResponderScrollTo` but immediately scrolls to the given
* position
*/
scrollResponderScrollWithouthAnimationTo: function(offsetX: number, offsetY: number) {
scrollResponderScrollWithoutAnimationTo: function(offsetX: number, offsetY: number) {
if (Platform.OS === 'android') {
UIManager.dispatchViewManagerCommand(
React.findNodeHandle(this),

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

@ -346,7 +346,7 @@ var ScrollView = React.createClass({
scrollWithoutAnimationTo: function(destY?: number, destX?: number) {
// $FlowFixMe - Don't know how to pass Mixin correctly. Postpone for now
this.getScrollResponder().scrollResponderScrollWithouthAnimationTo(
this.getScrollResponder().scrollResponderScrollWithoutAnimationTo(
destX || 0,
destY || 0,
);