Skip to content

Commit

Permalink
Fix more copyright header issues (facebook#3353)
Browse files Browse the repository at this point in the history
  • Loading branch information
yungsters committed Sep 30, 2022
1 parent 84397da commit 9987b07
Show file tree
Hide file tree
Showing 36 changed files with 94 additions and 26 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Meta Platforms, Inc. and its affiliates.
Copyright (c) Meta Platforms, Inc. and affiliates.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion plugins/remark-snackplayer/src/index.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion plugins/remark-snackplayer/tests/index.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/extractDocsFromRN.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/generateMarkdown.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/magic.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/methodFormatter.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/preprocessGeneratedApiDocs.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/propFormatter.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/sync-api-docs.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion sync-api-docs/utils.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/core/DocsRating.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/core/PrismTheme.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/core/TableRowWithCodeBlock.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/core/TabsConstants.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/image-check.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/snackPlayerInitializer.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
7 changes: 7 additions & 0 deletions website/src/css/_shared.scss
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

%link-style {
display: initial;
color: var(--ifm-font-color-base);
Expand Down
7 changes: 7 additions & 0 deletions website/src/css/customTheme.scss
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

@import "shared";

:root {
Expand Down
7 changes: 7 additions & 0 deletions website/src/css/index.scss
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

@import "shared";

.homepage {
Expand Down
7 changes: 7 additions & 0 deletions website/src/css/showcase.scss
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

@import "shared";

:root {
Expand Down
7 changes: 7 additions & 0 deletions website/src/css/versions.scss
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

@import "shared";

.versions-page {
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/animations/_dissectionAnimation.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/animations/_headerAnimation.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/showcase.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/versions.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
6 changes: 6 additions & 0 deletions website/src/theme/BlogSidebar/Desktop/index.d.ts
@@ -1,3 +1,9 @@
/**
* Copyright (c) Meta Platforms, 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.
*/
/// <reference types="react" />
import type { Props } from "@theme/BlogSidebar/Desktop";
export default function BlogSidebarDesktop({ sidebar }: Props): JSX.Element;
2 changes: 1 addition & 1 deletion website/src/theme/BlogSidebar/Desktop/index.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
7 changes: 7 additions & 0 deletions website/src/theme/BlogSidebar/Desktop/styles.module.css
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

.sidebar {
max-height: calc(100vh - (var(--ifm-navbar-height) + 2rem));
overflow-y: auto;
Expand Down
6 changes: 6 additions & 0 deletions website/src/theme/BlogSidebar/Mobile/index.d.ts
@@ -1,3 +1,9 @@
/**
* Copyright (c) Meta Platforms, 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.
*/
/// <reference types="react" />
import type { Props } from "@theme/BlogSidebar/Mobile";
export default function BlogSidebarMobile(props: Props): JSX.Element;
2 changes: 1 addition & 1 deletion website/src/theme/BlogSidebar/Mobile/index.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
7 changes: 7 additions & 0 deletions website/src/theme/BlogSidebar/Mobile/styles.module.css
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

.sidebarItemTitle {
margin: 0.75rem 0 0.5rem;
color: var(--subtle);
Expand Down
2 changes: 1 addition & 1 deletion website/src/theme/DocItemFooter/index.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/theme/Icon/ExternalLink/index.js
@@ -1,5 +1,5 @@
/**
* Copyright (c) Meta Platforms, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
7 changes: 7 additions & 0 deletions website/src/theme/Icon/ExternalLink/styles.module.css
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

.iconExternalLink {
margin-left: 0.3rem;
}

0 comments on commit 9987b07

Please sign in to comment.