Skip to content

Commit e1cfead

Browse files
zertoshfacebook-github-bot
authored andcommitted
Move non-license comments out of license header
Summary: Changelog: [General] [Fixed] - License header cleanup Reviewed By: cpojer Differential Revision: D17749100 fbshipit-source-id: edca9c73a065e9fc311109cd6efeb1f75451a55a
1 parent fc80a51 commit e1cfead

File tree

55 files changed

+80
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+80
-104
lines changed

Libraries/ART/React-ART.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/ActionSheetIOS/React-RCTActionSheet.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Animated/src/__tests__/bezier-test.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* BezierEasing - use bezier curve for transition easing function
8-
* https://github.com/gre/bezier-easing
9-
*
10-
* @copyright 2014-2015 Gaetan Renaudeau. MIT License.
117
* @emails oncall+react_native
128
* @flow
139
* @format
1410
*/
1511

12+
/**
13+
* BezierEasing - use bezier curve for transition easing function
14+
* https://github.com/gre/bezier-easing
15+
* @copyright 2014-2015 Gaetan Renaudeau. MIT License.
16+
*/
17+
1618
'use strict';
1719

1820
const bezier = require('../bezier');

Libraries/Animated/src/bezier.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* BezierEasing - use bezier curve for transition easing function
8-
* https://github.com/gre/bezier-easing
9-
*
107
* @flow strict
118
* @format
9+
*/
10+
11+
/**
12+
* BezierEasing - use bezier curve for transition easing function
13+
* https://github.com/gre/bezier-easing
1214
* @copyright 2014-2015 Gaëtan Renaudeau. MIT License.
1315
*/
1416

Libraries/BatchedBridge/__mocks__/MessageQueueTestConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* These don't actually exist anywhere in the code.
8-
*
97
* @flow strict-local
108
* @format
119
*/
1210

11+
// These don't actually exist anywhere in the code.
12+
1313
'use strict';
1414

1515
import type {ModuleConfig} from '../NativeModules';

Libraries/Blob/React-RCTBlob.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Components/DatePicker/DatePickerIOS.ios.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
*
8-
* This is a controlled component version of RCTDatePickerIOS
9-
*
107
* @format
118
* @flow strict-local
129
*/
1310

11+
// This is a controlled component version of RCTDatePickerIOS.
12+
1413
'use strict';
1514

1615
const RCTDatePickerNativeComponent = require('./RCTDatePickerNativeComponent');

Libraries/Components/Picker/PickerIOS.android.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
*
8-
* This is a controlled component version of RCTPickerIOS
9-
*
107
* @format
118
*/
129

10+
// This is a controlled component version of RCTPickerIOS.
11+
1312
'use strict';
1413

1514
module.exports = require('../UnimplementedViews/UnimplementedView');

Libraries/Components/Picker/PickerIOS.ios.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
*
8-
* This is a controlled component version of RCTPickerIOS
9-
*
107
* @format
118
* @flow
129
*/
1310

11+
// This is a controlled component version of RCTPickerIOS.
12+
1413
'use strict';
1514

1615
const RCTPickerNativeComponent = require('./RCTPickerNativeComponent');

Libraries/Components/TextInput/TextInputState.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
*
8-
* This class is responsible for coordinating the "focused"
9-
* state for TextInputs. All calls relating to the keyboard
10-
* should be funneled through here
11-
*
127
* @format
138
* @flow strict-local
149
*/
1510

11+
// This class is responsible for coordinating the "focused" state for
12+
// TextInputs. All calls relating to the keyboard should be funneled
13+
// through here.
14+
1615
'use strict';
1716

1817
const Platform = require('../../Utilities/Platform');

Libraries/FBLazyVector/FBLazyVector.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Image/React-RCTImage.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Image/resolveAssetSource.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
*
8-
* Resolves an asset into a `source` for `Image`.
9-
*
107
* @format
118
* @flow
129
*/
1310

11+
// Resolves an asset into a `source` for `Image`.
12+
1413
'use strict';
1514

1615
const AssetRegistry = require('./AssetRegistry');

