path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/ui-router-extras/0.0.1-preview/ct-ui-router-extras.js
drewfreyling/cdnjs
angular.module("ct.ui.router.extras", [ 'ui.router' ]); //define(['angularAMD'], function (angularAMD) { var app = angular.module("ct.ui.router.extras"); app.service("$deepStateRedirect", function ($rootScope, $state) { var lastSubstate = {}; var lastParams = {}; var deepStateRedirectsByName = {}; ...
packages/material-ui-icons/src/TimerOffTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M12 6c-1.12 0-2.18.27-3.12.74L11 8.86V8h2v2.86l5.26 5.26c.47-.94.74-2 .74-3.12 0-3.87-3.13-7-7-7zM12 20c1.29 0 2.49-.35 3.52-.96L5.96 9.48C5....
web/src/routes/workspace/views/workspace-header/workspace-header.container.js
seccom/kpass
import { connect } from 'react-redux' import { push } from 'react-router-redux' import { bindActionCreators } from 'redux' import { userMeSelector, sortedTeamsSelector, signOutUserAction } from 'modules' import { currentTeamSelector } from '../../modules' import { WorkspaceHeader as WorkspaceHeaderView } from './works...
src/components/GithubButton/GithubButton.js
fforres/coworks
import React from 'react'; const GithubButton = (props) => { const {user, repo, type, width, height, count, large} = props; let src = `https://ghbtns.com/github-btn.html?user=${user}&repo=${repo}&type=${type}`; if (count) src += '&count=true'; if (large) src += '&size=large'; return ( <iframe src=...
web/src/routes.js
Takaitra/RecipeRunt
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/App'; import HomePage from './components/pages/HomePage'; import FuelSavingsPage from './containers/FuelSavingsPage'; // eslint-disable-line import/no-named-as-default import AboutPage from './components/pages/Ab...
node_modules/react-bootstrap/es/DropdownToggle.js
xuan6/admin_dashboard_local_dev
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
node_modules/react-icons/fa/frown-o.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaFrownO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.3 27.4q0.2 0.6-0.1 1.1t-0.8 0.7-1.1-0.1-0.7-0.8q-0.6-1.8-2.1-2.9t-3.4-1.1-3.3 1.1-2.1 2.9q-0.2 0.6-0.7 0.8t-1.1 0.1q-0.6-0.2-0.8-0.7t-0.1-1.1q0.8-2.7 3.1-4.3t5-1.7...
src/svg-icons/editor/short-text.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorShortText = (props) => ( <SvgIcon {...props}> <path d="M4 9h16v2H4zm0 4h10v2H4z"/> </SvgIcon> ); EditorShortText = pure(EditorShortText); EditorShortText.displayName = 'EditorShortText'; EditorShortText...
react/gameday2/components/embeds/EmbedTwitch.js
phil-lopreiato/the-blue-alliance
import React from 'react' import { webcastPropType } from '../../utils/webcastUtils' const EmbedTwitch = (props) => { const channel = props.webcast.channel const iframeSrc = `https://player.twitch.tv/?channel=${channel}` return ( <iframe src={iframeSrc} frameBorder="0" scrolling="no" ...
exercise-3/end/client-conference-schedule/src/components/Tab/index.js
nanovazquez/nodeconf-isomorphic-workshop
import React from 'react'; import './styles.css'; const Tab = ({ title, selected, onSelect, }) => { return ( <div className={selected ? 'tab active' : 'tab'} onClick={onSelect}> <div className="tab-header"> <span>{title}</span> </div> <div className="pointer"></div> </div> ...
src/packages/@ncigdc/modern_components/IntrospectiveType/ClinicalAnalysisContainer.js
NCI-GDC/portal-ui
import React from 'react'; import { connect } from 'react-redux'; import { head } from 'lodash'; import { branch, compose, lifecycle, setDisplayName, withProps, } from 'recompose'; import withRouter from '@ncigdc/utils/withRouter'; import ClinicalAnalysisResult from '@ncigdc/modern_components/ClinicalAnalysi...
blueocean-material-icons/src/js/components/svg-icons/notification/event-note.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const NotificationEventNote = (props) => ( <SvgIcon {...props}> <path d="M17 10H7v2h10v-2zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zm-5-5H7v2h7v-2z"/> </SvgIcon> ); Notifi...
app/client/templates/components/app-table.js
neynah/sandstorm-app-market
// SMALL APP ITEM TABLE Template.appTable.helpers({ leader: function() { return Genres.findOneIn(this.genre, {}, {sort: {installCount: -1}}, {reactive: !!this.reactive}); }, appList: function() { var options = { skip: 0, reactive: !!this.reactive }, data = _.exten...
src/containers/NoteContainer.js
kimochg/react-native-githubnote-app
/* * @Author: LIU CHENG * @Date: 2017-02-24 23:06:26 * @Last Modified by: LIU CHENG * @Last Modified time: 2017-02-25 11:06:35 */ import React from 'react'; import { connect } from 'react-redux'; import * as actions from '../modules/actions'; import Note from '../components/Note'; import { getUsername, getNotes...
src/index.js
Climb-social/react-climb-wall
import React from 'react'; import ReactDOM from 'react-dom'; import viewFinder from './utils/viewFinder'; import isBrowser from './utils/isBrowser'; import ClimbView from './views/ClimbView/ClimbView'; export { ClimbView as ClimbView }; export { default as ListView } from './views/ListView/ListView'; export { default...
src/components/DeveloperMenu.js
chriswohlfarth/mojifi-app
import React from 'react'; import {View} from 'react-native'; // For tests const DeveloperMenu = () => <View/>; export default DeveloperMenu;
pathfinder/vtables/projectdataqualitycompleteness/src/Table.js
leanix/leanix-custom-reports
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; import TableUtilities from './common/TableUtilities'; class Table extends Component { constructor(props) { super(props); this._formatRule = this._formatRule.bin...
src/index.js
fabiosantoscode/component-story-collection
import React from 'react'; import Teaser from '@economist/component-teaser'; import classnames from 'classnames'; const defaultTitleLengthLimit = 70; const lengthOfThreeConsecutiveDots = 3; export function StoryCollectionStory({ story, isFirst, titleLengthLimit = defaultTitleLengthLimit, }) { if (!story) { ...
packages/material-ui-icons/src/LocationOffTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M17 9c0 1.06-.39 2.32-1 3.62l1.49 1.49C18.37 12.36 19 10.57 19 9c0-3.87-3.13-7-7-7-1.84 0-3.5.71-4.75 1.86l1.43 1.43C9.56 4.5 10.72 4 12 4c2....
cruts-ui/src/App.js
darkowl91/cruts
import React, { Component } from 'react'; import NavHeader from './components/NavHeader' class App extends Component { render() { return ( <div> <NavHeader/> </div> ); } } export default App;
node_modules/react-icons/md/cancel.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdCancel = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.4 26l-6.1-6 6.1-6-2.4-2.4-6 6.1-6-6.1-2.4 2.4 6.1 6-6.1 6 2.4 2.4 6-6.1 6 6.1z m-8.4-22.6c9.2 0 16.6 7.4 16.6 16.6s-7.4 16.6-16.6 16.6-16.6-7.4-16.6-16.6 7.4-16.6 ...
ajax/libs/angular.js/0.9.11/angular-scenario.js
masahirotanaka/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
wip/phaser/app/scripts/libs/jquery.js
flavienliger/JsTool
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
src/client/components/kiosk/Timeout/Timeout.js
DBCDK/content-first
import React from 'react'; import {connect} from 'react-redux'; import {get} from 'lodash'; import {SHORTLIST_CLEAR} from '../../../redux/shortlist.reducer'; export class Timeout extends React.Component { constructor(props) { super(props); // Disable timeout in development this.devmode = !!(get(process...
src/components/orderInput/shopSelect/shopSelect.js
beehive-spg/beehive-frontend
import React from 'react' import Select from 'react-select' import 'react-select/dist/react-select.css' import './shopSelect.css' export default class ShopSelect extends React.Component { render() { const { selected, onSelect, shops } = this.props return ( <Select name="shopSelect" placeholder="Select...
client/components/Backdrop.js
VoiSmart/Rocket.Chat
import { ModalBackdrop } from '@rocket.chat/fuselage'; import React from 'react'; export const Backdrop = (props) => <ModalBackdrop bg='transparent' {...props} />;
packages/material-ui-icons/src/VoiceChat.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12l-4-3.2V14H6V6h8v3.2L18 6v8z" /></React.Fragment> , 'VoiceChat');
src/components/resume/Project.js
jostw/jos.tw
import React, { Component, PropTypes } from 'react'; import Link from '../Link'; import Period from './Period'; import List from '../../containers/resume/List'; class Project extends Component { static propTypes = { name: PropTypes.shape(Link.propTypes).isRequired, ...Period.propTypes.isRequired, items:...
pyot/static/jquery-1.8.2.min.js
andreaazzara/pyot
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==...
src/routes.js
wdzulc/x-dev-team
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/App'; import HomePage from './components/HomePage'; import AboutPage from './components/AboutPage.js'; import NotFoundPage from './components/NotFoundPage.js'; export default ( <Route path="/" component={App}>...
node_modules/react-icons/ti/zoom-out-outline.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiZoomOutOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m21.7 20h-8.4c-0.4 0-0.8-0.4-0.8-0.8s0.4-0.9 0.8-0.9h8.4c0.4 0 0.8 0.4 0.8 0.9s-0.4 0.8-0.8 0.8z m10.6 6.6l-3.7-3.8c0.3-1.2 0.6-2.4 0.6-3.6 0-6.5-5.3-11.7-11.7...
packages/benchmarks/styled-jsx/dynamic/client/Table.js
A-gambit/CSS-IN-JS-Benchmarks
import React from 'react'; const Cell = ({ value, children }) => ( <div className="cell"> {children} <style jsx>{` .cell { display: table-cell; padding: 10px; } `}</style> <style jsx>{`.cell { background: rgba(74, 174, 53, ${value}) }`}</style> </div> ); const Table = (...
src/containers/NotFound/NotFound.js
golgistudio/website
import React from 'react'; export default function NotFound() { const styles = require('./notFound.scss'); return ( <div className={styles.notFound}> <span className={styles.error}> <h1>Oops!</h1> <h3>Wrong turn - nothing to see down this road</h3> </span> <img src="./cityStr...
src/main/resources/ui/components/Root.js
mesos/chronos
import React from 'react' import Header from './Header' import Main from './Main' import Footer from './Footer' import {render} from 'react-dom' import {JobSummaryStore} from '../stores/JobSummaryStore' var observableJobSummaryStore = new JobSummaryStore() class Root extends React.Component { render () { const ...
client/pages/examples/threejs/fractals/elements/shape-picker.js
fdesjardins/webgl
import React from 'react' const shapes = ['plane', 'sphere', 'cylinder', 'torus knot'] export const ShapePicker = ({ shape, setShape }) => ( <select value={shape} className="ui dropdown" onChange={({ target }) => setShape(target.value)} > {shapes.map((f) => ( <option key={f} value={f}> ...
src/media/js/addon/containers/review.js
ziir/marketplace-content-tools
import React from 'react'; import {connect} from 'react-redux'; import {ReverseLink} from 'react-router-reverse'; import {bindActionCreators} from 'redux'; import {fetch} from '../actions/review'; import {AddonListing} from '../components/addon'; import AddonSubnav from '../components/addonSubnav'; import {addonListSe...
__tests__/components/Columns-test.js
nickjvm/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import Columns from '../../src/js/components/Columns'; // needed because this: // https://github.com/facebook/jest/issues/1353 jest.mock('react-dom'); describe('Columns', () =>...
client/src/main.js
ipselon/sdr-bootstrap-prepack
import 'babel-polyfill'; import './assets/css/react-widgets.css'; import './assets/css/bootstrap.css'; import './assets/css/font-awesome.css'; import './assets/css/app.css'; import './assets/js/bootstrap.js'; import Moment from 'moment'; import momentLocalizer from 'react-widgets/lib/localizers/moment'; momentLocalize...
src/svg-icons/places/smoke-free.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesSmokeFree = (props) => ( <SvgIcon {...props}> <path d="M2 6l6.99 7H2v3h9.99l7 7 1.26-1.25-17-17zm18.5 7H22v3h-1.5zM18 13h1.5v3H18zm.85-8.12c.62-.61 1-1.45 1-2.38h-1.5c0 1.02-.83 1.85-1.85 1.85v1.5c2.24 0 ...
react/features/conference/components/AbstractConference.js
gpolitis/jitsi-meet
// @flow import React, { Component } from 'react'; import { NotificationsContainer } from '../../notifications/components'; import { shouldDisplayTileView } from '../../video-layout'; import { shouldDisplayNotifications } from '../functions'; /** * The type of the React {@code Component} props of {@link AbstractLab...
src/icons/LocalBarIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class LocalBarIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M42 10V6H6v4l16 18v10H12v4h24v-4H26V28l16-18zm-27.13 4l-3.56-4h25.38l-3.56 4H14.87z"/></svg>;} };
react-flux-mui/js/material-ui/src/svg-icons/image/timelapse.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTimelapse = (props) => ( <SvgIcon {...props}> <path d="M16.24 7.76C15.07 6.59 13.54 6 12 6v6l-4.24 4.24c2.34 2.34 6.14 2.34 8.49 0 2.34-2.34 2.34-6.14-.01-8.48zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.4...
src/components/topic/platforms/ManagePlatformsContainer.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { connect } from 'react-redux'; import { injectIntl, FormattedMessage, FormattedHTMLMessage } from 'react-intl'; import { Grid, Row, Col } from 'react-flexbox-grid/lib'; import { push } from 'react-router-redux'; import withAsyncData from '../../comm...
ajax/libs/rxjs/2.2.27/rx.all.compat.js
jmusicc/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...
components/Pager.js
turntwogg/esports-aggregator
import React from 'react'; import Link from 'next/link'; import { withRouter } from 'next/router'; import { MdNavigateBefore, MdNavigateNext } from 'react-icons/md'; const Pager = ({ data, offset, pageLimit, router }) => ( <div className="pager"> {data.links.prev && ( <Link href={{ pathna...
index.js
jhen0409/react-native-boilerplate
import { AppRegistry } from 'react-native'; import App from './src'; AppRegistry.registerComponent('RNBoilerplate', () => App);
frontend/test/app/components/Banner-test.js
mathjazz/testpilot
import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import Banner from '../../../src/app/components/Banner'; describe('app/components/Banner', () => { let subject, props; beforeEach(() => { props = { children: 'foo' }; subject = shallow(<Banner {...prop...
src/routers.js
liuboshuo/react-native-food
/** * Created by liushuo on 17/7/6. */ import Home_Page from './containers/home_page' import Menu_Page from './containers/menu_page' import Profile_Page from './containers/profile_page' import Food_List_Page from './containers/food_list_page' import Like_Page from './containers/like_page' import Browser_page from './...
sites/all/modules/jquery_update/replace/jquery/1.8/jquery.js
ferjflores/canaan
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
src/App.js
miccferr/react-wmshp
import React, { Component } from 'react'; import injectTapEventPlugin from 'react-tap-event-plugin'; // Needed for onTouchTap // Can go away when react 1.0 release // Check this repo: // https://github.com/zilverline/react-tap-event-plugin injectTapEventPlugin(); import { NICE, SUPER_NICE } from './colors'; class Cou...
ajax/libs/forerunnerdb/1.3.29/fdb-legacy.min.js
brix/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/components/Home.js
dahtuska/tekstiilit
import React, { Component } from 'react'; import '../styles/home.scss'; export default class Home extends Component{ render() { return ( <div className="home"> <h1>Tervetuloa materiaalisovellukseen!</h1> <p>Täällä voit tutkia erilaisten tekstiilimateriaalien ominaisuuksia ja muita tietoja...
packages/generator-electron/template/__tests__/renderer/routes.js
abouthiroppy/dish
import React from 'react'; import { createStore } from 'redux'; import { Provider } from 'react-redux'; import { MemoryRouter } from 'react-router'; import configureStore from 'redux-mock-store'; import { render } from 'enzyme'; import Routes from '../../src/renderer/Routes'; import rootReducer from '../../src/renderer...
js/components/Home.js
kishorevarma/nakiva.com
import React from 'react'; let Contact = React.createClass({ render: function() { return ( <div className="homeCont"> <div className="homePic"></div> <div className="homeCaption"> A FRONTEND DEVELOPER</div> </div> ); } }); export default Contact;
app/component/edit/Edit.js
vagnerpraia/ipeasurvey
import React, { Component } from 'react'; import { View } from 'react-native'; import { Body, Button, Container, Content, Header, Left, List, ListItem, Icon, Right, Text, Title } from 'native-base'; import FileStore from './../../FileStore'; import AdminData from './../../data/AdminData'; import { styles } from './../...
7.4.0/examples/asyncValidation/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__e...
src/js/components/icons/base/Escalator.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
ajax/libs/react/15.5.2/react-with-addons.min.js
holtkamp/cdnjs
/** * React (with addons) v15.5.2 * * Copyright 2013-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 s...
ajax/libs/inferno-redux/1.0.0-beta18/inferno-redux.js
froala/cdnjs
/*! * inferno-redux v1.0.0-beta18 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./inferno-component'), require('./inferno-create-element')) : typeof define === 'functio...
src/utils/domUtils.js
tonylinyy/react-bootstrap
import React from 'react'; let canUseDom = !!( typeof window !== 'undefined' && window.document && window.document.createElement ); /** * Get elements owner document * * @param {ReactComponent|HTMLElement} componentOrElement * @returns {HTMLElement} */ function ownerDocument(componentOrElement) { let e...
test/test_helper.js
hollowjokken/Modern_React_Redux
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'...
blueocean-material-icons/src/js/components/svg-icons/action/build.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionBuild = (props) => ( <SvgIcon {...props}> <path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/> </SvgIcon> )...
app/javascript/mastodon/features/notifications/components/filter_bar.js
tootcafe/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Icon from 'mastodon/components/icon'; const tooltips = defineMessages({ mentions: { id: 'notifications.filter.mentions', defaultMessage: 'Mentions' }, favourites: { id: '...
docs/src/pages/customization/components/GlobalThemeOverride.js
lgollut/material-ui
import React from 'react'; import { ThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; const theme = createMuiTheme({ overrides: { MuiButton: { root: { fontSize: '1rem', }, }, }, }); export default function GlobalThemeOverrid...
lib/jquery-1.8.0.min.js
mahmed0715/swagger-ui
/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==...
ajax/libs/material-ui/4.9.4/es/Icon/Icon.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import capitalize from '....
src/parser/shared/modules/items/bfa/dungeons/RotcrustedVoodooDoll.js
fyruna/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import ItemStatistic from 'interface/statistics/ItemStatistic'; import BoringItemValueText from 'interface/statistics/components/BoringItemValueText'; import Analyzer from 'parser/core/Analyzer'; import { formatNumber } fro...
src/views/SignUp.js
astrauka/expensable-r1
import React from 'react'; import MiniInfoBar from '../components/MiniInfoBar'; export default class SignUp { render() { return ( <div> <h1>Sign Up</h1> <div>Hey! You found the mini info bar! The following component is display-only.</div> <MiniInfoBar/> </div> ); } }
packages/react-dom/src/shared/checkReact.js
yiminghe/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 React from 'react'; import invariant from 'shared/invariant'; invariant( React, 'ReactDOM was loaded befor...
app/javascript/mastodon/features/compose/components/text_icon_button.js
tri-star/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const iconStyle = { height: null, lineHeight: '27px', width: `${18 * 1.28571429}px`, }; export default class TextIconButton extends React.PureComponent { static propTypes = { label: PropTypes.string.isRequired, title: PropTypes.string, ...
src/index.js
edonet/react
/** ***************************************** * Created by lifx * Created on 2017-08-13 21:53:00 ***************************************** */ 'use strict'; /** ***************************************** * 加载依赖 ***************************************** */ import React from 'react'; import { createStore, combin...
node_modules/react-router/lib/RouterContext.js
Technaesthetic/ua-tools
'use strict'; exports.__esModule = true; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _extends = Object.assign || fu...
dispatch/static/manager/src/js/containers/MainContainer.js
ubyssey/dispatch
import React from 'react' import { connect } from 'react-redux' import { Position, Toaster } from '@blueprintjs/core' import * as modalActions from '../actions/ModalActions' import * as toasterActions from '../actions/ToasterActions' import * as navigationActions from '../actions/NavigationActions' import eventsAction...
react/gameday2/components/embeds/EmbedUstream.js
jaredhasenklein/the-blue-alliance
import React from 'react' import { webcastPropType } from '../../utils/webcastUtils' const EmbedUstream = (props) => { const channel = props.webcast.channel const src = `https://www.ustream.tv/embed/${channel}?html5ui=1` return ( <iframe width="100%" height="100%" src={src} scrolling=...
ajax/libs/chimee/0.5.3/index.browser.js
joeyparrish/cdnjs
/** * chimee v0.5.3 * (c) 2017 toxic-johann * Released under MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Chimee = factory()); }(this, (function () { 'use s...
javascripts/foundation/jquery.js
syntagm/pdmsys
/*! * jQuery JavaScript Library v1.8.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time) */ (function(...
node_modules/react-router/es6/RouteUtils.js
sharonjean/React-Netflix
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; import React from 'react'; function isValidChild(object) { ...
src/components/Airmet/AirmetReadMode.spec.js
diMosellaAtWork/GeoWeb-FrontEnd
import React from 'react'; import AirmetReadMode from './AirmetReadMode'; import { mount, shallow } from 'enzyme'; import { Button } from 'reactstrap'; const airmet = { phenomenon: 'TEST', levelinfo: { levels: [{ unit: 'FL', value: 4 }, { unit: 'M', value: 4 }] } }; describe('(Component) AirmetReadMode', () => { ...
src/svg-icons/navigation/last-page.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationLastPage = (props) => ( <SvgIcon {...props}> <path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"/> </SvgIcon> ); NavigationLastPage = pure(NavigationLastPage); NavigationLastPage.di...
definitions/npm/recompose_v0.x.x/flow_v0.55.x-v0.56.x/test_voodoo.js
mwalkerwells/flow-typed
/* globals $Exact, $PropertyType */ /* eslint-disable no-unused-vars, no-unused-expressions, arrow-body-style */ /* @flow */ import React from "react"; import { compose, withProps, flattenProp, renameProp, renameProps, withState } from "recompose"; import type { HOC } from "recompose"; type EnhancedCompPr...
src/app/components/media/MediaSearchRedirect.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { browserHistory } from 'react-router'; import { QueryRenderer, graphql } from 'react-relay/compat'; import Relay from 'react-relay/classic'; import CircularProgress from '@material-ui/core/CircularProgr...
packages/demos/forms-demo/src/components/Menu/index.js
garth/cerebral
import React from 'react' import { css } from 'aphrodite' import { connect } from '@cerebral/react' import { state } from 'cerebral/tags' import MenuItem from './MenuItem' import SettingsCheckbox from './SettingsCheckbox' import styles from './styles' const types = [{ name: 'Simple', url: '#/simple' }] export default...
src/containers/AppContainer.js
hrnik/roofbar
import React from 'react' import PropTypes from 'prop-types' import { browserHistory, Router } from 'react-router' import { Provider } from 'react-redux' import { compose, shouldUpdate, setPropTypes } from 'recompose' const maxHeightStyle = { height: '100%' } const AppContainer = ({ routes, store }) => ( <Provider ...
src/childjoin.js
joelburget/pigment
import React from 'react'; export default function childJoin(children, joiner) { const result = []; React.Children.map(children, child => { result.push(child); result.push(React.cloneElement(joiner)); }); result.pop(); return result; }
react/features/overlay/components/ReloadTimer.js
KalinduDN/kalindudn.github.io
import React, { Component } from 'react'; import { translate } from '../../base/i18n'; declare var AJS: Object; /** * Implements a React Component for the reload timer. Starts counter from * props.start, adds props.step to the current value on every props.interval * seconds until the current value reaches props.e...
examples/auth-with-shared-root/components/Dashboard.js
zenlambda/react-router
import React from 'react' import auth from '../utils/auth' const Dashboard = React.createClass({ render() { const token = auth.getToken() return ( <div> <h1>Dashboard</h1> <p>You made it!</p> <p>{token}</p> {this.props.children} </div> ) } }) export default...
ajax/libs/ace/1.3.3/mode-red.js
jonobr1/cdnjs
define("ace/mode/red_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="";this.$rules={start:[{token:"keyword.operator",regex:/\s([\-+%/=<>*]|(?:\*\*\|\/\/|=...
app/containers/LocaleToggle/index.js
Proxiweb/react-boilerplate
/* * * LanguageToggle * */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { selectLocale } from '../LanguageProvider/selectors'; import { changeLocale } from '../LanguageProvider/actions'; import { appLocales } from '../../i18n'; import { createSelector...
app/js/pages/All.js
arcsecw/query_order
import React from 'react'; import { Container, Input, FormGroup, ButtonToolbar, Tabs, Item, } from 'amazeui-react'; import { myConfig } from '../components/config.js'; import Message from './Message' import Index from './Index' import Test from './Test' import Login from './Login' import Logout from './Logo...
src/app/modules/components/AppBar.js
lili668668/lili668668.github.io
import React from 'react' import PropTypes from 'prop-types' import { compose } from 'recompose' import { withRouter } from "react-router" import { useTranslation } from 'react-i18next/hooks' import { withStyles } from '@material-ui/core/styles' import ArrowBackIcon from '@material-ui/icons/ArrowBack' import AccountCir...
app/src/pages/NotYetReadyPage/index.js
udacityalumni/udacity-alumni-fe
import React from 'react'; import cssModules from 'react-css-modules'; import styles from './index.module.scss'; import { MartinRulz } from 'components'; import { AppFooter } from 'components'; const NotYetReadyPage = () => ( <div className={styles.container}> <MartinRulz /> <AppFooter /> </div> ); export...
examples/cra-kitchen-sink/src/stories/long-description.stories.js
storybooks/storybook
import React from 'react'; import { action } from '@storybook/addon-actions'; import { Button } from '@storybook/react/demo'; export default { title: 'Some really long story kind description', }; export const Story1 = () => <Button onClick={action('clicked')}>Hello Button</Button>; Story1.storyName = 'with text';
client/App.js
Pennsy/todolist
/** * Root Component */ import React from 'react'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import IntlWrapper from './modules/Intl/IntlWrapper'; // Import Routes import routes from './routes'; // Base stylesheet import 'todomvc-app-css/index.css' //require('./m...
node_modules/babel-preset-stage-1/node_modules/babel-preset-stage-2/node_modules/babel-preset-stage-3/node_modules/babel-plugin-transform-async-to-generator/node_modules/babel-runtime/helpers/jsx.js
igMartin/Redux-Tinder
"use strict"; exports.__esModule = true; var _for = require("../core-js/symbol/for"); var _for2 = _interopRequireDefault(_for); var _symbol = require("../core-js/symbol"); var _symbol2 = _interopRequireDefault(_symbol); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; ...
browser/modules/shared/SearchFieldComponent.js
mapcentia/vidi
/* * @author Alexander Shumilov * @copyright 2013-2018 MapCentia ApS * @license http://www.gnu.org/licenses/#AGPL GNU AFFERO GENERAL PUBLIC LICENSE 3 */ import React from 'react'; import PropTypes from 'prop-types'; /** * Title field for */ class SearchFieldComponent extends React.Component { const...
ajax/libs/rx-angular/0.0.10/rx.angular.js
kennynaoh/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (root, factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
geonode/contrib/monitoring/frontend/src/components/organisms/hardware-performance/index.js
MapStory/geonode
import React from 'react'; import PropTypes from 'prop-types'; import RaisedButton from 'material-ui/RaisedButton'; import ChartIcon from 'material-ui/svg-icons/av/equalizer'; import HoverPaper from '../../atoms/hover-paper'; import GeonodeStatus from '../../cels/geonode-status'; import GeoserverStatus from '../../cels...
packages/examples/pages/view/index.js
necolas/react-native-web
import React from 'react'; import { StyleSheet, Text, TouchableHighlight, View } from 'react-native'; import Example from '../../shared/example'; const log = (...msg) => { console.log(...msg); }; const l1 = { width: '100%', paddingLeft: 0, paddingTop: 0 }; const l2 = { width: '75%', paddingLeft: 10, paddingTop: 10 ...
Realization/frontend/czechidm-vs/src/components/basic/VsConnectorIcon/VsConnectorIcon.js
bcvsolutions/CzechIdMng
import React from 'react'; // import { Advanced, Basic } from 'czechidm-core'; /** * Icon for VS connector. * * @author Vít Švanda * @author Radek Tomiška * @since 10.7.0 */ export default class VsConnectorIcon extends Advanced.AbstractIcon { renderIcon() { const { iconSize } = this.props; if (iconSi...
index.js
dominiktilp/currys-web-app
import React from 'react'; import { render } from 'react-dom'; import { Router, browserHistory } from 'react-router'; import { Provider } from 'react-redux'; import configureStore from './utils/configureStore'; import routes from './routes/routing'; import Immutable from 'immutable'; import 'isomorphic-fetch'; requir...