Second Updates from Mon 23 Mar

- [ReactNative] Use deprecated ix in TabBarExample | Amjad Masad
- [ReactNative] Expanded license on obj-c files | Christopher Chedeau
- [ReactNative] Expanded license on js files | Christopher Chedeau
- [ReactNative] Fix React Devtools integration | Alex Kotliarskyi
- [Text] Account for font leading so descenders are not clipped | James Ide
- [ReactNative] Expanded license on js packager files | Christopher Chedeau
- more UIExplorer flow | Basil Hosmer
- [react-packager] Pick up package changes while running | Amjad Masad
- Added a graph view and a ReactNative metric that displays current queue and execution time for the JS thread. | Bryce Redd
- [ReactNative] Add NativeModules and DeviceEventEmitter to react-native exports | Alex Kotliarskyi
This commit is contained in:
Christopher Chedeau 2015-03-23 15:07:33 -07:00
parent 3a2b1be6d1
commit 5baffa03fd
420 changed files with 3182 additions and 528 deletions

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule Game2048 * @providesModule Game2048
* @flow * @flow

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule GameBoard * @providesModule GameBoard
* @flow * @flow

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule MoviesApp * @providesModule MoviesApp
* @flow * @flow

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule TicTacToeApp * @providesModule TicTacToeApp
* @flow * @flow

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AppStateIOSExample * @providesModule AppStateIOSExample
* @flow * @flow

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule CameraRollView * @providesModule CameraRollView
* @flow * @flow

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
/* eslint no-console: 0 */ /* eslint no-console: 0 */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule ImageCapInsetsExample * @providesModule ImageCapInsetsExample
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,11 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow * @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule ListViewPagingExample * @providesModule ListViewPagingExample
* @flow * @flow

View File

