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 #!/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" DOCS_VERSION_COMMAND="run version"
echo "Select an option for release" 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 = { module.exports = {
env: { env: {
test: { 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'); const babelConfig = require('./babel.config');
module.exports = require('babel-jest').createTransformer(babelConfig); 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 * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
require('@babel/polyfill'); require('@babel/polyfill');
const filepath = require('filepath'); const filepath = require('filepath');
const fm = require('front-matter'); 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 = { module.exports = {
'en-doc1': { 'en-doc1': {
id: '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 = { module.exports = {
'en-doc1': { 'en-doc1': {
id: '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 = { module.exports = {
docs: { docs: {
'First Category': ['doc1', 'doc2'], '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 = [ module.exports = [
// Please add your logo in alphabetical order of caption. // 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 */ /* "Copy" code block button */
pre { pre {
position: relative; position: relative;
@ -13,7 +20,7 @@ pre .btnIcon {
color: #fff; color: #fff;
background-color: transparent; background-color: transparent;
height: 30px; height: 30px;
transition: all .25s ease-out; transition: all 0.25s ease-out;
} }
pre .btnIcon:hover { pre .btnIcon:hover {
@ -27,7 +34,7 @@ pre .btnIcon:hover {
.btnIcon svg { .btnIcon svg {
fill: currentColor; fill: currentColor;
margin-right: .4em; margin-right: 0.4em;
} }
.btnIcon__label { .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. // Turn off ESLint for this file because it's sent down to users as-is.
/* eslint-disable */ /* eslint-disable */
window.addEventListener('load', function() { window.addEventListener('load', function() {