Add Facebook copyright headers (#633)

This commit is contained in:
Yangshun Tay 2018-05-04 09:40:07 -07:00 committed by Joel Marcey
parent be54c8f035
commit 545a053289
10 changed files with 54 additions and 4 deletions

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 cssnano = require('cssnano'); const cssnano = require('cssnano');
const filepath = require('filepath'); const filepath = require('filepath');
const fm = require('front-matter'); const fm = require('front-matter');

View file

@ -5,13 +5,12 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
/**
* The MarkdownBlock component is used to parse markdown and render to HTML.
*/
const React = require('react'); const React = require('react');
const Remarkable = require('./Remarkable'); const Remarkable = require('./Remarkable');
/**
* The MarkdownBlock component is used to parse markdown and render to HTML.
*/
class MarkdownBlock extends React.Component { class MarkdownBlock extends React.Component {
render() { render() {
return <Remarkable source={this.props.children} />; return <Remarkable source={this.props.children} />;

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.
*/
'use strict'; 'use strict';
const React = require('react'); const React = require('react');

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 anchors = require('../anchors'); const anchors = require('../anchors');
const md = { const md = {

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 path = require('path'); const path = require('path');
const readFileSync = require('fs').readFileSync; const readFileSync = require('fs').readFileSync;
const getTOC = require('../getTOC'); const getTOC = require('../getTOC');

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 toSlug = require('../toSlug'); const toSlug = require('../toSlug');
[ [

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.
*/ */
const toSlug = require('./toSlug.js'); const toSlug = require('./toSlug.js');
/** /**

View file

@ -7,6 +7,7 @@
const hljs = require('highlight.js'); const hljs = require('highlight.js');
const Markdown = require('remarkable'); const Markdown = require('remarkable');
const anchors = require('./anchors.js'); const anchors = require('./anchors.js');
const CWD = process.cwd(); const CWD = process.cwd();

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.
*/
/* Reset */ /* Reset */
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,

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.
*/
.testimonials img { .testimonials img {
border-radius: 50%; border-radius: 50%;
} }