path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
files/babel/5.4.0/browser-polyfill.js
justincy/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...
packages/material-ui-icons/src/AccessibilityTwoTone.js
allanalexandre/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 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z" /></g></React.Fragment> , 'AccessibilityTwoTone');
src/components/Layout/Navigation.js
fasatron/quantify-world-test
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-present 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'; ...
src/components/PreviousButtonEnhancer.js
ttrentham/Griddle
import React from 'react'; import PropTypes from 'prop-types'; import compose from 'recompose/compose'; import mapProps from 'recompose/mapProps'; import getContext from 'recompose/getContext'; import { combineHandlers } from '../utils/compositionUtils'; const enhance = OriginalComponent => compose( getContext({ ...
ajax/libs/knockout-validation/2.0.0/knockout.validation.js
RoryStolzenberg/cdnjs
/*============================================================================= Author: Eric M. Barnard - @ericmbarnard License: MIT (http://opensource.org/licenses/mit-license.php) Description: Validation Library for KnockoutJS Version: 2.0.0 ===================...
ajax/libs/yui/3.15.0/datatable-body/datatable-body.js
brix/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('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base...
src/components/sidebar/Sidebar.js
sebpearce/cycad-react
import React from 'react'; import { NavLink } from 'react-router-dom'; import styles from './Sidebar.scss'; import Icon from '../Icon'; const Sidebar = () => { return ( <div className={styles.sidebar}> <nav> <ul> <NavLink exact to="/" activeClassName={styles.selected}> <li cla...
ajax/libs/vis/0.5.0/vis.js
bgrins/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 0.5.0 * @date 2014-02-20 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
components/app.js
mookey/consi
import React from 'react'; import Nav from '../components/nav'; import Header from '../components/header'; export default class AppComponent extends React.Component { componentDidMount() { console.log('app', this.props.children); } render() { return ( <div> <Header></Header> <Nav>...
client/containers/Login/Login.js
joshjg/explore
import React from 'react'; import { connect } from 'react-redux'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import TextField from 'material-ui/TextField'; import { toggleActive } from '../App/actions'; import { loginRequest, setLoginField } from './actions'; const Login...
src/js/components/icons/base/FormClock.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...
src/client/navbar/MainNavbar.js
leagueofcake/Project-Resistance
import React from 'react'; import PropTypes from 'prop-types'; import Nav from 'react-bootstrap/Nav'; import Navbar from 'react-bootstrap/Navbar'; const links = { github: 'https://github.com/leagueofcake/Project-Resistance', issues: 'https://github.com/leagueofcake/Project-Resistance/issues', }; const MainNavbar...
node_modules/bower/node_modules/inquirer/node_modules/rx/src/core/linq/observable/never.js
NanetteTaylor/native
/** * Returns a non-terminating observable sequence, which can be used to denote an infinite duration (e.g. when using reactive joins). * @returns {Observable} An observable sequence whose observers will never get called. */ var observableNever = Observable.never = function () { ret...
lib/yuilib/3.15.0/datatable-core/datatable-core.js
mdlenslyon/moodle
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
examples/with-loadable-components/src/Header.js
jaredpalmer/razzle
import React from 'react'; const Header = () => <div>This is my Header</div>; export default Header;
app/containers/FeaturePage/index.js
lizhaogai/lyda-dada-v
/* * FeaturePage * * List all the features */ import React from 'react'; import Helmet from 'react-helmet'; import messages from './messages'; import { FormattedMessage } from 'react-intl'; import H1 from 'components/H1'; import List from './List'; import ListItem from './ListItem'; import ListItemTitle from './Li...
ajax/libs/react-is/18.0.0-beta-fdc1d617a-20211118/umd/react-is.development.js
cdnjs/cdnjs
/** @license React vundefined * react-is.development.js * * 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. */ (function (global, factory) { typeof exports === 'object' && typeof modul...
src/svg-icons/editor/pie-chart-outlined.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorPieChartOutlined = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm1 2.07c3.61.45 6.48 3.33 6.93 6.93H13V4.07zM4 12c0-4.06 3.07-7.44 7-7.93v15.87c-...
src/universalRouter.js
igr-santos/bonde-client
import React from 'react'; import Router from 'react-router'; import createRoutes from './views/createRoutes'; import { Provider } from 'react-redux'; const getFetchData = (component = {}) => { return component.WrappedComponent ? getFetchData(component.WrappedComponent) : component.fetchData; }; export func...
modules/Shared/CopyOutfit.js
corbmanj/tote
import React from 'react' import moment from 'moment' export default function CopyOutfit (props) { function updateChecked (ev) { props.updateCopyArray(ev.target.value, ev.target.checked) } const days = props.days.map((day, index) => { return <li key={index}><label><input type="checkbox" value={index} onC...
ajax/libs/react-instantsearch/5.0.0-beta.1/Dom.js
seogi1004/cdnjs
/*! ReactInstantSearch 5.0.0-beta.1 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], facto...
app/views/Proposals/Proposal/Budgeting/Supplemental/Supplemental.js
RcKeller/STF-Refresh
import React from 'react' import PropTypes from 'prop-types' import { compose, bindActionCreators } from 'redux' import { connect } from 'react-redux' import api from '../../../../../services' import { layout } from '../../../../../util/form' import _ from 'lodash' import { Form, Input, Alert, message } fr...
front_end/src/components/App/Navigation/TopBar.js
mozilla/splice
import React, { Component } from 'react'; import { Link } from 'react-router'; window.$ = require('jquery'); import SideBar from 'components/App/Navigation/SideBar.js'; import AccountNavigation from 'components/App/Navigation/AccountNavigation.js'; import BreadCrumbs from 'components/App/Navigation/BreadCrumbs.js'; i...
src/client/components/VotesPending.js
dgrcode/FCC-Voting-App
import React from 'react'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; const VotesPending = (props) => { const pendingVotes = props.pendingVotes; if (pendingVotes.length !== 0) { // TODO define the link where the user go to see the votes pending to be // submitted retur...
Examples/UIExplorer/AssetScaledImageExample.js
krock01/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, ...
server/sonar-web/src/main/js/apps/background-tasks/stats.js
vamsirajendra/sonarqube
import React from 'react'; import { formatDuration } from './helpers'; import { TooltipsMixin } from '../../components/mixins/tooltips-mixin'; export default React.createClass({ mixins: [TooltipsMixin], onPendingCanceled(e) { e.preventDefault(); this.props.cancelPending(); }, onFailuresClick(e) { ...
src/svg-icons/image/photo-camera.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePhotoCamera = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="12" r="3.2"/><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24...
data-async-table/src/index.js
krescruz/redux-component
import React from 'react' import { render } from 'react-dom' import { createStore, applyMiddleware } from 'redux' import thunk from 'redux-thunk' import { createLogger } from 'redux-logger' import { Provider } from 'react-redux' import App from './components/App' import todoApp from './reducers' const middleware = [ t...
src/Info/BRCApproved/index.js
NERC-CEH/irecord-app
import React from 'react'; import AppHeader from 'Components/Header'; import { IonList, IonLabel, IonItem, IonPage } from '@ionic/react'; import AppMain from 'Components/Main'; import './styles.scss'; import './BRC_approved_logo.png'; export default () => ( <IonPage> <AppHeader title={t('Help')} /> <AppMain ...
ajax/libs/yui/3.7.2/event-focus/event-focus-min.js
wormful/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(a),c=e.stamp(f....
packages/icons/src/md/image/FilterHdr.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdFilterHdr(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M28 12l-7.5 10 5.7 7.6L23 32c-3.38-4.5-9-12-9-12L2 36h44L28 12z" /> </IconBase> ); } export default MdFilterHdr;
ajax/libs/yui/3.9.0/event-focus/event-focus-coverage.js
ljharb/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...
files/videojs/5.0.0-32/video.js
barisaydinoglu/jsdelivr
/** * @license * Video.js 5.0.0-32 <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 Ve...
client/src/clarity/ClarityAlert.spec.js
flyrightsister/boxcharter
/* * Copyright (c) 2018 Bonnie Schulkin. All Rights Reserved. * * This file is part of BoxCharter. * * BoxCharter 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, either version 3 of the License, ...
src/components/containers/page-layout-container.js
mberneti/ReactAdmin
import React from 'react'; import { connect } from 'react-redux'; import PageLayout from '../layouts/page-layout'; import store from '../../store'; import * as loginApi from '../../api/identity-api'; import { push } from 'react-router-redux'; import { loadDashboardTitle } from '../../actions/dashboard-actions'; class ...
MobileApp/mstudentApp/components/settingsViews/SettingsNav.js
FresnoState/mobilestudentintranet
import React, { Component } from 'react'; import {Icon} from 'native-base'; import {StackNavigator} from 'react-navigation'; import SettingsMenu from './SettingsMenu'; import MySubscriptions from './MySubscriptions'; const SettingsNavigator = StackNavigator( { 'SettingsMenu': { screen: Settings...
App/components/Welcome.js
jimthedev/react-native-flux-boilerplate
/** * Welcome Message Component */ 'use strict'; import React from 'react-native'; import AppStore from '../stores/AppStore'; import AppActions from '../actions/AppActions'; let { StyleSheet, Text, View, TouchableHighlight, } = React; function _getStateFromStore() { return { message: A...
ajax/libs/ember-data.js/0.0.12/ember-data.prod.js
SirenHound/cdnjs
(function() { window.DS = Ember.Namespace.create({ // this one goes past 11 CURRENT_API_REVISION: 12 }); })(); (function() { /** * Date.parse with progressive enhancement for ISO 8601 <https://github.com/csnover/js-iso8601> * © 2011 Colin Snover <http://zetafleet.com> * Released under MIT license. */ Ember...
src/app.js
accommodavid/spooky-react
import React from 'react' import ReactDOM from 'react-dom' class App extends React.Component { render() { return ( <main> You have been spooked </main> ) } } ReactDOM.render(<App />, document.getElementById('app'))
src/components/content/Dev/DevNetwork.js
dreamyguy/sidhree-com
import React from 'react'; import './DevNetwork.scss'; const DevNetwork = () => { return ( <ul className="network-list centered"> <li><a href="https://github.com/dreamyguy/" title="GitHub" className="fg-fav-beige-light no-decor"><i className="icon icon-3x icon-fa-github"></i></a></li> <li><a href="ht...
src/svg-icons/notification/mms.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationMms = (props) => ( <SvgIcon {...props}> <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-2zM5 14l3.5-4.5 2.5 3.01L14.5 8l4.5 6H5z"/> </SvgIcon> ); NotificationMms = ...
test/components/TodoItem.spec.js
kadira-samples/react-storybook-demo
import expect from 'expect' import React from 'react' import TestUtils from 'react-addons-test-utils' import TodoItem from '../../components/TodoItem' import TodoTextInput from '../../components/TodoTextInput' function setup( editing = false ) { const props = { todo: { id: 0, text: 'Use Redux', ...
src/svg-icons/action/work.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionWork = (props) => ( <SvgIcon {...props}> <path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"/>...
src/svg-icons/device/data-usage.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceDataUsage = (props) => ( <SvgIcon {...props}> <path d="M13 2.05v3.03c3.39.49 6 3.39 6 6.92 0 .9-.18 1.75-.48 2.54l2.6 1.53c.56-1.24.88-2.62.88-4.07 0-5.18-3.95-9.45-9-9.95zM12 19c-3.87 0-7-3.13-7-7 0-3.53...
stages/stage-1.2/app.js
aruberto/political-party-app
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import parties from './parties'; import VoteForParty from './components/vote-for-party'; class App extends Component { render() { return ( <div> {parties.map((party) => <VoteForParty party={party}/>)} </div> ); ...
src/app/Hero.js
Sekhmet/busy
import React from 'react'; import steemconnect from 'steemconnect'; import { FormattedMessage } from 'react-intl'; import './Hero.scss'; const Hero = () => <div className="Hero"> <div className="container container-small my-5 text-center"> <h1> <FormattedMessage id="hero" defaul...
src/react/mixins/mixins/transition_mixin.js
pivotal-cf/pivotal-ui
import React from 'react'; import PropTypes from 'prop-types'; export default ParentClass => { return class Transition extends ParentClass { static propTypes = { onEntered: PropTypes.func, onExited: PropTypes.func }; componentDidUpdate(prevProps, prevState) { super.componentDidUpdate &...
app/controllers/StaticDataController.js
ethan605/react-native-zero
/** * @providesModule ZeroProj.Controllers.StaticDataController */ import React from 'react'; import { connect } from 'react-redux'; // Redux import { /* serviceApi, */ staticData } from 'app/redux/actions'; // Utils // import Logger from 'app/utils/Logger'; function mapStateToProps(state) { const { rehydrated ...
node_modules/react-dom/lib/ReactDOMOption.js
tacrow/tacrow
/** * 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 same directory. * */ 'use strict...
modules/IndexRoute.js
opichals/react-router
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { component, components, falsy } from './PropTypes'; var { bool, func } = React.PropTypes; /** * An <IndexRoute> is used to specify its parent's <Route indexRoute> in * a JSX route config...
test/NavSpec.js
brynjagr/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Nav from '../src/Nav'; import NavItem from '../src/NavItem'; import Button from '../src/Button'; describe('Nav', function () { it('Should set the correct item active', function () { let instance = ReactTestUtils.renderIntoDo...
ajax/libs/react-intl/1.0.0/react-intl-with-locales.js
magoni/cdnjs
(function() { "use strict"; var $$utils$$hop = Object.prototype.hasOwnProperty; function $$utils$$extend(obj) { var sources = Array.prototype.slice.call(arguments, 1), i, len, source, key; for (i = 0, len = sources.length; i < len; i += 1) { source = sources[i]; ...
src/svg-icons/action/settings-cell.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsCell = (props) => ( <SvgIcon {...props}> <path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z"...
modules/contacts/client/components/RemoveContact.js
Trustroots/trustroots
import React from 'react'; import PropTypes from 'prop-types'; import { useTranslation } from 'react-i18next'; import { Modal } from 'react-bootstrap'; export default function RemoveContact({ contact, show, inProgress, selfId, onRemove, onCancel, }) { const { t } = useTranslation('contacts'); // modal...
app/bootstrap.js
iceheartx/exploring-the-sutras
/* eslint-disable no-unused-vars */ const React = require('react'); /* eslint-enable no-unused-vars */ const ReactDOM = require('react-dom'); module.exports = { init(Entry, props = {}) { if (typeof document === 'undefined') return; ReactDOM.render(<Entry {...props}/>, root); } };
src/components/ExperienceCard/ExperienceCard.js
adisrini/personal-website
import { Classes } from '@blueprintjs/core'; import React, { Component } from 'react'; import './ExperienceCard.css'; import Tilt from 'react-tilt'; import { Link } from 'react-router-dom'; class ExperienceCard extends Component { render() { return ( <Tilt className="ExperienceCard-tilt" options...
src/Parser/Core/Modules/Items/Legion/DrapeOfShame.js
enragednuke/WoWAnalyzer
import React from 'react'; import ITEMS from 'common/ITEMS'; import Analyzer from 'Parser/Core/Analyzer'; import HIT_TYPES from 'Parser/Core/HIT_TYPES'; import Combatants from 'Parser/Core/Modules/Combatants'; import CritEffectBonus from 'Parser/Core/Modules/Helpers/CritEffectBonus'; import ItemHealingDone from 'Main/...
client/src/components/auth/require_auth.js
RajivLinkites/Starter-Skeleton
import React, { Component } from 'react'; import { connect } from 'react-redux'; export default function (ComposedComponent) { class Authentication extends Component { static contextTypes = { router: React.PropTypes.object, } componentWillMount() { if (!this.props.authenticated) { th...
ui/src/containers/RecalcButton/index.js
LearningLocker/learninglocker
/* eslint-disable react/jsx-indent */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { recalcJourney } from 'ui/redux/modules/journeys'; import { Map } from 'immutable'; import classNames from 'classnames'; import { withModel } from 'ui/utils/...
node_modules/react-icons/md/settings-ethernet.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdSettingsEthernet = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m29.6 9.1l9.1 10.9-9.1 10.9-2.6-2.1 7.3-8.8-7.3-8.7z m-11.2 12.5v-3.2h3.2v3.2h-3.2z m10-3.2v3.2h-3.4v-3.2h3.4z m-16.8 3.2v-3.2h3.4v3.2h-3.4z m1.4-10.3l-7.3 8...
src/view/component/base/index.js
fishmankkk/mircowater2.0
import React from 'react' import { Button, Row, Col, Card, Menu, Dropdown, Icon, Input, Select, Radio, Switch, Checkbox, DatePicker, Cascader, TreeSelect } from 'antd' import 'gobal' const TreeNode = TreeSelect.TreeNode const Option = Select.Option const RadioGroup = Radio.Group const CheckboxGroup = Checkbox.Group co...
src/shared/components/NotFound/index.js
adiachenko/catchy_web
import React from 'react' import Pokemon from 'components/Pokemon' const NotFound = () => <div className="ui segment"> <h1>Page Not Found</h1> <p>Looks like you've wondered somewhere you should not</p> <Pokemon src="http://vignette2.wikia.nocookie.net/pokemontowerdefensetwo/images/4/4f/Torchic.png/revisi...
src/frontend/components/forms/GCTextField.js
Bernie-2016/ground-control
import React from 'react'; import {TextField} from 'material-ui'; import {BernieText} from '../styles/bernie-css'; import GCFormField from './GCFormField'; export default class GCTextField extends GCFormField { render() { return <TextField floatingLabelText={this.floatingLabelText()} // errorStyle={B...
src/Parser/DeathKnight/Frost/Modules/Features/HardHowlingBlastCasts.js
enragednuke/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import AbilityTracker from 'Parser/Core/Modules/AbilityTracker'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import Combatants from 'Parser/Core/Mo...
src/components/App.js
andrevvalle/redux-lab
import React, { Component } from 'react'; import { INCREMENT_COUNTER, DECREMENT_COUNTER } from '../constants/ActionTypes' export default class App extends Component { constructor(props) { super(props); const { store } = this.props this.state = { counter: store.getState(), store: store } } increment...
fields/types/select/SelectField.js
vokal/keystone
import Field from '../Field'; import React from 'react'; import Select from 'react-select'; import { FormInput } from '../../../admin/client/App/elemental'; /** * TODO: * - Custom path support */ module.exports = Field.create({ displayName: 'SelectField', statics: { type: 'Select', }, valueChanged (newValu...
ajax/libs/react-data-grid/2.0.50/react-data-grid.min.js
froala/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th...
entry_types/scrolled/package/src/frontend/foregroundBoxes/CardBoxWrapper.js
tf/pageflow
import React from 'react'; import classNames from 'classnames'; import {BackgroundColorProvider} from '../backgroundColor'; import styles from "./CardBoxWrapper.module.css"; const positionOutsideBox = ['sticky', 'wide', 'full'] export default function CardBoxWrapper(props) { return( <div className={className(...
frontend/app_v2/src/common/icons/Widget.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' function Widget({ styling }) { return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1200" className={styling}> <title>Widget</title> <g fillRule="evenodd"> <path d="M580.39 1050V722.74c0-27.375-10.836-53.586-30.188-72....
jenkins-design-language/src/js/components/material-ui/svg-icons/image/photo-library.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ImagePhotoLibrary = (props) => ( <SvgIcon {...props}> <path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"/> </SvgIcon> ); ImagePhotoLibrar...
stories/breadcrumb.stories.js
JimBarrows/Bootstrap-React-Components
import {storiesOf} from '@storybook/react' import React from 'react' import Breadcrumb from '../src/bootstrap/components/Breadcrumb' import BreadcrumbItem from '../src/bootstrap/components/BreadcrumbItem' storiesOf('bootstrap/components/Breadcrumb', module) .addDecorator((story) => <div className="container"> ...
app/geo/game.js
enotsimon/home
import Util from 'common/util' import VoronoiDiagram from 'common/voronoi_diagram' import RegionsGatherer from 'geo/regions_gatherer' import RRTDiagram from 'geo/rrt_diagram' import Geo from 'geo/geo' import AStar from 'common/a_star' import Interaction from 'geo/interaction' import MapDrawer from 'geo/map_drawer' imp...
index.ios.js
gfogle/multi-platform-react
'use strict'; // it is important to import the react package before anything else import React from 'react'; import { AppRegistry } from 'react-native'; import Root from './src/components/root/root'; AppRegistry.registerComponent('MultiPlatformReact', () => Root);
ajax/libs/forerunnerdb/1.3.905/fdb-all.min.js
hare1039/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...
server/sonar-web/src/main/js/apps/quality-gates/components/ListHeader.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
src/components/Card.js
kidaa/elemental
var React = require('react/addons'); import E from '../constants'; module.exports = React.createClass({ displayName: 'Card', propTypes: { children: React.PropTypes.node.isRequired, style: React.PropTypes.object, }, render() { let style = { backgroundColor: 'white', borderRadius: E.borderRadius.sm, b...
components/modal/submit-modal/submit-modal-component.js
resource-watch/resource-watch
import React from 'react'; import PropTypes from 'prop-types'; function SubmitModalComponent(props) { return ( <div className="c-submit-modal"> <div className="row"> <div className="header-div"> <h2>{props.header || 'Thank you for your submission.'}</h2> <p>{props.text}</p> ...
docs/src/app/components/pages/components/Drawer/ExampleUndocked.js
mmrtnz/material-ui
import React from 'react'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import RaisedButton from 'material-ui/RaisedButton'; export default class DrawerUndockedExample extends React.Component { constructor(props) { super(props); this.state = {open: false}; } han...
recorder/src/app/view/home/savedSteps.js
zhe0wang/SeleniumRP
import React from 'react'; import RemoveStepAction from './RemoveStepAction.js'; import UpdateStateAction from '../share/updateStateAction.js'; const SavedSteps = ({ appState }) => { var savedSteps = appState.savedSteps, selectedStep = appState.selectedStep, steps = []; Object.keys(savedSteps)...
node_modules/grunt-google-cdn/node_modules/google-cdn/node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.compat.js
eabdelmoneim/tourneyapp-admin
// 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 }; ...
test/Footer-test.js
RuiGeng/interview_test
import React from 'react'; import { shallow, mount, render } from 'enzyme'; import Footer from '../src/Footer'; describe("<Footer />", function() { it("is a footer", function() { const wrapper = shallow(<Footer />); expect(wrapper.is('footer')).toBe(true); }); it("contains a <p> html", function() { ...
node_modules/react-bootstrap/es/CarouselCaption.js
yeshdev1/Everydays-project
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 ...
docs/src/examples/elements/Loader/Variations/index.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Message } from 'semantic-ui-react' import ComponentExample from 'docs/src/components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/src/components/ComponentDoc/ExampleSection' const LoaderVariationsExamples = () => ( <ExampleSection title='Variations'> <Compon...
src/views/components/kb/LearnerQuestionList.js
Domiii/project-empire
import { LearnerQuestionTypes } from 'src/core/scaffolding/LearnerKBModel'; import size from 'lodash/size'; import map from 'lodash/map'; import React from 'react'; import PropTypes from 'prop-types'; import { dataBind } from 'dbdi/react'; import { Alert, Button, Panel, ListGroup, ListGroupItem } from 'react-bo...
assets/search-view/components/TopActionComponent.js
janta-devs/nyumbani
import React, { Component } from 'react'; import { Link } from 'react-router'; class TopActionComponent extends Component{ render() { const floatStlye = { float: 'right', marginRight: '10px' }; return ( <div> <div className="mdl-cell mdl-cell--12-col"> <div style={floatStlye} > <a c...
src/screens/EventDetail.js
jazmon/greaserocket
// @flow import React from 'react'; import styled from 'styled-components/native'; import type { ThemeType } from 'constants/theme'; type Props = { navigation: Object, route: Object, loading: boolean, }; type State = { text: string, }; const Container = styled.View` flex: 1; flex-direction: column; bac...
src/components/Products/Categories/Categories-story.js
Tarabyte/foodlr-web
import React from 'react' import { storiesOf } from '@kadira/storybook' import Categories from './Categories' const categories = [ { caption: 'Овощи', description: 'Помидорки, огурки', id: '54d10daf910388b01d09c0cf' }, { caption: 'Фрукты', description: null, id: '54d10db3910388b01d09c0d0...
ajax/libs/core-js/0.8.4/shim.js
alexmojaki/cdnjs
/** * Core.js 0.8.4 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The requ...
client/js/components/parts/GameInterface/GameInterface.react.js
Kineolyan/Catane
'use strict'; /* React component containing the game interface */ import React from 'react'; import {Surface} from 'react-art'; import MapReact from './Map.react'; import DiceReact from './Dice.react'; import PlayerInfo from './PlayerInfo/PlayerInfo.react'; export default class GameInterface extends React.Compone...
packages/reactor-kitchensink/src/examples/Button/Button.js
sencha/extjs-reactor
import React, { Component } from 'react'; import { Spacer, ToggleField, Container, Panel, Button, Menu, MenuItem, MenuRadioItem } from '@extjs/ext-react'; export default class ButtonExample extends Component { state = { style: '', type: 'text', round: false }; onStyleChange = ...
ajax/libs/parsley.js/2.4.2/parsley.js
joeyparrish/cdnjs
/*! * Parsley.js * Version 2.4.2 - built Wed, Jun 15th 2016, 9:15 am * http://parsleyjs.org * Guillaume Potier - <guillaume@wisembly.com> * Marc-Andre Lafortune - <petroselinum@marc-andre.ca> * MIT Licensed */ // The source code below is generated by babel as // Parsley is written in ECMAScript 6 // var _slice = Array...
src/pages/chart/Recharts/AreaChartComponent.js
zuiidea/antd-admin
import React from 'react' import { Row, Col, Card, Button } from 'antd' import * as d3 from 'd3-shape' import { AreaChart, Area, XAxis, YAxis, CartesianGrid, Tooltip } from 'recharts' import Container from './Container' const data = [ { name: 'Page A', uv: 4000, pv: 2400, amt: 2400, }, { name...
demo/pages/index.js
rike422/operatta-js
import React from 'react' import Head from 'next/head' import MicroContainer from 'react-micro-container' import Editor from '../components/editor' import Previewer from '../components/previewer' import Split from 'grommet/components/Split' import Box from 'grommet/components/Box' export default class extends MicroCon...
tools/droiddoc/templates-pdk/assets/jquery-1.6.2.min.js
Ant-Droid/android_build
/*! * jQuery JavaScript Library v1.6.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/components/sun.js
Zeukkari/aframe-react-experiment
import 'aframe'; import {Entity} from 'aframe-react'; import React from 'react'; const Sun = (props) => { return <Entity position={{x: 0, y: 50, z: 0}} light={{color: "#FFFFFF", groundColor:"#ff0000", id:"light"}} /> } export default Sun;
ajax/libs/yui/3.8.1/datatable-core/datatable-core-coverage.js
noraesae/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...
test/FadeSpec.js
xuorig/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Fade from '../src/Fade'; describe('Fade', function () { let Component, instance; beforeEach(function() { Component = React.createClass({ render() { let { children, ...props } = this.props; return ...
ui/src/components/Footer_test.js
google/personfinder
/* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
packages/mui-icons-material/lib/DriveFileMoveSharp.js
oliviertassinari/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
examples/samples/swiper.js
muvlabs/react-native-swiper
import React from 'react' import { StyleSheet, Text, View, Image } from 'react-native' import Swiper from '../swiper.dist' const styles = StyleSheet.create({ wrapper: { }, slide: { flex: 1, justifyContent: 'center', backgroundColor: 'transparent' }, slide1: { flex: 1, justifyContent: 'c...