path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/react-router-dom/5.0.1/react-router-dom.min.js
cdnjs/cdnjs
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],n):n(t.ReactRouterDOM={},t.React)}(this,function(t,c){"use strict";var g="default"in c?c.default:c,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typ...
App_22/public/js/jquery-1.10.2.min.js
vibhatha/mean
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnPropert...
frontend/components/dashboard/attributes/AttributesPage.js
wpmg/wpcl_hd
import React from 'react'; import PropTypes from 'prop-types'; class AttributesPage extends React.Component { render() { return ( <div>Yo</div> ); } } export default AttributesPage;
files/rxjs/2.2.25/rx.compat.js
2947721120/garrulous-octo-rutabaga
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
src/components/ReplOutputChartViewer.js
antonyr/Mancy
import React from 'react'; import _ from 'lodash'; import ReplCommon from '../common/ReplCommon'; import ReplOutputHTML from './ReplOutputHTML'; import c3 from 'c3'; export default class ReplOutputChartViewer extends React.Component { constructor(props) { super(props); this.state = { type: 'bar', ...
GankDemo/index.android.js
MisterZhouZhou/ReactNativeLearing
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import {AppRegistry,} from 'react-native'; import {RootNavigator} from './jscore/RootNavigation'; export default class GankDemo extends Component { render() { return ( <RootNav...
src/renderers/dom/client/__tests__/ReactRenderDocument-test.js
BreemsEmporiumMensToiletriesFragrances/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
packages/@lyra/components/src/panes/story.js
VegaPublish/vega-studio
/* eslint-disable react/no-multi-comp */ import React from 'react' import {storiesOf, action} from 'part:@lyra/storybook' import { withKnobs, object, boolean, number, text } from 'part:@lyra/storybook/addons/knobs' import Lyra from 'part:@lyra/storybook/addons/lyra' import {range} from 'lodash' import Default...
app/javascript/mastodon/features/compose/components/upload_form.js
maa123/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import UploadProgressContainer from '../containers/upload_progress_container'; import ImmutablePureComponent from 'react-immutable-pure-component'; import UploadContainer from '../containers/upload_container'; import SensitiveButtonC...
code/web/src/components/Links.js
zyxcambridge/RecordExistence
import '../styles/RootIndex.css'; import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, Link } from 'react-router'; import TopNavBar from "./TopNavBar.js" const Links = () => <nav > <Link className="homebar" activeClassName="active" to="/"><span> 照片墙 </span> </Link> <Link ...
ajax/libs/react/0.12.0/react-with-addons.min.js
thesandlord/cdnjs
/** * React (with addons) v0.12.0 * * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same...
ajax/libs/rxjs/2.2.27/rx.lite.js
drewfreyling/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
docs/app/Examples/modules/Search/Variations/index.js
clemensw/stardust
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const SearchVariationsExamples = () => ( <ExampleSection title='Variations'> <ComponentExample title='Fluid' descript...
docs/app/Examples/addons/Radio/index.js
koenvg/Semantic-UI-React
import React from 'react' import Types from './Types' import States from './States' import Variations from './Variations' const RadioExamples = () => ( <div> <Types /> <States /> <Variations /> </div> ) export default RadioExamples
ajax/libs/yui/3.15.0/event-custom-base/event-custom-base.js
aashish24/cdnjs
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.En...
src/index.js
gshackles/react-demo-beerlist
import React from 'react'; import { render } from 'react-dom'; import App from './components/App'; import SearchService from './api/SearchService'; const searchService = new SearchService(); render(<App searchService={searchService} />, document.getElementById('content'));
private-cli/src/dependencies/dependencies.js
kushal/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict...
Examples/Movies/getStyleFromScore.js
jaredly/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
index.ios.js
hpdmitriy/Bjj4All
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class codepushSample extends Component { render() { return ( <View style={styles.cont...
files/clappr/0.0.82/clappr.js
gswalden/jsdelivr
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)...
lib/react/components/utility/Authenticated.js
bwyap/ptc-amazing-g-race
import React from 'react'; import PropTypes from 'prop-types' import { connect } from 'react-redux'; const mapStateToProps = (state, ownProps) => { return { authenticated: state.auth.login.authenticated, isAdmin: state.auth.login.admin } } @connect(mapStateToProps) class Authenticated extends React.Component {...
app/javascript/mastodon/features/keyboard_shortcuts/index.js
mimumemo/mastodon
import React from 'react'; import Column from '../ui/components/column'; import ColumnBackButtonSlim from '../../components/column_back_button_slim'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-co...
packages/react-devtools-shell/src/app/ReactNativeWeb/index.js
glenjamin/react
/** * Copyright (c) Facebook, 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. * * @flow */ import * as React from 'react'; import {Fragment, useState} from 'react'; // $FlowFixMe import {Button, Text, View} fr...
node_modules/semantic-ui-react/src/elements/Step/StepGroup.js
mowbell/clickdelivery-fed-test
import _ from 'lodash' import cx from 'classnames' import PropTypes from 'prop-types' import React from 'react' import { customPropTypes, getElementType, getUnhandledProps, META, SUI, useValueAndKey, useKeyOnly, } from '../../lib' import Step from './Step' /** * A set of steps. */ function StepGroup(p...
app/containers/PeriodicTableSelector/index.js
mhoffman/CatAppBrowser
/* * * PeriodicTableSelector * */ import React from 'react'; import { connect } from 'react-redux'; /* import { createStructuredSelector } from 'reselect'; */ import PeriodicTable from './PeriodicTable'; import { clickElement, clearSelection } from './actions'; export class PeriodicTableSelector extends React.Co...
packages/material-ui-icons/src/EventSeat.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><defs><path id="a" d="M0 0h24v24H0V0z" /></defs><path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z" /></React.Fragment> , 'EventSeat');
app/components/ListItem/index.js
KraigWalker/frontendfriday
import React from 'react'; import Item from './Item'; import Wrapper from './Wrapper'; function ListItem(props) { return ( <Wrapper> <Item> {props.item} </Item> </Wrapper> ); } ListItem.propTypes = { item: React.PropTypes.any, }; export default ListItem;
library/src/pivotal-ui-react/stream-list/stream-list.js
sjolicoeur/pivotal-ui
import React from 'react'; import PropTypes from 'prop-types'; import {DefaultButton} from 'pui-react-buttons'; import {UnorderedList, ListItem} from 'pui-react-lists'; import {default as mixin} from 'pui-react-mixins'; import Animation from 'pui-react-mixins/mixins/animation_mixin'; class StreamListNewItemsButton ext...
src/browser/main.js
chad099/react-native-boilerplate
// @flow import type { Action } from '../common/types'; import React from 'react'; import ReactDOM from 'react-dom'; import Root from './app/Root'; import configureFound from './configureFound'; import configureReporting from '../common/configureReporting'; import configureStorage from '../common/configureStorage'; imp...
src/svg-icons/av/airplay.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvAirplay = (props) => ( <SvgIcon {...props}> <path d="M6 22h12l-6-6zM21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V5h18v12h-4v2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/> </SvgIcon> ); AvAirplay = pure(AvAirplay...
node_modules/react-native/Libraries/Image/ImageBackground.js
gunaangs/Feedonymous
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
fields/types/url/UrlColumn.js
concoursbyappointment/keystoneRedux
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var UrlColumn = React.createClass({ displayName: 'UrlColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue () { va...
components/Auth/index.js
praida/admin
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import api from '../../api/' import Form from '../../../praida/components/Form' import FormField from '../../../praida/components/FormField' import Message from 'praida-message' import './styles.scss' class Auth exten...
src/admin/app/features/list/components/valueEditors/editString.js
jgretz/node-bits-admin
import React from 'react'; import {FormControl} from 'react-bootstrap'; import {PASSWORD} from '../../../shared/constants'; export default (item, key, schema, input) => ( <FormControl {...input} type={schema.type === PASSWORD ? 'password' : 'text'} /> );
src/AgesViewer.js
OCMC-Translation-Projects/ioc-liturgical-react
import React from 'react'; import PropTypes from 'prop-types'; import {Alert, Button, Col, ControlLabel, Glyphicon, Grid, Row, Table, Well} from 'react-bootstrap'; import Spinner from './helpers/Spinner'; import server from './helpers/Server'; import MessageIcons from './helpers/MessageIcons'; import ModalAgesService...
src/parser/core/healingEfficiency/HealingEfficiencyDetails.js
FaideWW/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import Tab from 'interface/others/Tab'; import HealingEfficiencyTracker from 'parser/core/healingEfficiency/HealingEfficiencyTracker'; import HealingEfficiencyBreakdown from './HealingEfficiencyBreakdown'; class HealingEfficiencyDetails extends A...
ajax/libs/react-bootstrap/0.28.0/react-bootstrap.js
seogi1004/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
lib/yuilib/3.17.2/scrollview-base/scrollview-base-debug.js
andreyamin/moodlebites-dev-course
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview *...
src/components/auth/signin.js
ercekal/client-side-auth-react
import React, { Component } from 'react'; import { reduxForm } from 'redux-form'; import * as actions from '../../actions'; class Signin extends Component { handleFormSubmit({ email, password }) { this.props.signinUser({ email, password }); } renderAlert() { if (this.props.errorMessage) { return (...
src/client/components/modals/CompareBooksModal.component.js
DBCDK/content-first
import React from 'react'; import {connect} from 'react-redux'; import Modal from './Modal/Modal.component'; import CompareBooks from '../work/CompareBooks/CompareBooks.component'; import {CLOSE_MODAL} from '../../redux/modal.reducer'; export class CompareBooksModal extends React.Component { render() { const {c...
src/scripts/SidebarCategories.js
williamthing/yoda
'use strict'; import React from 'react'; import Join from 'react/lib/joinClasses'; import {Link} from 'react-router'; import Constants from './Constants'; export default React.createClass({ renderChannelTitle(title){ return title.charAt(0).toUpperCase() + title.slice(1); }, renderLink(channel){ let hre...
src/Interpolate.js
erictherobot/react-bootstrap
// https://www.npmjs.org/package/react-interpolate-component // TODO: Drop this in favor of es6 string interpolation import React from 'react'; import ValidComponentChildren from './utils/ValidComponentChildren'; const REGEXP = /\%\((.+?)\)s/; const Interpolate = React.createClass({ displayName: 'Interpolate', ...
frontend/src/components/agency/titleCell.js
unicef/un-partner-portal
import R from 'ramda'; import React from 'react'; import PropTypes from 'prop-types'; import { withRouter, Link } from 'react-router'; import Typography from 'material-ui/Typography'; import { TableCell } from 'material-ui/Table'; const types = [ { type: 'Open Selection', path: 'open' }, { type: 'Unsolicited Conce...
js/src/modals/ExecuteContract/DetailsStep/detailsStep.spec.js
BSDStudios/parity
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any lat...
ajax/libs/yui/3.9.0pr1/event-focus/event-focus-coverage.js
holtkamp/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
src/__tests__/DatePicker.spec.js
erikras/redux-form-material-ui
import expect, { createSpy } from 'expect' import expectJsx from 'expect-jsx' import noop from 'lodash.noop' import DatePicker from 'material-ui/DatePicker' import getMuiTheme from 'material-ui/styles/getMuiTheme' import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider' import React from 'react' import TestUt...
examples/index.js
rhodee/react-tabbed-group
import React from 'react' import ReactDOM from 'react-dom' import Root from './Root' const mountNode = document.querySelector('#main') ReactDOM.render(<Root />, mountNode) // Ignore this only for HMR during dev mode if (module.hot) { window.React = React module.hot.accept(() => { const Root = require('./Root...
src/ParticipationChart/index.js
christianalfoni/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import Wrapper from '../Wrapper'; import Typography from '../Typography'; import ProgressCirclePercentage from '../ProgressCirclePercentage'; import styles from './styles.css'; function ParticipationChart(props) { return ( <Wrapper className={s...
js/app.js
webcoding/react-tab-selector
'use strict'; require('../style.css'); var TabSelector = require('./TabSelector'); var React = require('react'); var data = [ {name: 'Red', value: 'red'}, {name: 'Blue', value: 'blue'}, {name: 'Yellow', value: 'yellow'}, {name: 'Green', value: 'green'}, {name: 'White', value: 'White'} ]; var node = docume...
packages/react-router-dom/examples/QueryParams.js
reactjs/react-router
import React from "react"; import { BrowserRouter as Router, Link, useLocation } from "react-router-dom"; // React Router does not have any opinions about // how you should parse URL query strings. // // If you use simple key=value query strings and // you do not need to support IE 11, you can use // the browser...
components/layout/Sidebar.js
jasonleibowitz/react-toolbox
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { themr } from 'react-css-themr'; import { LAYOUT } from '../identifiers.js'; const Sidebar = ({ children, className, pinned, scrollY, theme, width }) => { const wrapperClasses = classnames(theme.sidebar, theme...
pages/demos/snackbars.js
AndriusBil/material-ui
// @flow import React from 'react'; import withRoot from 'docs/src/modules/components/withRoot'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from 'docs/src/pages/demos/snackbars/snackbars.md'; function Page() { return ( <MarkdownDocs markdown={markdown} demos...
ajax/libs/video.js/5.9.0-2/video.js
BenjaminVanRyseghem/cdnjs
/** * @license * Video.js 5.9.0 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Versi...
app/components/Footer/Icons.js
j921216063/chenya
import React from 'react'; import styled from 'styled-components'; import NormalA from 'components/A'; const Ul = styled.ul` text-align: center; margin: 0; cursor: default; `; const Li = styled.li` display: inline-block; line-height: 1em; padding-left: 1.5em; :first-child { padding-left: 0; } `; ...
ajax/libs/onsen/2.0.5/js/angular-onsenui.js
tonytomov/cdnjs
/*! angular-onsenui.js for onsenui - v2.0.5 - 2016-12-19 */ "use strict"; /* Simple JavaScript Inheritance for ES 5.1 * based on http://ejohn.org/blog/simple-javascript-inheritance/ * (inspired by base2 and Prototype) * MIT Licensed. */ (function () { "use strict"; var fnTest = /xyz/.test(function () { x...
examples/react/node_modules/react/dist/react-with-addons.js
jdfeemster/todomvc
/** * React (with addons) v0.13.3 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefine...
files/babel/5.2.3/browser-polyfill.js
barisaydinoglu/jsdelivr
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
client/src/ThanksPhase.js
mit-teaching-systems-lab/swipe-right-for-cs
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import TappableButton from './components/TappableButton.js'; import './ThanksPhase.css'; import {Interactions, InteractionTypes} from './shared/data.js'; // Thanks, come again! class ThanksPhase extends Component { constructor(props) { ...
app/components/magnetopause/MagnetopauseMapX.js
sheldhur/Vector
// @flow import React, { Component } from 'react'; import PropTypes from 'prop-types'; import LineChart from '../chart/LineChart'; import { NoDataAlert } from '../widgets/ChartAlert'; import MagnetopauseMapMenu from './MagnetopauseMapMenu'; import { magnetopausePoint } from '../../lib/geopack'; import { numberIsBetween...
ajax/libs/forerunnerdb/1.3.841/fdb-legacy.min.js
kiwi89/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/ListItem/__tests__/ListItem_test.js
react-fabric/react-fabric
import React from 'react' import { render, mount } from 'enzyme' import test from 'tape' import ListItem from '..' import ListItemAction from '../ListItemAction.js' test('ListItem', t => { t.ok(ListItem, 'export') t.equal(ListItem.Action, ListItemAction, '.Action export') t.equal(ListItem.displayName, 'FabricCo...
spec/coffeescripts/react_files/components/UploadProgressSpec.js
djbender/canvas-lms
/* * Copyright (C) 2014 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
src/component/EpgDataSet.js
bertrandmartel/caipy-dashboard
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import Paper from 'material-ui/Paper'; import Table, { TableBody, TableCell, TableHead, TableRow } from 'material-ui/Table'; import MobileStepper from 'material-ui/MobileStepper'; import Button from 'material...
src/svg-icons/notification/phone-in-talk.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationPhoneInTalk = (props) => ( <SvgIcon {...props}> <path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5...
src/components/Feedback/Feedback.js
henryhuang/appshowpub
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isomorp...
packages/material-ui-icons/src/ScreenLockLandscape.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let ScreenLockLandscape = props => <SvgIcon {...props}> <path d="M21 5H3c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-2 12H5V7h14v10zm-9-1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1v-1c0-1....
src/components/NotFoundPage/index.js
jsk7/personal-web
import React from 'react'; import { Link } from 'react-router'; const NotFoundPage = () => { return ( <div className="page-not-found"> <h4> A wild 404 appeared! </h4> <Link to="/"> Volver a la home </Link> </div> ); }; export default NotFoundPage;
ajax/libs/forerunnerdb/1.3.597/fdb-core.min.js
extend1994/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
blueocean-dashboard/src/main/js/components/stories/pipelines.js
ModuloM/blueocean-plugin
import React from 'react'; import { storiesOf } from '@kadira/storybook'; import PipelineRowItem from '../PipelineRowItem.jsx'; import { PipelineRecord } from '../records.jsx'; import { Table } from '@jenkins-cd/design-language'; /* First example of using storybook */ storiesOf('pipelines', module) .add('with a p...
src/svg-icons/alert/error.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AlertError = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/> </SvgIcon> ); AlertError = pure(AlertError); AlertEr...
src/svg-icons/image/collections-bookmark.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCollectionsBookmark = (props) => ( <SvgIcon {...props}> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 10l-2.5-1.5L15 12V4h5v8z"/>...
src/containers/NotFound/NotFound.js
Anshul-HL/blitz-windermere
import React from 'react'; export default function NotFound() { return ( <div className="container"> <h1>404!</h1> <p>Sorry the page you tried is not found!</p> </div> ); }
src/DropdownMenu.js
tonylinyy/react-bootstrap
import React, { cloneElement } from 'react'; import classNames from 'classnames'; import createChainedFunction from './utils/createChainedFunction'; import ValidComponentChildren from './utils/ValidComponentChildren'; const DropdownMenu = React.createClass({ propTypes: { pullRight: React.PropTypes.bool, onS...
test/DropdownSpec.js
jontewks/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Dropdown from '../src/Dropdown'; import DropdownMenu from '../src/DropdownMenu'; import MenuItem from '../src/MenuItem'; import { shouldWarn } from './helpers'; import keycode from 'keycode'; class CustomMenu extends React.Compone...
prepublic/javascripts/objectStore.js
addrummond/nodeibexfarm
// Implements a very simply system for 'storing' objects in a pool // with a given id, and updating the objects to obtain an object // with a new id which is linked back to the previous id. Useful // for putting 'big' objects in immutable react component states. define('objectStore', ['exports'], function (exports) { ...
cheesecakes/plugins/content-manager/admin/src/components/CustomDragLayer/index.js
strapi/strapi-examples
/** * * CustomDragLayer */ import React from 'react'; import PropTypes from 'prop-types'; import { DragLayer } from 'react-dnd'; import { flow } from 'lodash'; import DragBox from 'components/DragBox'; import SelectManyDraggedItem from 'components/SelectManyDraggedItem'; import ItemTypes from 'utils/ItemTypes'; im...
app/components/Projects/Projects.js
RichardLilja/BMC
// @flow import React, { Component } from 'react'; import MenuListItem from './Projects__MenuListItem'; import RecentProjectsListItem from './Projects__RecentProjectsListItem'; import styles from './Projects.scss'; export default class Projects extends Component { render() { return ( <section className={st...
modules/components/__tests__/Route-test.js
justinanastos/react-router
var expect = require('expect'); var React = require('react'); var Router = require('../../index'); var DefaultRoute = require('../DefaultRoute'); var Route = require('../Route'); var { Foo, Bar } = require('../../TestUtils'); describe('Route', function () { it('renders default child route if path match but no handl...
client/components/header.js
pradel/octon
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Router from 'next/router'; import styled from 'styled-components'; import AppBar from 'material-ui/AppBar'; import Toolbar from 'material-ui/Toolbar'; import IconButton from 'material-ui/IconButton'; import Menu, { MenuItem } from 'mat...
App/db/entities/Structure/Collection.js
CaipiLabs/caipi
/* * Copyright (c) 2018. Wise Wild Web * * This File is part of Caipi and under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License * Full license at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode * * @author : Nathanael Braun * @contact : caipilabs@gmail.com...
src/main/resources/static/bower_components/jqwidgets/demos/react/app/tabs/defaultfunctionality/app.js
dhawal9035/WebPLP
import React from 'react'; import ReactDOM from 'react-dom'; import JqxTabs from '../../../jqwidgets-react/react_jqxtabs.js'; import JqxCheckBox from '../../../jqwidgets-react/react_jqxcheckbox.js'; class App extends React.Component { componentDidMount() { this.refs.animation.on('change', (event) => { ...
ajax/libs/mobx/4.4.0/mobx.js
joeyparrish/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Ve...
files/core-js/1.1.0/library.js
vuejs/jsdelivr
/** * core-js 1.1.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
jekyll-strapi-tutorial/api/plugins/users-permissions/admin/src/components/Plugin/index.js
strapi/strapi-examples
/** * * Plugin * */ import React from 'react'; import PropTypes from 'prop-types'; import { Collapse } from 'reactstrap'; import { capitalize, get, isEmpty, map } from 'lodash'; import { FormattedMessage } from 'react-intl'; import Controller from 'components/Controller'; import styles from './styles.scss'; class P...
source/components/Loading.js
mikey1384/twin-kle
import PropTypes from 'prop-types'; import React from 'react'; import Spinner from 'components/Spinner'; import { css } from 'emotion'; Loading.propTypes = { className: PropTypes.string, innerStyle: PropTypes.object, style: PropTypes.object, text: PropTypes.string }; export default function Loading({ classN...
examples/planout-example/isomorphic/base/components/body.js
stephanwlee/mendel
/* Copyright 2015, Yahoo Inc. Copyrights licensed under the MIT License. Contributed by Shalom Volchok <shalom@digitaloptgroup.com> See the accompanying LICENSE file for terms. */ import React from 'react'; const style = { margin: "20px 0", padding: "20px", backgroundColor: "#FEF9E7" } export de...
ajax/libs/yasgui/0.0.12/yasgui.bundled.min.js
joeylakay/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
src/components/_/_RoadObjectListItem.js
nickooms/racing-webgl2
import React from 'react'; import PropTypes from 'prop-types'; import { TableRow, TableRowColumn } from 'material-ui/Table'; import muiThemeable from 'material-ui/styles/muiThemeable'; import './index.css'; const RoadObjectListItem = ({ id, selected }) => ( <TableRow selected={selected}> <TableRowColumn>{id}</Ta...
fields/components/ItemsTableValue.js
jacargentina/keystone
import React from 'react'; import blacklist from 'blacklist'; import classnames from 'classnames'; import { Link } from 'react-router'; var ItemsTableValue = React.createClass({ displayName: 'ItemsTableValue', propTypes: { className: React.PropTypes.string, exterior: React.PropTypes.bool, field: React.PropType...
gatsby-strapi-tutorial/cms/admin/admin/src/containers/HomePage/index.js
strapi/strapi-examples
/* * * HomePage * */ import React from 'react'; import { connect } from 'react-redux'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import { bindActionCreators, compose } from 'redux'; import { createStructuredSelector } from 'reselect'; import PropTypes from 'prop-types'; impo...
src/svg-icons/editor/border-style.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderStyle = (props) => ( <SvgIcon {...props}> <path d="M15 21h2v-2h-2v2zm4 0h2v-2h-2v2zM7 21h2v-2H7v2zm4 0h2v-2h-2v2zm8-4h2v-2h-2v2zm0-4h2v-2h-2v2zM3 3v18h2V5h16V3H3zm16 6h2V7h-2v2z"/> </SvgIcon> ); E...
ajax/libs/react-native-web/0.14.9/cjs/exports/ActivityIndicator/index.min.js
cdnjs/cdnjs
"use strict";exports.__esModule=!0,exports.default=void 0;var _StyleSheet=_interopRequireDefault(require("../StyleSheet")),_View=_interopRequireDefault(require("../View")),_react=_interopRequireWildcard(require("react"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;ret...
docs/app/Examples/elements/List/Types/ListExampleBulletedSimple.js
aabustamante/Semantic-UI-React
import React from 'react' import { List } from 'semantic-ui-react' const ListExampleBulletedSimple = () => ( <List as='ul'> <List.Item as='li'>Gaining Access</List.Item> <List.Item as='li'>Inviting Friends</List.Item> <List.Item as='li'> Benefits <List.List as='ul'> <List.Item as='li...
source/common/components/Prompt/index.js
shery15/react
import React from 'react'; import { BrowserRouter as Router, Route, Link, Prompt } from 'react-router-dom'; const PreventingTransitionsExample = () => ( <Router> <div> <ul> <li><Link to="/">Form</Link></li> <li><Link to="/one">One</Link></li> <li><Link to="/two">Two</Link></...
app/components/home/Divider.js
OldFresco/web-app-kiwwi
import React from 'react'; import { Step, Stepper, StepButton, } from 'material-ui/Stepper'; import RaisedButton from 'material-ui/RaisedButton'; import FlatButton from 'material-ui/FlatButton'; import Body from 'material-ui/svg-icons/action/accessibility'; import Target from 'material-ui/svg-icons/action/track-c...
ajax/libs/foundation/4.3.1/js/vendor/jquery.js
jmesnil/cdnjs
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
modules/__tests__/createRoutesFromReactChildren-test.js
cgrossde/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import { createRoutesFromReactChildren } from '../RouteUtils' import IndexRoute from '../IndexRoute' import Route from '../Route' describe('createRoutesFromReactChildren', function () { const Parent = React.cr...
ajax/libs/material-ui/4.9.6/es/LinearProgress/LinearProgress.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import capitalize from '../utils/capitalize'; import withStyles fro...
frontend/case/Detail.js
datoszs/czech-lawyers
import React from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import moment from 'moment'; import {courtsMsg, resultMsg} from '../model'; import {DetailField, RouterLink} from '../containers'; import translate from '../translate'; import {ADVOCATE_DETAIL} from '../routes'; import {...
Examples/PropertyFinder/SearchPage.js
gregRV/rn-property-finder
'use strict'; var React = require('react-native'); var SearchResults = require('./SearchResults'); // this is a "destructuring assignment," which lets you extract multiple object properties // and assign them to variables using a single statement. As a result, the rest of your // code can drop the 'React' prefix!" va...