From d5e9e55fa38c574bce6c04cbcaf6b144b87fa17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Wed, 25 Apr 2018 07:00:46 -0700 Subject: [PATCH] Remove @providesModule from all modules Summary: This PR removes the need for having the `providesModule` tags in all the modules in the repository. It configures Flow, Jest and Metro to get the module names from the filenames (`Libraries/Animated/src/nodes/AnimatedInterpolation.js` => `AnimatedInterpolation`) * Checked the Flow configuration by running flow on the project root (no errors): ``` yarn flow ``` * Checked the Jest configuration by running the tests with a clean cache: ``` yarn jest --clearCache && yarn test ``` * Checked the Metro configuration by starting the server with a clean cache and requesting some bundles: ``` yarn run start --reset-cache curl 'localhost:8081/IntegrationTests/AccessibilityManagerTest.bundle?platform=android' curl 'localhost:8081/Libraries/Alert/Alert.bundle?platform=ios' ``` [INTERNAL] [FEATURE] [All] - Removed providesModule from all modules and configured tools. Closes https://github.com/facebook/react-native/pull/18995 Reviewed By: mjesun Differential Revision: D7729509 Pulled By: rubennorte fbshipit-source-id: 892f760a05ce1fddb088ff0cd2e97e521fb8e825 --- .flowconfig | 17 +++++ IntegrationTests/AccessibilityManagerTest.js | 1 - IntegrationTests/AppEventsTest.js | 1 - IntegrationTests/AsyncStorageTest.js | 1 - IntegrationTests/ImageCachePolicyTest.js | 1 - IntegrationTests/ImageSnapshotTest.js | 1 - .../IntegrationTestHarnessTest.js | 1 - IntegrationTests/IntegrationTestsApp.js | 1 - IntegrationTests/LayoutEventsTest.js | 1 - IntegrationTests/LoggingTestModule.js | 1 - IntegrationTests/PromiseTest.js | 1 - IntegrationTests/PropertiesUpdateTest.js | 1 - .../RCTRootViewIntegrationTestApp.js | 1 - .../ReactContentSizeUpdateTest.js | 1 - IntegrationTests/SimpleSnapshotTest.js | 1 - IntegrationTests/SizeFlexibilityUpdateTest.js | 1 - IntegrationTests/SyncMethodTest.js | 1 - IntegrationTests/TimersTest.js | 1 - IntegrationTests/WebSocketTest.js | 1 - IntegrationTests/WebViewTest.js | 1 - .../websocket_integration_test_server.js | 1 - Libraries/ART/ARTSerializablePath.js | 1 - Libraries/ART/ReactNativeART.js | 1 - Libraries/ActionSheetIOS/ActionSheetIOS.js | 1 - Libraries/Alert/Alert.js | 1 - Libraries/Alert/AlertIOS.js | 1 - Libraries/Alert/RCTAlertManager.android.js | 1 - Libraries/Alert/RCTAlertManager.ios.js | 1 - Libraries/Animated/release/gulpfile.js | 1 - Libraries/Animated/src/Animated.js | 1 - Libraries/Animated/src/AnimatedEvent.js | 1 - .../Animated/src/AnimatedImplementation.js | 1 - Libraries/Animated/src/AnimatedWeb.js | 1 - Libraries/Animated/src/Easing.js | 1 - .../Animated/src/NativeAnimatedHelper.js | 1 - Libraries/Animated/src/SpringConfig.js | 1 - .../Animated/src/animations/Animation.js | 1 - .../Animated/src/animations/DecayAnimation.js | 1 - .../src/animations/SpringAnimation.js | 1 - .../src/animations/TimingAnimation.js | 1 - Libraries/Animated/src/bezier.js | 1 - .../Animated/src/createAnimatedComponent.js | 1 - .../Animated/src/nodes/AnimatedAddition.js | 1 - .../Animated/src/nodes/AnimatedDiffClamp.js | 1 - .../Animated/src/nodes/AnimatedDivision.js | 1 - .../src/nodes/AnimatedInterpolation.js | 1 - .../Animated/src/nodes/AnimatedModulo.js | 1 - .../src/nodes/AnimatedMultiplication.js | 1 - Libraries/Animated/src/nodes/AnimatedNode.js | 1 - Libraries/Animated/src/nodes/AnimatedProps.js | 1 - Libraries/Animated/src/nodes/AnimatedStyle.js | 1 - .../Animated/src/nodes/AnimatedSubtraction.js | 1 - .../Animated/src/nodes/AnimatedTracking.js | 1 - .../Animated/src/nodes/AnimatedTransform.js | 1 - Libraries/Animated/src/nodes/AnimatedValue.js | 1 - .../Animated/src/nodes/AnimatedValueXY.js | 1 - .../src/nodes/AnimatedWithChildren.js | 1 - Libraries/AppState/AppState.js | 1 - Libraries/BatchedBridge/BatchedBridge.js | 1 - Libraries/BatchedBridge/MessageQueue.js | 1 - Libraries/BatchedBridge/NativeModules.js | 1 - Libraries/Blob/Blob.js | 1 - Libraries/Blob/BlobManager.js | 1 - Libraries/Blob/BlobRegistry.js | 1 - Libraries/Blob/BlobTypes.js | 1 - Libraries/Blob/File.js | 1 - Libraries/Blob/FileReader.js | 1 - Libraries/Blob/URL.js | 1 - Libraries/BugReporting/BugReporting.js | 1 - Libraries/BugReporting/dumpReactTree.js | 1 - Libraries/BugReporting/getReactData.js | 1 - Libraries/CameraRoll/CameraRoll.js | 1 - Libraries/CameraRoll/ImagePickerIOS.js | 1 - Libraries/Color/normalizeColor.js | 1 - .../AccessibilityInfo.android.js | 1 - .../AccessibilityInfo.ios.js | 1 - .../ActivityIndicator/ActivityIndicator.js | 1 - .../Components/AppleTV/TVEventHandler.js | 1 - .../Components/AppleTV/TVViewPropTypes.js | 1 - Libraries/Components/Button.js | 1 - .../Components/CheckBox/CheckBox.android.js | 1 - Libraries/Components/CheckBox/CheckBox.ios.js | 1 - Libraries/Components/Clipboard/Clipboard.js | 1 - .../DatePicker/DatePickerIOS.android.js | 1 - .../DatePicker/DatePickerIOS.ios.js | 1 - .../DatePickerAndroid.android.js | 1 - .../DatePickerAndroid.ios.js | 1 - .../DrawerLayoutAndroid.android.js | 1 - .../DrawerAndroid/DrawerLayoutAndroid.ios.js | 1 - Libraries/Components/Keyboard/Keyboard.js | 1 - .../Keyboard/KeyboardAvoidingView.js | 1 - Libraries/Components/LazyRenderer.js | 1 - .../MaskedView/MaskedViewIOS.android.js | 1 - .../MaskedView/MaskedViewIOS.ios.js | 1 - .../Navigation/NavigatorIOS.android.js | 1 - .../Components/Navigation/NavigatorIOS.ios.js | 1 - Libraries/Components/Picker/Picker.js | 1 - .../Picker/PickerAndroid.android.js | 1 - .../Components/Picker/PickerAndroid.ios.js | 1 - .../Components/Picker/PickerIOS.android.js | 1 - Libraries/Components/Picker/PickerIOS.ios.js | 1 - .../ProgressBarAndroid.android.js | 1 - .../ProgressBarAndroid.ios.js | 1 - .../ProgressViewIOS.android.js | 1 - .../ProgressViewIOS/ProgressViewIOS.ios.js | 1 - .../RefreshControl/RefreshControl.js | 1 - .../SafeAreaView/SafeAreaView.android.js | 1 - .../SafeAreaView/SafeAreaView.ios.js | 1 - Libraries/Components/ScrollResponder.js | 1 - Libraries/Components/ScrollView/ScrollView.js | 1 - .../ScrollView/ScrollViewStickyHeader.js | 1 - .../ScrollView/processDecelerationRate.js | 1 - .../SegmentedControlIOS.android.js | 1 - .../SegmentedControlIOS.ios.js | 1 - Libraries/Components/Slider/Slider.js | 1 - Libraries/Components/StaticContainer.react.js | 1 - Libraries/Components/StaticRenderer.js | 1 - Libraries/Components/StatusBar/StatusBar.js | 1 - .../StatusBar/StatusBarIOS.android.js | 1 - .../Components/StatusBar/StatusBarIOS.ios.js | 1 - Libraries/Components/Subscribable.js | 1 - Libraries/Components/Switch/Switch.js | 1 - .../Components/TabBarIOS/TabBarIOS.android.js | 1 - .../Components/TabBarIOS/TabBarIOS.ios.js | 1 - .../TabBarIOS/TabBarItemIOS.android.js | 1 - .../Components/TabBarIOS/TabBarItemIOS.ios.js | 1 - .../TextInput/InputAccessoryView.js | 1 - Libraries/Components/TextInput/TextInput.js | 1 - .../Components/TextInput/TextInputState.js | 1 - .../TimePickerAndroid.android.js | 1 - .../TimePickerAndroid.ios.js | 1 - .../ToastAndroid/ToastAndroid.android.js | 1 - .../ToastAndroid/ToastAndroid.ios.js | 1 - .../ToolbarAndroid/ToolbarAndroid.android.js | 1 - .../ToolbarAndroid/ToolbarAndroid.ios.js | 1 - .../Touchable/BoundingDimensions.js | 1 - Libraries/Components/Touchable/PooledClass.js | 1 - Libraries/Components/Touchable/Position.js | 1 - Libraries/Components/Touchable/Touchable.js | 1 - .../Components/Touchable/TouchableBounce.js | 1 - .../Touchable/TouchableHighlight.js | 1 - .../TouchableNativeFeedback.android.js | 1 - .../Touchable/TouchableNativeFeedback.ios.js | 1 - .../Components/Touchable/TouchableOpacity.js | 1 - .../Touchable/TouchableWithoutFeedback.js | 1 - .../Touchable/ensureComponentIsNative.js | 1 - .../Touchable/ensurePositiveDelayProps.js | 1 - .../UnimplementedViews/UnimplementedView.js | 1 - .../Components/View/PlatformViewPropTypes.js | 1 - .../View/ReactNativeStyleAttributes.js | 1 - .../View/ReactNativeViewAttributes.js | 1 - .../Components/View/ShadowPropTypesIOS.js | 1 - Libraries/Components/View/View.js | 1 - .../Components/View/ViewAccessibility.js | 1 - Libraries/Components/View/ViewContext.js | 1 - Libraries/Components/View/ViewPropTypes.js | 1 - .../Components/View/ViewStylePropTypes.js | 1 - .../ViewPager/ViewPagerAndroid.android.js | 1 - .../ViewPager/ViewPagerAndroid.ios.js | 1 - .../Components/WebView/WebView.android.js | 1 - Libraries/Components/WebView/WebView.ios.js | 1 - Libraries/Core/Devtools/getDevServer.js | 1 - Libraries/Core/Devtools/openFileInEditor.js | 1 - Libraries/Core/Devtools/parseErrorStack.js | 1 - Libraries/Core/Devtools/setupDevtools.js | 1 - .../Core/Devtools/symbolicateStackTrace.js | 1 - Libraries/Core/ExceptionsManager.js | 1 - Libraries/Core/InitializeCore.js | 1 - Libraries/Core/ReactNativeVersion.js | 1 - Libraries/Core/ReactNativeVersionCheck.js | 1 - Libraries/Core/Timers/JSTimers.js | 1 - .../MissingNativeEventEmitterShim.js | 1 - Libraries/EventEmitter/NativeEventEmitter.js | 1 - .../EventEmitter/RCTDeviceEventEmitter.js | 1 - Libraries/EventEmitter/RCTEventEmitter.js | 1 - .../EventEmitter/RCTNativeAppEventEmitter.js | 1 - Libraries/Experimental/Incremental.js | 1 - Libraries/Experimental/IncrementalExample.js | 1 - Libraries/Experimental/IncrementalGroup.js | 1 - .../Experimental/IncrementalPresenter.js | 1 - .../SwipeableRow/SwipeableFlatList.js | 1 - .../SwipeableRow/SwipeableListView.js | 1 - .../SwipeableListViewDataSource.js | 1 - .../SwipeableQuickActionButton.js | 1 - .../SwipeableRow/SwipeableQuickActions.js | 1 - .../Experimental/SwipeableRow/SwipeableRow.js | 1 - Libraries/Experimental/WindowedListView.js | 1 - Libraries/Geolocation/Geolocation.js | 1 - Libraries/Image/AssetRegistry.js | 1 - Libraries/Image/AssetSourceResolver.js | 1 - Libraries/Image/Image.android.js | 1 - Libraries/Image/Image.ios.js | 1 - Libraries/Image/ImageBackground.js | 1 - Libraries/Image/ImageEditor.js | 1 - Libraries/Image/ImageProps.js | 1 - Libraries/Image/ImageResizeMode.js | 1 - Libraries/Image/ImageSource.js | 1 - Libraries/Image/ImageSourcePropType.js | 1 - Libraries/Image/ImageStore.js | 1 - Libraries/Image/ImageStylePropTypes.js | 1 - Libraries/Image/RelativeImageStub.js | 1 - Libraries/Image/nativeImageSource.js | 1 - Libraries/Image/resolveAssetSource.js | 1 - Libraries/Inspector/BorderBox.js | 1 - Libraries/Inspector/BoxInspector.js | 1 - Libraries/Inspector/ElementBox.js | 1 - Libraries/Inspector/ElementProperties.js | 1 - Libraries/Inspector/Inspector.js | 1 - Libraries/Inspector/InspectorOverlay.js | 1 - Libraries/Inspector/InspectorPanel.js | 1 - Libraries/Inspector/NetworkOverlay.js | 1 - Libraries/Inspector/PerformanceOverlay.js | 1 - Libraries/Inspector/StyleInspector.js | 1 - Libraries/Inspector/resolveBoxStyle.js | 1 - Libraries/Interaction/Batchinator.js | 1 - .../Interaction/BridgeSpyStallHandler.js | 1 - Libraries/Interaction/FrameRateLogger.js | 1 - Libraries/Interaction/InteractionManager.js | 1 - Libraries/Interaction/InteractionMixin.js | 1 - .../Interaction/InteractionStallDebugger.js | 1 - Libraries/Interaction/JSEventLoopWatchdog.js | 1 - Libraries/Interaction/PanResponder.js | 1 - .../Interaction/ReactPerfStallHandler.js | 1 - Libraries/Interaction/TaskQueue.js | 1 - Libraries/JSInspector/InspectorAgent.js | 1 - Libraries/JSInspector/JSInspector.js | 1 - Libraries/JSInspector/NetworkAgent.js | 1 - Libraries/LayoutAnimation/LayoutAnimation.js | 1 - Libraries/Linking/Linking.js | 1 - Libraries/Lists/FillRateHelper.js | 1 - Libraries/Lists/FlatList.js | 1 - Libraries/Lists/ListView/ListView.js | 1 - .../Lists/ListView/ListViewDataSource.js | 1 - Libraries/Lists/MetroListView.js | 1 - Libraries/Lists/SectionList.js | 1 - Libraries/Lists/ViewabilityHelper.js | 1 - Libraries/Lists/VirtualizeUtils.js | 1 - Libraries/Lists/VirtualizedList.js | 1 - Libraries/Lists/VirtualizedSectionList.js | 1 - Libraries/Modal/Modal.js | 1 - Libraries/Network/FormData.js | 1 - Libraries/Network/NetInfo.js | 1 - Libraries/Network/RCTNetworking.android.js | 1 - Libraries/Network/RCTNetworking.ios.js | 1 - Libraries/Network/XHRInterceptor.js | 1 - Libraries/Network/XMLHttpRequest.js | 1 - Libraries/Network/convertRequestBody.js | 1 - Libraries/Network/fetch.js | 1 - .../Performance/QuickPerformanceLogger.js | 1 - Libraries/Performance/SamplingProfiler.js | 1 - Libraries/Performance/Systrace.js | 1 - .../PermissionsAndroid/PermissionsAndroid.js | 1 - Libraries/Promise.js | 1 - .../PushNotificationIOS.js | 1 - Libraries/RCTTest/SnapshotViewIOS.android.js | 1 - Libraries/RCTTest/SnapshotViewIOS.ios.js | 1 - Libraries/ReactNative/AppContainer.js | 1 - Libraries/ReactNative/AppRegistry.js | 1 - Libraries/ReactNative/FabricUIManager.js | 1 - Libraries/ReactNative/I18nManager.js | 1 - Libraries/ReactNative/ReactFabricInternals.js | 1 - Libraries/ReactNative/UIManager.js | 1 - Libraries/ReactNative/UIManagerStatTracker.js | 1 - Libraries/ReactNative/YellowBox.js | 1 - Libraries/ReactNative/queryLayoutByID.js | 1 - Libraries/ReactNative/renderApplication.js | 1 - .../ReactNative/requireNativeComponent.js | 1 - Libraries/ReactNative/takeSnapshot.js | 1 - Libraries/ReactNative/verifyPropTypes.js | 1 - Libraries/Renderer/oss/ReactFabric-dev.js | 1 - Libraries/Renderer/oss/ReactFabric-prod.js | 1 - .../Renderer/oss/ReactNativeRenderer-dev.js | 1 - .../Renderer/oss/ReactNativeRenderer-prod.js | 1 - .../Renderer/shims/NativeMethodsMixin.js | 1 - Libraries/Renderer/shims/ReactDebugTool.js | 1 - Libraries/Renderer/shims/ReactFabric.js | 1 - Libraries/Renderer/shims/ReactNative.js | 1 - .../shims/ReactNativeComponentTree.js | 1 - Libraries/Renderer/shims/ReactNativeTypes.js | 1 - .../shims/ReactNativeViewConfigRegistry.js | 1 - Libraries/Renderer/shims/ReactPerf.js | 1 - Libraries/Renderer/shims/ReactTypes.js | 1 - .../shims/createReactNativeComponentClass.js | 1 - Libraries/Sample/Sample.android.js | 1 - Libraries/Sample/Sample.ios.js | 1 - Libraries/Settings/Settings.android.js | 1 - Libraries/Settings/Settings.ios.js | 1 - Libraries/Share/Share.js | 1 - Libraries/Storage/AsyncStorage.js | 1 - Libraries/StyleSheet/ColorPropType.js | 1 - Libraries/StyleSheet/EdgeInsetsPropType.js | 1 - Libraries/StyleSheet/LayoutPropTypes.js | 1 - Libraries/StyleSheet/PointPropType.js | 1 - Libraries/StyleSheet/StyleSheet.js | 1 - Libraries/StyleSheet/StyleSheetPropType.js | 1 - Libraries/StyleSheet/StyleSheetTypes.js | 1 - Libraries/StyleSheet/StyleSheetValidation.js | 1 - Libraries/StyleSheet/TransformPropTypes.js | 1 - Libraries/StyleSheet/flattenStyle.js | 1 - Libraries/StyleSheet/processColor.js | 1 - Libraries/StyleSheet/processTransform.js | 1 - .../StyleSheet/setNormalizedColorAlpha.js | 1 - Libraries/Text/Text.js | 1 - Libraries/Text/TextPropTypes.js | 1 - Libraries/Text/TextProps.js | 1 - Libraries/Text/TextStylePropTypes.js | 1 - Libraries/Text/TextUpdateTest.js | 1 - Libraries/Types/CoreEventTypes.js | 1 - Libraries/UTFSequence.js | 1 - Libraries/Utilities/BackAndroid.js | 1 - Libraries/Utilities/BackHandler.android.js | 1 - Libraries/Utilities/BackHandler.ios.js | 1 - Libraries/Utilities/DeviceInfo.js | 1 - Libraries/Utilities/Dimensions.js | 1 - Libraries/Utilities/HMRClient.js | 1 - Libraries/Utilities/HMRLoadingView.android.js | 1 - Libraries/Utilities/HMRLoadingView.ios.js | 1 - Libraries/Utilities/HeapCapture.js | 1 - Libraries/Utilities/JSDevSupportModule.js | 1 - Libraries/Utilities/MatrixMath.js | 1 - Libraries/Utilities/PerformanceLogger.js | 1 - Libraries/Utilities/PixelRatio.js | 1 - Libraries/Utilities/Platform.android.js | 1 - Libraries/Utilities/Platform.ios.js | 1 - Libraries/Utilities/PlatformOS.android.js | 1 - Libraries/Utilities/PlatformOS.ios.js | 1 - Libraries/Utilities/PolyfillFunctions.js | 1 - Libraries/Utilities/RCTLog.js | 1 - Libraries/Utilities/SceneTracker.js | 1 - Libraries/Utilities/binaryToBase64.js | 1 - Libraries/Utilities/buildStyleInterpolator.js | 1 - Libraries/Utilities/clamp.js | 1 - .../Utilities/createStrictShapeTypeChecker.js | 1 - .../deepFreezeAndThrowOnMutationInDev.js | 1 - .../Utilities/defineLazyObjectProperty.js | 1 - Libraries/Utilities/deprecatedPropType.js | 1 - Libraries/Utilities/differ/deepDiffer.js | 1 - Libraries/Utilities/differ/insetsDiffer.js | 1 - Libraries/Utilities/differ/matricesDiffer.js | 1 - Libraries/Utilities/differ/pointsDiffer.js | 1 - Libraries/Utilities/differ/sizesDiffer.js | 1 - Libraries/Utilities/dismissKeyboard.js | 1 - Libraries/Utilities/groupByEveryN.js | 1 - Libraries/Utilities/infoLog.js | 1 - Libraries/Utilities/logError.js | 1 - Libraries/Utilities/mapWithSeparator.js | 1 - Libraries/Utilities/mergeFast.js | 1 - Libraries/Utilities/mergeIntoFast.js | 1 - Libraries/Utilities/stringifySafe.js | 1 - Libraries/Utilities/truncate.js | 1 - Libraries/Vibration/Vibration.js | 1 - Libraries/Vibration/VibrationIOS.android.js | 1 - Libraries/Vibration/VibrationIOS.ios.js | 1 - Libraries/WebSocket/WebSocket.js | 1 - Libraries/WebSocket/WebSocketEvent.js | 1 - Libraries/WebSocket/WebSocketInterceptor.js | 1 - Libraries/polyfills/Array.es6.js | 1 - Libraries/polyfills/Array.prototype.es6.js | 1 - Libraries/polyfills/Number.es6.js | 1 - Libraries/polyfills/Object.es6.js | 1 - Libraries/polyfills/Object.es7.js | 1 - Libraries/polyfills/String.prototype.es6.js | 1 - Libraries/polyfills/babelHelpers.js | 1 - Libraries/polyfills/console.js | 1 - Libraries/polyfills/error-guard.js | 1 - Libraries/promiseRejectionIsError.js | 1 - Libraries/react-native/React.js | 1 - .../react-native-implementation.js | 1 - .../react-native/react-native-interface.js | 1 - Libraries/vendor/core/ErrorUtils.js | 1 - Libraries/vendor/core/Map.js | 1 - Libraries/vendor/core/Set.js | 1 - .../core/_shouldPolyfillES6Collection.js | 1 - Libraries/vendor/core/getObjectValues.js | 1 - Libraries/vendor/core/guid.js | 1 - Libraries/vendor/core/isEmpty.js | 1 - Libraries/vendor/core/merge.js | 3 +- Libraries/vendor/core/mergeHelpers.js | 1 - Libraries/vendor/core/mergeInto.js | 3 +- Libraries/vendor/core/toIterator.js | 1 - .../selection/DocumentSelectionState.js | 1 - .../vendor/emitter/EmitterSubscription.js | 1 - Libraries/vendor/emitter/EventEmitter.js | 1 - .../vendor/emitter/EventEmitterWithHolding.js | 1 - Libraries/vendor/emitter/EventHolder.js | 1 - Libraries/vendor/emitter/EventSubscription.js | 1 - .../vendor/emitter/EventSubscriptionVendor.js | 1 - Libraries/vendor/emitter/EventValidator.js | 1 - Libraries/vendor/emitter/mixInEventEmitter.js | 1 - .../RNTesterUnitTestsBundle.js | 1 - RNTester/js/ARTExample.js | 1 - .../js/AccessibilityAndroidExample.android.js | 1 - RNTester/js/AccessibilityIOSExample.js | 1 - RNTester/js/ActionSheetIOSExample.js | 1 - RNTester/js/ActivityIndicatorExample.js | 1 - RNTester/js/AlertExample.js | 1 - RNTester/js/AlertIOSExample.js | 1 - RNTester/js/AnimatedExample.js | 1 - RNTester/js/AnimatedGratuitousApp/AnExApp.js | 1 - .../js/AnimatedGratuitousApp/AnExBobble.js | 1 - .../js/AnimatedGratuitousApp/AnExChained.js | 1 - .../js/AnimatedGratuitousApp/AnExScroll.js | 1 - RNTester/js/AnimatedGratuitousApp/AnExSet.js | 1 - RNTester/js/AnimatedGratuitousApp/AnExTilt.js | 1 - RNTester/js/AppStateExample.js | 1 - RNTester/js/AssetScaledImageExample.js | 1 - RNTester/js/AsyncStorageExample.js | 1 - RNTester/js/BorderExample.js | 1 - RNTester/js/BoxShadowExample.js | 1 - RNTester/js/ButtonExample.js | 1 - RNTester/js/CameraRollExample.js | 1 - RNTester/js/CameraRollView.js | 1 - RNTester/js/CheckBoxExample.js | 1 - RNTester/js/ClipboardExample.js | 1 - RNTester/js/DatePickerAndroidExample.js | 1 - RNTester/js/DatePickerIOSExample.js | 1 - RNTester/js/DimensionsExample.js | 1 - RNTester/js/ExampleTypes.js | 1 - RNTester/js/FlatListExample.js | 1 - RNTester/js/GeolocationExample.js | 1 - RNTester/js/ImageCapInsetsExample.js | 1 - RNTester/js/ImageEditingExample.js | 1 - RNTester/js/ImageExample.js | 1 - RNTester/js/InputAccessoryViewExample.js | 1 - RNTester/js/KeyboardAvoidingViewExample.js | 1 - RNTester/js/LayoutAnimationExample.js | 1 - RNTester/js/LayoutEventsExample.js | 1 - RNTester/js/LayoutExample.js | 1 - RNTester/js/LinkingExample.js | 1 - RNTester/js/ListExampleShared.js | 1 - RNTester/js/ListViewExample.js | 1 - RNTester/js/ListViewGridLayoutExample.js | 1 - RNTester/js/ListViewPagingExample.js | 1 - RNTester/js/MaskedViewExample.js | 1 - RNTester/js/ModalExample.js | 1 - RNTester/js/MultiColumnExample.js | 1 - RNTester/js/NativeAnimationsExample.js | 1 - RNTester/js/NavigatorIOSBarStyleExample.js | 1 - RNTester/js/NavigatorIOSColorsExample.js | 1 - RNTester/js/NavigatorIOSExample.js | 1 - RNTester/js/NetInfoExample.js | 1 - RNTester/js/OrientationChangeExample.js | 1 - RNTester/js/PanResponderExample.js | 1 - .../js/PermissionsExampleAndroid.android.js | 1 - RNTester/js/PickerExample.js | 1 - RNTester/js/PickerIOSExample.js | 1 - RNTester/js/PointerEventsExample.js | 1 - .../js/ProgressBarAndroidExample.android.js | 1 - RNTester/js/ProgressViewIOSExample.js | 1 - RNTester/js/PushNotificationIOSExample.js | 1 - RNTester/js/RCTRootViewIOSExample.js | 1 - RNTester/js/RNTesterActions.js | 1 - RNTester/js/RNTesterApp.android.js | 1 - RNTester/js/RNTesterApp.ios.js | 1 - RNTester/js/RNTesterBlock.js | 1 - RNTester/js/RNTesterButton.js | 1 - RNTester/js/RNTesterExampleContainer.js | 1 - RNTester/js/RNTesterExampleList.js | 1 - RNTester/js/RNTesterList.android.js | 1 - RNTester/js/RNTesterList.ios.js | 1 - RNTester/js/RNTesterNavigationReducer.js | 1 - RNTester/js/RNTesterPage.js | 1 - RNTester/js/RNTesterSettingSwitchRow.js | 1 - RNTester/js/RNTesterStatePersister.js | 1 - RNTester/js/RNTesterTitle.js | 1 - RNTester/js/RTLExample.js | 1 - RNTester/js/RefreshControlExample.js | 1 - .../js/RootViewSizeFlexibilityExampleApp.js | 1 - RNTester/js/SafeAreaViewExample.js | 1 - RNTester/js/ScrollViewExample.js | 1 - RNTester/js/ScrollViewSimpleExample.js | 1 - RNTester/js/SectionListExample.js | 1 - RNTester/js/SegmentedControlIOSExample.js | 1 - RNTester/js/SetPropertiesExampleApp.js | 1 - RNTester/js/ShareExample.js | 1 - RNTester/js/SliderExample.js | 1 - RNTester/js/SnapshotExample.js | 1 - RNTester/js/StatusBarExample.js | 1 - RNTester/js/SwipeableFlatListExample.js | 1 - RNTester/js/SwipeableListViewExample.js | 1 - RNTester/js/SwitchExample.js | 1 - RNTester/js/TVEventHandlerExample.js | 1 - RNTester/js/TabBarIOSBarStyleExample.js | 1 - RNTester/js/TabBarIOSExample.js | 1 - RNTester/js/TextExample.android.js | 1 - RNTester/js/TextExample.ios.js | 1 - RNTester/js/TextInputExample.android.js | 1 - RNTester/js/TextInputExample.ios.js | 1 - RNTester/js/TimePickerAndroidExample.js | 1 - RNTester/js/TimerExample.js | 1 - RNTester/js/ToastAndroidExample.android.js | 1 - RNTester/js/ToolbarAndroidExample.android.js | 1 - RNTester/js/ToolbarAndroidExample.ios.js | 1 - RNTester/js/TouchableExample.js | 1 - RNTester/js/TransformExample.js | 1 - RNTester/js/TransparentHitTestExample.js | 1 - RNTester/js/URIActionMap.js | 1 - RNTester/js/VibrationExample.js | 1 - RNTester/js/VibrationIOSExample.js | 1 - RNTester/js/ViewExample.js | 1 - .../js/ViewPagerAndroidExample.android.js | 1 - RNTester/js/WebSocketExample.js | 1 - RNTester/js/WebViewExample.js | 1 - RNTester/js/XHRExample.js | 1 - RNTester/js/XHRExampleBinaryUpload.js | 1 - RNTester/js/XHRExampleCookies.js | 1 - RNTester/js/XHRExampleDownload.js | 1 - RNTester/js/XHRExampleFetch.js | 1 - RNTester/js/XHRExampleFormData.js | 1 - RNTester/js/XHRExampleHeaders.js | 1 - RNTester/js/XHRExampleOnTimeOut.js | 1 - RNTester/js/createExamplePage.js | 1 - RNTester/js/http_test_server.js | 1 - RNTester/js/websocket_test_server.js | 1 - ReactAndroid/src/androidTest/js/Asserts.js | 1 - .../js/CatalystRootViewTestModule.js | 1 - .../js/DatePickerDialogTestModule.js | 1 - .../src/androidTest/js/InitialPropsTestApp.js | 1 - .../src/androidTest/js/JSResponderTestApp.js | 1 - .../src/androidTest/js/LayoutEventsTestApp.js | 1 - .../androidTest/js/MeasureLayoutTestModule.js | 1 - .../js/MultitouchHandlingTestAppModule.js | 1 - .../src/androidTest/js/NativeIdTestModule.js | 1 - .../androidTest/js/PickerAndroidTestModule.js | 1 - .../androidTest/js/ProgressBarTestModule.js | 1 - .../androidTest/js/ScrollViewTestModule.js | 1 - .../src/androidTest/js/ShareTestModule.js | 1 - .../js/SubviewsClippingTestModule.js | 1 - .../js/SwipeRefreshLayoutTestModule.js | 1 - ReactAndroid/src/androidTest/js/TestBundle.js | 1 - .../src/androidTest/js/TestIdTestModule.js | 1 - .../src/androidTest/js/TestJSLocaleModule.js | 1 - .../js/TestJSToJavaParametersModule.js | 1 - .../js/TestJavaToJSArgumentsModule.js | 1 - .../js/TestJavaToJSReturnValuesModule.js | 1 - .../src/androidTest/js/TextInputTestModule.js | 1 - .../js/TimePickerDialogTestModule.js | 1 - .../js/TouchBubblingTestAppModule.js | 1 - .../src/androidTest/js/UIManagerTestModule.js | 1 - .../androidTest/js/ViewRenderingTestModule.js | 1 - jest/hasteImpl.js | 75 +++++++++++++++++++ local-cli/core/index.js | 2 + package.json | 1 + 543 files changed, 97 insertions(+), 541 deletions(-) create mode 100644 jest/hasteImpl.js diff --git a/.flowconfig b/.flowconfig index 386c9389a49803..cd3dd707a7223b 100644 --- a/.flowconfig +++ b/.flowconfig @@ -36,6 +36,23 @@ flow-github/ emoji=true module.system=haste +module.system.haste.use_name_reducers=true +# keep the following in sync with server/haste/hasteImpl.js +# get basename +module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' +# strip .js or .js.flow suffix +module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' +# strip .ios suffix +module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' +module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' +module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' +module.system.haste.paths.blacklist=.*/__tests__/.* +module.system.haste.paths.blacklist=.*/__mocks__/.* +module.system.haste.paths.blacklist=/Libraries/Animated/src/polyfills/.* +module.system.haste.paths.whitelist=/Libraries/.* +module.system.haste.paths.whitelist=/RNTester/.* +module.system.haste.paths.whitelist=/IntegrationTests/.* +module.system.haste.paths.blacklist=/Libraries/Animated/src/polyfills/.* munge_underscores=true diff --git a/IntegrationTests/AccessibilityManagerTest.js b/IntegrationTests/AccessibilityManagerTest.js index 74dbe9ba19edab..4287094d375905 100644 --- a/IntegrationTests/AccessibilityManagerTest.js +++ b/IntegrationTests/AccessibilityManagerTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AccessibilityManagerTest */ 'use strict'; diff --git a/IntegrationTests/AppEventsTest.js b/IntegrationTests/AppEventsTest.js index ae061e167b86d8..af04819b38fd67 100644 --- a/IntegrationTests/AppEventsTest.js +++ b/IntegrationTests/AppEventsTest.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AppEventsTest * @flow */ 'use strict'; diff --git a/IntegrationTests/AsyncStorageTest.js b/IntegrationTests/AsyncStorageTest.js index 3ce0265dd8ceb0..2d951dab3984c5 100644 --- a/IntegrationTests/AsyncStorageTest.js +++ b/IntegrationTests/AsyncStorageTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AsyncStorageTest */ 'use strict'; diff --git a/IntegrationTests/ImageCachePolicyTest.js b/IntegrationTests/ImageCachePolicyTest.js index d6fa4f544a1bf9..a095b4ec99128a 100644 --- a/IntegrationTests/ImageCachePolicyTest.js +++ b/IntegrationTests/ImageCachePolicyTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ImageCachePolicyTest */ 'use strict'; diff --git a/IntegrationTests/ImageSnapshotTest.js b/IntegrationTests/ImageSnapshotTest.js index 8ba7734286d673..3d024d569da669 100644 --- a/IntegrationTests/ImageSnapshotTest.js +++ b/IntegrationTests/ImageSnapshotTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ImageSnapshotTest */ 'use strict'; diff --git a/IntegrationTests/IntegrationTestHarnessTest.js b/IntegrationTests/IntegrationTestHarnessTest.js index 6291c915d68643..9b34065b8fd6d4 100644 --- a/IntegrationTests/IntegrationTestHarnessTest.js +++ b/IntegrationTests/IntegrationTestHarnessTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule IntegrationTestHarnessTest */ 'use strict'; diff --git a/IntegrationTests/IntegrationTestsApp.js b/IntegrationTests/IntegrationTestsApp.js index 6b255c2befe54a..62f6fa83057b3c 100644 --- a/IntegrationTests/IntegrationTestsApp.js +++ b/IntegrationTests/IntegrationTestsApp.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule IntegrationTestsApp */ 'use strict'; diff --git a/IntegrationTests/LayoutEventsTest.js b/IntegrationTests/LayoutEventsTest.js index 769ff98f6be8b5..31dd1839c86cfc 100644 --- a/IntegrationTests/LayoutEventsTest.js +++ b/IntegrationTests/LayoutEventsTest.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule LayoutEventsTest * @flow */ 'use strict'; diff --git a/IntegrationTests/LoggingTestModule.js b/IntegrationTests/LoggingTestModule.js index 25b409353ce1d4..df2b0e59b52414 100644 --- a/IntegrationTests/LoggingTestModule.js +++ b/IntegrationTests/LoggingTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule LoggingTestModule */ 'use strict'; diff --git a/IntegrationTests/PromiseTest.js b/IntegrationTests/PromiseTest.js index f6a81e3d6d5d16..21005576d678d0 100644 --- a/IntegrationTests/PromiseTest.js +++ b/IntegrationTests/PromiseTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule PromiseTest */ 'use strict'; diff --git a/IntegrationTests/PropertiesUpdateTest.js b/IntegrationTests/PropertiesUpdateTest.js index 623dc82c8ee94b..3d93d9d0ac238f 100644 --- a/IntegrationTests/PropertiesUpdateTest.js +++ b/IntegrationTests/PropertiesUpdateTest.js @@ -3,7 +3,6 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * @providesModule PropertiesUpdateTest */ 'use strict'; diff --git a/IntegrationTests/RCTRootViewIntegrationTestApp.js b/IntegrationTests/RCTRootViewIntegrationTestApp.js index a97873d2c3224e..aef56f97599220 100644 --- a/IntegrationTests/RCTRootViewIntegrationTestApp.js +++ b/IntegrationTests/RCTRootViewIntegrationTestApp.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTRootViewIntegrationTestApp */ 'use strict'; diff --git a/IntegrationTests/ReactContentSizeUpdateTest.js b/IntegrationTests/ReactContentSizeUpdateTest.js index c5f5ae80c246b0..dda42b4df9c875 100644 --- a/IntegrationTests/ReactContentSizeUpdateTest.js +++ b/IntegrationTests/ReactContentSizeUpdateTest.js @@ -3,7 +3,6 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * @providesModule ReactContentSizeUpdateTest */ 'use strict'; diff --git a/IntegrationTests/SimpleSnapshotTest.js b/IntegrationTests/SimpleSnapshotTest.js index 1c0be2a431d469..dd8bf9ac8731e7 100644 --- a/IntegrationTests/SimpleSnapshotTest.js +++ b/IntegrationTests/SimpleSnapshotTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SimpleSnapshotTest */ 'use strict'; diff --git a/IntegrationTests/SizeFlexibilityUpdateTest.js b/IntegrationTests/SizeFlexibilityUpdateTest.js index 679694a0d631ce..ce0be9e6e2229d 100644 --- a/IntegrationTests/SizeFlexibilityUpdateTest.js +++ b/IntegrationTests/SizeFlexibilityUpdateTest.js @@ -3,7 +3,6 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * @providesModule SizeFlexibilityUpdateTest */ 'use strict'; diff --git a/IntegrationTests/SyncMethodTest.js b/IntegrationTests/SyncMethodTest.js index 6318eaa4f14282..f61f52b3610600 100644 --- a/IntegrationTests/SyncMethodTest.js +++ b/IntegrationTests/SyncMethodTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SyncMethodTest */ 'use strict'; diff --git a/IntegrationTests/TimersTest.js b/IntegrationTests/TimersTest.js index 23da99dc6edbdc..f40742c9a8b008 100644 --- a/IntegrationTests/TimersTest.js +++ b/IntegrationTests/TimersTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TimersTest */ 'use strict'; diff --git a/IntegrationTests/WebSocketTest.js b/IntegrationTests/WebSocketTest.js index 6e459f913babc3..de8428f79e6acb 100644 --- a/IntegrationTests/WebSocketTest.js +++ b/IntegrationTests/WebSocketTest.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule WebSocketTest */ 'use strict'; diff --git a/IntegrationTests/WebViewTest.js b/IntegrationTests/WebViewTest.js index a41e244b58be3a..499e1c095400aa 100644 --- a/IntegrationTests/WebViewTest.js +++ b/IntegrationTests/WebViewTest.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WebViewTest */ 'use strict'; diff --git a/IntegrationTests/websocket_integration_test_server.js b/IntegrationTests/websocket_integration_test_server.js index e338d85ae3b89d..763668f3275da8 100755 --- a/IntegrationTests/websocket_integration_test_server.js +++ b/IntegrationTests/websocket_integration_test_server.js @@ -7,7 +7,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule websocket_integration_test_server */ 'use strict'; diff --git a/Libraries/ART/ARTSerializablePath.js b/Libraries/ART/ARTSerializablePath.js index 7f52bc6540eda2..08c4530222dff3 100644 --- a/Libraries/ART/ARTSerializablePath.js +++ b/Libraries/ART/ARTSerializablePath.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ARTSerializablePath */ 'use strict'; diff --git a/Libraries/ART/ReactNativeART.js b/Libraries/ART/ReactNativeART.js index 7d9f1b59063459..9b0a725cd140ec 100644 --- a/Libraries/ART/ReactNativeART.js +++ b/Libraries/ART/ReactNativeART.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactNativeART */ 'use strict'; diff --git a/Libraries/ActionSheetIOS/ActionSheetIOS.js b/Libraries/ActionSheetIOS/ActionSheetIOS.js index 23db7680ab34e1..b135a23e5fc998 100644 --- a/Libraries/ActionSheetIOS/ActionSheetIOS.js +++ b/Libraries/ActionSheetIOS/ActionSheetIOS.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ActionSheetIOS * @flow * @format */ diff --git a/Libraries/Alert/Alert.js b/Libraries/Alert/Alert.js index bcb51714440444..ed78335043c53e 100644 --- a/Libraries/Alert/Alert.js +++ b/Libraries/Alert/Alert.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Alert * @flow */ 'use strict'; diff --git a/Libraries/Alert/AlertIOS.js b/Libraries/Alert/AlertIOS.js index b254406462399e..eb15d1cdee0313 100644 --- a/Libraries/Alert/AlertIOS.js +++ b/Libraries/Alert/AlertIOS.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AlertIOS * @flow * @jsdoc */ diff --git a/Libraries/Alert/RCTAlertManager.android.js b/Libraries/Alert/RCTAlertManager.android.js index f819b55e1b3d1f..25297171c4ce46 100644 --- a/Libraries/Alert/RCTAlertManager.android.js +++ b/Libraries/Alert/RCTAlertManager.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTAlertManager */ 'use strict'; diff --git a/Libraries/Alert/RCTAlertManager.ios.js b/Libraries/Alert/RCTAlertManager.ios.js index 3aef740abed4d5..220b72c3d91ded 100644 --- a/Libraries/Alert/RCTAlertManager.ios.js +++ b/Libraries/Alert/RCTAlertManager.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTAlertManager * @flow */ 'use strict'; diff --git a/Libraries/Animated/release/gulpfile.js b/Libraries/Animated/release/gulpfile.js index b454ea790c2731..f5e87b4c998709 100644 --- a/Libraries/Animated/release/gulpfile.js +++ b/Libraries/Animated/release/gulpfile.js @@ -3,7 +3,6 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * @providesModule gulpfile */ 'use strict'; diff --git a/Libraries/Animated/src/Animated.js b/Libraries/Animated/src/Animated.js index 32ec9ff8046954..f25d2a0796a1ad 100644 --- a/Libraries/Animated/src/Animated.js +++ b/Libraries/Animated/src/Animated.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Animated * @flow * @format */ diff --git a/Libraries/Animated/src/AnimatedEvent.js b/Libraries/Animated/src/AnimatedEvent.js index f9300feb4e79ea..084632737c661d 100644 --- a/Libraries/Animated/src/AnimatedEvent.js +++ b/Libraries/Animated/src/AnimatedEvent.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedEvent * @flow * @format */ diff --git a/Libraries/Animated/src/AnimatedImplementation.js b/Libraries/Animated/src/AnimatedImplementation.js index 9291a7956531e3..2c1ce431d10686 100644 --- a/Libraries/Animated/src/AnimatedImplementation.js +++ b/Libraries/Animated/src/AnimatedImplementation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedImplementation * @flow * @format * @preventMunge diff --git a/Libraries/Animated/src/AnimatedWeb.js b/Libraries/Animated/src/AnimatedWeb.js index f3af397b740931..a22bd075ec51ce 100644 --- a/Libraries/Animated/src/AnimatedWeb.js +++ b/Libraries/Animated/src/AnimatedWeb.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AnimatedWeb */ 'use strict'; diff --git a/Libraries/Animated/src/Easing.js b/Libraries/Animated/src/Easing.js index f5c00fd813f7dc..5fb4478eef63f7 100644 --- a/Libraries/Animated/src/Easing.js +++ b/Libraries/Animated/src/Easing.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Easing * @flow */ 'use strict'; diff --git a/Libraries/Animated/src/NativeAnimatedHelper.js b/Libraries/Animated/src/NativeAnimatedHelper.js index 68bf4563fa9597..61b2bde64a4d75 100644 --- a/Libraries/Animated/src/NativeAnimatedHelper.js +++ b/Libraries/Animated/src/NativeAnimatedHelper.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NativeAnimatedHelper * @flow * @format */ diff --git a/Libraries/Animated/src/SpringConfig.js b/Libraries/Animated/src/SpringConfig.js index 5b476f6723469e..6227c28301b4e3 100644 --- a/Libraries/Animated/src/SpringConfig.js +++ b/Libraries/Animated/src/SpringConfig.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SpringConfig * @flow */ diff --git a/Libraries/Animated/src/animations/Animation.js b/Libraries/Animated/src/animations/Animation.js index 000e44d77f9bc8..b4e38016dba557 100644 --- a/Libraries/Animated/src/animations/Animation.js +++ b/Libraries/Animated/src/animations/Animation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Animation * @flow * @format */ diff --git a/Libraries/Animated/src/animations/DecayAnimation.js b/Libraries/Animated/src/animations/DecayAnimation.js index 7df0e104b72f48..78f6e2b7cc8524 100644 --- a/Libraries/Animated/src/animations/DecayAnimation.js +++ b/Libraries/Animated/src/animations/DecayAnimation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DecayAnimation * @flow * @format */ diff --git a/Libraries/Animated/src/animations/SpringAnimation.js b/Libraries/Animated/src/animations/SpringAnimation.js index 8b6f96fe67bdb6..2bc610eed752b7 100644 --- a/Libraries/Animated/src/animations/SpringAnimation.js +++ b/Libraries/Animated/src/animations/SpringAnimation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SpringAnimation * @flow * @format */ diff --git a/Libraries/Animated/src/animations/TimingAnimation.js b/Libraries/Animated/src/animations/TimingAnimation.js index 1b6a4ae94cd9b0..694a52c0a39f7b 100644 --- a/Libraries/Animated/src/animations/TimingAnimation.js +++ b/Libraries/Animated/src/animations/TimingAnimation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TimingAnimation * @flow * @format */ diff --git a/Libraries/Animated/src/bezier.js b/Libraries/Animated/src/bezier.js index 2bd594930064c9..9aa777a124931a 100644 --- a/Libraries/Animated/src/bezier.js +++ b/Libraries/Animated/src/bezier.js @@ -3,7 +3,6 @@ * https://github.com/gre/bezier-easing * * @copyright 2014-2015 Gaƫtan Renaudeau. MIT License. - * @providesModule bezier * @noflow */ 'use strict'; diff --git a/Libraries/Animated/src/createAnimatedComponent.js b/Libraries/Animated/src/createAnimatedComponent.js index 357ee0bd59bcd1..d876af645c4e0c 100644 --- a/Libraries/Animated/src/createAnimatedComponent.js +++ b/Libraries/Animated/src/createAnimatedComponent.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule createAnimatedComponent * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedAddition.js b/Libraries/Animated/src/nodes/AnimatedAddition.js index 2e3453965565f0..60713da500213c 100644 --- a/Libraries/Animated/src/nodes/AnimatedAddition.js +++ b/Libraries/Animated/src/nodes/AnimatedAddition.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedAddition * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedDiffClamp.js b/Libraries/Animated/src/nodes/AnimatedDiffClamp.js index 0f64e75c723c06..4219eccfb377ff 100644 --- a/Libraries/Animated/src/nodes/AnimatedDiffClamp.js +++ b/Libraries/Animated/src/nodes/AnimatedDiffClamp.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedDiffClamp * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedDivision.js b/Libraries/Animated/src/nodes/AnimatedDivision.js index 606e63937b9a86..3498d322211f64 100644 --- a/Libraries/Animated/src/nodes/AnimatedDivision.js +++ b/Libraries/Animated/src/nodes/AnimatedDivision.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedDivision * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedInterpolation.js b/Libraries/Animated/src/nodes/AnimatedInterpolation.js index bc7b1365879db8..e8f9823c20e4f4 100644 --- a/Libraries/Animated/src/nodes/AnimatedInterpolation.js +++ b/Libraries/Animated/src/nodes/AnimatedInterpolation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedInterpolation * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedModulo.js b/Libraries/Animated/src/nodes/AnimatedModulo.js index 24cd3f0b077c12..6699ded50a658a 100644 --- a/Libraries/Animated/src/nodes/AnimatedModulo.js +++ b/Libraries/Animated/src/nodes/AnimatedModulo.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedModulo * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedMultiplication.js b/Libraries/Animated/src/nodes/AnimatedMultiplication.js index dc01f7f17127f1..889f530c76baee 100644 --- a/Libraries/Animated/src/nodes/AnimatedMultiplication.js +++ b/Libraries/Animated/src/nodes/AnimatedMultiplication.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedMultiplication * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedNode.js b/Libraries/Animated/src/nodes/AnimatedNode.js index e75cfaf0e5c8fb..34e010a62f8c45 100644 --- a/Libraries/Animated/src/nodes/AnimatedNode.js +++ b/Libraries/Animated/src/nodes/AnimatedNode.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedNode * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedProps.js b/Libraries/Animated/src/nodes/AnimatedProps.js index 78cd11189edfa7..75c9c25487135a 100644 --- a/Libraries/Animated/src/nodes/AnimatedProps.js +++ b/Libraries/Animated/src/nodes/AnimatedProps.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedProps * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedStyle.js b/Libraries/Animated/src/nodes/AnimatedStyle.js index c7bb24e3b42b14..990b960a336805 100644 --- a/Libraries/Animated/src/nodes/AnimatedStyle.js +++ b/Libraries/Animated/src/nodes/AnimatedStyle.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedStyle * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedSubtraction.js b/Libraries/Animated/src/nodes/AnimatedSubtraction.js index 610fc226eb65a8..3fe8bbb6920703 100644 --- a/Libraries/Animated/src/nodes/AnimatedSubtraction.js +++ b/Libraries/Animated/src/nodes/AnimatedSubtraction.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedSubtraction * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedTracking.js b/Libraries/Animated/src/nodes/AnimatedTracking.js index cf20d6e8bbf3fc..699da167c7b2c7 100644 --- a/Libraries/Animated/src/nodes/AnimatedTracking.js +++ b/Libraries/Animated/src/nodes/AnimatedTracking.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedTracking * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedTransform.js b/Libraries/Animated/src/nodes/AnimatedTransform.js index 48f82f9fe3443d..1706923394ec96 100644 --- a/Libraries/Animated/src/nodes/AnimatedTransform.js +++ b/Libraries/Animated/src/nodes/AnimatedTransform.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedTransform * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedValue.js b/Libraries/Animated/src/nodes/AnimatedValue.js index 9d06c751cefbea..a3fb3a325b838e 100644 --- a/Libraries/Animated/src/nodes/AnimatedValue.js +++ b/Libraries/Animated/src/nodes/AnimatedValue.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedValue * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedValueXY.js b/Libraries/Animated/src/nodes/AnimatedValueXY.js index 52c207c0f42ffe..3de5bbaf9d3a04 100644 --- a/Libraries/Animated/src/nodes/AnimatedValueXY.js +++ b/Libraries/Animated/src/nodes/AnimatedValueXY.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedValueXY * @flow * @format */ diff --git a/Libraries/Animated/src/nodes/AnimatedWithChildren.js b/Libraries/Animated/src/nodes/AnimatedWithChildren.js index 1f58cd834e165e..9cd5fb49e14070 100644 --- a/Libraries/Animated/src/nodes/AnimatedWithChildren.js +++ b/Libraries/Animated/src/nodes/AnimatedWithChildren.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnimatedWithChildren * @flow * @format */ diff --git a/Libraries/AppState/AppState.js b/Libraries/AppState/AppState.js index f2faa9480d2b57..ecb106bb24e863 100644 --- a/Libraries/AppState/AppState.js +++ b/Libraries/AppState/AppState.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AppState * @flow */ 'use strict'; diff --git a/Libraries/BatchedBridge/BatchedBridge.js b/Libraries/BatchedBridge/BatchedBridge.js index 516c2ac1e22339..bc66ae32f9f4c6 100644 --- a/Libraries/BatchedBridge/BatchedBridge.js +++ b/Libraries/BatchedBridge/BatchedBridge.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BatchedBridge * @flow */ 'use strict'; diff --git a/Libraries/BatchedBridge/MessageQueue.js b/Libraries/BatchedBridge/MessageQueue.js index ef689333917db1..5c2338d033e833 100644 --- a/Libraries/BatchedBridge/MessageQueue.js +++ b/Libraries/BatchedBridge/MessageQueue.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MessageQueue * @flow * @format */ diff --git a/Libraries/BatchedBridge/NativeModules.js b/Libraries/BatchedBridge/NativeModules.js index 324c4f6e995bdd..a5f9911499956e 100644 --- a/Libraries/BatchedBridge/NativeModules.js +++ b/Libraries/BatchedBridge/NativeModules.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NativeModules * @flow */ 'use strict'; diff --git a/Libraries/Blob/Blob.js b/Libraries/Blob/Blob.js index eca13a6a309e8f..0e36b07f7f4e5a 100644 --- a/Libraries/Blob/Blob.js +++ b/Libraries/Blob/Blob.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Blob * @flow * @format */ diff --git a/Libraries/Blob/BlobManager.js b/Libraries/Blob/BlobManager.js index dd7cc00eabc652..b08082e35e1580 100644 --- a/Libraries/Blob/BlobManager.js +++ b/Libraries/Blob/BlobManager.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BlobManager * @flow * @format */ diff --git a/Libraries/Blob/BlobRegistry.js b/Libraries/Blob/BlobRegistry.js index 330c1659ae4235..d78a9d26656e07 100644 --- a/Libraries/Blob/BlobRegistry.js +++ b/Libraries/Blob/BlobRegistry.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BlobRegistry * @flow * @format */ diff --git a/Libraries/Blob/BlobTypes.js b/Libraries/Blob/BlobTypes.js index 8e895d9006108f..b03922f24f32c5 100644 --- a/Libraries/Blob/BlobTypes.js +++ b/Libraries/Blob/BlobTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BlobTypes * @flow * @format */ diff --git a/Libraries/Blob/File.js b/Libraries/Blob/File.js index f5b03d85f7f178..2f57183cdb3f19 100644 --- a/Libraries/Blob/File.js +++ b/Libraries/Blob/File.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule File * @flow * @format */ diff --git a/Libraries/Blob/FileReader.js b/Libraries/Blob/FileReader.js index b3ed89dc9318e6..309e4577a455f8 100644 --- a/Libraries/Blob/FileReader.js +++ b/Libraries/Blob/FileReader.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule FileReader * @flow * @format */ diff --git a/Libraries/Blob/URL.js b/Libraries/Blob/URL.js index 7349f7752f268c..de73affac2af1b 100644 --- a/Libraries/Blob/URL.js +++ b/Libraries/Blob/URL.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule URL * @format * @flow */ diff --git a/Libraries/BugReporting/BugReporting.js b/Libraries/BugReporting/BugReporting.js index 11a59e6d5222ca..f196276c36fae6 100644 --- a/Libraries/BugReporting/BugReporting.js +++ b/Libraries/BugReporting/BugReporting.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BugReporting * @flow */ 'use strict'; diff --git a/Libraries/BugReporting/dumpReactTree.js b/Libraries/BugReporting/dumpReactTree.js index f8a137ceff7f2c..6ffe64244e50f9 100644 --- a/Libraries/BugReporting/dumpReactTree.js +++ b/Libraries/BugReporting/dumpReactTree.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule dumpReactTree * @flow */ 'use strict'; diff --git a/Libraries/BugReporting/getReactData.js b/Libraries/BugReporting/getReactData.js index 53c8fb6ccfc110..3f7a1a903d6675 100644 --- a/Libraries/BugReporting/getReactData.js +++ b/Libraries/BugReporting/getReactData.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule getReactData * @flow */ 'use strict'; diff --git a/Libraries/CameraRoll/CameraRoll.js b/Libraries/CameraRoll/CameraRoll.js index 3bc48664f35db1..f2a4f65aa80933 100644 --- a/Libraries/CameraRoll/CameraRoll.js +++ b/Libraries/CameraRoll/CameraRoll.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule CameraRoll * @flow * @format */ diff --git a/Libraries/CameraRoll/ImagePickerIOS.js b/Libraries/CameraRoll/ImagePickerIOS.js index 24d1309d2e1b91..fe50825da14222 100644 --- a/Libraries/CameraRoll/ImagePickerIOS.js +++ b/Libraries/CameraRoll/ImagePickerIOS.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImagePickerIOS * @flow */ 'use strict'; diff --git a/Libraries/Color/normalizeColor.js b/Libraries/Color/normalizeColor.js index 09c2e1525d5473..de62e68dad0a06 100755 --- a/Libraries/Color/normalizeColor.js +++ b/Libraries/Color/normalizeColor.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule normalizeColor * @flow */ /* eslint no-bitwise: 0 */ diff --git a/Libraries/Components/AccessibilityInfo/AccessibilityInfo.android.js b/Libraries/Components/AccessibilityInfo/AccessibilityInfo.android.js index afc4abe1533a72..232370b5cbf827 100644 --- a/Libraries/Components/AccessibilityInfo/AccessibilityInfo.android.js +++ b/Libraries/Components/AccessibilityInfo/AccessibilityInfo.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AccessibilityInfo * @flow */ 'use strict'; diff --git a/Libraries/Components/AccessibilityInfo/AccessibilityInfo.ios.js b/Libraries/Components/AccessibilityInfo/AccessibilityInfo.ios.js index 6e39b5e477d5fb..d1b36494e99acb 100644 --- a/Libraries/Components/AccessibilityInfo/AccessibilityInfo.ios.js +++ b/Libraries/Components/AccessibilityInfo/AccessibilityInfo.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AccessibilityInfo * @flow */ 'use strict'; diff --git a/Libraries/Components/ActivityIndicator/ActivityIndicator.js b/Libraries/Components/ActivityIndicator/ActivityIndicator.js index a520b657904738..9692cbf8073e11 100644 --- a/Libraries/Components/ActivityIndicator/ActivityIndicator.js +++ b/Libraries/Components/ActivityIndicator/ActivityIndicator.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ActivityIndicator * @flow */ 'use strict'; diff --git a/Libraries/Components/AppleTV/TVEventHandler.js b/Libraries/Components/AppleTV/TVEventHandler.js index 363d50d903d876..303e07617f9825 100644 --- a/Libraries/Components/AppleTV/TVEventHandler.js +++ b/Libraries/Components/AppleTV/TVEventHandler.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TVEventHandler * @flow */ 'use strict'; diff --git a/Libraries/Components/AppleTV/TVViewPropTypes.js b/Libraries/Components/AppleTV/TVViewPropTypes.js index 2b6a6d4e53dcd1..831d5c3992d746 100644 --- a/Libraries/Components/AppleTV/TVViewPropTypes.js +++ b/Libraries/Components/AppleTV/TVViewPropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TVViewPropTypes * @flow */ 'use strict'; diff --git a/Libraries/Components/Button.js b/Libraries/Components/Button.js index 51ca2aa636c359..2956b1a1245b52 100644 --- a/Libraries/Components/Button.js +++ b/Libraries/Components/Button.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Button * @flow */ 'use strict'; diff --git a/Libraries/Components/CheckBox/CheckBox.android.js b/Libraries/Components/CheckBox/CheckBox.android.js index e4a14c6f73dafb..5417a0e811debe 100644 --- a/Libraries/Components/CheckBox/CheckBox.android.js +++ b/Libraries/Components/CheckBox/CheckBox.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule CheckBox * @flow * @format */ diff --git a/Libraries/Components/CheckBox/CheckBox.ios.js b/Libraries/Components/CheckBox/CheckBox.ios.js index 386255541d47ec..5fda2cd5ec2bce 100644 --- a/Libraries/Components/CheckBox/CheckBox.ios.js +++ b/Libraries/Components/CheckBox/CheckBox.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule CheckBox * @flow * @format */ diff --git a/Libraries/Components/Clipboard/Clipboard.js b/Libraries/Components/Clipboard/Clipboard.js index 80d067cce257c0..0bf3b470774c1c 100644 --- a/Libraries/Components/Clipboard/Clipboard.js +++ b/Libraries/Components/Clipboard/Clipboard.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Clipboard * @flow */ 'use strict'; diff --git a/Libraries/Components/DatePicker/DatePickerIOS.android.js b/Libraries/Components/DatePicker/DatePickerIOS.android.js index 2a0d8998bfb556..d2053808699cad 100644 --- a/Libraries/Components/DatePicker/DatePickerIOS.android.js +++ b/Libraries/Components/DatePicker/DatePickerIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DatePickerIOS */ 'use strict'; diff --git a/Libraries/Components/DatePicker/DatePickerIOS.ios.js b/Libraries/Components/DatePicker/DatePickerIOS.ios.js index b08bf8f93412bf..41b0a88969ab37 100644 --- a/Libraries/Components/DatePicker/DatePickerIOS.ios.js +++ b/Libraries/Components/DatePicker/DatePickerIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DatePickerIOS * @flow * * This is a controlled component version of RCTDatePickerIOS diff --git a/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js b/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js index 750ed921f0684b..23691ce10882de 100644 --- a/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js +++ b/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DatePickerAndroid * @flow */ 'use strict'; diff --git a/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js b/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js index a23602128078f8..4895dfd8286d18 100644 --- a/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js +++ b/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DatePickerAndroid * @flow */ 'use strict'; diff --git a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js index 6a20d894f4f4c4..f9d84442448b80 100644 --- a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +++ b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DrawerLayoutAndroid */ 'use strict'; diff --git a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js index d5b950c5b41ef0..ebd42dd5b18bb0 100644 --- a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js +++ b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DrawerLayoutAndroid */ 'use strict'; diff --git a/Libraries/Components/Keyboard/Keyboard.js b/Libraries/Components/Keyboard/Keyboard.js index 55d9891902ea7a..d61b07a88670f7 100644 --- a/Libraries/Components/Keyboard/Keyboard.js +++ b/Libraries/Components/Keyboard/Keyboard.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Keyboard * @flow */ 'use strict'; diff --git a/Libraries/Components/Keyboard/KeyboardAvoidingView.js b/Libraries/Components/Keyboard/KeyboardAvoidingView.js index ffb6c58fe6379f..87a0172f2091c0 100644 --- a/Libraries/Components/Keyboard/KeyboardAvoidingView.js +++ b/Libraries/Components/Keyboard/KeyboardAvoidingView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule KeyboardAvoidingView * @flow */ 'use strict'; diff --git a/Libraries/Components/LazyRenderer.js b/Libraries/Components/LazyRenderer.js index 851bf55feee032..b1217aa1f3a2a9 100644 --- a/Libraries/Components/LazyRenderer.js +++ b/Libraries/Components/LazyRenderer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule LazyRenderer */ 'use strict'; diff --git a/Libraries/Components/MaskedView/MaskedViewIOS.android.js b/Libraries/Components/MaskedView/MaskedViewIOS.android.js index ad37017e1c201b..9684447d0fea12 100644 --- a/Libraries/Components/MaskedView/MaskedViewIOS.android.js +++ b/Libraries/Components/MaskedView/MaskedViewIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MaskedViewIOS * @flow */ 'use strict'; diff --git a/Libraries/Components/MaskedView/MaskedViewIOS.ios.js b/Libraries/Components/MaskedView/MaskedViewIOS.ios.js index 0d61728c4b29b1..0407d3be089f04 100644 --- a/Libraries/Components/MaskedView/MaskedViewIOS.ios.js +++ b/Libraries/Components/MaskedView/MaskedViewIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MaskedViewIOS * @flow */ diff --git a/Libraries/Components/Navigation/NavigatorIOS.android.js b/Libraries/Components/Navigation/NavigatorIOS.android.js index 271f7ea0143fc5..ebd42dd5b18bb0 100644 --- a/Libraries/Components/Navigation/NavigatorIOS.android.js +++ b/Libraries/Components/Navigation/NavigatorIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NavigatorIOS */ 'use strict'; diff --git a/Libraries/Components/Navigation/NavigatorIOS.ios.js b/Libraries/Components/Navigation/NavigatorIOS.ios.js index 289680bf6fc6f3..36223bfadca306 100644 --- a/Libraries/Components/Navigation/NavigatorIOS.ios.js +++ b/Libraries/Components/Navigation/NavigatorIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NavigatorIOS * @flow */ 'use strict'; diff --git a/Libraries/Components/Picker/Picker.js b/Libraries/Components/Picker/Picker.js index 1df316249d7ce7..1212993191069a 100644 --- a/Libraries/Components/Picker/Picker.js +++ b/Libraries/Components/Picker/Picker.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Picker * @flow */ diff --git a/Libraries/Components/Picker/PickerAndroid.android.js b/Libraries/Components/Picker/PickerAndroid.android.js index bd9c664a8fa5d6..6bc912bd6d33d3 100644 --- a/Libraries/Components/Picker/PickerAndroid.android.js +++ b/Libraries/Components/Picker/PickerAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PickerAndroid * @flow */ diff --git a/Libraries/Components/Picker/PickerAndroid.ios.js b/Libraries/Components/Picker/PickerAndroid.ios.js index b84e15bad67af0..ebd42dd5b18bb0 100644 --- a/Libraries/Components/Picker/PickerAndroid.ios.js +++ b/Libraries/Components/Picker/PickerAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PickerAndroid */ 'use strict'; diff --git a/Libraries/Components/Picker/PickerIOS.android.js b/Libraries/Components/Picker/PickerIOS.android.js index ce50c2ad4e4157..2977696844b00f 100644 --- a/Libraries/Components/Picker/PickerIOS.android.js +++ b/Libraries/Components/Picker/PickerIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PickerIOS * * This is a controlled component version of RCTPickerIOS */ diff --git a/Libraries/Components/Picker/PickerIOS.ios.js b/Libraries/Components/Picker/PickerIOS.ios.js index d1fe0761d5cc34..fcd5b12c163322 100644 --- a/Libraries/Components/Picker/PickerIOS.ios.js +++ b/Libraries/Components/Picker/PickerIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PickerIOS * * This is a controlled component version of RCTPickerIOS */ diff --git a/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js b/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js index f5dcb10cfb9508..db20d579db0a5f 100644 --- a/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +++ b/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ProgressBarAndroid */ 'use strict'; diff --git a/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js b/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js index 92bae8066abe69..ebd42dd5b18bb0 100644 --- a/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js +++ b/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ProgressBarAndroid */ 'use strict'; diff --git a/Libraries/Components/ProgressViewIOS/ProgressViewIOS.android.js b/Libraries/Components/ProgressViewIOS/ProgressViewIOS.android.js index f467db1ff51f64..dcc8c3fc7489b7 100644 --- a/Libraries/Components/ProgressViewIOS/ProgressViewIOS.android.js +++ b/Libraries/Components/ProgressViewIOS/ProgressViewIOS.android.js @@ -5,7 +5,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ProgressViewIOS */ 'use strict'; diff --git a/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js b/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js index 55ae1b83abe13d..2c14b4cddff768 100644 --- a/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js +++ b/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ProgressViewIOS * @flow */ 'use strict'; diff --git a/Libraries/Components/RefreshControl/RefreshControl.js b/Libraries/Components/RefreshControl/RefreshControl.js index 8aac1ebf3e5744..07415276261ac3 100644 --- a/Libraries/Components/RefreshControl/RefreshControl.js +++ b/Libraries/Components/RefreshControl/RefreshControl.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RefreshControl * @flow */ 'use strict'; diff --git a/Libraries/Components/SafeAreaView/SafeAreaView.android.js b/Libraries/Components/SafeAreaView/SafeAreaView.android.js index 62a81a8a284352..fbc94020538334 100644 --- a/Libraries/Components/SafeAreaView/SafeAreaView.android.js +++ b/Libraries/Components/SafeAreaView/SafeAreaView.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SafeAreaView * @flow */ 'use strict'; diff --git a/Libraries/Components/SafeAreaView/SafeAreaView.ios.js b/Libraries/Components/SafeAreaView/SafeAreaView.ios.js index 344cbe5f301ef1..65daa32fd7542d 100644 --- a/Libraries/Components/SafeAreaView/SafeAreaView.ios.js +++ b/Libraries/Components/SafeAreaView/SafeAreaView.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SafeAreaView * @flow * @format */ diff --git a/Libraries/Components/ScrollResponder.js b/Libraries/Components/ScrollResponder.js index 6c926b9d40e135..93431293a348ac 100644 --- a/Libraries/Components/ScrollResponder.js +++ b/Libraries/Components/ScrollResponder.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ScrollResponder * @flow */ 'use strict'; diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 2d9d031027ca92..0ec0f188abd88f 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ScrollView * @flow */ 'use strict'; diff --git a/Libraries/Components/ScrollView/ScrollViewStickyHeader.js b/Libraries/Components/ScrollView/ScrollViewStickyHeader.js index af9dc9b8b63549..e17467b264cd98 100644 --- a/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +++ b/Libraries/Components/ScrollView/ScrollViewStickyHeader.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ScrollViewStickyHeader * @flow * @format */ diff --git a/Libraries/Components/ScrollView/processDecelerationRate.js b/Libraries/Components/ScrollView/processDecelerationRate.js index 9cb5a52a557715..f46755fda278d3 100644 --- a/Libraries/Components/ScrollView/processDecelerationRate.js +++ b/Libraries/Components/ScrollView/processDecelerationRate.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule processDecelerationRate */ 'use strict'; diff --git a/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js b/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js index a5b4c0b339bf6e..a8b791e2f6ef1c 100644 --- a/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js +++ b/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js @@ -5,7 +5,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SegmentedControlIOS */ 'use strict'; diff --git a/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js b/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js index 3eb4249fa2dbce..620a8a3ec5c044 100644 --- a/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js +++ b/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SegmentedControlIOS * @flow */ 'use strict'; diff --git a/Libraries/Components/Slider/Slider.js b/Libraries/Components/Slider/Slider.js index 5a163fe176d129..c0f3d015badb16 100644 --- a/Libraries/Components/Slider/Slider.js +++ b/Libraries/Components/Slider/Slider.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Slider * @flow */ 'use strict'; diff --git a/Libraries/Components/StaticContainer.react.js b/Libraries/Components/StaticContainer.react.js index 81e06ace1fdb5f..a6a4454c8118c4 100644 --- a/Libraries/Components/StaticContainer.react.js +++ b/Libraries/Components/StaticContainer.react.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StaticContainer.react * @flow */ 'use strict'; diff --git a/Libraries/Components/StaticRenderer.js b/Libraries/Components/StaticRenderer.js index 777fe900e120b6..5bb9cb99f48493 100644 --- a/Libraries/Components/StaticRenderer.js +++ b/Libraries/Components/StaticRenderer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StaticRenderer * @flow */ 'use strict'; diff --git a/Libraries/Components/StatusBar/StatusBar.js b/Libraries/Components/StatusBar/StatusBar.js index 0562a315493853..05bd9177ccd450 100644 --- a/Libraries/Components/StatusBar/StatusBar.js +++ b/Libraries/Components/StatusBar/StatusBar.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StatusBar * @flow */ 'use strict'; diff --git a/Libraries/Components/StatusBar/StatusBarIOS.android.js b/Libraries/Components/StatusBar/StatusBarIOS.android.js index 5c69c15339addf..28ad139b8969e6 100644 --- a/Libraries/Components/StatusBar/StatusBarIOS.android.js +++ b/Libraries/Components/StatusBar/StatusBarIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StatusBarIOS * @flow */ 'use strict'; diff --git a/Libraries/Components/StatusBar/StatusBarIOS.ios.js b/Libraries/Components/StatusBar/StatusBarIOS.ios.js index f132f005696def..3ccab44da625fc 100644 --- a/Libraries/Components/StatusBar/StatusBarIOS.ios.js +++ b/Libraries/Components/StatusBar/StatusBarIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StatusBarIOS * @flow */ 'use strict'; diff --git a/Libraries/Components/Subscribable.js b/Libraries/Components/Subscribable.js index 6825acd02f70c5..a4fc660b5b9f50 100644 --- a/Libraries/Components/Subscribable.js +++ b/Libraries/Components/Subscribable.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Subscribable * @flow */ 'use strict'; diff --git a/Libraries/Components/Switch/Switch.js b/Libraries/Components/Switch/Switch.js index f259229c3538aa..ad613e2c85d48e 100644 --- a/Libraries/Components/Switch/Switch.js +++ b/Libraries/Components/Switch/Switch.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Switch * @flow */ 'use strict'; diff --git a/Libraries/Components/TabBarIOS/TabBarIOS.android.js b/Libraries/Components/TabBarIOS/TabBarIOS.android.js index c52d947ebd325e..62a6bbac8fb966 100644 --- a/Libraries/Components/TabBarIOS/TabBarIOS.android.js +++ b/Libraries/Components/TabBarIOS/TabBarIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TabBarIOS * @flow */ diff --git a/Libraries/Components/TabBarIOS/TabBarIOS.ios.js b/Libraries/Components/TabBarIOS/TabBarIOS.ios.js index 9d1b63567ba826..57e32df01e5b49 100644 --- a/Libraries/Components/TabBarIOS/TabBarIOS.ios.js +++ b/Libraries/Components/TabBarIOS/TabBarIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TabBarIOS * @flow */ 'use strict'; diff --git a/Libraries/Components/TabBarIOS/TabBarItemIOS.android.js b/Libraries/Components/TabBarIOS/TabBarItemIOS.android.js index ff891312c21acd..6f6ff561892399 100644 --- a/Libraries/Components/TabBarIOS/TabBarItemIOS.android.js +++ b/Libraries/Components/TabBarIOS/TabBarItemIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TabBarItemIOS */ 'use strict'; diff --git a/Libraries/Components/TabBarIOS/TabBarItemIOS.ios.js b/Libraries/Components/TabBarIOS/TabBarItemIOS.ios.js index 6b56cf78ecb86e..3f0b85a0c501fe 100644 --- a/Libraries/Components/TabBarIOS/TabBarItemIOS.ios.js +++ b/Libraries/Components/TabBarIOS/TabBarItemIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TabBarItemIOS * @noflow */ 'use strict'; diff --git a/Libraries/Components/TextInput/InputAccessoryView.js b/Libraries/Components/TextInput/InputAccessoryView.js index 73d83c03a22b60..731476bc7138b7 100644 --- a/Libraries/Components/TextInput/InputAccessoryView.js +++ b/Libraries/Components/TextInput/InputAccessoryView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InputAccessoryView * @flow * @format */ diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index fd67b8ec55fc0a..e887b07438f412 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TextInput * @flow * @format */ diff --git a/Libraries/Components/TextInput/TextInputState.js b/Libraries/Components/TextInput/TextInputState.js index cb41eef0c529af..47eeddf12189d5 100644 --- a/Libraries/Components/TextInput/TextInputState.js +++ b/Libraries/Components/TextInput/TextInputState.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TextInputState * @flow * * This class is responsible for coordinating the "focused" diff --git a/Libraries/Components/TimePickerAndroid/TimePickerAndroid.android.js b/Libraries/Components/TimePickerAndroid/TimePickerAndroid.android.js index be7f4c4f9286c6..b2b8c759e59501 100644 --- a/Libraries/Components/TimePickerAndroid/TimePickerAndroid.android.js +++ b/Libraries/Components/TimePickerAndroid/TimePickerAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TimePickerAndroid * @flow */ 'use strict'; diff --git a/Libraries/Components/TimePickerAndroid/TimePickerAndroid.ios.js b/Libraries/Components/TimePickerAndroid/TimePickerAndroid.ios.js index a6b630d7c394a4..3813b6522b00d9 100644 --- a/Libraries/Components/TimePickerAndroid/TimePickerAndroid.ios.js +++ b/Libraries/Components/TimePickerAndroid/TimePickerAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TimePickerAndroid * @flow */ 'use strict'; diff --git a/Libraries/Components/ToastAndroid/ToastAndroid.android.js b/Libraries/Components/ToastAndroid/ToastAndroid.android.js index 15a8a597a5b686..b0a242ed5ffec1 100644 --- a/Libraries/Components/ToastAndroid/ToastAndroid.android.js +++ b/Libraries/Components/ToastAndroid/ToastAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ToastAndroid * @flow */ diff --git a/Libraries/Components/ToastAndroid/ToastAndroid.ios.js b/Libraries/Components/ToastAndroid/ToastAndroid.ios.js index 83db0cfa82cae4..94d0487647ac85 100644 --- a/Libraries/Components/ToastAndroid/ToastAndroid.ios.js +++ b/Libraries/Components/ToastAndroid/ToastAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ToastAndroid * @noflow */ 'use strict'; diff --git a/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js b/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js index 1d845e5b65bacf..de6fd5aad12b99 100644 --- a/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js +++ b/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ToolbarAndroid */ 'use strict'; diff --git a/Libraries/Components/ToolbarAndroid/ToolbarAndroid.ios.js b/Libraries/Components/ToolbarAndroid/ToolbarAndroid.ios.js index 68ef4ef8300aba..ebd42dd5b18bb0 100644 --- a/Libraries/Components/ToolbarAndroid/ToolbarAndroid.ios.js +++ b/Libraries/Components/ToolbarAndroid/ToolbarAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ToolbarAndroid */ 'use strict'; diff --git a/Libraries/Components/Touchable/BoundingDimensions.js b/Libraries/Components/Touchable/BoundingDimensions.js index 9bc78e515d8ef3..898244979d28e8 100644 --- a/Libraries/Components/Touchable/BoundingDimensions.js +++ b/Libraries/Components/Touchable/BoundingDimensions.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BoundingDimensions */ 'use strict'; diff --git a/Libraries/Components/Touchable/PooledClass.js b/Libraries/Components/Touchable/PooledClass.js index a3ae190aa3d22f..42cb503d07b791 100644 --- a/Libraries/Components/Touchable/PooledClass.js +++ b/Libraries/Components/Touchable/PooledClass.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PooledClass * @flow */ diff --git a/Libraries/Components/Touchable/Position.js b/Libraries/Components/Touchable/Position.js index 572d1132f038bc..ce09d00a8e36a7 100644 --- a/Libraries/Components/Touchable/Position.js +++ b/Libraries/Components/Touchable/Position.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Position */ 'use strict'; diff --git a/Libraries/Components/Touchable/Touchable.js b/Libraries/Components/Touchable/Touchable.js index f39457b827253d..20831533271624 100644 --- a/Libraries/Components/Touchable/Touchable.js +++ b/Libraries/Components/Touchable/Touchable.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Touchable */ 'use strict'; diff --git a/Libraries/Components/Touchable/TouchableBounce.js b/Libraries/Components/Touchable/TouchableBounce.js index 2afef30637b59d..1ebb1a877415e0 100644 --- a/Libraries/Components/Touchable/TouchableBounce.js +++ b/Libraries/Components/Touchable/TouchableBounce.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TouchableBounce * @flow * @format */ diff --git a/Libraries/Components/Touchable/TouchableHighlight.js b/Libraries/Components/Touchable/TouchableHighlight.js index 19680b236528c0..4d8f63eecdd0bc 100644 --- a/Libraries/Components/Touchable/TouchableHighlight.js +++ b/Libraries/Components/Touchable/TouchableHighlight.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TouchableHighlight * @flow * @format */ diff --git a/Libraries/Components/Touchable/TouchableNativeFeedback.android.js b/Libraries/Components/Touchable/TouchableNativeFeedback.android.js index 4f3887642dce43..00f67818bf455a 100644 --- a/Libraries/Components/Touchable/TouchableNativeFeedback.android.js +++ b/Libraries/Components/Touchable/TouchableNativeFeedback.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TouchableNativeFeedback */ 'use strict'; diff --git a/Libraries/Components/Touchable/TouchableNativeFeedback.ios.js b/Libraries/Components/Touchable/TouchableNativeFeedback.ios.js index e898d20ab64a97..8c195b9549bd97 100644 --- a/Libraries/Components/Touchable/TouchableNativeFeedback.ios.js +++ b/Libraries/Components/Touchable/TouchableNativeFeedback.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TouchableNativeFeedback */ 'use strict'; diff --git a/Libraries/Components/Touchable/TouchableOpacity.js b/Libraries/Components/Touchable/TouchableOpacity.js index 8ff2ab8d0f2a34..4ae20db8fb287c 100644 --- a/Libraries/Components/Touchable/TouchableOpacity.js +++ b/Libraries/Components/Touchable/TouchableOpacity.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TouchableOpacity * @noflow */ 'use strict'; diff --git a/Libraries/Components/Touchable/TouchableWithoutFeedback.js b/Libraries/Components/Touchable/TouchableWithoutFeedback.js index 642c8593cbe023..d59d04cf4e6cf9 100755 --- a/Libraries/Components/Touchable/TouchableWithoutFeedback.js +++ b/Libraries/Components/Touchable/TouchableWithoutFeedback.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TouchableWithoutFeedback * @flow */ 'use strict'; diff --git a/Libraries/Components/Touchable/ensureComponentIsNative.js b/Libraries/Components/Touchable/ensureComponentIsNative.js index 63c1e8bf8d02d0..9b82aeb45ec6ae 100644 --- a/Libraries/Components/Touchable/ensureComponentIsNative.js +++ b/Libraries/Components/Touchable/ensureComponentIsNative.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ensureComponentIsNative * @flow */ 'use strict'; diff --git a/Libraries/Components/Touchable/ensurePositiveDelayProps.js b/Libraries/Components/Touchable/ensurePositiveDelayProps.js index 51b97f5ca42e68..9d0be5ccdc5e8d 100644 --- a/Libraries/Components/Touchable/ensurePositiveDelayProps.js +++ b/Libraries/Components/Touchable/ensurePositiveDelayProps.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ensurePositiveDelayProps * @flow */ 'use strict'; diff --git a/Libraries/Components/UnimplementedViews/UnimplementedView.js b/Libraries/Components/UnimplementedViews/UnimplementedView.js index 5da72d04f35430..7be6f1ac77f759 100644 --- a/Libraries/Components/UnimplementedViews/UnimplementedView.js +++ b/Libraries/Components/UnimplementedViews/UnimplementedView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule UnimplementedView * @flow * @format */ diff --git a/Libraries/Components/View/PlatformViewPropTypes.js b/Libraries/Components/View/PlatformViewPropTypes.js index 891fa34572a4f7..70ab6694192fb2 100644 --- a/Libraries/Components/View/PlatformViewPropTypes.js +++ b/Libraries/Components/View/PlatformViewPropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PlatformViewPropTypes * @flow */ diff --git a/Libraries/Components/View/ReactNativeStyleAttributes.js b/Libraries/Components/View/ReactNativeStyleAttributes.js index a9441cad97f156..7c8422413579ad 100644 --- a/Libraries/Components/View/ReactNativeStyleAttributes.js +++ b/Libraries/Components/View/ReactNativeStyleAttributes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactNativeStyleAttributes * @flow */ diff --git a/Libraries/Components/View/ReactNativeViewAttributes.js b/Libraries/Components/View/ReactNativeViewAttributes.js index 26fb368aceb96f..f18b70281935bc 100644 --- a/Libraries/Components/View/ReactNativeViewAttributes.js +++ b/Libraries/Components/View/ReactNativeViewAttributes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactNativeViewAttributes * @flow */ 'use strict'; diff --git a/Libraries/Components/View/ShadowPropTypesIOS.js b/Libraries/Components/View/ShadowPropTypesIOS.js index f4f2f0ab4c481a..2dfc021735ad9e 100644 --- a/Libraries/Components/View/ShadowPropTypesIOS.js +++ b/Libraries/Components/View/ShadowPropTypesIOS.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ShadowPropTypesIOS * @flow * @format */ diff --git a/Libraries/Components/View/View.js b/Libraries/Components/View/View.js index 0a77bff8a40766..558f40a5d4087c 100644 --- a/Libraries/Components/View/View.js +++ b/Libraries/Components/View/View.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule View * @flow * @format */ diff --git a/Libraries/Components/View/ViewAccessibility.js b/Libraries/Components/View/ViewAccessibility.js index b45366fd079755..edab2a5695112b 100644 --- a/Libraries/Components/View/ViewAccessibility.js +++ b/Libraries/Components/View/ViewAccessibility.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewAccessibility * @flow */ 'use strict'; diff --git a/Libraries/Components/View/ViewContext.js b/Libraries/Components/View/ViewContext.js index f9f98000409ddc..81879aa35ecfa1 100644 --- a/Libraries/Components/View/ViewContext.js +++ b/Libraries/Components/View/ViewContext.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewContext * @flow * @format */ diff --git a/Libraries/Components/View/ViewPropTypes.js b/Libraries/Components/View/ViewPropTypes.js index 574bd577cc9997..f5f03bf10efd83 100644 --- a/Libraries/Components/View/ViewPropTypes.js +++ b/Libraries/Components/View/ViewPropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewPropTypes * @flow */ 'use strict'; diff --git a/Libraries/Components/View/ViewStylePropTypes.js b/Libraries/Components/View/ViewStylePropTypes.js index c21ce5934ac33c..e252cf5d2c7850 100644 --- a/Libraries/Components/View/ViewStylePropTypes.js +++ b/Libraries/Components/View/ViewStylePropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewStylePropTypes * @flow */ 'use strict'; diff --git a/Libraries/Components/ViewPager/ViewPagerAndroid.android.js b/Libraries/Components/ViewPager/ViewPagerAndroid.android.js index 8463503bd7930b..19421ccc6436d1 100644 --- a/Libraries/Components/ViewPager/ViewPagerAndroid.android.js +++ b/Libraries/Components/ViewPager/ViewPagerAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewPagerAndroid * @flow */ 'use strict'; diff --git a/Libraries/Components/ViewPager/ViewPagerAndroid.ios.js b/Libraries/Components/ViewPager/ViewPagerAndroid.ios.js index ee0022ae5453fa..ebd42dd5b18bb0 100644 --- a/Libraries/Components/ViewPager/ViewPagerAndroid.ios.js +++ b/Libraries/Components/ViewPager/ViewPagerAndroid.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewPagerAndroid */ 'use strict'; diff --git a/Libraries/Components/WebView/WebView.android.js b/Libraries/Components/WebView/WebView.android.js index 16f2991df1e770..a457298f96f65f 100644 --- a/Libraries/Components/WebView/WebView.android.js +++ b/Libraries/Components/WebView/WebView.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WebView */ 'use strict'; diff --git a/Libraries/Components/WebView/WebView.ios.js b/Libraries/Components/WebView/WebView.ios.js index f01cfae537dd33..56a4465fea6b97 100644 --- a/Libraries/Components/WebView/WebView.ios.js +++ b/Libraries/Components/WebView/WebView.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WebView * @noflow */ 'use strict'; diff --git a/Libraries/Core/Devtools/getDevServer.js b/Libraries/Core/Devtools/getDevServer.js index 975a75f827b240..1087f6ead2b76f 100644 --- a/Libraries/Core/Devtools/getDevServer.js +++ b/Libraries/Core/Devtools/getDevServer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule getDevServer * @flow */ 'use strict'; diff --git a/Libraries/Core/Devtools/openFileInEditor.js b/Libraries/Core/Devtools/openFileInEditor.js index a5f9da59e6b1ab..1f4437a5ef8c16 100644 --- a/Libraries/Core/Devtools/openFileInEditor.js +++ b/Libraries/Core/Devtools/openFileInEditor.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule openFileInEditor * @flow */ 'use strict'; diff --git a/Libraries/Core/Devtools/parseErrorStack.js b/Libraries/Core/Devtools/parseErrorStack.js index e1ae27294fee68..efcad10191d461 100644 --- a/Libraries/Core/Devtools/parseErrorStack.js +++ b/Libraries/Core/Devtools/parseErrorStack.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule parseErrorStack * @flow */ 'use strict'; diff --git a/Libraries/Core/Devtools/setupDevtools.js b/Libraries/Core/Devtools/setupDevtools.js index cbfb8df3983b59..fec7ea6160cc5d 100644 --- a/Libraries/Core/Devtools/setupDevtools.js +++ b/Libraries/Core/Devtools/setupDevtools.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule setupDevtools * @flow */ 'use strict'; diff --git a/Libraries/Core/Devtools/symbolicateStackTrace.js b/Libraries/Core/Devtools/symbolicateStackTrace.js index 5ac25fe03e98fb..8933394ba92deb 100644 --- a/Libraries/Core/Devtools/symbolicateStackTrace.js +++ b/Libraries/Core/Devtools/symbolicateStackTrace.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule symbolicateStackTrace * @flow */ 'use strict'; diff --git a/Libraries/Core/ExceptionsManager.js b/Libraries/Core/ExceptionsManager.js index 8a63ec3bff4bcc..6a0ba132dc8133 100644 --- a/Libraries/Core/ExceptionsManager.js +++ b/Libraries/Core/ExceptionsManager.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ExceptionsManager * @flow */ 'use strict'; diff --git a/Libraries/Core/InitializeCore.js b/Libraries/Core/InitializeCore.js index c97576397a94b6..d739ab78231748 100644 --- a/Libraries/Core/InitializeCore.js +++ b/Libraries/Core/InitializeCore.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InitializeCore * @flow */ diff --git a/Libraries/Core/ReactNativeVersion.js b/Libraries/Core/ReactNativeVersion.js index 52b8f9c47b8f26..1b2b2155f55175 100644 --- a/Libraries/Core/ReactNativeVersion.js +++ b/Libraries/Core/ReactNativeVersion.js @@ -7,7 +7,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ReactNativeVersion */ exports.version = { diff --git a/Libraries/Core/ReactNativeVersionCheck.js b/Libraries/Core/ReactNativeVersionCheck.js index acbac3337baffd..8a937c769d9979 100644 --- a/Libraries/Core/ReactNativeVersionCheck.js +++ b/Libraries/Core/ReactNativeVersionCheck.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactNativeVersionCheck * @flow * @format */ diff --git a/Libraries/Core/Timers/JSTimers.js b/Libraries/Core/Timers/JSTimers.js index e0b4fbbd8866ac..dbd23f807f8150 100644 --- a/Libraries/Core/Timers/JSTimers.js +++ b/Libraries/Core/Timers/JSTimers.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule JSTimers * @format * @flow */ diff --git a/Libraries/EventEmitter/MissingNativeEventEmitterShim.js b/Libraries/EventEmitter/MissingNativeEventEmitterShim.js index d4abfc228a4ba1..e9c11b925c8e98 100644 --- a/Libraries/EventEmitter/MissingNativeEventEmitterShim.js +++ b/Libraries/EventEmitter/MissingNativeEventEmitterShim.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MissingNativeEventEmitterShim * @flow */ 'use strict'; diff --git a/Libraries/EventEmitter/NativeEventEmitter.js b/Libraries/EventEmitter/NativeEventEmitter.js index f453cbc5184e42..582cf9561f160a 100644 --- a/Libraries/EventEmitter/NativeEventEmitter.js +++ b/Libraries/EventEmitter/NativeEventEmitter.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NativeEventEmitter * @flow */ 'use strict'; diff --git a/Libraries/EventEmitter/RCTDeviceEventEmitter.js b/Libraries/EventEmitter/RCTDeviceEventEmitter.js index 57ce4fa08990c8..9378a5f5310bc4 100644 --- a/Libraries/EventEmitter/RCTDeviceEventEmitter.js +++ b/Libraries/EventEmitter/RCTDeviceEventEmitter.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTDeviceEventEmitter * @flow */ 'use strict'; diff --git a/Libraries/EventEmitter/RCTEventEmitter.js b/Libraries/EventEmitter/RCTEventEmitter.js index 581515482f1c9b..976356b7aa07e1 100644 --- a/Libraries/EventEmitter/RCTEventEmitter.js +++ b/Libraries/EventEmitter/RCTEventEmitter.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTEventEmitter * @flow */ 'use strict'; diff --git a/Libraries/EventEmitter/RCTNativeAppEventEmitter.js b/Libraries/EventEmitter/RCTNativeAppEventEmitter.js index 9fe0a1573fe18f..43245aba558ec2 100644 --- a/Libraries/EventEmitter/RCTNativeAppEventEmitter.js +++ b/Libraries/EventEmitter/RCTNativeAppEventEmitter.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTNativeAppEventEmitter * @flow */ 'use strict'; diff --git a/Libraries/Experimental/Incremental.js b/Libraries/Experimental/Incremental.js index 45c0a7dce5a071..237e5dbc32e72d 100644 --- a/Libraries/Experimental/Incremental.js +++ b/Libraries/Experimental/Incremental.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Incremental * @flow */ 'use strict'; diff --git a/Libraries/Experimental/IncrementalExample.js b/Libraries/Experimental/IncrementalExample.js index 280d36f198cfa0..e46510b5e4e9d4 100644 --- a/Libraries/Experimental/IncrementalExample.js +++ b/Libraries/Experimental/IncrementalExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule IncrementalExample * @flow */ 'use strict'; diff --git a/Libraries/Experimental/IncrementalGroup.js b/Libraries/Experimental/IncrementalGroup.js index e2aefae6836f2d..f630ba66c8c55e 100644 --- a/Libraries/Experimental/IncrementalGroup.js +++ b/Libraries/Experimental/IncrementalGroup.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule IncrementalGroup * @flow */ 'use strict'; diff --git a/Libraries/Experimental/IncrementalPresenter.js b/Libraries/Experimental/IncrementalPresenter.js index 03c69d1fcdcf71..05520a3ec4879e 100644 --- a/Libraries/Experimental/IncrementalPresenter.js +++ b/Libraries/Experimental/IncrementalPresenter.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule IncrementalPresenter * @flow */ 'use strict'; diff --git a/Libraries/Experimental/SwipeableRow/SwipeableFlatList.js b/Libraries/Experimental/SwipeableRow/SwipeableFlatList.js index f7f78b40103acf..b01fea760dd0f4 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableFlatList.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableFlatList.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeableFlatList * @flow * @format */ diff --git a/Libraries/Experimental/SwipeableRow/SwipeableListView.js b/Libraries/Experimental/SwipeableRow/SwipeableListView.js index c6623be75b3ba6..4187684ddb674e 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableListView.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableListView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeableListView * @flow */ 'use strict'; diff --git a/Libraries/Experimental/SwipeableRow/SwipeableListViewDataSource.js b/Libraries/Experimental/SwipeableRow/SwipeableListViewDataSource.js index bda3bd3b530651..da4377acad8fcb 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableListViewDataSource.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableListViewDataSource.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeableListViewDataSource */ 'use strict'; diff --git a/Libraries/Experimental/SwipeableRow/SwipeableQuickActionButton.js b/Libraries/Experimental/SwipeableRow/SwipeableQuickActionButton.js index 315b8a2f64c389..704f315961ceb5 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableQuickActionButton.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableQuickActionButton.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeableQuickActionButton * @flow */ 'use strict'; diff --git a/Libraries/Experimental/SwipeableRow/SwipeableQuickActions.js b/Libraries/Experimental/SwipeableRow/SwipeableQuickActions.js index 96fe1d23daab47..42d2f2cc060b90 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableQuickActions.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableQuickActions.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeableQuickActions * @flow */ 'use strict'; diff --git a/Libraries/Experimental/SwipeableRow/SwipeableRow.js b/Libraries/Experimental/SwipeableRow/SwipeableRow.js index 80e627376e8482..0c072611aaca44 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableRow.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableRow.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeableRow * @flow */ 'use strict'; diff --git a/Libraries/Experimental/WindowedListView.js b/Libraries/Experimental/WindowedListView.js index 2a102b23f3c47c..bf7ef3324b8117 100644 --- a/Libraries/Experimental/WindowedListView.js +++ b/Libraries/Experimental/WindowedListView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WindowedListView * @flow */ 'use strict'; diff --git a/Libraries/Geolocation/Geolocation.js b/Libraries/Geolocation/Geolocation.js index a4efe4c0201cb5..29bb0aa13a9932 100644 --- a/Libraries/Geolocation/Geolocation.js +++ b/Libraries/Geolocation/Geolocation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Geolocation * @flow */ 'use strict'; diff --git a/Libraries/Image/AssetRegistry.js b/Libraries/Image/AssetRegistry.js index 7dabcfb9b53561..5f5f0980f432be 100644 --- a/Libraries/Image/AssetRegistry.js +++ b/Libraries/Image/AssetRegistry.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AssetRegistry * @flow * @format */ diff --git a/Libraries/Image/AssetSourceResolver.js b/Libraries/Image/AssetSourceResolver.js index 819353e03846ea..d7b583ebcb8d63 100644 --- a/Libraries/Image/AssetSourceResolver.js +++ b/Libraries/Image/AssetSourceResolver.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AssetSourceResolver * @flow * @format */ diff --git a/Libraries/Image/Image.android.js b/Libraries/Image/Image.android.js index 4c8fa6e7fd173d..7b0ec83a8738ec 100644 --- a/Libraries/Image/Image.android.js +++ b/Libraries/Image/Image.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Image * @flow * @format */ diff --git a/Libraries/Image/Image.ios.js b/Libraries/Image/Image.ios.js index c3e9ad5359c166..eb0d0241af52eb 100644 --- a/Libraries/Image/Image.ios.js +++ b/Libraries/Image/Image.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Image * @flow * @format */ diff --git a/Libraries/Image/ImageBackground.js b/Libraries/Image/ImageBackground.js index 405bced59ce254..7b86d9c5f5298d 100644 --- a/Libraries/Image/ImageBackground.js +++ b/Libraries/Image/ImageBackground.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageBackground * @flow * @format */ diff --git a/Libraries/Image/ImageEditor.js b/Libraries/Image/ImageEditor.js index ddd7fd381285c5..66504b501293db 100644 --- a/Libraries/Image/ImageEditor.js +++ b/Libraries/Image/ImageEditor.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageEditor * @flow * @format */ diff --git a/Libraries/Image/ImageProps.js b/Libraries/Image/ImageProps.js index f075d9ccecedca..63015586296d4a 100644 --- a/Libraries/Image/ImageProps.js +++ b/Libraries/Image/ImageProps.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageProps * @flow * @format */ diff --git a/Libraries/Image/ImageResizeMode.js b/Libraries/Image/ImageResizeMode.js index 25d937d60efe5f..89e74bcc502ee6 100644 --- a/Libraries/Image/ImageResizeMode.js +++ b/Libraries/Image/ImageResizeMode.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageResizeMode * @flow * @format */ diff --git a/Libraries/Image/ImageSource.js b/Libraries/Image/ImageSource.js index 533eb513219ca2..b729863234ffe3 100644 --- a/Libraries/Image/ImageSource.js +++ b/Libraries/Image/ImageSource.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageSource * @flow * @format */ diff --git a/Libraries/Image/ImageSourcePropType.js b/Libraries/Image/ImageSourcePropType.js index af9dac3c479477..6f67113fe1bf18 100644 --- a/Libraries/Image/ImageSourcePropType.js +++ b/Libraries/Image/ImageSourcePropType.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageSourcePropType * @no-flow * @format */ diff --git a/Libraries/Image/ImageStore.js b/Libraries/Image/ImageStore.js index 215bdec246cb1e..5373020376a5f1 100644 --- a/Libraries/Image/ImageStore.js +++ b/Libraries/Image/ImageStore.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageStore * @flow * @format */ diff --git a/Libraries/Image/ImageStylePropTypes.js b/Libraries/Image/ImageStylePropTypes.js index 9a688ac7f9d425..c88c19ea3cec29 100644 --- a/Libraries/Image/ImageStylePropTypes.js +++ b/Libraries/Image/ImageStylePropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageStylePropTypes * @flow * @format */ diff --git a/Libraries/Image/RelativeImageStub.js b/Libraries/Image/RelativeImageStub.js index 4adf66b806b4f2..866488eecc83c3 100644 --- a/Libraries/Image/RelativeImageStub.js +++ b/Libraries/Image/RelativeImageStub.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RelativeImageStub * @flow */ 'use strict'; diff --git a/Libraries/Image/nativeImageSource.js b/Libraries/Image/nativeImageSource.js index 26b194ace776be..1fdbe1caa97615 100644 --- a/Libraries/Image/nativeImageSource.js +++ b/Libraries/Image/nativeImageSource.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule nativeImageSource * @flow * @format */ diff --git a/Libraries/Image/resolveAssetSource.js b/Libraries/Image/resolveAssetSource.js index 0d160a28077deb..fefb28ff5f7b32 100644 --- a/Libraries/Image/resolveAssetSource.js +++ b/Libraries/Image/resolveAssetSource.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule resolveAssetSource * @flow * * Resolves an asset into a `source` for `Image`. diff --git a/Libraries/Inspector/BorderBox.js b/Libraries/Inspector/BorderBox.js index c121de5ea1dabb..7ed32e73ae49a0 100644 --- a/Libraries/Inspector/BorderBox.js +++ b/Libraries/Inspector/BorderBox.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BorderBox * @flow */ 'use strict'; diff --git a/Libraries/Inspector/BoxInspector.js b/Libraries/Inspector/BoxInspector.js index 31bedeecdaa0c8..6009e78ea44186 100644 --- a/Libraries/Inspector/BoxInspector.js +++ b/Libraries/Inspector/BoxInspector.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BoxInspector * @flow */ 'use strict'; diff --git a/Libraries/Inspector/ElementBox.js b/Libraries/Inspector/ElementBox.js index b9caef093cc340..7eebb22f337af6 100644 --- a/Libraries/Inspector/ElementBox.js +++ b/Libraries/Inspector/ElementBox.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ElementBox * @flow */ 'use strict'; diff --git a/Libraries/Inspector/ElementProperties.js b/Libraries/Inspector/ElementProperties.js index 460e1c2df81059..75beaf93e233f8 100644 --- a/Libraries/Inspector/ElementProperties.js +++ b/Libraries/Inspector/ElementProperties.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ElementProperties * @flow */ 'use strict'; diff --git a/Libraries/Inspector/Inspector.js b/Libraries/Inspector/Inspector.js index 963b616fca3bcb..73ce0719b36d03 100644 --- a/Libraries/Inspector/Inspector.js +++ b/Libraries/Inspector/Inspector.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Inspector * @flow */ diff --git a/Libraries/Inspector/InspectorOverlay.js b/Libraries/Inspector/InspectorOverlay.js index d441ba59884ea9..3ef8ae60f3501b 100644 --- a/Libraries/Inspector/InspectorOverlay.js +++ b/Libraries/Inspector/InspectorOverlay.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InspectorOverlay * @flow */ 'use strict'; diff --git a/Libraries/Inspector/InspectorPanel.js b/Libraries/Inspector/InspectorPanel.js index c4031a355d5c45..b2dd639c4a898b 100644 --- a/Libraries/Inspector/InspectorPanel.js +++ b/Libraries/Inspector/InspectorPanel.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InspectorPanel * @flow */ 'use strict'; diff --git a/Libraries/Inspector/NetworkOverlay.js b/Libraries/Inspector/NetworkOverlay.js index 789ac6de824c65..3651aa3511899d 100644 --- a/Libraries/Inspector/NetworkOverlay.js +++ b/Libraries/Inspector/NetworkOverlay.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NetworkOverlay * @flow */ 'use strict'; diff --git a/Libraries/Inspector/PerformanceOverlay.js b/Libraries/Inspector/PerformanceOverlay.js index 8240a43244ac6b..d414ea2db298da 100644 --- a/Libraries/Inspector/PerformanceOverlay.js +++ b/Libraries/Inspector/PerformanceOverlay.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PerformanceOverlay * @flow */ 'use strict'; diff --git a/Libraries/Inspector/StyleInspector.js b/Libraries/Inspector/StyleInspector.js index 7bd137bdea7de6..a65e027996521c 100644 --- a/Libraries/Inspector/StyleInspector.js +++ b/Libraries/Inspector/StyleInspector.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StyleInspector * @flow */ 'use strict'; diff --git a/Libraries/Inspector/resolveBoxStyle.js b/Libraries/Inspector/resolveBoxStyle.js index 28f4af50525b33..43026ada8f763e 100644 --- a/Libraries/Inspector/resolveBoxStyle.js +++ b/Libraries/Inspector/resolveBoxStyle.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule resolveBoxStyle * @flow */ 'use strict'; diff --git a/Libraries/Interaction/Batchinator.js b/Libraries/Interaction/Batchinator.js index 3f3b4e069a019e..84097514ba6443 100644 --- a/Libraries/Interaction/Batchinator.js +++ b/Libraries/Interaction/Batchinator.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Batchinator * @flow */ 'use strict'; diff --git a/Libraries/Interaction/BridgeSpyStallHandler.js b/Libraries/Interaction/BridgeSpyStallHandler.js index f47f0751d8ad67..88f892442d09b0 100644 --- a/Libraries/Interaction/BridgeSpyStallHandler.js +++ b/Libraries/Interaction/BridgeSpyStallHandler.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BridgeSpyStallHandler * @flow */ 'use strict'; diff --git a/Libraries/Interaction/FrameRateLogger.js b/Libraries/Interaction/FrameRateLogger.js index 072adeb930f8d8..252fc465a3d487 100644 --- a/Libraries/Interaction/FrameRateLogger.js +++ b/Libraries/Interaction/FrameRateLogger.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule FrameRateLogger * @flow */ 'use strict'; diff --git a/Libraries/Interaction/InteractionManager.js b/Libraries/Interaction/InteractionManager.js index 227e1b05bd3a73..7373575a0cae8d 100644 --- a/Libraries/Interaction/InteractionManager.js +++ b/Libraries/Interaction/InteractionManager.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InteractionManager * @flow */ 'use strict'; diff --git a/Libraries/Interaction/InteractionMixin.js b/Libraries/Interaction/InteractionMixin.js index 9e81a4fddaec1e..e4310ad91d86ec 100644 --- a/Libraries/Interaction/InteractionMixin.js +++ b/Libraries/Interaction/InteractionMixin.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InteractionMixin * @flow */ 'use strict'; diff --git a/Libraries/Interaction/InteractionStallDebugger.js b/Libraries/Interaction/InteractionStallDebugger.js index 8d2bcc82e5f9ba..f62e8d24444428 100644 --- a/Libraries/Interaction/InteractionStallDebugger.js +++ b/Libraries/Interaction/InteractionStallDebugger.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InteractionStallDebugger * @flow */ 'use strict'; diff --git a/Libraries/Interaction/JSEventLoopWatchdog.js b/Libraries/Interaction/JSEventLoopWatchdog.js index 2d1866a0c77f2f..8e2f00eef41dc8 100644 --- a/Libraries/Interaction/JSEventLoopWatchdog.js +++ b/Libraries/Interaction/JSEventLoopWatchdog.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule JSEventLoopWatchdog * @flow */ 'use strict'; diff --git a/Libraries/Interaction/PanResponder.js b/Libraries/Interaction/PanResponder.js index d927fa5fc14d89..92438d904656d4 100644 --- a/Libraries/Interaction/PanResponder.js +++ b/Libraries/Interaction/PanResponder.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PanResponder */ 'use strict'; diff --git a/Libraries/Interaction/ReactPerfStallHandler.js b/Libraries/Interaction/ReactPerfStallHandler.js index 394bc7533ca1c7..09c57dabc5f449 100644 --- a/Libraries/Interaction/ReactPerfStallHandler.js +++ b/Libraries/Interaction/ReactPerfStallHandler.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactPerfStallHandler * @flow */ 'use strict'; diff --git a/Libraries/Interaction/TaskQueue.js b/Libraries/Interaction/TaskQueue.js index 0ee5e4500af9f0..6660d84f47196c 100644 --- a/Libraries/Interaction/TaskQueue.js +++ b/Libraries/Interaction/TaskQueue.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TaskQueue * @flow */ 'use strict'; diff --git a/Libraries/JSInspector/InspectorAgent.js b/Libraries/JSInspector/InspectorAgent.js index a5b6cca0da3da3..b419a6c2aadf61 100644 --- a/Libraries/JSInspector/InspectorAgent.js +++ b/Libraries/JSInspector/InspectorAgent.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InspectorAgent * @flow */ 'use strict'; diff --git a/Libraries/JSInspector/JSInspector.js b/Libraries/JSInspector/JSInspector.js index 9a6b13ffb7c690..e62669aee6a324 100644 --- a/Libraries/JSInspector/JSInspector.js +++ b/Libraries/JSInspector/JSInspector.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule JSInspector * @flow */ 'use strict'; diff --git a/Libraries/JSInspector/NetworkAgent.js b/Libraries/JSInspector/NetworkAgent.js index 56f6f2a37fdccf..bf1de686ae9155 100644 --- a/Libraries/JSInspector/NetworkAgent.js +++ b/Libraries/JSInspector/NetworkAgent.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NetworkAgent * @flow */ 'use strict'; diff --git a/Libraries/LayoutAnimation/LayoutAnimation.js b/Libraries/LayoutAnimation/LayoutAnimation.js index f04feca9331afb..e739ec8595158d 100644 --- a/Libraries/LayoutAnimation/LayoutAnimation.js +++ b/Libraries/LayoutAnimation/LayoutAnimation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule LayoutAnimation * @flow * @format */ diff --git a/Libraries/Linking/Linking.js b/Libraries/Linking/Linking.js index a621e647adccf8..a4ad9b3b593283 100644 --- a/Libraries/Linking/Linking.js +++ b/Libraries/Linking/Linking.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Linking * @flow */ 'use strict'; diff --git a/Libraries/Lists/FillRateHelper.js b/Libraries/Lists/FillRateHelper.js index f060897356b73a..82b0612cdcf8b6 100644 --- a/Libraries/Lists/FillRateHelper.js +++ b/Libraries/Lists/FillRateHelper.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule FillRateHelper * @flow * @format */ diff --git a/Libraries/Lists/FlatList.js b/Libraries/Lists/FlatList.js index 13b87ed995b756..5a0827be1df830 100644 --- a/Libraries/Lists/FlatList.js +++ b/Libraries/Lists/FlatList.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule FlatList * @flow * @format */ diff --git a/Libraries/Lists/ListView/ListView.js b/Libraries/Lists/ListView/ListView.js index 9aefd2ea9222b3..b36150510e2c62 100644 --- a/Libraries/Lists/ListView/ListView.js +++ b/Libraries/Lists/ListView/ListView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ListView * @flow * @format */ diff --git a/Libraries/Lists/ListView/ListViewDataSource.js b/Libraries/Lists/ListView/ListViewDataSource.js index ec63c94d0f46dd..dda74b50cb8381 100644 --- a/Libraries/Lists/ListView/ListViewDataSource.js +++ b/Libraries/Lists/ListView/ListViewDataSource.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ListViewDataSource * @flow * @format */ diff --git a/Libraries/Lists/MetroListView.js b/Libraries/Lists/MetroListView.js index 5f22eb264ee85b..f2447760f9ee2b 100644 --- a/Libraries/Lists/MetroListView.js +++ b/Libraries/Lists/MetroListView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MetroListView * @flow * @format */ diff --git a/Libraries/Lists/SectionList.js b/Libraries/Lists/SectionList.js index 2404d26f54c72a..17a4f84711e0ab 100644 --- a/Libraries/Lists/SectionList.js +++ b/Libraries/Lists/SectionList.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SectionList * @flow * @format */ diff --git a/Libraries/Lists/ViewabilityHelper.js b/Libraries/Lists/ViewabilityHelper.js index 0c0a8356019075..415e77895360da 100644 --- a/Libraries/Lists/ViewabilityHelper.js +++ b/Libraries/Lists/ViewabilityHelper.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewabilityHelper * @flow * @format */ diff --git a/Libraries/Lists/VirtualizeUtils.js b/Libraries/Lists/VirtualizeUtils.js index 663b36b8cc6e76..b47ceda1fece63 100644 --- a/Libraries/Lists/VirtualizeUtils.js +++ b/Libraries/Lists/VirtualizeUtils.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule VirtualizeUtils * @flow * @format */ diff --git a/Libraries/Lists/VirtualizedList.js b/Libraries/Lists/VirtualizedList.js index bbfc6cf3bdecd6..ca6d9fc7fe56e4 100644 --- a/Libraries/Lists/VirtualizedList.js +++ b/Libraries/Lists/VirtualizedList.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule VirtualizedList * @flow * @format */ diff --git a/Libraries/Lists/VirtualizedSectionList.js b/Libraries/Lists/VirtualizedSectionList.js index 2bb196814abf13..6da08dc1ab6659 100644 --- a/Libraries/Lists/VirtualizedSectionList.js +++ b/Libraries/Lists/VirtualizedSectionList.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule VirtualizedSectionList * @flow * @format */ diff --git a/Libraries/Modal/Modal.js b/Libraries/Modal/Modal.js index dabdbc5d92f618..b1cc4a1cb7bb80 100644 --- a/Libraries/Modal/Modal.js +++ b/Libraries/Modal/Modal.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Modal * @flow */ 'use strict'; diff --git a/Libraries/Network/FormData.js b/Libraries/Network/FormData.js index 669bf0f2a30cf7..6028a06bf87657 100644 --- a/Libraries/Network/FormData.js +++ b/Libraries/Network/FormData.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule FormData * @flow */ 'use strict'; diff --git a/Libraries/Network/NetInfo.js b/Libraries/Network/NetInfo.js index 0db9d4eab26825..474ce79144e063 100644 --- a/Libraries/Network/NetInfo.js +++ b/Libraries/Network/NetInfo.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NetInfo * @flow */ 'use strict'; diff --git a/Libraries/Network/RCTNetworking.android.js b/Libraries/Network/RCTNetworking.android.js index 9ec01dccecb838..30162a0e88c8fe 100644 --- a/Libraries/Network/RCTNetworking.android.js +++ b/Libraries/Network/RCTNetworking.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTNetworking * @flow */ 'use strict'; diff --git a/Libraries/Network/RCTNetworking.ios.js b/Libraries/Network/RCTNetworking.ios.js index 004322a080f1bc..2b834577809e43 100644 --- a/Libraries/Network/RCTNetworking.ios.js +++ b/Libraries/Network/RCTNetworking.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTNetworking * @flow */ 'use strict'; diff --git a/Libraries/Network/XHRInterceptor.js b/Libraries/Network/XHRInterceptor.js index 09cc3b22038a56..22c6cf853fe0a8 100644 --- a/Libraries/Network/XHRInterceptor.js +++ b/Libraries/Network/XHRInterceptor.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule XHRInterceptor */ 'use strict'; diff --git a/Libraries/Network/XMLHttpRequest.js b/Libraries/Network/XMLHttpRequest.js index d17001d3743f34..dd43fa40c86cd2 100644 --- a/Libraries/Network/XMLHttpRequest.js +++ b/Libraries/Network/XMLHttpRequest.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule XMLHttpRequest * @flow */ 'use strict'; diff --git a/Libraries/Network/convertRequestBody.js b/Libraries/Network/convertRequestBody.js index 2d3ecc7353aa8d..84cc9c569078d2 100644 --- a/Libraries/Network/convertRequestBody.js +++ b/Libraries/Network/convertRequestBody.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule convertRequestBody * @flow * @format */ diff --git a/Libraries/Network/fetch.js b/Libraries/Network/fetch.js index 1e1c934316d6db..10be3631d26bdf 100644 --- a/Libraries/Network/fetch.js +++ b/Libraries/Network/fetch.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule fetch * */ diff --git a/Libraries/Performance/QuickPerformanceLogger.js b/Libraries/Performance/QuickPerformanceLogger.js index 4eec7220a7cc7c..bdf6d952e1e814 100644 --- a/Libraries/Performance/QuickPerformanceLogger.js +++ b/Libraries/Performance/QuickPerformanceLogger.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule QuickPerformanceLogger * @flow */ diff --git a/Libraries/Performance/SamplingProfiler.js b/Libraries/Performance/SamplingProfiler.js index 739274399bde9f..ec4323e12575f1 100644 --- a/Libraries/Performance/SamplingProfiler.js +++ b/Libraries/Performance/SamplingProfiler.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SamplingProfiler * @flow */ 'use strict'; diff --git a/Libraries/Performance/Systrace.js b/Libraries/Performance/Systrace.js index 2e38d8298d1e39..19105ad3039719 100644 --- a/Libraries/Performance/Systrace.js +++ b/Libraries/Performance/Systrace.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Systrace * @flow * @format */ diff --git a/Libraries/PermissionsAndroid/PermissionsAndroid.js b/Libraries/PermissionsAndroid/PermissionsAndroid.js index 18858e1669dbf7..6febce80ffd131 100644 --- a/Libraries/PermissionsAndroid/PermissionsAndroid.js +++ b/Libraries/PermissionsAndroid/PermissionsAndroid.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PermissionsAndroid * @flow */ 'use strict'; diff --git a/Libraries/Promise.js b/Libraries/Promise.js index 288ee75f6f0f72..aee5ad7e7d0c6e 100644 --- a/Libraries/Promise.js +++ b/Libraries/Promise.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Promise * @flow */ 'use strict'; diff --git a/Libraries/PushNotificationIOS/PushNotificationIOS.js b/Libraries/PushNotificationIOS/PushNotificationIOS.js index 955bdf8c1adc9d..9f013436c991ae 100644 --- a/Libraries/PushNotificationIOS/PushNotificationIOS.js +++ b/Libraries/PushNotificationIOS/PushNotificationIOS.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PushNotificationIOS * @flow */ 'use strict'; diff --git a/Libraries/RCTTest/SnapshotViewIOS.android.js b/Libraries/RCTTest/SnapshotViewIOS.android.js index ef8eb9d7bf67f6..ebd42dd5b18bb0 100644 --- a/Libraries/RCTTest/SnapshotViewIOS.android.js +++ b/Libraries/RCTTest/SnapshotViewIOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SnapshotViewIOS */ 'use strict'; diff --git a/Libraries/RCTTest/SnapshotViewIOS.ios.js b/Libraries/RCTTest/SnapshotViewIOS.ios.js index 494830cd4ff3c0..050ec5d633dd63 100644 --- a/Libraries/RCTTest/SnapshotViewIOS.ios.js +++ b/Libraries/RCTTest/SnapshotViewIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SnapshotViewIOS * @flow */ 'use strict'; diff --git a/Libraries/ReactNative/AppContainer.js b/Libraries/ReactNative/AppContainer.js index cb1ea048e4adbc..8cdbd6dec15c18 100644 --- a/Libraries/ReactNative/AppContainer.js +++ b/Libraries/ReactNative/AppContainer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AppContainer * @format * @flow */ diff --git a/Libraries/ReactNative/AppRegistry.js b/Libraries/ReactNative/AppRegistry.js index efe8e5584f2f0a..a2fdf91e632d45 100644 --- a/Libraries/ReactNative/AppRegistry.js +++ b/Libraries/ReactNative/AppRegistry.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AppRegistry * @flow * @format */ diff --git a/Libraries/ReactNative/FabricUIManager.js b/Libraries/ReactNative/FabricUIManager.js index 602b5459101b7d..f1b06ede5c1715 100644 --- a/Libraries/ReactNative/FabricUIManager.js +++ b/Libraries/ReactNative/FabricUIManager.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule FabricUIManager * @flow * @format */ diff --git a/Libraries/ReactNative/I18nManager.js b/Libraries/ReactNative/I18nManager.js index a8a256d515f480..5212d1100dac92 100644 --- a/Libraries/ReactNative/I18nManager.js +++ b/Libraries/ReactNative/I18nManager.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule I18nManager * @flow * @format */ diff --git a/Libraries/ReactNative/ReactFabricInternals.js b/Libraries/ReactNative/ReactFabricInternals.js index 72f37a41232d73..47855a8b7c0c29 100644 --- a/Libraries/ReactNative/ReactFabricInternals.js +++ b/Libraries/ReactNative/ReactFabricInternals.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactFabricInternals * @flow * @format */ diff --git a/Libraries/ReactNative/UIManager.js b/Libraries/ReactNative/UIManager.js index 946d2233c5f132..9f34734a731cd5 100644 --- a/Libraries/ReactNative/UIManager.js +++ b/Libraries/ReactNative/UIManager.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule UIManager * @flow * @format */ diff --git a/Libraries/ReactNative/UIManagerStatTracker.js b/Libraries/ReactNative/UIManagerStatTracker.js index 31f0a83613ffd1..3e1a6afd073916 100644 --- a/Libraries/ReactNative/UIManagerStatTracker.js +++ b/Libraries/ReactNative/UIManagerStatTracker.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule UIManagerStatTracker * @flow * @format */ diff --git a/Libraries/ReactNative/YellowBox.js b/Libraries/ReactNative/YellowBox.js index 8c3eb1f2cb714b..aa5d9788ab9f13 100644 --- a/Libraries/ReactNative/YellowBox.js +++ b/Libraries/ReactNative/YellowBox.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule YellowBox * @flow * @format */ diff --git a/Libraries/ReactNative/queryLayoutByID.js b/Libraries/ReactNative/queryLayoutByID.js index d484405920d29a..b4d001e04d983f 100644 --- a/Libraries/ReactNative/queryLayoutByID.js +++ b/Libraries/ReactNative/queryLayoutByID.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule queryLayoutByID * @flow * @format */ diff --git a/Libraries/ReactNative/renderApplication.js b/Libraries/ReactNative/renderApplication.js index 8abfed260402b5..42e9673dbc4895 100644 --- a/Libraries/ReactNative/renderApplication.js +++ b/Libraries/ReactNative/renderApplication.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule renderApplication * @format * @flow */ diff --git a/Libraries/ReactNative/requireNativeComponent.js b/Libraries/ReactNative/requireNativeComponent.js index 77141b1c049ae1..83a071c7066f23 100644 --- a/Libraries/ReactNative/requireNativeComponent.js +++ b/Libraries/ReactNative/requireNativeComponent.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule requireNativeComponent * @flow * @format */ diff --git a/Libraries/ReactNative/takeSnapshot.js b/Libraries/ReactNative/takeSnapshot.js index 212e6338faca72..5c9e248e5e4af7 100644 --- a/Libraries/ReactNative/takeSnapshot.js +++ b/Libraries/ReactNative/takeSnapshot.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule takeSnapshot * @format * @flow */ diff --git a/Libraries/ReactNative/verifyPropTypes.js b/Libraries/ReactNative/verifyPropTypes.js index 7791899d298b2f..b7b04d013c2315 100644 --- a/Libraries/ReactNative/verifyPropTypes.js +++ b/Libraries/ReactNative/verifyPropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule verifyPropTypes * @flow * @format */ diff --git a/Libraries/Renderer/oss/ReactFabric-dev.js b/Libraries/Renderer/oss/ReactFabric-dev.js index a24f4f6a50dddb..0424315c8ed6b5 100644 --- a/Libraries/Renderer/oss/ReactFabric-dev.js +++ b/Libraries/Renderer/oss/ReactFabric-dev.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @noflow - * @providesModule ReactFabric-dev * @preventMunge */ diff --git a/Libraries/Renderer/oss/ReactFabric-prod.js b/Libraries/Renderer/oss/ReactFabric-prod.js index 48099a5351cbf3..19ca0dde9e33cf 100644 --- a/Libraries/Renderer/oss/ReactFabric-prod.js +++ b/Libraries/Renderer/oss/ReactFabric-prod.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @noflow - * @providesModule ReactFabric-prod * @preventMunge */ diff --git a/Libraries/Renderer/oss/ReactNativeRenderer-dev.js b/Libraries/Renderer/oss/ReactNativeRenderer-dev.js index 9e14a0c266e9db..21d9a6c1d54399 100644 --- a/Libraries/Renderer/oss/ReactNativeRenderer-dev.js +++ b/Libraries/Renderer/oss/ReactNativeRenderer-dev.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @noflow - * @providesModule ReactNativeRenderer-dev * @preventMunge */ diff --git a/Libraries/Renderer/oss/ReactNativeRenderer-prod.js b/Libraries/Renderer/oss/ReactNativeRenderer-prod.js index 32b4729f3c96f8..f7eb9e09f0dce6 100644 --- a/Libraries/Renderer/oss/ReactNativeRenderer-prod.js +++ b/Libraries/Renderer/oss/ReactNativeRenderer-prod.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @noflow - * @providesModule ReactNativeRenderer-prod * @preventMunge */ diff --git a/Libraries/Renderer/shims/NativeMethodsMixin.js b/Libraries/Renderer/shims/NativeMethodsMixin.js index cd0e673b3bffe1..7acdf99bbd39ae 100644 --- a/Libraries/Renderer/shims/NativeMethodsMixin.js +++ b/Libraries/Renderer/shims/NativeMethodsMixin.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NativeMethodsMixin * @flow */ diff --git a/Libraries/Renderer/shims/ReactDebugTool.js b/Libraries/Renderer/shims/ReactDebugTool.js index e45af4fb099433..8ea7ba5c1433c8 100644 --- a/Libraries/Renderer/shims/ReactDebugTool.js +++ b/Libraries/Renderer/shims/ReactDebugTool.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactDebugTool */ 'use strict'; diff --git a/Libraries/Renderer/shims/ReactFabric.js b/Libraries/Renderer/shims/ReactFabric.js index 4162ca62fef73d..8dce288d28a71e 100644 --- a/Libraries/Renderer/shims/ReactFabric.js +++ b/Libraries/Renderer/shims/ReactFabric.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactFabric * @flow */ 'use strict'; diff --git a/Libraries/Renderer/shims/ReactNative.js b/Libraries/Renderer/shims/ReactNative.js index a648cafbc30c22..43c5002e05f58a 100644 --- a/Libraries/Renderer/shims/ReactNative.js +++ b/Libraries/Renderer/shims/ReactNative.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactNative * @flow */ 'use strict'; diff --git a/Libraries/Renderer/shims/ReactNativeComponentTree.js b/Libraries/Renderer/shims/ReactNativeComponentTree.js index 30ec5257f424c8..8e8ce6ae06c1a0 100644 --- a/Libraries/Renderer/shims/ReactNativeComponentTree.js +++ b/Libraries/Renderer/shims/ReactNativeComponentTree.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactNativeComponentTree * @flow */ diff --git a/Libraries/Renderer/shims/ReactNativeTypes.js b/Libraries/Renderer/shims/ReactNativeTypes.js index bf94119739334d..485ce162ecc6bd 100644 --- a/Libraries/Renderer/shims/ReactNativeTypes.js +++ b/Libraries/Renderer/shims/ReactNativeTypes.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ReactNativeTypes */ export type MeasureOnSuccessCallback = ( diff --git a/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js b/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js index ffb0fa213f3b31..c8ed940a860955 100644 --- a/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +++ b/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactNativeViewConfigRegistry * @flow */ 'use strict'; diff --git a/Libraries/Renderer/shims/ReactPerf.js b/Libraries/Renderer/shims/ReactPerf.js index bb6777fff0b989..e94c87501c7dc1 100644 --- a/Libraries/Renderer/shims/ReactPerf.js +++ b/Libraries/Renderer/shims/ReactPerf.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ReactPerf */ 'use strict'; diff --git a/Libraries/Renderer/shims/ReactTypes.js b/Libraries/Renderer/shims/ReactTypes.js index 689ed18bf95294..747a6c07b6f363 100644 --- a/Libraries/Renderer/shims/ReactTypes.js +++ b/Libraries/Renderer/shims/ReactTypes.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ReactTypes */ export type ReactNode = diff --git a/Libraries/Renderer/shims/createReactNativeComponentClass.js b/Libraries/Renderer/shims/createReactNativeComponentClass.js index 1a050e8b3cf0f8..cacaedab88f2c4 100644 --- a/Libraries/Renderer/shims/createReactNativeComponentClass.js +++ b/Libraries/Renderer/shims/createReactNativeComponentClass.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule createReactNativeComponentClass * @flow */ diff --git a/Libraries/Sample/Sample.android.js b/Libraries/Sample/Sample.android.js index 1a66fb9bf57506..dbb43949f6f61c 100644 --- a/Libraries/Sample/Sample.android.js +++ b/Libraries/Sample/Sample.android.js @@ -1,7 +1,6 @@ /** * Stub of Sample for Android. * - * @providesModule Sample * @flow */ 'use strict'; diff --git a/Libraries/Sample/Sample.ios.js b/Libraries/Sample/Sample.ios.js index fd94afe0a68e02..ae51247cc63524 100644 --- a/Libraries/Sample/Sample.ios.js +++ b/Libraries/Sample/Sample.ios.js @@ -1,5 +1,4 @@ /** - * @providesModule Sample * @flow */ 'use strict'; diff --git a/Libraries/Settings/Settings.android.js b/Libraries/Settings/Settings.android.js index 946c4aa9cde219..220c04e8b15961 100644 --- a/Libraries/Settings/Settings.android.js +++ b/Libraries/Settings/Settings.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Settings * @flow */ 'use strict'; diff --git a/Libraries/Settings/Settings.ios.js b/Libraries/Settings/Settings.ios.js index 08f1be6a1c8ae1..46f0a8bebdd7c9 100644 --- a/Libraries/Settings/Settings.ios.js +++ b/Libraries/Settings/Settings.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Settings * @flow */ 'use strict'; diff --git a/Libraries/Share/Share.js b/Libraries/Share/Share.js index e41b29db8e54d8..b6066c11da54aa 100644 --- a/Libraries/Share/Share.js +++ b/Libraries/Share/Share.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Share * @flow */ 'use strict'; diff --git a/Libraries/Storage/AsyncStorage.js b/Libraries/Storage/AsyncStorage.js index 4e262e6150c36f..f953aecbce26b0 100644 --- a/Libraries/Storage/AsyncStorage.js +++ b/Libraries/Storage/AsyncStorage.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AsyncStorage * @noflow * @flow-weak * @jsdoc diff --git a/Libraries/StyleSheet/ColorPropType.js b/Libraries/StyleSheet/ColorPropType.js index 60e362275bfbc9..28bc93f45fa9ef 100644 --- a/Libraries/StyleSheet/ColorPropType.js +++ b/Libraries/StyleSheet/ColorPropType.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ColorPropType */ 'use strict'; diff --git a/Libraries/StyleSheet/EdgeInsetsPropType.js b/Libraries/StyleSheet/EdgeInsetsPropType.js index 307c6be2e5daed..0bab3a58e65aac 100644 --- a/Libraries/StyleSheet/EdgeInsetsPropType.js +++ b/Libraries/StyleSheet/EdgeInsetsPropType.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EdgeInsetsPropType * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/LayoutPropTypes.js b/Libraries/StyleSheet/LayoutPropTypes.js index 02ec8733f6bbd8..6ff1844c7facd8 100644 --- a/Libraries/StyleSheet/LayoutPropTypes.js +++ b/Libraries/StyleSheet/LayoutPropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule LayoutPropTypes * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/PointPropType.js b/Libraries/StyleSheet/PointPropType.js index a55628adbee7d3..44efc2d5fc400c 100644 --- a/Libraries/StyleSheet/PointPropType.js +++ b/Libraries/StyleSheet/PointPropType.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PointPropType * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/StyleSheet.js b/Libraries/StyleSheet/StyleSheet.js index 5aab99d157626a..4384ce9dbfc05d 100644 --- a/Libraries/StyleSheet/StyleSheet.js +++ b/Libraries/StyleSheet/StyleSheet.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StyleSheet * @flow * @format */ diff --git a/Libraries/StyleSheet/StyleSheetPropType.js b/Libraries/StyleSheet/StyleSheetPropType.js index ac779f915393c8..9fed3d207a6303 100644 --- a/Libraries/StyleSheet/StyleSheetPropType.js +++ b/Libraries/StyleSheet/StyleSheetPropType.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StyleSheetPropType * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/StyleSheetTypes.js b/Libraries/StyleSheet/StyleSheetTypes.js index 1134c252deeb81..321bdc86922dc3 100644 --- a/Libraries/StyleSheet/StyleSheetTypes.js +++ b/Libraries/StyleSheet/StyleSheetTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StyleSheetTypes * @flow * @format */ diff --git a/Libraries/StyleSheet/StyleSheetValidation.js b/Libraries/StyleSheet/StyleSheetValidation.js index 3e1af7bc1dd2f7..ae6c843de4f7ee 100644 --- a/Libraries/StyleSheet/StyleSheetValidation.js +++ b/Libraries/StyleSheet/StyleSheetValidation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule StyleSheetValidation * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/TransformPropTypes.js b/Libraries/StyleSheet/TransformPropTypes.js index bd1f3d352e116d..13a58fdd7ff8ca 100644 --- a/Libraries/StyleSheet/TransformPropTypes.js +++ b/Libraries/StyleSheet/TransformPropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TransformPropTypes * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/flattenStyle.js b/Libraries/StyleSheet/flattenStyle.js index 176f5492a7e79e..f62e35ea70f4f4 100644 --- a/Libraries/StyleSheet/flattenStyle.js +++ b/Libraries/StyleSheet/flattenStyle.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule flattenStyle * @flow * @format */ diff --git a/Libraries/StyleSheet/processColor.js b/Libraries/StyleSheet/processColor.js index 7d3a802bbbe3c2..dba665255110c5 100644 --- a/Libraries/StyleSheet/processColor.js +++ b/Libraries/StyleSheet/processColor.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule processColor * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/processTransform.js b/Libraries/StyleSheet/processTransform.js index 09cc7ca95d18c0..3c8d30ea0e0ed6 100644 --- a/Libraries/StyleSheet/processTransform.js +++ b/Libraries/StyleSheet/processTransform.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule processTransform * @flow */ 'use strict'; diff --git a/Libraries/StyleSheet/setNormalizedColorAlpha.js b/Libraries/StyleSheet/setNormalizedColorAlpha.js index 309d86cea12e80..83a0873e577f1e 100644 --- a/Libraries/StyleSheet/setNormalizedColorAlpha.js +++ b/Libraries/StyleSheet/setNormalizedColorAlpha.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule setNormalizedColorAlpha * @flow */ /* eslint no-bitwise: 0 */ diff --git a/Libraries/Text/Text.js b/Libraries/Text/Text.js index 83b02877b88386..d6fd56fcc62e40 100644 --- a/Libraries/Text/Text.js +++ b/Libraries/Text/Text.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Text * @flow * @format */ diff --git a/Libraries/Text/TextPropTypes.js b/Libraries/Text/TextPropTypes.js index 81a7af03f6058f..5a3c99d7378531 100644 --- a/Libraries/Text/TextPropTypes.js +++ b/Libraries/Text/TextPropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TextPropTypes * @flow * @format */ diff --git a/Libraries/Text/TextProps.js b/Libraries/Text/TextProps.js index effc8b05480b92..56229632a01bac 100644 --- a/Libraries/Text/TextProps.js +++ b/Libraries/Text/TextProps.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TextProps * @flow * @format */ diff --git a/Libraries/Text/TextStylePropTypes.js b/Libraries/Text/TextStylePropTypes.js index 872497ecf2ee1f..532f2e3d3edea5 100644 --- a/Libraries/Text/TextStylePropTypes.js +++ b/Libraries/Text/TextStylePropTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TextStylePropTypes * @flow */ 'use strict'; diff --git a/Libraries/Text/TextUpdateTest.js b/Libraries/Text/TextUpdateTest.js index ec81ddab1c7903..18a3ac5084b7af 100644 --- a/Libraries/Text/TextUpdateTest.js +++ b/Libraries/Text/TextUpdateTest.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TextUpdateTest * @flow */ 'use strict'; diff --git a/Libraries/Types/CoreEventTypes.js b/Libraries/Types/CoreEventTypes.js index 56d4eecf8c348b..ede607f0c706d2 100644 --- a/Libraries/Types/CoreEventTypes.js +++ b/Libraries/Types/CoreEventTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule CoreEventTypes * @flow * @format */ diff --git a/Libraries/UTFSequence.js b/Libraries/UTFSequence.js index 9bff51555d5563..f1e9e28e505e34 100644 --- a/Libraries/UTFSequence.js +++ b/Libraries/UTFSequence.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule UTFSequence * @flow * @format */ diff --git a/Libraries/Utilities/BackAndroid.js b/Libraries/Utilities/BackAndroid.js index 4fc029341f4b9e..51a68a7671f8e4 100644 --- a/Libraries/Utilities/BackAndroid.js +++ b/Libraries/Utilities/BackAndroid.js @@ -7,7 +7,6 @@ * BackAndroid has been moved to BackHandler. This stub calls BackHandler methods * after generating a warning to remind users to move to the new BackHandler module. * - * @providesModule BackAndroid */ 'use strict'; diff --git a/Libraries/Utilities/BackHandler.android.js b/Libraries/Utilities/BackHandler.android.js index 8f34cfacd1c349..b2e3a74bc44864 100644 --- a/Libraries/Utilities/BackHandler.android.js +++ b/Libraries/Utilities/BackHandler.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BackHandler */ 'use strict'; diff --git a/Libraries/Utilities/BackHandler.ios.js b/Libraries/Utilities/BackHandler.ios.js index 33c6a8c1d6aa48..0c0d7d437870df 100644 --- a/Libraries/Utilities/BackHandler.ios.js +++ b/Libraries/Utilities/BackHandler.ios.js @@ -7,7 +7,6 @@ * On Apple TV, this implements back navigation using the TV remote's menu button. * On iOS, this just implements a stub. * - * @providesModule BackHandler */ 'use strict'; diff --git a/Libraries/Utilities/DeviceInfo.js b/Libraries/Utilities/DeviceInfo.js index 8503ac75ca31f5..427ed495232dad 100644 --- a/Libraries/Utilities/DeviceInfo.js +++ b/Libraries/Utilities/DeviceInfo.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DeviceInfo * @flow */ 'use strict'; diff --git a/Libraries/Utilities/Dimensions.js b/Libraries/Utilities/Dimensions.js index d13b14f1bd18ea..f27ecc0976b823 100644 --- a/Libraries/Utilities/Dimensions.js +++ b/Libraries/Utilities/Dimensions.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Dimensions * @flow */ 'use strict'; diff --git a/Libraries/Utilities/HMRClient.js b/Libraries/Utilities/HMRClient.js index ff897afda8bf99..77169a2efcb57b 100644 --- a/Libraries/Utilities/HMRClient.js +++ b/Libraries/Utilities/HMRClient.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule HMRClient * @format * @flow */ diff --git a/Libraries/Utilities/HMRLoadingView.android.js b/Libraries/Utilities/HMRLoadingView.android.js index ebda3ee65c81ec..f4c0c5c731222d 100644 --- a/Libraries/Utilities/HMRLoadingView.android.js +++ b/Libraries/Utilities/HMRLoadingView.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule HMRLoadingView * @flow */ diff --git a/Libraries/Utilities/HMRLoadingView.ios.js b/Libraries/Utilities/HMRLoadingView.ios.js index 7100164d4ca667..4e9ad8fbf93f1d 100644 --- a/Libraries/Utilities/HMRLoadingView.ios.js +++ b/Libraries/Utilities/HMRLoadingView.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule HMRLoadingView * @flow */ diff --git a/Libraries/Utilities/HeapCapture.js b/Libraries/Utilities/HeapCapture.js index 49e9d678e1eef2..519a2e94370b8c 100644 --- a/Libraries/Utilities/HeapCapture.js +++ b/Libraries/Utilities/HeapCapture.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule HeapCapture * @flow */ 'use strict'; diff --git a/Libraries/Utilities/JSDevSupportModule.js b/Libraries/Utilities/JSDevSupportModule.js index dc45030bf3b5bd..c2512328461393 100644 --- a/Libraries/Utilities/JSDevSupportModule.js +++ b/Libraries/Utilities/JSDevSupportModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule JSDevSupportModule * @flow */ 'use strict'; diff --git a/Libraries/Utilities/MatrixMath.js b/Libraries/Utilities/MatrixMath.js index b36b316833fcb7..be329c2e645d5d 100755 --- a/Libraries/Utilities/MatrixMath.js +++ b/Libraries/Utilities/MatrixMath.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MatrixMath * @noflow */ /* eslint-disable space-infix-ops */ diff --git a/Libraries/Utilities/PerformanceLogger.js b/Libraries/Utilities/PerformanceLogger.js index 95b5f4924e89ef..aa4633fceb9c6e 100644 --- a/Libraries/Utilities/PerformanceLogger.js +++ b/Libraries/Utilities/PerformanceLogger.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PerformanceLogger * @flow * @format */ diff --git a/Libraries/Utilities/PixelRatio.js b/Libraries/Utilities/PixelRatio.js index bd8a6a0b9571dc..5f52bdc0f5b838 100644 --- a/Libraries/Utilities/PixelRatio.js +++ b/Libraries/Utilities/PixelRatio.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PixelRatio * @flow */ 'use strict'; diff --git a/Libraries/Utilities/Platform.android.js b/Libraries/Utilities/Platform.android.js index f0e80633f2f283..56b0d24944780d 100644 --- a/Libraries/Utilities/Platform.android.js +++ b/Libraries/Utilities/Platform.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Platform * @flow */ diff --git a/Libraries/Utilities/Platform.ios.js b/Libraries/Utilities/Platform.ios.js index 776880b7fa400d..9780ec75d2742b 100644 --- a/Libraries/Utilities/Platform.ios.js +++ b/Libraries/Utilities/Platform.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Platform * @flow */ diff --git a/Libraries/Utilities/PlatformOS.android.js b/Libraries/Utilities/PlatformOS.android.js index ff2a383759c455..d2183c41682cfd 100644 --- a/Libraries/Utilities/PlatformOS.android.js +++ b/Libraries/Utilities/PlatformOS.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PlatformOS * @flow */ diff --git a/Libraries/Utilities/PlatformOS.ios.js b/Libraries/Utilities/PlatformOS.ios.js index 11fed5978096cb..95b275712a08e7 100644 --- a/Libraries/Utilities/PlatformOS.ios.js +++ b/Libraries/Utilities/PlatformOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PlatformOS * @flow */ diff --git a/Libraries/Utilities/PolyfillFunctions.js b/Libraries/Utilities/PolyfillFunctions.js index 5bf31ee118b4d2..28cb44d5402bae 100644 --- a/Libraries/Utilities/PolyfillFunctions.js +++ b/Libraries/Utilities/PolyfillFunctions.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PolyfillFunctions * @flow * @format */ diff --git a/Libraries/Utilities/RCTLog.js b/Libraries/Utilities/RCTLog.js index 2514d9b4039d29..7259b79761f72d 100644 --- a/Libraries/Utilities/RCTLog.js +++ b/Libraries/Utilities/RCTLog.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RCTLog * @flow */ 'use strict'; diff --git a/Libraries/Utilities/SceneTracker.js b/Libraries/Utilities/SceneTracker.js index 9cebe76a99d5d2..ae41ec03e08b00 100644 --- a/Libraries/Utilities/SceneTracker.js +++ b/Libraries/Utilities/SceneTracker.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SceneTracker * @flow */ diff --git a/Libraries/Utilities/binaryToBase64.js b/Libraries/Utilities/binaryToBase64.js index d17c4d403c8705..74a01a0bcad411 100644 --- a/Libraries/Utilities/binaryToBase64.js +++ b/Libraries/Utilities/binaryToBase64.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule binaryToBase64 * @flow */ 'use strict'; diff --git a/Libraries/Utilities/buildStyleInterpolator.js b/Libraries/Utilities/buildStyleInterpolator.js index ec174441173965..a22526e45cf31e 100644 --- a/Libraries/Utilities/buildStyleInterpolator.js +++ b/Libraries/Utilities/buildStyleInterpolator.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule buildStyleInterpolator */ 'use strict'; diff --git a/Libraries/Utilities/clamp.js b/Libraries/Utilities/clamp.js index 5d15d8b3b12f3f..dcfc93d855ddd4 100644 --- a/Libraries/Utilities/clamp.js +++ b/Libraries/Utilities/clamp.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule clamp * @typechecks */ 'use strict'; diff --git a/Libraries/Utilities/createStrictShapeTypeChecker.js b/Libraries/Utilities/createStrictShapeTypeChecker.js index 89347d15e0b86a..5cde7eb5315768 100644 --- a/Libraries/Utilities/createStrictShapeTypeChecker.js +++ b/Libraries/Utilities/createStrictShapeTypeChecker.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule createStrictShapeTypeChecker * @flow */ 'use strict'; diff --git a/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js b/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js index 19cb60a9c56d6f..041691a67f7abe 100644 --- a/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +++ b/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule deepFreezeAndThrowOnMutationInDev * @flow */ diff --git a/Libraries/Utilities/defineLazyObjectProperty.js b/Libraries/Utilities/defineLazyObjectProperty.js index 87e893037913b4..cd01de5c27096c 100644 --- a/Libraries/Utilities/defineLazyObjectProperty.js +++ b/Libraries/Utilities/defineLazyObjectProperty.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule defineLazyObjectProperty * @flow */ diff --git a/Libraries/Utilities/deprecatedPropType.js b/Libraries/Utilities/deprecatedPropType.js index 8b08854fabb043..398410545ed84d 100644 --- a/Libraries/Utilities/deprecatedPropType.js +++ b/Libraries/Utilities/deprecatedPropType.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule deprecatedPropType * @flow */ 'use strict'; diff --git a/Libraries/Utilities/differ/deepDiffer.js b/Libraries/Utilities/differ/deepDiffer.js index af0bd295694b19..700733f51f6bcf 100644 --- a/Libraries/Utilities/differ/deepDiffer.js +++ b/Libraries/Utilities/differ/deepDiffer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule deepDiffer * @flow */ 'use strict'; diff --git a/Libraries/Utilities/differ/insetsDiffer.js b/Libraries/Utilities/differ/insetsDiffer.js index 1d497c0948e53a..7214ab6d763895 100644 --- a/Libraries/Utilities/differ/insetsDiffer.js +++ b/Libraries/Utilities/differ/insetsDiffer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule insetsDiffer * @flow */ 'use strict'; diff --git a/Libraries/Utilities/differ/matricesDiffer.js b/Libraries/Utilities/differ/matricesDiffer.js index 25e741a4ff8283..177a7a110ac43a 100644 --- a/Libraries/Utilities/differ/matricesDiffer.js +++ b/Libraries/Utilities/differ/matricesDiffer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule matricesDiffer */ 'use strict'; diff --git a/Libraries/Utilities/differ/pointsDiffer.js b/Libraries/Utilities/differ/pointsDiffer.js index cb41cec85494a4..e019124e76d1d8 100644 --- a/Libraries/Utilities/differ/pointsDiffer.js +++ b/Libraries/Utilities/differ/pointsDiffer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule pointsDiffer * @flow */ 'use strict'; diff --git a/Libraries/Utilities/differ/sizesDiffer.js b/Libraries/Utilities/differ/sizesDiffer.js index 55ea66ded36ca5..c4e104a1439b79 100644 --- a/Libraries/Utilities/differ/sizesDiffer.js +++ b/Libraries/Utilities/differ/sizesDiffer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule sizesDiffer */ 'use strict'; diff --git a/Libraries/Utilities/dismissKeyboard.js b/Libraries/Utilities/dismissKeyboard.js index febcc82bfa9a65..a5b9e2f00dd987 100644 --- a/Libraries/Utilities/dismissKeyboard.js +++ b/Libraries/Utilities/dismissKeyboard.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule dismissKeyboard * * This function dismisses the currently-open keyboard, if any */ diff --git a/Libraries/Utilities/groupByEveryN.js b/Libraries/Utilities/groupByEveryN.js index ea400392291231..2cda280be6f15f 100644 --- a/Libraries/Utilities/groupByEveryN.js +++ b/Libraries/Utilities/groupByEveryN.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule groupByEveryN * @flow */ diff --git a/Libraries/Utilities/infoLog.js b/Libraries/Utilities/infoLog.js index 66278f520e8424..9437179b163d4b 100644 --- a/Libraries/Utilities/infoLog.js +++ b/Libraries/Utilities/infoLog.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule infoLog */ 'use strict'; diff --git a/Libraries/Utilities/logError.js b/Libraries/Utilities/logError.js index 6cf212b1f14712..5482448ae20b54 100644 --- a/Libraries/Utilities/logError.js +++ b/Libraries/Utilities/logError.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule logError * @flow */ 'use strict'; diff --git a/Libraries/Utilities/mapWithSeparator.js b/Libraries/Utilities/mapWithSeparator.js index 0beceda0174c0f..09fe19cec8977d 100644 --- a/Libraries/Utilities/mapWithSeparator.js +++ b/Libraries/Utilities/mapWithSeparator.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule mapWithSeparator * @flow */ 'use strict'; diff --git a/Libraries/Utilities/mergeFast.js b/Libraries/Utilities/mergeFast.js index 60ad36c20464a8..42e357e5dbda59 100644 --- a/Libraries/Utilities/mergeFast.js +++ b/Libraries/Utilities/mergeFast.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule mergeFast * @flow */ 'use strict'; diff --git a/Libraries/Utilities/mergeIntoFast.js b/Libraries/Utilities/mergeIntoFast.js index ff048311403a87..e657de7c3d9dbb 100644 --- a/Libraries/Utilities/mergeIntoFast.js +++ b/Libraries/Utilities/mergeIntoFast.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule mergeIntoFast * @flow */ 'use strict'; diff --git a/Libraries/Utilities/stringifySafe.js b/Libraries/Utilities/stringifySafe.js index 39ada622714243..f8f7ab8f0e4013 100644 --- a/Libraries/Utilities/stringifySafe.js +++ b/Libraries/Utilities/stringifySafe.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule stringifySafe * @flow */ 'use strict'; diff --git a/Libraries/Utilities/truncate.js b/Libraries/Utilities/truncate.js index 0e0d8c643ea55e..5b89e8ff200741 100644 --- a/Libraries/Utilities/truncate.js +++ b/Libraries/Utilities/truncate.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule truncate * @flow */ 'use strict'; diff --git a/Libraries/Vibration/Vibration.js b/Libraries/Vibration/Vibration.js index 7f10cda29f8fab..c0ee75203fcd57 100644 --- a/Libraries/Vibration/Vibration.js +++ b/Libraries/Vibration/Vibration.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Vibration * @flow * @jsdoc */ diff --git a/Libraries/Vibration/VibrationIOS.android.js b/Libraries/Vibration/VibrationIOS.android.js index 0b2279b696ccb5..b57279a73844df 100644 --- a/Libraries/Vibration/VibrationIOS.android.js +++ b/Libraries/Vibration/VibrationIOS.android.js @@ -6,7 +6,6 @@ * * Stub of VibrationIOS for Android. * - * @providesModule VibrationIOS */ 'use strict'; diff --git a/Libraries/Vibration/VibrationIOS.ios.js b/Libraries/Vibration/VibrationIOS.ios.js index ec55640442f670..5ce5f4019bb5a6 100644 --- a/Libraries/Vibration/VibrationIOS.ios.js +++ b/Libraries/Vibration/VibrationIOS.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule VibrationIOS * @flow */ 'use strict'; diff --git a/Libraries/WebSocket/WebSocket.js b/Libraries/WebSocket/WebSocket.js index 1b401d236c2830..ef28c6ce464d0a 100644 --- a/Libraries/WebSocket/WebSocket.js +++ b/Libraries/WebSocket/WebSocket.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WebSocket * @flow */ 'use strict'; diff --git a/Libraries/WebSocket/WebSocketEvent.js b/Libraries/WebSocket/WebSocketEvent.js index 93133902a94a8d..b72188d34b8c4c 100644 --- a/Libraries/WebSocket/WebSocketEvent.js +++ b/Libraries/WebSocket/WebSocketEvent.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WebSocketEvent */ 'use strict'; diff --git a/Libraries/WebSocket/WebSocketInterceptor.js b/Libraries/WebSocket/WebSocketInterceptor.js index 10251dfa1a2045..0ab63cf662a9b2 100644 --- a/Libraries/WebSocket/WebSocketInterceptor.js +++ b/Libraries/WebSocket/WebSocketInterceptor.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WebSocketInterceptor */ 'use strict'; diff --git a/Libraries/polyfills/Array.es6.js b/Libraries/polyfills/Array.es6.js index 0075d7ae1e070c..252d996b919fd2 100644 --- a/Libraries/polyfills/Array.es6.js +++ b/Libraries/polyfills/Array.es6.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Array.es6 * @polyfill * @nolint */ diff --git a/Libraries/polyfills/Array.prototype.es6.js b/Libraries/polyfills/Array.prototype.es6.js index 2bf044144eb7a9..a3c8da5415fa62 100644 --- a/Libraries/polyfills/Array.prototype.es6.js +++ b/Libraries/polyfills/Array.prototype.es6.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Array.prototype.es6 * @polyfill * @nolint */ diff --git a/Libraries/polyfills/Number.es6.js b/Libraries/polyfills/Number.es6.js index ef7d4ac88e4f41..b95166205be6e3 100644 --- a/Libraries/polyfills/Number.es6.js +++ b/Libraries/polyfills/Number.es6.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Number.es6 * @polyfill * @nolint */ diff --git a/Libraries/polyfills/Object.es6.js b/Libraries/polyfills/Object.es6.js index 0aa884e8be9596..3d521e0a630d57 100644 --- a/Libraries/polyfills/Object.es6.js +++ b/Libraries/polyfills/Object.es6.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Object.es6 * @polyfill * @nolint */ diff --git a/Libraries/polyfills/Object.es7.js b/Libraries/polyfills/Object.es7.js index 294756b11c3638..a891057b9e7bed 100644 --- a/Libraries/polyfills/Object.es7.js +++ b/Libraries/polyfills/Object.es7.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Object.es7 * @polyfill * @nolint */ diff --git a/Libraries/polyfills/String.prototype.es6.js b/Libraries/polyfills/String.prototype.es6.js index b3bd95be6b88bc..02b33dd1e199dd 100644 --- a/Libraries/polyfills/String.prototype.es6.js +++ b/Libraries/polyfills/String.prototype.es6.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule String.prototype.es6 * @polyfill * @nolint */ diff --git a/Libraries/polyfills/babelHelpers.js b/Libraries/polyfills/babelHelpers.js index 7d251ea347489b..11123e0f3bc002 100644 --- a/Libraries/polyfills/babelHelpers.js +++ b/Libraries/polyfills/babelHelpers.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule babelHelpers * @polyfill * @nolint */ diff --git a/Libraries/polyfills/console.js b/Libraries/polyfills/console.js index 794a89c4f49f97..47970958a066e9 100644 --- a/Libraries/polyfills/console.js +++ b/Libraries/polyfills/console.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule console * @polyfill * @nolint * @format diff --git a/Libraries/polyfills/error-guard.js b/Libraries/polyfills/error-guard.js index 632e7e0e4f02d6..17181d10219290 100644 --- a/Libraries/polyfills/error-guard.js +++ b/Libraries/polyfills/error-guard.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule error-guard * @polyfill * @nolint */ diff --git a/Libraries/promiseRejectionIsError.js b/Libraries/promiseRejectionIsError.js index ce3ee915cff47f..672949116911f7 100644 --- a/Libraries/promiseRejectionIsError.js +++ b/Libraries/promiseRejectionIsError.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule promiseRejectionIsError * @flow */ 'use strict'; diff --git a/Libraries/react-native/React.js b/Libraries/react-native/React.js index f000f1403b5d6a..ff4c2454459fe0 100644 --- a/Libraries/react-native/React.js +++ b/Libraries/react-native/React.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule React */ 'use strict'; diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index e3b19adc459c80..5a6f9759e8ced4 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule react-native-implementation * @flow */ 'use strict'; diff --git a/Libraries/react-native/react-native-interface.js b/Libraries/react-native/react-native-interface.js index fd4ad545c31b10..5f2cdf2c1cf69c 100644 --- a/Libraries/react-native/react-native-interface.js +++ b/Libraries/react-native/react-native-interface.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule react-native-interface */ 'use strict'; diff --git a/Libraries/vendor/core/ErrorUtils.js b/Libraries/vendor/core/ErrorUtils.js index 8b36c611105d0e..2fb0272d347adf 100644 --- a/Libraries/vendor/core/ErrorUtils.js +++ b/Libraries/vendor/core/ErrorUtils.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ErrorUtils * @flow */ diff --git a/Libraries/vendor/core/Map.js b/Libraries/vendor/core/Map.js index e9e687a15ce99e..115e2f855eafab 100644 --- a/Libraries/vendor/core/Map.js +++ b/Libraries/vendor/core/Map.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Map * @preventMunge * @typechecks */ diff --git a/Libraries/vendor/core/Set.js b/Libraries/vendor/core/Set.js index b43313205ef7e3..16e3cecae21fb1 100644 --- a/Libraries/vendor/core/Set.js +++ b/Libraries/vendor/core/Set.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Set * @preventMunge * @typechecks */ diff --git a/Libraries/vendor/core/_shouldPolyfillES6Collection.js b/Libraries/vendor/core/_shouldPolyfillES6Collection.js index e3f77b169dece5..84ed51ded55e18 100644 --- a/Libraries/vendor/core/_shouldPolyfillES6Collection.js +++ b/Libraries/vendor/core/_shouldPolyfillES6Collection.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule _shouldPolyfillES6Collection * @preventMunge * @flow */ diff --git a/Libraries/vendor/core/getObjectValues.js b/Libraries/vendor/core/getObjectValues.js index aac327c2eaed9d..398788c1e02f96 100644 --- a/Libraries/vendor/core/getObjectValues.js +++ b/Libraries/vendor/core/getObjectValues.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule getObjectValues * @typechecks */ 'use strict'; diff --git a/Libraries/vendor/core/guid.js b/Libraries/vendor/core/guid.js index 74c97cf383de1f..b6195ef6b6917d 100644 --- a/Libraries/vendor/core/guid.js +++ b/Libraries/vendor/core/guid.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule guid */ /* eslint-disable no-bitwise */ diff --git a/Libraries/vendor/core/isEmpty.js b/Libraries/vendor/core/isEmpty.js index 1f55d4519ff3af..6d451729c7c8e2 100644 --- a/Libraries/vendor/core/isEmpty.js +++ b/Libraries/vendor/core/isEmpty.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule isEmpty */ 'use strict'; diff --git a/Libraries/vendor/core/merge.js b/Libraries/vendor/core/merge.js index 800c08c1be263a..6963eddd5628af 100644 --- a/Libraries/vendor/core/merge.js +++ b/Libraries/vendor/core/merge.js @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<0e3063b19e14ed191102b1dffe45551f>> + * @generated SignedSource<<148d1974f94f5c9597e86f946bdf0d4e>> * * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * !! This file is a check-in of a static_upstream project! !! @@ -26,7 +26,6 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * @providesModule merge */ "use strict"; diff --git a/Libraries/vendor/core/mergeHelpers.js b/Libraries/vendor/core/mergeHelpers.js index 4eb2d9d2aec8f1..e24559ddb50c2f 100644 --- a/Libraries/vendor/core/mergeHelpers.js +++ b/Libraries/vendor/core/mergeHelpers.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule mergeHelpers * * requiresPolyfills: Array.isArray */ diff --git a/Libraries/vendor/core/mergeInto.js b/Libraries/vendor/core/mergeInto.js index 0da86a50cdb419..d42b3dcf36ed3f 100644 --- a/Libraries/vendor/core/mergeInto.js +++ b/Libraries/vendor/core/mergeInto.js @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * !! This file is a check-in of a static_upstream project! !! @@ -26,7 +26,6 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * @providesModule mergeInto * @typechecks static-only */ diff --git a/Libraries/vendor/core/toIterator.js b/Libraries/vendor/core/toIterator.js index b396c469c03f3e..cabd1e2b066786 100644 --- a/Libraries/vendor/core/toIterator.js +++ b/Libraries/vendor/core/toIterator.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule toIterator */ 'use strict'; diff --git a/Libraries/vendor/document/selection/DocumentSelectionState.js b/Libraries/vendor/document/selection/DocumentSelectionState.js index a702582c6965d0..28b93e34390609 100644 --- a/Libraries/vendor/document/selection/DocumentSelectionState.js +++ b/Libraries/vendor/document/selection/DocumentSelectionState.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DocumentSelectionState * @typechecks */ diff --git a/Libraries/vendor/emitter/EmitterSubscription.js b/Libraries/vendor/emitter/EmitterSubscription.js index e352e71675c9b9..844c28e386c8c2 100644 --- a/Libraries/vendor/emitter/EmitterSubscription.js +++ b/Libraries/vendor/emitter/EmitterSubscription.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EmitterSubscription * @flow */ 'use strict'; diff --git a/Libraries/vendor/emitter/EventEmitter.js b/Libraries/vendor/emitter/EventEmitter.js index 4fdb10a051593a..4b9307e492925e 100644 --- a/Libraries/vendor/emitter/EventEmitter.js +++ b/Libraries/vendor/emitter/EventEmitter.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EventEmitter * @noflow * @typecheck */ diff --git a/Libraries/vendor/emitter/EventEmitterWithHolding.js b/Libraries/vendor/emitter/EventEmitterWithHolding.js index 8c082222e8f73f..a9f232a567a8c0 100644 --- a/Libraries/vendor/emitter/EventEmitterWithHolding.js +++ b/Libraries/vendor/emitter/EventEmitterWithHolding.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EventEmitterWithHolding * @flow */ 'use strict'; diff --git a/Libraries/vendor/emitter/EventHolder.js b/Libraries/vendor/emitter/EventHolder.js index 3bb7062e020f6a..2faa43eb19a8e3 100644 --- a/Libraries/vendor/emitter/EventHolder.js +++ b/Libraries/vendor/emitter/EventHolder.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EventHolder * @flow */ 'use strict'; diff --git a/Libraries/vendor/emitter/EventSubscription.js b/Libraries/vendor/emitter/EventSubscription.js index 82cb06fc4fd556..1d809c371d14ab 100644 --- a/Libraries/vendor/emitter/EventSubscription.js +++ b/Libraries/vendor/emitter/EventSubscription.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EventSubscription * @flow */ 'use strict'; diff --git a/Libraries/vendor/emitter/EventSubscriptionVendor.js b/Libraries/vendor/emitter/EventSubscriptionVendor.js index aa2a4e76b90b21..779952898c8be8 100644 --- a/Libraries/vendor/emitter/EventSubscriptionVendor.js +++ b/Libraries/vendor/emitter/EventSubscriptionVendor.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EventSubscriptionVendor * @flow */ 'use strict'; diff --git a/Libraries/vendor/emitter/EventValidator.js b/Libraries/vendor/emitter/EventValidator.js index 9930236776b210..16b4697910377e 100644 --- a/Libraries/vendor/emitter/EventValidator.js +++ b/Libraries/vendor/emitter/EventValidator.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule EventValidator * @flow */ 'use strict'; diff --git a/Libraries/vendor/emitter/mixInEventEmitter.js b/Libraries/vendor/emitter/mixInEventEmitter.js index 6ee08d6d31acb0..5b23f891d88307 100644 --- a/Libraries/vendor/emitter/mixInEventEmitter.js +++ b/Libraries/vendor/emitter/mixInEventEmitter.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule mixInEventEmitter * @flow */ 'use strict'; diff --git a/RNTester/RNTesterUnitTests/RNTesterUnitTestsBundle.js b/RNTester/RNTesterUnitTests/RNTesterUnitTestsBundle.js index f0a455ff355294..e6ff98a10ac117 100644 --- a/RNTester/RNTesterUnitTests/RNTesterUnitTestsBundle.js +++ b/RNTester/RNTesterUnitTests/RNTesterUnitTestsBundle.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterUnitTestsBundle */ 'use strict'; diff --git a/RNTester/js/ARTExample.js b/RNTester/js/ARTExample.js index 704a9c06bbdc3e..fb8d0378c862a6 100644 --- a/RNTester/js/ARTExample.js +++ b/RNTester/js/ARTExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ARTExample */ 'use strict'; diff --git a/RNTester/js/AccessibilityAndroidExample.android.js b/RNTester/js/AccessibilityAndroidExample.android.js index 54b087fa207fdf..6c6a80d416c07c 100644 --- a/RNTester/js/AccessibilityAndroidExample.android.js +++ b/RNTester/js/AccessibilityAndroidExample.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AccessibilityAndroidExample */ 'use strict'; diff --git a/RNTester/js/AccessibilityIOSExample.js b/RNTester/js/AccessibilityIOSExample.js index 0deead7538d62e..dabce101ce1e17 100644 --- a/RNTester/js/AccessibilityIOSExample.js +++ b/RNTester/js/AccessibilityIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AccessibilityIOSExample */ 'use strict'; diff --git a/RNTester/js/ActionSheetIOSExample.js b/RNTester/js/ActionSheetIOSExample.js index ac9d9737863780..1b04190b253ae6 100644 --- a/RNTester/js/ActionSheetIOSExample.js +++ b/RNTester/js/ActionSheetIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ActionSheetIOSExample */ 'use strict'; diff --git a/RNTester/js/ActivityIndicatorExample.js b/RNTester/js/ActivityIndicatorExample.js index 692acd01c7d167..05c9e06d4060ac 100644 --- a/RNTester/js/ActivityIndicatorExample.js +++ b/RNTester/js/ActivityIndicatorExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ActivityIndicatorExample */ 'use strict'; diff --git a/RNTester/js/AlertExample.js b/RNTester/js/AlertExample.js index 93c82e4069c9f3..dee922a66abfd9 100644 --- a/RNTester/js/AlertExample.js +++ b/RNTester/js/AlertExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AlertExample */ 'use strict'; diff --git a/RNTester/js/AlertIOSExample.js b/RNTester/js/AlertIOSExample.js index b8b1cee43f85f7..8f4a898a572685 100644 --- a/RNTester/js/AlertIOSExample.js +++ b/RNTester/js/AlertIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AlertIOSExample */ 'use strict'; diff --git a/RNTester/js/AnimatedExample.js b/RNTester/js/AnimatedExample.js index 8130a9d9f62908..9e60a81cb10588 100644 --- a/RNTester/js/AnimatedExample.js +++ b/RNTester/js/AnimatedExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AnimatedExample */ 'use strict'; diff --git a/RNTester/js/AnimatedGratuitousApp/AnExApp.js b/RNTester/js/AnimatedGratuitousApp/AnExApp.js index 1116a84ee98254..c723f40f7e1188 100644 --- a/RNTester/js/AnimatedGratuitousApp/AnExApp.js +++ b/RNTester/js/AnimatedGratuitousApp/AnExApp.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnExApp * @flow */ 'use strict'; diff --git a/RNTester/js/AnimatedGratuitousApp/AnExBobble.js b/RNTester/js/AnimatedGratuitousApp/AnExBobble.js index d3f8885275eb91..7f56bbe68e97ee 100644 --- a/RNTester/js/AnimatedGratuitousApp/AnExBobble.js +++ b/RNTester/js/AnimatedGratuitousApp/AnExBobble.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnExBobble * @flow */ 'use strict'; diff --git a/RNTester/js/AnimatedGratuitousApp/AnExChained.js b/RNTester/js/AnimatedGratuitousApp/AnExChained.js index 63a83804ed34c9..00d72dafb12aa8 100644 --- a/RNTester/js/AnimatedGratuitousApp/AnExChained.js +++ b/RNTester/js/AnimatedGratuitousApp/AnExChained.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnExChained * @flow */ 'use strict'; diff --git a/RNTester/js/AnimatedGratuitousApp/AnExScroll.js b/RNTester/js/AnimatedGratuitousApp/AnExScroll.js index b7f69425437fdf..c0f7495e4baa87 100644 --- a/RNTester/js/AnimatedGratuitousApp/AnExScroll.js +++ b/RNTester/js/AnimatedGratuitousApp/AnExScroll.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnExScroll * @flow */ 'use strict'; diff --git a/RNTester/js/AnimatedGratuitousApp/AnExSet.js b/RNTester/js/AnimatedGratuitousApp/AnExSet.js index a89fd2008a3f04..873d5251c2eb51 100644 --- a/RNTester/js/AnimatedGratuitousApp/AnExSet.js +++ b/RNTester/js/AnimatedGratuitousApp/AnExSet.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnExSet * @flow */ 'use strict'; diff --git a/RNTester/js/AnimatedGratuitousApp/AnExTilt.js b/RNTester/js/AnimatedGratuitousApp/AnExTilt.js index a5678b6865073c..c7540de730eb9b 100644 --- a/RNTester/js/AnimatedGratuitousApp/AnExTilt.js +++ b/RNTester/js/AnimatedGratuitousApp/AnExTilt.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AnExTilt * @flow */ 'use strict'; diff --git a/RNTester/js/AppStateExample.js b/RNTester/js/AppStateExample.js index 8088d77fc06f37..f6b4265c84c3c8 100644 --- a/RNTester/js/AppStateExample.js +++ b/RNTester/js/AppStateExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule AppStateExample * @flow */ 'use strict'; diff --git a/RNTester/js/AssetScaledImageExample.js b/RNTester/js/AssetScaledImageExample.js index b723d8f50ea588..51e97a8aee925f 100644 --- a/RNTester/js/AssetScaledImageExample.js +++ b/RNTester/js/AssetScaledImageExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AssetScaledImageExample */ 'use strict'; diff --git a/RNTester/js/AsyncStorageExample.js b/RNTester/js/AsyncStorageExample.js index 5e16a6b847c42c..eb354b2db633fc 100644 --- a/RNTester/js/AsyncStorageExample.js +++ b/RNTester/js/AsyncStorageExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule AsyncStorageExample */ 'use strict'; diff --git a/RNTester/js/BorderExample.js b/RNTester/js/BorderExample.js index 8885537fb35b43..6f64581dfbda8a 100644 --- a/RNTester/js/BorderExample.js +++ b/RNTester/js/BorderExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BorderExample */ 'use strict'; diff --git a/RNTester/js/BoxShadowExample.js b/RNTester/js/BoxShadowExample.js index bddce0490b3b2c..056b61aee33ab2 100644 --- a/RNTester/js/BoxShadowExample.js +++ b/RNTester/js/BoxShadowExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule BoxShadowExample */ 'use strict'; diff --git a/RNTester/js/ButtonExample.js b/RNTester/js/ButtonExample.js index 6c850a2121a7f6..8ba4876ed74eab 100644 --- a/RNTester/js/ButtonExample.js +++ b/RNTester/js/ButtonExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ButtonExample */ 'use strict'; diff --git a/RNTester/js/CameraRollExample.js b/RNTester/js/CameraRollExample.js index 508980d47196ad..f289a2b610771f 100644 --- a/RNTester/js/CameraRollExample.js +++ b/RNTester/js/CameraRollExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule CameraRollExample * @format */ 'use strict'; diff --git a/RNTester/js/CameraRollView.js b/RNTester/js/CameraRollView.js index c08aeb71e833c7..29eb070223a9cc 100644 --- a/RNTester/js/CameraRollView.js +++ b/RNTester/js/CameraRollView.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule CameraRollView * @flow */ 'use strict'; diff --git a/RNTester/js/CheckBoxExample.js b/RNTester/js/CheckBoxExample.js index 98685fac4be787..1ef830cabd1248 100644 --- a/RNTester/js/CheckBoxExample.js +++ b/RNTester/js/CheckBoxExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule CheckBoxExample * @format */ 'use strict'; diff --git a/RNTester/js/ClipboardExample.js b/RNTester/js/ClipboardExample.js index 8526cea43340e4..57ee1e172e7394 100644 --- a/RNTester/js/ClipboardExample.js +++ b/RNTester/js/ClipboardExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ClipboardExample */ 'use strict'; diff --git a/RNTester/js/DatePickerAndroidExample.js b/RNTester/js/DatePickerAndroidExample.js index 926071b66d7a4a..2b6706e06be5ac 100644 --- a/RNTester/js/DatePickerAndroidExample.js +++ b/RNTester/js/DatePickerAndroidExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DatePickerAndroidExample */ 'use strict'; diff --git a/RNTester/js/DatePickerIOSExample.js b/RNTester/js/DatePickerIOSExample.js index b11e0644c20d80..a0b6234e8225b1 100644 --- a/RNTester/js/DatePickerIOSExample.js +++ b/RNTester/js/DatePickerIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule DatePickerIOSExample */ 'use strict'; diff --git a/RNTester/js/DimensionsExample.js b/RNTester/js/DimensionsExample.js index 9611eedd482de1..d0274f15a185b6 100644 --- a/RNTester/js/DimensionsExample.js +++ b/RNTester/js/DimensionsExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DimensionsExample * @flow */ 'use strict'; diff --git a/RNTester/js/ExampleTypes.js b/RNTester/js/ExampleTypes.js index e747e43be9f940..4e42bf4cf3da78 100644 --- a/RNTester/js/ExampleTypes.js +++ b/RNTester/js/ExampleTypes.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ExampleTypes * @flow */ 'use strict'; diff --git a/RNTester/js/FlatListExample.js b/RNTester/js/FlatListExample.js index 9ec623fc86aadb..0c47ebc69f6870 100644 --- a/RNTester/js/FlatListExample.js +++ b/RNTester/js/FlatListExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule FlatListExample */ 'use strict'; diff --git a/RNTester/js/GeolocationExample.js b/RNTester/js/GeolocationExample.js index 1282673f0acb91..2cbd091f50f536 100644 --- a/RNTester/js/GeolocationExample.js +++ b/RNTester/js/GeolocationExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule GeolocationExample */ 'use strict'; diff --git a/RNTester/js/ImageCapInsetsExample.js b/RNTester/js/ImageCapInsetsExample.js index 645d002b9be457..97b407f08e1118 100644 --- a/RNTester/js/ImageCapInsetsExample.js +++ b/RNTester/js/ImageCapInsetsExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ImageCapInsetsExample * @flow */ 'use strict'; diff --git a/RNTester/js/ImageEditingExample.js b/RNTester/js/ImageEditingExample.js index d9defa775f5ae3..76bf871273a4df 100644 --- a/RNTester/js/ImageEditingExample.js +++ b/RNTester/js/ImageEditingExample.js @@ -5,5 +5,4 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ImageEditingExample */ diff --git a/RNTester/js/ImageExample.js b/RNTester/js/ImageExample.js index 37f36b697de32a..65c6380509b239 100644 --- a/RNTester/js/ImageExample.js +++ b/RNTester/js/ImageExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ImageExample */ 'use strict'; diff --git a/RNTester/js/InputAccessoryViewExample.js b/RNTester/js/InputAccessoryViewExample.js index 9287fb7e1e6833..45b63e20d9f5da 100644 --- a/RNTester/js/InputAccessoryViewExample.js +++ b/RNTester/js/InputAccessoryViewExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InputAccessoryViewExample * @flow * @format */ diff --git a/RNTester/js/KeyboardAvoidingViewExample.js b/RNTester/js/KeyboardAvoidingViewExample.js index 3b52f3accbb760..3c84590822d621 100644 --- a/RNTester/js/KeyboardAvoidingViewExample.js +++ b/RNTester/js/KeyboardAvoidingViewExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule KeyboardAvoidingViewExample */ 'use strict'; diff --git a/RNTester/js/LayoutAnimationExample.js b/RNTester/js/LayoutAnimationExample.js index d815712bba4f0b..a62143d2b04ad1 100644 --- a/RNTester/js/LayoutAnimationExample.js +++ b/RNTester/js/LayoutAnimationExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule LayoutAnimationExample */ 'use strict'; diff --git a/RNTester/js/LayoutEventsExample.js b/RNTester/js/LayoutEventsExample.js index 37b9811d8d4080..b90bc27fd5ca92 100644 --- a/RNTester/js/LayoutEventsExample.js +++ b/RNTester/js/LayoutEventsExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule LayoutEventsExample */ 'use strict'; diff --git a/RNTester/js/LayoutExample.js b/RNTester/js/LayoutExample.js index eec0faa433d265..b6edcaef7297a1 100644 --- a/RNTester/js/LayoutExample.js +++ b/RNTester/js/LayoutExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule LayoutExample */ 'use strict'; diff --git a/RNTester/js/LinkingExample.js b/RNTester/js/LinkingExample.js index 52297f07cf8ed6..4ee6a27421b692 100644 --- a/RNTester/js/LinkingExample.js +++ b/RNTester/js/LinkingExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule LinkingExample */ 'use strict'; diff --git a/RNTester/js/ListExampleShared.js b/RNTester/js/ListExampleShared.js index 75ef6bb4b65cd4..2aab9716165734 100644 --- a/RNTester/js/ListExampleShared.js +++ b/RNTester/js/ListExampleShared.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ListExampleShared */ 'use strict'; diff --git a/RNTester/js/ListViewExample.js b/RNTester/js/ListViewExample.js index ee828423618784..ea1e07bafe5e1d 100644 --- a/RNTester/js/ListViewExample.js +++ b/RNTester/js/ListViewExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ListViewExample */ 'use strict'; diff --git a/RNTester/js/ListViewGridLayoutExample.js b/RNTester/js/ListViewGridLayoutExample.js index 636db62fccecb7..5f389596ea86fb 100644 --- a/RNTester/js/ListViewGridLayoutExample.js +++ b/RNTester/js/ListViewGridLayoutExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ListViewGridLayoutExample */ 'use strict'; diff --git a/RNTester/js/ListViewPagingExample.js b/RNTester/js/ListViewPagingExample.js index 3d68e7ec54683c..88548ec0b98539 100644 --- a/RNTester/js/ListViewPagingExample.js +++ b/RNTester/js/ListViewPagingExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ListViewPagingExample * @flow */ 'use strict'; diff --git a/RNTester/js/MaskedViewExample.js b/RNTester/js/MaskedViewExample.js index cca734b53576a1..6548b7e4957004 100644 --- a/RNTester/js/MaskedViewExample.js +++ b/RNTester/js/MaskedViewExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule MaskedViewExample */ 'use strict'; diff --git a/RNTester/js/ModalExample.js b/RNTester/js/ModalExample.js index 12093f4d8f4e07..eba8a646cfc9a5 100644 --- a/RNTester/js/ModalExample.js +++ b/RNTester/js/ModalExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ModalExample */ 'use strict'; diff --git a/RNTester/js/MultiColumnExample.js b/RNTester/js/MultiColumnExample.js index cc323cfcdad8c0..52fdaa2721d47c 100644 --- a/RNTester/js/MultiColumnExample.js +++ b/RNTester/js/MultiColumnExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule MultiColumnExample */ 'use strict'; diff --git a/RNTester/js/NativeAnimationsExample.js b/RNTester/js/NativeAnimationsExample.js index 5a6e5df55e84e2..52cb766c8aecec 100644 --- a/RNTester/js/NativeAnimationsExample.js +++ b/RNTester/js/NativeAnimationsExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule NativeAnimationsExample */ 'use strict'; diff --git a/RNTester/js/NavigatorIOSBarStyleExample.js b/RNTester/js/NavigatorIOSBarStyleExample.js index d9d53edd3c99a2..62e331e22f5ae1 100644 --- a/RNTester/js/NavigatorIOSBarStyleExample.js +++ b/RNTester/js/NavigatorIOSBarStyleExample.js @@ -16,7 +16,6 @@ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * - * @providesModule NavigatorIOSBarStyleExample */ 'use strict'; diff --git a/RNTester/js/NavigatorIOSColorsExample.js b/RNTester/js/NavigatorIOSColorsExample.js index f34c9c9d10aff3..cdcf6edb7bbd1b 100644 --- a/RNTester/js/NavigatorIOSColorsExample.js +++ b/RNTester/js/NavigatorIOSColorsExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NavigatorIOSColorsExample */ 'use strict'; diff --git a/RNTester/js/NavigatorIOSExample.js b/RNTester/js/NavigatorIOSExample.js index 79ee6f0fd07065..3712b7c4dba878 100644 --- a/RNTester/js/NavigatorIOSExample.js +++ b/RNTester/js/NavigatorIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule NavigatorIOSExample */ 'use strict'; diff --git a/RNTester/js/NetInfoExample.js b/RNTester/js/NetInfoExample.js index 0ba8dd2ff8c895..b81251949dad34 100644 --- a/RNTester/js/NetInfoExample.js +++ b/RNTester/js/NetInfoExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule NetInfoExample */ 'use strict'; diff --git a/RNTester/js/OrientationChangeExample.js b/RNTester/js/OrientationChangeExample.js index af6f9b1feeca09..0c07d21a02b344 100644 --- a/RNTester/js/OrientationChangeExample.js +++ b/RNTester/js/OrientationChangeExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule OrientationChangeExample * @flow */ 'use strict'; diff --git a/RNTester/js/PanResponderExample.js b/RNTester/js/PanResponderExample.js index 27d9a8016677b4..598de1eac80cc6 100644 --- a/RNTester/js/PanResponderExample.js +++ b/RNTester/js/PanResponderExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow weak - * @providesModule PanResponderExample */ 'use strict'; diff --git a/RNTester/js/PermissionsExampleAndroid.android.js b/RNTester/js/PermissionsExampleAndroid.android.js index cb837183a6295d..322307f32706af 100644 --- a/RNTester/js/PermissionsExampleAndroid.android.js +++ b/RNTester/js/PermissionsExampleAndroid.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PermissionsExampleAndroid * @flow */ 'use strict'; diff --git a/RNTester/js/PickerExample.js b/RNTester/js/PickerExample.js index 1a1005cdaa2d03..4bd2fd2c362211 100644 --- a/RNTester/js/PickerExample.js +++ b/RNTester/js/PickerExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule PickerExample */ 'use strict'; diff --git a/RNTester/js/PickerIOSExample.js b/RNTester/js/PickerIOSExample.js index a4d5de63a046c7..4202fd517e50ca 100644 --- a/RNTester/js/PickerIOSExample.js +++ b/RNTester/js/PickerIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule PickerIOSExample */ 'use strict'; diff --git a/RNTester/js/PointerEventsExample.js b/RNTester/js/PointerEventsExample.js index ac15811c96ddf7..1fc85702a38d4b 100644 --- a/RNTester/js/PointerEventsExample.js +++ b/RNTester/js/PointerEventsExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule PointerEventsExample */ 'use strict'; diff --git a/RNTester/js/ProgressBarAndroidExample.android.js b/RNTester/js/ProgressBarAndroidExample.android.js index baa75b9ff1e6d2..1d55779d5780c1 100644 --- a/RNTester/js/ProgressBarAndroidExample.android.js +++ b/RNTester/js/ProgressBarAndroidExample.android.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ProgressBarAndroidExample */ 'use strict'; diff --git a/RNTester/js/ProgressViewIOSExample.js b/RNTester/js/ProgressViewIOSExample.js index d0641760965c6a..821fe2e2520ed4 100644 --- a/RNTester/js/ProgressViewIOSExample.js +++ b/RNTester/js/ProgressViewIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ProgressViewIOSExample */ 'use strict'; diff --git a/RNTester/js/PushNotificationIOSExample.js b/RNTester/js/PushNotificationIOSExample.js index c2368e9a782b14..b2c54165a1c504 100644 --- a/RNTester/js/PushNotificationIOSExample.js +++ b/RNTester/js/PushNotificationIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule PushNotificationIOSExample */ 'use strict'; diff --git a/RNTester/js/RCTRootViewIOSExample.js b/RNTester/js/RCTRootViewIOSExample.js index f6b3b20536efa4..5eba0e8cae70e7 100644 --- a/RNTester/js/RCTRootViewIOSExample.js +++ b/RNTester/js/RCTRootViewIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RCTRootViewIOSExample */ 'use strict'; diff --git a/RNTester/js/RNTesterActions.js b/RNTester/js/RNTesterActions.js index 2bf967b3c2e66b..cc89277dcf9cb2 100644 --- a/RNTester/js/RNTesterActions.js +++ b/RNTester/js/RNTesterActions.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RNTesterActions */ 'use strict'; diff --git a/RNTester/js/RNTesterApp.android.js b/RNTester/js/RNTesterApp.android.js index d5f05d12a90a3c..ad377b85a54fcc 100644 --- a/RNTester/js/RNTesterApp.android.js +++ b/RNTester/js/RNTesterApp.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterApp * @flow */ 'use strict'; diff --git a/RNTester/js/RNTesterApp.ios.js b/RNTester/js/RNTesterApp.ios.js index 26ee1ebbdd976d..a72ebb724edb32 100644 --- a/RNTester/js/RNTesterApp.ios.js +++ b/RNTester/js/RNTesterApp.ios.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterApp * @flow */ 'use strict'; diff --git a/RNTester/js/RNTesterBlock.js b/RNTester/js/RNTesterBlock.js index 58ca4d0a5f0c03..fa3c44f7873bed 100644 --- a/RNTester/js/RNTesterBlock.js +++ b/RNTester/js/RNTesterBlock.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterBlock * @flow */ 'use strict'; diff --git a/RNTester/js/RNTesterButton.js b/RNTester/js/RNTesterButton.js index 835eb9db113edd..9ac5f6e8e81832 100644 --- a/RNTester/js/RNTesterButton.js +++ b/RNTester/js/RNTesterButton.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RNTesterButton */ 'use strict'; diff --git a/RNTester/js/RNTesterExampleContainer.js b/RNTester/js/RNTesterExampleContainer.js index e5d1ab816d1dcb..02e010771f45f4 100644 --- a/RNTester/js/RNTesterExampleContainer.js +++ b/RNTester/js/RNTesterExampleContainer.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterExampleContainer */ 'use strict'; diff --git a/RNTester/js/RNTesterExampleList.js b/RNTester/js/RNTesterExampleList.js index e043e2d5cba1d2..c7d974c48409ac 100644 --- a/RNTester/js/RNTesterExampleList.js +++ b/RNTester/js/RNTesterExampleList.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RNTesterExampleList */ 'use strict'; diff --git a/RNTester/js/RNTesterList.android.js b/RNTester/js/RNTesterList.android.js index feea07f72cdb85..d038354b25c7d7 100644 --- a/RNTester/js/RNTesterList.android.js +++ b/RNTester/js/RNTesterList.android.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RNTesterList */ 'use strict'; diff --git a/RNTester/js/RNTesterList.ios.js b/RNTester/js/RNTesterList.ios.js index fa95044d77dd49..812abde4fe7192 100644 --- a/RNTester/js/RNTesterList.ios.js +++ b/RNTester/js/RNTesterList.ios.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RNTesterList */ 'use strict'; diff --git a/RNTester/js/RNTesterNavigationReducer.js b/RNTester/js/RNTesterNavigationReducer.js index c8ffa5a5fe7c00..60c21a7106a244 100644 --- a/RNTester/js/RNTesterNavigationReducer.js +++ b/RNTester/js/RNTesterNavigationReducer.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RNTesterNavigationReducer */ 'use strict'; diff --git a/RNTester/js/RNTesterPage.js b/RNTester/js/RNTesterPage.js index 96b016a00000fb..4af103ea816651 100644 --- a/RNTester/js/RNTesterPage.js +++ b/RNTester/js/RNTesterPage.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterPage * @flow */ 'use strict'; diff --git a/RNTester/js/RNTesterSettingSwitchRow.js b/RNTester/js/RNTesterSettingSwitchRow.js index 97d2f8d60be40a..01cca6336c9e5b 100644 --- a/RNTester/js/RNTesterSettingSwitchRow.js +++ b/RNTester/js/RNTesterSettingSwitchRow.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterSettingSwitchRow * @flow */ 'use strict'; diff --git a/RNTester/js/RNTesterStatePersister.js b/RNTester/js/RNTesterStatePersister.js index 310386c49bb7f4..455f429225a78e 100644 --- a/RNTester/js/RNTesterStatePersister.js +++ b/RNTester/js/RNTesterStatePersister.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RNTesterStatePersister */ 'use strict'; diff --git a/RNTester/js/RNTesterTitle.js b/RNTester/js/RNTesterTitle.js index 9afd68a66a7c05..17687d98bd8f78 100644 --- a/RNTester/js/RNTesterTitle.js +++ b/RNTester/js/RNTesterTitle.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RNTesterTitle * @flow */ 'use strict'; diff --git a/RNTester/js/RTLExample.js b/RNTester/js/RTLExample.js index aad38a9fedc9df..67120d06bb2df3 100644 --- a/RNTester/js/RTLExample.js +++ b/RNTester/js/RTLExample.js @@ -6,7 +6,6 @@ * * @flow * @format - * @providesModule RTLExample */ 'use strict'; diff --git a/RNTester/js/RefreshControlExample.js b/RNTester/js/RefreshControlExample.js index 7962a457e29bc0..055a85c5f64413 100644 --- a/RNTester/js/RefreshControlExample.js +++ b/RNTester/js/RefreshControlExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule RefreshControlExample */ 'use strict'; diff --git a/RNTester/js/RootViewSizeFlexibilityExampleApp.js b/RNTester/js/RootViewSizeFlexibilityExampleApp.js index 066a6d425e926b..c08a2ec578d510 100644 --- a/RNTester/js/RootViewSizeFlexibilityExampleApp.js +++ b/RNTester/js/RootViewSizeFlexibilityExampleApp.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule RootViewSizeFlexibilityExampleApp */ 'use strict'; diff --git a/RNTester/js/SafeAreaViewExample.js b/RNTester/js/SafeAreaViewExample.js index c3d5a99f8208e6..927a26651a4f8f 100644 --- a/RNTester/js/SafeAreaViewExample.js +++ b/RNTester/js/SafeAreaViewExample.js @@ -6,7 +6,6 @@ * * @flow * @format - * @providesModule SafeAreaViewExample */ 'use strict'; diff --git a/RNTester/js/ScrollViewExample.js b/RNTester/js/ScrollViewExample.js index 66bedc93552c7c..c1d634b8ebf598 100644 --- a/RNTester/js/ScrollViewExample.js +++ b/RNTester/js/ScrollViewExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ScrollViewExample * @format */ 'use strict'; diff --git a/RNTester/js/ScrollViewSimpleExample.js b/RNTester/js/ScrollViewSimpleExample.js index 0a6713122a885d..a4fc25fe14e205 100644 --- a/RNTester/js/ScrollViewSimpleExample.js +++ b/RNTester/js/ScrollViewSimpleExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ScrollViewSimpleExample */ 'use strict'; diff --git a/RNTester/js/SectionListExample.js b/RNTester/js/SectionListExample.js index 920be1768644fd..5410251853ed1d 100644 --- a/RNTester/js/SectionListExample.js +++ b/RNTester/js/SectionListExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SectionListExample */ 'use strict'; diff --git a/RNTester/js/SegmentedControlIOSExample.js b/RNTester/js/SegmentedControlIOSExample.js index c5441e7cc4dc87..c0098b5fafd4ff 100644 --- a/RNTester/js/SegmentedControlIOSExample.js +++ b/RNTester/js/SegmentedControlIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SegmentedControlIOSExample */ 'use strict'; diff --git a/RNTester/js/SetPropertiesExampleApp.js b/RNTester/js/SetPropertiesExampleApp.js index 8113f5279570db..95034438b0a1be 100644 --- a/RNTester/js/SetPropertiesExampleApp.js +++ b/RNTester/js/SetPropertiesExampleApp.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SetPropertiesExampleApp */ 'use strict'; diff --git a/RNTester/js/ShareExample.js b/RNTester/js/ShareExample.js index 00d3330d83c27c..7df3edd360f7e1 100644 --- a/RNTester/js/ShareExample.js +++ b/RNTester/js/ShareExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ShareExample */ 'use strict'; diff --git a/RNTester/js/SliderExample.js b/RNTester/js/SliderExample.js index 3b4980ac800488..b05877572e7058 100644 --- a/RNTester/js/SliderExample.js +++ b/RNTester/js/SliderExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SliderExample */ 'use strict'; diff --git a/RNTester/js/SnapshotExample.js b/RNTester/js/SnapshotExample.js index 160434b53b260b..f77277a53cbf32 100644 --- a/RNTester/js/SnapshotExample.js +++ b/RNTester/js/SnapshotExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SnapshotExample * @format */ 'use strict'; diff --git a/RNTester/js/StatusBarExample.js b/RNTester/js/StatusBarExample.js index e5dae5c77c49c2..b9949c17cce151 100644 --- a/RNTester/js/StatusBarExample.js +++ b/RNTester/js/StatusBarExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule StatusBarExample */ 'use strict'; diff --git a/RNTester/js/SwipeableFlatListExample.js b/RNTester/js/SwipeableFlatListExample.js index 432e6d813d5053..4c8716e8c838a3 100644 --- a/RNTester/js/SwipeableFlatListExample.js +++ b/RNTester/js/SwipeableFlatListExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeableFlatListExample * @flow * @format */ diff --git a/RNTester/js/SwipeableListViewExample.js b/RNTester/js/SwipeableListViewExample.js index c004f86e3e6aad..db91633962cf39 100644 --- a/RNTester/js/SwipeableListViewExample.js +++ b/RNTester/js/SwipeableListViewExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SwipeableListViewExample */ 'use strict'; diff --git a/RNTester/js/SwitchExample.js b/RNTester/js/SwitchExample.js index ca721ce4488e6c..e040c76a1c79cf 100644 --- a/RNTester/js/SwitchExample.js +++ b/RNTester/js/SwitchExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule SwitchExample */ 'use strict'; diff --git a/RNTester/js/TVEventHandlerExample.js b/RNTester/js/TVEventHandlerExample.js index bc6346d0d2b04f..84067863268c18 100644 --- a/RNTester/js/TVEventHandlerExample.js +++ b/RNTester/js/TVEventHandlerExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TVEventHandlerExample */ 'use strict'; diff --git a/RNTester/js/TabBarIOSBarStyleExample.js b/RNTester/js/TabBarIOSBarStyleExample.js index 5c42c5ccf1ef11..972235698133bf 100644 --- a/RNTester/js/TabBarIOSBarStyleExample.js +++ b/RNTester/js/TabBarIOSBarStyleExample.js @@ -16,7 +16,6 @@ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * - * @providesModule TabBarIOSBarStyleExample * @flow */ diff --git a/RNTester/js/TabBarIOSExample.js b/RNTester/js/TabBarIOSExample.js index 82c47cccdfe2f3..12906b0e176ef6 100644 --- a/RNTester/js/TabBarIOSExample.js +++ b/RNTester/js/TabBarIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TabBarIOSExample */ 'use strict'; diff --git a/RNTester/js/TextExample.android.js b/RNTester/js/TextExample.android.js index b912337827a279..6f824e01132efe 100644 --- a/RNTester/js/TextExample.android.js +++ b/RNTester/js/TextExample.android.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TextExample */ 'use strict'; diff --git a/RNTester/js/TextExample.ios.js b/RNTester/js/TextExample.ios.js index 939774aa06a0f6..968e0a42c8f8af 100644 --- a/RNTester/js/TextExample.ios.js +++ b/RNTester/js/TextExample.ios.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TextExample */ 'use strict'; diff --git a/RNTester/js/TextInputExample.android.js b/RNTester/js/TextInputExample.android.js index 358d3fd043b02d..f0b3403d618f9f 100644 --- a/RNTester/js/TextInputExample.android.js +++ b/RNTester/js/TextInputExample.android.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TextInputExample */ 'use strict'; diff --git a/RNTester/js/TextInputExample.ios.js b/RNTester/js/TextInputExample.ios.js index 9ace0a94ae6fab..fdcddc1f793dda 100644 --- a/RNTester/js/TextInputExample.ios.js +++ b/RNTester/js/TextInputExample.ios.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TextInputExample */ 'use strict'; diff --git a/RNTester/js/TimePickerAndroidExample.js b/RNTester/js/TimePickerAndroidExample.js index 7e1afa6367d7d1..517f674665acc7 100644 --- a/RNTester/js/TimePickerAndroidExample.js +++ b/RNTester/js/TimePickerAndroidExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TimePickerAndroidExample */ 'use strict'; diff --git a/RNTester/js/TimerExample.js b/RNTester/js/TimerExample.js index d7e966010f9ada..a56fd5ad3fe06f 100644 --- a/RNTester/js/TimerExample.js +++ b/RNTester/js/TimerExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TimerExample */ 'use strict'; diff --git a/RNTester/js/ToastAndroidExample.android.js b/RNTester/js/ToastAndroidExample.android.js index e86a21cb83ef3b..6ca7b9c4f8b78b 100644 --- a/RNTester/js/ToastAndroidExample.android.js +++ b/RNTester/js/ToastAndroidExample.android.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ToastAndroidExample */ 'use strict'; diff --git a/RNTester/js/ToolbarAndroidExample.android.js b/RNTester/js/ToolbarAndroidExample.android.js index e197518704740f..7a17105698c4c8 100644 --- a/RNTester/js/ToolbarAndroidExample.android.js +++ b/RNTester/js/ToolbarAndroidExample.android.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ToolbarAndroidExample */ 'use strict'; diff --git a/RNTester/js/ToolbarAndroidExample.ios.js b/RNTester/js/ToolbarAndroidExample.ios.js index b2553dc1b2bc9f..5e8c57f7a81dce 100644 --- a/RNTester/js/ToolbarAndroidExample.ios.js +++ b/RNTester/js/ToolbarAndroidExample.ios.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ToolbarAndroidExample */ 'use strict'; diff --git a/RNTester/js/TouchableExample.js b/RNTester/js/TouchableExample.js index e0c227d9ca3f7f..069dff9d26c0c2 100644 --- a/RNTester/js/TouchableExample.js +++ b/RNTester/js/TouchableExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TouchableExample */ 'use strict'; diff --git a/RNTester/js/TransformExample.js b/RNTester/js/TransformExample.js index 17e2a89fc98d26..4271e074a0179b 100644 --- a/RNTester/js/TransformExample.js +++ b/RNTester/js/TransformExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TransformExample */ 'use strict'; diff --git a/RNTester/js/TransparentHitTestExample.js b/RNTester/js/TransparentHitTestExample.js index 89db856a473500..e1baa00964ed6b 100644 --- a/RNTester/js/TransparentHitTestExample.js +++ b/RNTester/js/TransparentHitTestExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule TransparentHitTestExample */ 'use strict'; diff --git a/RNTester/js/URIActionMap.js b/RNTester/js/URIActionMap.js index fb47214aadd5c0..f303fa21a499b3 100644 --- a/RNTester/js/URIActionMap.js +++ b/RNTester/js/URIActionMap.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule URIActionMap */ 'use strict'; diff --git a/RNTester/js/VibrationExample.js b/RNTester/js/VibrationExample.js index 9e6d6d7d768b8a..a213799902f81c 100644 --- a/RNTester/js/VibrationExample.js +++ b/RNTester/js/VibrationExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule VibrationExample */ 'use strict'; diff --git a/RNTester/js/VibrationIOSExample.js b/RNTester/js/VibrationIOSExample.js index 9093ff87af28ce..5f642519da1889 100644 --- a/RNTester/js/VibrationIOSExample.js +++ b/RNTester/js/VibrationIOSExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule VibrationIOSExample */ 'use strict'; diff --git a/RNTester/js/ViewExample.js b/RNTester/js/ViewExample.js index b4c4a6c2a65818..5d643a12fa0986 100644 --- a/RNTester/js/ViewExample.js +++ b/RNTester/js/ViewExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule ViewExample */ 'use strict'; diff --git a/RNTester/js/ViewPagerAndroidExample.android.js b/RNTester/js/ViewPagerAndroidExample.android.js index 1f2ac75d8f22eb..1c5da99bae641e 100644 --- a/RNTester/js/ViewPagerAndroidExample.android.js +++ b/RNTester/js/ViewPagerAndroidExample.android.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewPagerAndroidExample */ 'use strict'; diff --git a/RNTester/js/WebSocketExample.js b/RNTester/js/WebSocketExample.js index ad4a6f8be4719a..b1cffe3e5dc6d4 100644 --- a/RNTester/js/WebSocketExample.js +++ b/RNTester/js/WebSocketExample.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule WebSocketExample * @format */ 'use strict'; diff --git a/RNTester/js/WebViewExample.js b/RNTester/js/WebViewExample.js index d3bc575361e5fd..d55d17ca60ec9b 100644 --- a/RNTester/js/WebViewExample.js +++ b/RNTester/js/WebViewExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule WebViewExample */ 'use strict'; diff --git a/RNTester/js/XHRExample.js b/RNTester/js/XHRExample.js index 1ee8315d03ba67..fc7cb8c213768e 100644 --- a/RNTester/js/XHRExample.js +++ b/RNTester/js/XHRExample.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule XHRExample */ 'use strict'; diff --git a/RNTester/js/XHRExampleBinaryUpload.js b/RNTester/js/XHRExampleBinaryUpload.js index e5635724378683..efe96dea0f2232 100644 --- a/RNTester/js/XHRExampleBinaryUpload.js +++ b/RNTester/js/XHRExampleBinaryUpload.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule XHRExampleBinaryUpload */ 'use strict'; diff --git a/RNTester/js/XHRExampleCookies.js b/RNTester/js/XHRExampleCookies.js index 08ff72b369cb22..2050f555eb91d5 100644 --- a/RNTester/js/XHRExampleCookies.js +++ b/RNTester/js/XHRExampleCookies.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule XHRExampleCookies */ 'use strict'; diff --git a/RNTester/js/XHRExampleDownload.js b/RNTester/js/XHRExampleDownload.js index a419f9ba539ed2..2ffe801fbcc16d 100644 --- a/RNTester/js/XHRExampleDownload.js +++ b/RNTester/js/XHRExampleDownload.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule XHRExampleDownload */ 'use strict'; diff --git a/RNTester/js/XHRExampleFetch.js b/RNTester/js/XHRExampleFetch.js index 2aea3be975f4fb..c4915ce5677a52 100644 --- a/RNTester/js/XHRExampleFetch.js +++ b/RNTester/js/XHRExampleFetch.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule XHRExampleFetch */ 'use strict'; diff --git a/RNTester/js/XHRExampleFormData.js b/RNTester/js/XHRExampleFormData.js index 228af6345bd4a0..8c0080ea11b773 100644 --- a/RNTester/js/XHRExampleFormData.js +++ b/RNTester/js/XHRExampleFormData.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule XHRExampleFormData */ 'use strict'; diff --git a/RNTester/js/XHRExampleHeaders.js b/RNTester/js/XHRExampleHeaders.js index 8476b1600ef670..b3dc69edc21a23 100644 --- a/RNTester/js/XHRExampleHeaders.js +++ b/RNTester/js/XHRExampleHeaders.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @noflow - * @providesModule XHRExampleHeaders */ 'use strict'; diff --git a/RNTester/js/XHRExampleOnTimeOut.js b/RNTester/js/XHRExampleOnTimeOut.js index d3c50025c2d0fe..1afb3990420117 100644 --- a/RNTester/js/XHRExampleOnTimeOut.js +++ b/RNTester/js/XHRExampleOnTimeOut.js @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule XHRExampleOnTimeOut */ 'use strict'; diff --git a/RNTester/js/createExamplePage.js b/RNTester/js/createExamplePage.js index e381f05b8d2c54..1ae3733b969ac1 100644 --- a/RNTester/js/createExamplePage.js +++ b/RNTester/js/createExamplePage.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule createExamplePage * @flow */ 'use strict'; diff --git a/RNTester/js/http_test_server.js b/RNTester/js/http_test_server.js index cd9e18e5407d7f..998d73dbf19455 100755 --- a/RNTester/js/http_test_server.js +++ b/RNTester/js/http_test_server.js @@ -6,7 +6,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule http_test_server */ 'use strict'; diff --git a/RNTester/js/websocket_test_server.js b/RNTester/js/websocket_test_server.js index 83a48ed213f062..3f3a23cfa04c98 100755 --- a/RNTester/js/websocket_test_server.js +++ b/RNTester/js/websocket_test_server.js @@ -6,7 +6,6 @@ * LICENSE file in the root directory of this source tree. * * @flow - * @providesModule websocket_test_server */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/Asserts.js b/ReactAndroid/src/androidTest/js/Asserts.js index 0cebeea419d20d..95fd89f272d168 100644 --- a/ReactAndroid/src/androidTest/js/Asserts.js +++ b/ReactAndroid/src/androidTest/js/Asserts.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule Asserts */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/CatalystRootViewTestModule.js b/ReactAndroid/src/androidTest/js/CatalystRootViewTestModule.js index 33f0592a4832ef..b0e5571b277a18 100644 --- a/ReactAndroid/src/androidTest/js/CatalystRootViewTestModule.js +++ b/ReactAndroid/src/androidTest/js/CatalystRootViewTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule CatalystRootViewTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/DatePickerDialogTestModule.js b/ReactAndroid/src/androidTest/js/DatePickerDialogTestModule.js index 0cd5685820cacc..4ba296cc757a6c 100644 --- a/ReactAndroid/src/androidTest/js/DatePickerDialogTestModule.js +++ b/ReactAndroid/src/androidTest/js/DatePickerDialogTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule DatePickerDialogTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/InitialPropsTestApp.js b/ReactAndroid/src/androidTest/js/InitialPropsTestApp.js index 173ef647f48267..002ebf0cc68b66 100644 --- a/ReactAndroid/src/androidTest/js/InitialPropsTestApp.js +++ b/ReactAndroid/src/androidTest/js/InitialPropsTestApp.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule InitialPropsTestApp */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/JSResponderTestApp.js b/ReactAndroid/src/androidTest/js/JSResponderTestApp.js index 50612afb9e2e91..d6e7f878defb1f 100644 --- a/ReactAndroid/src/androidTest/js/JSResponderTestApp.js +++ b/ReactAndroid/src/androidTest/js/JSResponderTestApp.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule JSResponderTestApp */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/LayoutEventsTestApp.js b/ReactAndroid/src/androidTest/js/LayoutEventsTestApp.js index d9ecf2ca1b54e7..153089437e4c9f 100644 --- a/ReactAndroid/src/androidTest/js/LayoutEventsTestApp.js +++ b/ReactAndroid/src/androidTest/js/LayoutEventsTestApp.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule LayoutEventsTestApp */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/MeasureLayoutTestModule.js b/ReactAndroid/src/androidTest/js/MeasureLayoutTestModule.js index 92ac114b6cc7fd..baf4f7bc03ba3b 100644 --- a/ReactAndroid/src/androidTest/js/MeasureLayoutTestModule.js +++ b/ReactAndroid/src/androidTest/js/MeasureLayoutTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MeasureLayoutTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/MultitouchHandlingTestAppModule.js b/ReactAndroid/src/androidTest/js/MultitouchHandlingTestAppModule.js index 7daa884359fa9a..0c591483f6c129 100644 --- a/ReactAndroid/src/androidTest/js/MultitouchHandlingTestAppModule.js +++ b/ReactAndroid/src/androidTest/js/MultitouchHandlingTestAppModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule MultitouchHandlingTestAppModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/NativeIdTestModule.js b/ReactAndroid/src/androidTest/js/NativeIdTestModule.js index 2e1acad3422756..be457b3c569922 100644 --- a/ReactAndroid/src/androidTest/js/NativeIdTestModule.js +++ b/ReactAndroid/src/androidTest/js/NativeIdTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule NativeIdTestModule * @flow */ diff --git a/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js b/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js index 0f7255d1564089..237dacba21bf43 100644 --- a/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js +++ b/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule PickerAndroidTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/ProgressBarTestModule.js b/ReactAndroid/src/androidTest/js/ProgressBarTestModule.js index bd466144c522d7..a6e3849e0d238b 100644 --- a/ReactAndroid/src/androidTest/js/ProgressBarTestModule.js +++ b/ReactAndroid/src/androidTest/js/ProgressBarTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ProgressBarTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js b/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js index 24371b0f76570c..7654f106087a27 100644 --- a/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js +++ b/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ScrollViewTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/ShareTestModule.js b/ReactAndroid/src/androidTest/js/ShareTestModule.js index f7311f656041e9..dd0f7fc9646d13 100644 --- a/ReactAndroid/src/androidTest/js/ShareTestModule.js +++ b/ReactAndroid/src/androidTest/js/ShareTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ShareTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/SubviewsClippingTestModule.js b/ReactAndroid/src/androidTest/js/SubviewsClippingTestModule.js index 70fa837eed6b7a..859acfc92c6ab9 100644 --- a/ReactAndroid/src/androidTest/js/SubviewsClippingTestModule.js +++ b/ReactAndroid/src/androidTest/js/SubviewsClippingTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SubviewsClippingTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/SwipeRefreshLayoutTestModule.js b/ReactAndroid/src/androidTest/js/SwipeRefreshLayoutTestModule.js index 277a768e9430f4..5a126772ef56e0 100644 --- a/ReactAndroid/src/androidTest/js/SwipeRefreshLayoutTestModule.js +++ b/ReactAndroid/src/androidTest/js/SwipeRefreshLayoutTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule SwipeRefreshLayoutTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TestBundle.js b/ReactAndroid/src/androidTest/js/TestBundle.js index 21fd06247e415f..64d2c57d26f3b6 100644 --- a/ReactAndroid/src/androidTest/js/TestBundle.js +++ b/ReactAndroid/src/androidTest/js/TestBundle.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TestBundle */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TestIdTestModule.js b/ReactAndroid/src/androidTest/js/TestIdTestModule.js index eee76fbc05c00c..0320f3cf8be7e9 100644 --- a/ReactAndroid/src/androidTest/js/TestIdTestModule.js +++ b/ReactAndroid/src/androidTest/js/TestIdTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TestIdTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TestJSLocaleModule.js b/ReactAndroid/src/androidTest/js/TestJSLocaleModule.js index be6bfc12a3a208..a9aca7983d231f 100644 --- a/ReactAndroid/src/androidTest/js/TestJSLocaleModule.js +++ b/ReactAndroid/src/androidTest/js/TestJSLocaleModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TestJSLocaleModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TestJSToJavaParametersModule.js b/ReactAndroid/src/androidTest/js/TestJSToJavaParametersModule.js index bc526e7722ba2d..5e5527846ae0ef 100644 --- a/ReactAndroid/src/androidTest/js/TestJSToJavaParametersModule.js +++ b/ReactAndroid/src/androidTest/js/TestJSToJavaParametersModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TestJSToJavaParametersModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TestJavaToJSArgumentsModule.js b/ReactAndroid/src/androidTest/js/TestJavaToJSArgumentsModule.js index b5abe26a8eeb57..6e71061666bf00 100644 --- a/ReactAndroid/src/androidTest/js/TestJavaToJSArgumentsModule.js +++ b/ReactAndroid/src/androidTest/js/TestJavaToJSArgumentsModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TestJavaToJSArgumentsModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TestJavaToJSReturnValuesModule.js b/ReactAndroid/src/androidTest/js/TestJavaToJSReturnValuesModule.js index 135816a5c9d659..1aa72f0b85727f 100644 --- a/ReactAndroid/src/androidTest/js/TestJavaToJSReturnValuesModule.js +++ b/ReactAndroid/src/androidTest/js/TestJavaToJSReturnValuesModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TestJavaToJSReturnValuesModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TextInputTestModule.js b/ReactAndroid/src/androidTest/js/TextInputTestModule.js index 94593a3ab71449..fff1fc5bca68c7 100644 --- a/ReactAndroid/src/androidTest/js/TextInputTestModule.js +++ b/ReactAndroid/src/androidTest/js/TextInputTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TextInputTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TimePickerDialogTestModule.js b/ReactAndroid/src/androidTest/js/TimePickerDialogTestModule.js index ebf8cdb4f1271a..80e355c951ec70 100644 --- a/ReactAndroid/src/androidTest/js/TimePickerDialogTestModule.js +++ b/ReactAndroid/src/androidTest/js/TimePickerDialogTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TimePickerDialogTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/TouchBubblingTestAppModule.js b/ReactAndroid/src/androidTest/js/TouchBubblingTestAppModule.js index cd8bcb51c52842..6f8e6226ad5815 100644 --- a/ReactAndroid/src/androidTest/js/TouchBubblingTestAppModule.js +++ b/ReactAndroid/src/androidTest/js/TouchBubblingTestAppModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule TouchBubblingTestAppModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/UIManagerTestModule.js b/ReactAndroid/src/androidTest/js/UIManagerTestModule.js index 5c976ce76dc3f9..93f73d44c0d67c 100644 --- a/ReactAndroid/src/androidTest/js/UIManagerTestModule.js +++ b/ReactAndroid/src/androidTest/js/UIManagerTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule UIManagerTestModule */ 'use strict'; diff --git a/ReactAndroid/src/androidTest/js/ViewRenderingTestModule.js b/ReactAndroid/src/androidTest/js/ViewRenderingTestModule.js index 36d9328c93e209..0ddaa86f07e9da 100644 --- a/ReactAndroid/src/androidTest/js/ViewRenderingTestModule.js +++ b/ReactAndroid/src/androidTest/js/ViewRenderingTestModule.js @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @providesModule ViewRenderingTestModule */ 'use strict'; diff --git a/jest/hasteImpl.js b/jest/hasteImpl.js new file mode 100644 index 00000000000000..cb5ac4a049c4f6 --- /dev/null +++ b/jest/hasteImpl.js @@ -0,0 +1,75 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @flow + */ + +'use strict'; + +const path = require('path'); + +const ROOT = path.join(__dirname, '..'); + +const BLACKLISTED_PATTERNS/*: Array*/ = [ + /.*\/__(mocks|tests)__\/.*/, + /^Libraries\/Animated\/src\/polyfills\/.*/, +]; + +const WHITELISTED_PREFIXES/*: Array*/ = [ + 'IntegrationTests', + 'Libraries', + 'ReactAndroid', + 'RNTester', +]; + +const NAME_REDUCERS/*: Array<[RegExp, string]>*/ = [ + // extract basename + [/^(?:.*\/)?([a-zA-Z0-9$_.-]+)$/, '$1'], + // strip .js/.js.flow suffix + [/^(.*)\.js(\.flow)?$/, '$1'], + // strip .android/.ios/.native/.web suffix + [/^(.*)\.(android|ios|native|web)$/, '$1'], +]; + +const haste = { + /* + * @return {string|void} hasteName for module at filePath; or undefined if + * filePath is not a haste module + */ + getHasteName( + filePath/*: string*/, + sourceCode/* : ?string*/ + )/*: (string | void)*/ { + if (!isHastePath(filePath)) { + return undefined; + } + + const hasteName = NAME_REDUCERS.reduce( + (name, [pattern, replacement]) => name.replace(pattern, replacement), + filePath + ); + + return hasteName; + }, +}; + +function isHastePath(filePath/*: string*/)/*: bool*/ { + if (!filePath.endsWith('.js') && !filePath.endsWith('.js.flow')) { + return false; + } + + if (!filePath.startsWith(ROOT)) { + return false; + } + + filePath = filePath.substr(ROOT.length + 1); + if (BLACKLISTED_PATTERNS.some(pattern => pattern.test(filePath))) { + return false; + } + return WHITELISTED_PREFIXES.some(prefix => filePath.startsWith(prefix)); +} + +module.exports = haste; diff --git a/local-cli/core/index.js b/local-cli/core/index.js index e5f2ba33af6b37..f3059be0a62748 100644 --- a/local-cli/core/index.js +++ b/local-cli/core/index.js @@ -68,6 +68,8 @@ const pluginPlatforms = plugins const defaultRNConfig = { + hasteImplModulePath: require.resolve('../../jest/hasteImpl'), + getProjectCommands(): Array { const commands = plugins .commands diff --git a/package.json b/package.json index ced5fcabbd6381..d951833578883f 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ ], "haste": { "defaultPlatform": "ios", + "hasteImplModulePath": "/jest/hasteImpl.js", "providesModuleNodeModules": [ "react-native" ],