Libraries/LinkingIOS/React-RCTLinking.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/NativeAnimation/React-RCTAnimation.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Network/React-RCTNetwork.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/PushNotificationIOS/React-RCTPushNotification.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/RCTRequired/RCTRequired.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Sample/Sample.android.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* Stub of Sample for Android.
8-
*
97
* @format
108
* @flow
119
*/
1210

11+
// Stub of Sample for Android.
12+
1313
'use strict';
1414

1515
const warning = require('fbjs/lib/warning');

Libraries/Sample/Sample.ios.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* Stub of Sample for Android.
8-
*
97
* @format
108
* @flow strict-local
119
*/
1210

11+
// Stub of Sample for Android.
12+
1313
'use strict';
1414

1515
const NativeSample = require('../BatchedBridge/NativeModules').Sample;

Libraries/Settings/React-RCTSettings.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Text/React-RCTText.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/TypeSafety/RCTTypeSafety.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

Libraries/Utilities/BackHandler.ios.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* On Apple TV, this implements back navigation using the TV remote's menu button.
8-
* On iOS, this just implements a stub.
9-
*
107
* @flow
118
* @format
129
*/
1310

11+
// On Apple TV, this implements back navigation using the TV remote's menu button.
12+
// On iOS, this just implements a stub.
13+
1414
'use strict';
1515

1616
const Platform = require('./Platform');

Libraries/Utilities/dismissKeyboard.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
*
8-
* This function dismisses the currently-open keyboard, if any
9-
*
107
* @flow strict-local
118
* @format
129
*/
1310

11+
// This function dismisses the currently-open keyboard, if any.
12+
1413
'use strict';
1514

1615
const TextInputState = require('../Components/TextInput/TextInputState');

Libraries/Vibration/React-RCTVibration.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

RNTester/RCTTest/React-RCTTest.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

React-Core.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

React.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

React/CoreModules/React-CoreModules.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

React/React-RCTFabric.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

ReactAndroid/src/main/java/com/facebook/react/modules/core/ChoreographerCompat.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
6-
*
7-
* This file was pulled from the facebook/rebound repository.
86
*/
7+
8+
// This file was pulled from the facebook/rebound repository.
9+
910
package com.facebook.react.modules.core;
1011

1112
import android.os.Handler;

ReactCommon/React-Fabric.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

ReactCommon/ReactCommon.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

ReactCommon/cxxreact/React-cxxreact.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

ReactCommon/fabric/graphics/React-graphics.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

ReactCommon/jsi/React-jsi.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

ReactCommon/jsiexecutor/React-jsiexecutor.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

ReactCommon/jsinspector/React-jsinspector.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# Copyright (c) Facebook, Inc. and its affiliates.
32
#
43
# This source code is licensed under the MIT license found in the

flow/jest.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* Modified from https://raw.githubusercontent.com/flow-typed/flow-typed/master/definitions/npm/jest_v23.x.x/flow_v0.39.x-/jest_v23.x.x.js
8-
* List of modifications:
9-
* - fix some [] -> Array lint warnings
10-
* - make it.each/describe.each take $ReadOnlyArray instead of Array<mixed>
11-
* - added definition for `isolateModules`
12-
*
13-
* TODO(T35016336) remove the .each modifications if flow-typed adopts them
147
* @format
158
*/
169

10+
// Modified from https://raw.githubusercontent.com/flow-typed/flow-typed/master/definitions/npm/jest_v23.x.x/flow_v0.39.x-/jest_v23.x.x.js
11+
// List of modifications:
12+
// - fix some [] -> Array lint warnings
13+
// - make it.each/describe.each take $ReadOnlyArray instead of Array<mixed>
14+
// - added definition for `isolateModules`
15+
//
16+
// TODO(T35016336) remove the .each modifications if flow-typed adopts them
17+
1718
type JestMockFn<TArguments: $ReadOnlyArray<mixed>, TReturn> = {|
1819
(...args: TArguments): TReturn,
1920
/**

runXcodeTests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This source code is licensed under the MIT license found in the
55
# LICENSE file in the root directory of this source tree.
6-
#
6+
77
# This script should be run from the react-native root
88

99
THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)

0 commit comments

Comments
 (0)