Remove "use strict" from source files

This commit is contained in:
Fredrik Forsmo
2017-12-02 15:25:17 +01:00
parent 876bdc378a
commit a970afa27e
63 changed files with 0 additions and 126 deletions

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Link from 'gatsby-link';
import React from 'react';
import {colors, media} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import ButtonLink from './ButtonLink';
export default ButtonLink;

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import Remarkable from 'remarkable';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import CodeEditor from './CodeEditor';
export default CodeEditor;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import React from 'react';
import {media} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Container from './Container';
export default Container;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import React from 'react';
import type {Node} from 'react';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import ErrorDecoder from './ErrorDecoder';
export default ErrorDecoder;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import {createElement} from 'glamor/react';
import type {Node} from 'react';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Flex from './Flex';
export default Flex;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import React from 'react';
import {colors, fonts} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Header from './Header';
export default Header;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import React from 'react';
import {colors} from 'theme';
import ExternalLinkSvg from 'templates/components/ExternalLinkSvg';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Container from 'components/Container';
import ExternalFooterLink from './ExternalFooterLink';
import FooterLink from './FooterLink';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Link from 'gatsby-link';
import React from 'react';
import {colors} from 'theme';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import React from 'react';
import {media} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Footer from './Footer';
export default Footer;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Container from 'components/Container';
import HeaderLink from './HeaderLink';
import Link from 'gatsby-link';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Link from 'gatsby-link';
import React from 'react';
import {colors, media} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import React from 'react';
const SearchSvg = () => (

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Header from './Header';
export default Header;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Flex from 'components/Flex';
import React from 'react';
import {colors, fonts, media} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import MarkdownHeader from './MarkdownHeader';
export default MarkdownHeader;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Container from 'components/Container';
import Flex from 'components/Flex';
import MarkdownHeader from 'components/MarkdownHeader';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import MarkdownPage from './MarkdownPage';
export default MarkdownPage;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Container from 'components/Container';
import React, {Component} from 'react';
import Sidebar from 'templates/components/Sidebar';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import StickyResponsiveSidebar from './StickyResponsiveSidebar';
export default StickyResponsiveSidebar;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Helmet from 'react-helmet';
import React from 'react';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import TitleAndMetaTags from './TitleAndMetaTags';
export default TitleAndMetaTags;

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import React, {Component} from 'react';
let stylesStr;

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
// Polyfills for IE
import 'array-from';
import 'string.prototype.includes';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Container from 'components/Container';
import Header from 'components/Header';
import TitleAndMetaTags from 'components/TitleAndMetaTags';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Container from 'components/Container';
import Header from 'components/Header';
import TitleAndMetaTags from 'components/TitleAndMetaTags';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Link from 'gatsby-link';
import Container from 'components/Container';
import Header from 'components/Header';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Container from 'components/Container';
import ErrorDecoder from 'components/ErrorDecoder';
import Flex from 'components/Flex';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import ButtonLink from 'components/ButtonLink';
import Container from 'components/Container';
import Flex from 'components/Flex';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Container from 'components/Container';
import Header from 'components/Header';
import React from 'react';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import {css} from 'glamor';
import {colors} from 'theme';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
// NOTE: We can't just use `location.toString()` because when we are rendering
// the SSR part in node.js we won't have a proper location.
const urlRoot = 'https://reactjs.org';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import PropTypes from 'prop-types';
import React from 'react';
import MarkdownPage from 'components/MarkdownPage';

View File

@@ -1,5 +1,3 @@
'use strict';
import React, {Component} from 'react';
import Container from 'components/Container';
import {colors} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import MarkdownPage from 'components/MarkdownPage';
import PropTypes from 'prop-types';
import React from 'react';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import React from 'react';
type Props = {

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import React from 'react';
const ExternalLinkSvg = ({cssProps = {}}: {cssProps: Object}) => (

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import React from 'react';
import {colors} from 'theme';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Container from 'components/Container';
import Flex from 'components/Flex';
import Link from 'gatsby-link';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import NavigationFooter from './NavigationFooter';
export default NavigationFooter;

View File

@@ -7,8 +7,6 @@
* @emails react-core
*/
'use strict';
import React, {Component} from 'react';
import Section from './Section';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import React from 'react';
import {colors, media} from 'theme';
import isItemActive from 'utils/isItemActive';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import React, {Component} from 'react';
import Flex from 'components/Flex';
import Section from './Section';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import Sidebar from './Sidebar';
export default Sidebar;

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import MarkdownPage from 'components/MarkdownPage';
import PropTypes from 'prop-types';
import React from 'react';

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import MarkdownPage from 'components/MarkdownPage';
import PropTypes from 'prop-types';
import React from 'react';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
/**
* Theme contains variables shared by styles of multiple components.
*/

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import Link from 'gatsby-link';
import React from 'react';
import ExternalLinkSvg from 'templates/components/ExternalLinkSvg';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import {urlRoot} from 'site-constants';
export default (slug: string): string | null =>

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import slugify from './slugify';
/**

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import slugify from 'utils/slugify';
const toAnchor = (href: string = ''): string => {

View File

@@ -7,8 +7,6 @@
* @emails react-core
*/
'use strict';
export default url =>
new Promise((resolve, reject) =>
document.head.appendChild(

View File

@@ -4,8 +4,6 @@
* @emails react-core
*/
'use strict';
import CodeEditor from '../components/CodeEditor';
import React from 'react';
import ReactDOM from 'react-dom';

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
// $FlowExpectedError
import navCommunity from '../../content/community/nav.yml';
// $FlowExpectedError

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import slugify from 'slugify';
export default (string: string, directory?: string): string => {

View File

@@ -5,8 +5,6 @@
* @flow
*/
'use strict';
import React from 'react';
import type {Node} from 'react';