@ -1,7 +1,13 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* @flow * All rights reserved.
*/ *
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
'use strict'; 'use strict';
var React = require('react-native'); var React = require('react-native');

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -150,7 +157,7 @@ var NavigatorIOSExample = React.createClass({
}); });
}, },
_renderRow: function(title, onPress) { _renderRow: function(title: string, onPress: Function) {
return ( return (
<View> <View>
<TouchableHighlight onPress={onPress}> <TouchableHighlight onPress={onPress}>

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -120,16 +127,16 @@ exports.examples = [
{ {
title: 'NetInfo.isConnected', title: 'NetInfo.isConnected',
description: 'Asyncronously load and observe connectivity', description: 'Asyncronously load and observe connectivity',
render() { return <IsConnected />; } render(): ReactElement { return <IsConnected />; }
}, },
{ {
title: 'NetInfo.reachabilityIOS', title: 'NetInfo.reachabilityIOS',
description: 'Asyncronously load and observe iOS reachability', description: 'Asyncronously load and observe iOS reachability',
render() { return <ReachabilityCurrent />; } render(): ReactElement { return <ReachabilityCurrent />; }
}, },
{ {
title: 'NetInfo.reachabilityIOS', title: 'NetInfo.reachabilityIOS',
description: 'Observed updates to iOS reachability', description: 'Observed updates to iOS reachability',
render() { return <ReachabilitySubscription />; } render(): ReactElement { return <ReachabilitySubscription />; }
}, },
]; ];

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -105,7 +112,7 @@ exports.description = 'Render lists of selectable options with UIPickerView.';
exports.examples = [ exports.examples = [
{ {
title: '<PickerIOS>', title: '<PickerIOS>',
render: function() { render: function(): ReactElement {
return <PickerExample />; return <PickerExample />;
}, },
}]; }];

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -50,6 +57,6 @@ exports.description = 'Slider input for numeric values';
exports.examples = [ exports.examples = [
{ {
title: 'SliderIOS', title: 'SliderIOS',
render() { return <SliderExample />; } render(): ReactElement { return <SliderExample />; }
} }
]; ];

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -118,22 +125,22 @@ exports.description = 'Native boolean input';
exports.examples = [ exports.examples = [
{ {
title: 'Switches can be set to true or false', title: 'Switches can be set to true or false',
render() { return <BasicSwitchExample />; } render(): ReactElement { return <BasicSwitchExample />; }
}, },
{ {
title: 'Switches can be disabled', title: 'Switches can be disabled',
render() { return <DisabledSwitchExample />; } render(): ReactElement { return <DisabledSwitchExample />; }
}, },
{ {
title: 'Custom colors can be provided', title: 'Custom colors can be provided',
render() { return <ColorSwitchExample />; } render(): ReactElement { return <ColorSwitchExample />; }
}, },
{ {
title: 'Change events can be detected', title: 'Change events can be detected',
render() { return <EventSwitchExample />; } render(): ReactElement { return <EventSwitchExample />; }
}, },
{ {
title: 'Switches are controlled components', title: 'Switches are controlled components',
render() { return <SwitchIOS />; } render(): ReactElement { return <SwitchIOS />; }
} }
]; ];

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/ */
'use strict'; 'use strict';
@ -41,7 +46,7 @@ var TabBarExample = React.createClass({
selectedTab={this.state.selectedTab}> selectedTab={this.state.selectedTab}>
<TabBarItemIOS <TabBarItemIOS
name="blueTab" name="blueTab"
icon={require('image!favorites')} icon={_ix_DEPRECATED('favorites')}
accessibilityLabel="Blue Tab" accessibilityLabel="Blue Tab"
selected={this.state.selectedTab === 'blueTab'} selected={this.state.selectedTab === 'blueTab'}
onPress={() => { onPress={() => {
@ -54,7 +59,7 @@ var TabBarExample = React.createClass({
<TabBarItemIOS <TabBarItemIOS
accessibilityLabel="Red Tab" accessibilityLabel="Red Tab"
name="redTab" name="redTab"
icon={require('image!history')} icon={_ix_DEPRECATED('history')}
badgeValue={this.state.notifCount ? String(this.state.notifCount) : null} badgeValue={this.state.notifCount ? String(this.state.notifCount) : null}
selected={this.state.selectedTab === 'redTab'} selected={this.state.selectedTab === 'redTab'}
onPress={() => { onPress={() => {
@ -67,7 +72,7 @@ var TabBarExample = React.createClass({
</TabBarItemIOS> </TabBarItemIOS>
<TabBarItemIOS <TabBarItemIOS
name="greenTab" name="greenTab"
icon={require('image!more')} icon={_ix_DEPRECATED('more')}
accessibilityLabel="Green Tab" accessibilityLabel="Green Tab"
selected={this.state.selectedTab === 'greenTab'} selected={this.state.selectedTab === 'greenTab'}
onPress={() => { onPress={() => {
@ -95,4 +100,14 @@ var styles = StyleSheet.create({
}, },
}); });
// This is needed because the actual image may not exist as a file and
// is used by the native code to load a system image.
// TODO(nicklockwood): How can this fit our require system?
function _ix_DEPRECATED(imageUri) {
return {
uri: imageUri,
isStatic: true,
};
}
module.exports = TabBarExample; module.exports = TabBarExample;

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -199,7 +206,7 @@ exports.examples = [
}, },
}, { }, {
title: 'Toggling Attributes', title: 'Toggling Attributes',
render: function() { render: function(): ReactElement {
return <AttributeToggler />; return <AttributeToggler />;
}, },
}, { }, {

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -164,7 +171,7 @@ exports.examples = [
}, },
{ {
title: 'Event handling', title: 'Event handling',
render: () => <TextEventsExample />, render: function(): ReactElement { return <TextEventsExample /> },
}, },
{ {
title: 'Colored input text', title: 'Colored input text',

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -31,6 +38,12 @@ var Button = React.createClass({
var TimerTester = React.createClass({ var TimerTester = React.createClass({
mixins: [TimerMixin], mixins: [TimerMixin],
_ii: 0,
_iters: 0,
_start: 0,
_timerFn: (null : ?(() => any)),
_handle: (null : any),
render: function() { render: function() {
var args = 'fn' + (this.props.dt !== undefined ? ', ' + this.props.dt : ''); var args = 'fn' + (this.props.dt !== undefined ? ', ' + this.props.dt : '');
return ( return (
@ -71,7 +84,7 @@ var TimerTester = React.createClass({
'Elapsed time: ' + e + ' ms\n' + (e / this._ii) + ' ms / iter'; 'Elapsed time: ' + e + ' ms\n' + (e / this._ii) + ' ms / iter';
console.log(msg); console.log(msg);
AlertIOS.alert(msg); AlertIOS.alert(msg);
this._start = null; this._start = 0;
this.forceUpdate(() => { this._ii = 0; }); this.forceUpdate(() => { this._ii = 0; });
return; return;
} }
@ -153,7 +166,7 @@ exports.examples = [
title: 'this.setInterval(fn, t)', title: 'this.setInterval(fn, t)',
description: 'Execute function fn every t milliseconds until cancelled ' + description: 'Execute function fn every t milliseconds until cancelled ' +
'or component is unmounted.', 'or component is unmounted.',
render: function() { render: function(): ReactElement {
var IntervalExample = React.createClass({ var IntervalExample = React.createClass({
getInitialState: function() { getInitialState: function() {
return { return {

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -53,14 +60,14 @@ exports.examples = [
}, },
}, { }, {
title: '<Text onPress={fn}> with highlight', title: '<Text onPress={fn}> with highlight',
render: function() { render: function(): ReactElement {
return <TextOnPressBox />; return <TextOnPressBox />;
}, },
}, { }, {
title: 'Touchable feedback events', title: 'Touchable feedback events',
description: '<Touchable*> components accept onPress, onPressIn, ' + description: '<Touchable*> components accept onPress, onPressIn, ' +
'onPressOut, and onLongPress as props.', 'onPressOut, and onLongPress as props.',
render: function() { render: function(): ReactElement {
return <TouchableFeedbackEvents />; return <TouchableFeedbackEvents />;
}, },
}]; }];

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,7 +1,13 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule UIExplorerApp * @providesModule UIExplorerApp
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,7 +1,13 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule UIExplorerBlock * @providesModule UIExplorerBlock
* @flow
*/ */
'use strict'; 'use strict';
@ -19,7 +25,7 @@ var UIExplorerBlock = React.createClass({
}, },
getInitialState: function() { getInitialState: function() {
return {description: null}; return {description: (null: ?string)};
}, },
render: function() { render: function() {

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,7 +1,13 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule UIExplorerPage * @providesModule UIExplorerPage
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import <XCTest/XCTest.h> #import <XCTest/XCTest.h>

View File

@ -1,7 +1,13 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule UIExplorerTitle * @providesModule UIExplorerTitle
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,12 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/ */
'use strict'; 'use strict';
@ -35,6 +42,8 @@ var WebViewExample = React.createClass({
}; };
}, },
inputText: '',
handleTextInputChange: function(event) { handleTextInputChange: function(event) {
this.inputText = event.nativeEvent.text; this.inputText = event.nativeEvent.text;
}, },
@ -259,6 +268,6 @@ exports.description = 'Base component to display web content';
exports.examples = [ exports.examples = [
{ {
title: 'WebView', title: 'WebView',
render() { return <WebViewExample />; } render(): ReactElement { return <WebViewExample />; }
} }
]; ];

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule createExamplePage * @providesModule createExamplePage
*/ */

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/ */
'use strict'; 'use strict';

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule IntegrationTestsApp * @providesModule IntegrationTestsApp
*/ */

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import <XCTest/XCTest.h> #import <XCTest/XCTest.h>

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/ */
'use strict'; 'use strict';

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "AppDelegate.h" #import "AppDelegate.h"

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule ActionSheetIOS * @providesModule ActionSheetIOS
*/ */

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "RCTActionSheetManager.h" #import "RCTActionSheetManager.h"

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AdSupportIOS * @providesModule AdSupportIOS
*/ */

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <AdSupport/ASIdentifierManager.h> #import <AdSupport/ASIdentifierManager.h>

View File

@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved. /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "RCTAdSupport.h" #import "RCTAdSupport.h"

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule Animation * @providesModule Animation
* @flow * @flow

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AnimationMixin * @providesModule AnimationMixin
* @flow * @flow

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AnimationUtils * @providesModule AnimationUtils
* @flow * @flow

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule LayoutAnimation * @providesModule LayoutAnimation
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule POPAnimationMixin * @providesModule POPAnimationMixin
* @flow * @flow

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict'; 'use strict';
jest.autoMockOff(); jest.autoMockOff();

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AppRegistry * @providesModule AppRegistry
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AppState * @providesModule AppState
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AppStateIOS * @providesModule AppStateIOS
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule AppStateIOS * @providesModule AppStateIOS
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule NativeModules * @providesModule NativeModules
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule POPAnimation * @providesModule POPAnimation
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule RCTAlertManager * @providesModule RCTAlertManager
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule RCTEventEmitter * @providesModule RCTEventEmitter
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule RCTJSTimers * @providesModule RCTJSTimers
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule BatchedBridge * @providesModule BatchedBridge
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule BatchedBridgeFactory * @providesModule BatchedBridgeFactory
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule CameraRoll * @providesModule CameraRoll
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule ActivityIndicatorIOS * @providesModule ActivityIndicatorIOS
*/ */

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule DatePickerIOS * @providesModule DatePickerIOS
* *

View File

@ -1,5 +1,10 @@
/** /**
* Copyright 2004-present Facebook. All Rights Reserved. * Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule MapView * @providesModule MapView
*/ */

Some files were not shown because too many files have changed in this diff Show More