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 committed by facebook-github-bot-5
parent d1864fa436
commit fef01ed394
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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,
);