chore(v1): add Facebook copyright headers (#1068)

This commit is contained in:
Yangshun Tay 2018-10-25 17:30:38 -07:00 committed by GitHub
parent c9e29c86a5
commit 13b23edd12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 66 additions and 2 deletions

View file

@ -1,5 +1,12 @@
#!/bin/bash
##
# Copyright (c) 2017-present, Facebook, Inc.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
DOCS_VERSION_COMMAND="run version"
echo "Select an option for release"

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
env: {
test: {

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const babelConfig = require('./babel.config');
module.exports = require('babel-jest').createTransformer(babelConfig);

View file

@ -4,6 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
require('@babel/polyfill');
const filepath = require('filepath');
const fm = require('front-matter');

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
'en-doc1': {
id: 'en-doc1',

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
'en-doc1': {
id: 'en-doc1',

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
docs: {
'First Category': ['doc1', 'doc2'],

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = [
// Please add your logo in alphabetical order of caption.
{

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* "Copy" code block button */
pre {
position: relative;
@ -13,7 +20,7 @@ pre .btnIcon {
color: #fff;
background-color: transparent;
height: 30px;
transition: all .25s ease-out;
transition: all 0.25s ease-out;
}
pre .btnIcon:hover {
@ -27,7 +34,7 @@ pre .btnIcon:hover {
.btnIcon svg {
fill: currentColor;
margin-right: .4em;
margin-right: 0.4em;
}
.btnIcon__label {

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// Turn off ESLint for this file because it's sent down to users as-is.
/* eslint-disable */
window.addEventListener('load', function() {