Skip to content

Commit

Permalink
Added FB copyright header
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Aug 27, 2019
1 parent 49b0f87 commit 8e1434e
Show file tree
Hide file tree
Showing 153 changed files with 1,224 additions and 153 deletions.
9 changes: 8 additions & 1 deletion packages/react-devtools-core/src/backend.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import Agent from 'react-devtools-shared/src/backend/agent';
import Bridge from 'react-devtools-shared/src/bridge';
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-core/src/editor.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import {existsSync} from 'fs';
import {basename, join, isAbsolute} from 'path';
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-core/src/standalone.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import {createElement} from 'react';
import {
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-extensions/flow-typed/chrome.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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';

Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-shared/src/__tests__/bridge-test.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

describe('Bridge', () => {
let Bridge;
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-shared/src/__tests__/console-test.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

describe('console', () => {
let React;
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof ReactTestRenderer from 'react-test-renderer';
import type {GetInspectedElementPath} from 'react-devtools-shared/src/devtools/views/Components/InspectedElementContext';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import type {InspectedElementPayload} from 'react-devtools-shared/src/backend/types';
import type {DehydratedData} from 'react-devtools-shared/src/devtools/views/Components/types';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

describe('Store (legacy)', () => {
let React;
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof ReactTestRenderer from 'react-test-renderer';
import type {Element} from 'react-devtools-shared/src/devtools/views/Components/types';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof ReactTestRenderer from 'react-test-renderer';
import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import type Store from 'react-devtools-shared/src/devtools/store';

Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof ReactTestRenderer from 'react-test-renderer';
import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof TestRendererType from 'react-test-renderer';
import type Store from 'react-devtools-shared/src/devtools/store';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof TestRendererType from 'react-test-renderer';
import type Store from 'react-devtools-shared/src/devtools/store';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

describe('profiling utils', () => {
let utils;
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-shared/src/__tests__/setupTests.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import type {
BackendBridge,
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-shared/src/__tests__/store-test.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

describe('Store', () => {
let React;
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
import type Store from 'react-devtools-shared/src/devtools/store';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

const {printOwnersList} = require('../devtools/utils');

Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

describe('StoreStress (Sync Mode)', () => {
let React;
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

describe('StoreStressConcurrent', () => {
let React;
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof ReactTestRenderer from 'react-test-renderer';
import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-shared/src/__tests__/utils.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import typeof ReactTestRenderer from 'react-test-renderer';

Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import type {BoxStyle} from './types';

Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import Agent from 'react-devtools-shared/src/backend/agent';
import resolveBoxStyle from './resolveBoxStyle';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

export type BoxStyle = $ReadOnly<{|
bottom: number,
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-shared/src/backend/agent.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import EventEmitter from 'events';
import throttle from 'lodash.throttle';
Expand Down
9 changes: 8 additions & 1 deletion packages/react-devtools-shared/src/backend/console.js
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

import {getInternalReactConstants} from './renderer';
import describeComponentFrame from './describeComponentFrame';
Expand Down
@@ -1,4 +1,11 @@
// @flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

// This file was forked from the React GitHub repo:
// https://raw.githubusercontent.com/facebook/react/master/packages/shared/describeComponentFrame.js
Expand Down

0 comments on commit 8e1434e

Please sign in to comment.