path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/index.js
mgavaudan/react-hack
/* eslint-disable import/default */ import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import routes from './routes'; import configureStore from './store/configureStore'; import { syncHistoryWithStore } from 'r...
test/helpers/shallowRenderHelper.js
pharmaceutics/Aurora-frontend
/** * Function to get the shallow output for a given component * As we are using phantom.js, we also need to include the fn.proto.bind shim! * * @see http://simonsmith.io/unit-testing-react-components-without-a-dom/ * @author somonsmith */ import React from 'react'; import TestUtils from 'react-addons-test-utils'...
packages/material-ui-icons/src/ExplicitSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M21 3H3v18h18V3zm-6 6h-4v2h4v2h-4v2h4v2H9V7h6v2z" /></React.Fragment> , 'ExplicitSharp');
client/src/components/App/__tests__/App.spec.js
ccabrales/espn-fantasy-stats
import React from 'react'; import { shallow } from 'enzyme'; import App from '../'; it('renders without crashing', () => { const wrapper = shallow(<App />); expect(wrapper).toBePresent(); });
front-end/src/content/index.js
surbina/devaluometro
import React from 'react'; import './index.css'; import QuotationsGraph from '../quotations-graph'; export default function() { return( <div className="content"> <h2 className="content-subhead">Cómo usar esta aplicación?</h2> <p> Para usar esta aplicacion introduce las variaciones salarial...
packages/material-ui-icons/src/LocalLaundryServiceTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M5.99 4L6 20h12V4H5.99c.01 0 0 0 0 0zM11 5c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM8 5c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm4 4c2.76 0 5 2.24 5 5s-2.24 5-5 5-5-2.24-...
src/helpers/__tests__/makeRouteHooksSafe-test.js
huangc28/palestine-2
import { expect } from 'chai'; import React from 'react'; import { IndexRoute, Route } from 'react-router'; import makeRouteHooksSafe from '../makeRouteHooksSafe'; describe('makeRouteHooksSafe', () => { it('should work with JSX routes', () => { const onEnter = () => { throw new Error('Shouldn\'t call onEn...
ajax/libs/ember-data.js/0.0.12/ember-data.js
pvnr0082t/cdnjs
// Last commit: 6140f7d (2013-04-11 15:48:46 -0700) (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://ze...
Magento-CE-2/lib/web/jquery/jquery-ui-1.9.2.js
BigBoss424/webtemplates
/*! jQuery UI - v1.9.2 - 2012-11-23 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js...
src/component/formTopic.spec.js
sjcrank/viz-data-generator
import test from 'ava'; import { shallow } from 'enzyme'; import React from 'react'; import { StyleSheetTestUtils } from 'aphrodite'; import FormTopic from './formTopic'; test.beforeEach('disable style injection', () => { StyleSheetTestUtils.suppressStyleInjection(); }); test.afterEach('resume style injection', (...
ajax/libs/rxjs/2.3.2/rx.js
sympmarc/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...
new-lamassu-admin/src/components/inputs/base/RadioGroup.js
naconner/lamassu-server
import { Radio, RadioGroup as MRadioGroup, FormControlLabel, makeStyles } from '@material-ui/core' import classnames from 'classnames' import React from 'react' import { Label1 } from 'src/components/typography' import { offColor } from 'src/styling/variables' const styles = { label: { height: 16, li...
src/web/components/CreateItem.js
faalsh/Lama
import React from 'react'; import { connect } from 'react-redux' import * as LamaActions from '../../common/actions' import { bindActionCreators } from 'redux' import { StyleSheet, css } from 'aphrodite' class CreateItem extends React.Component { constructor(props) { super(props); this.state = { ...
src/components/Thanks.js
erkgmz/kailey-lp
import React from 'react'; import styles from '../styles/_Thanks.scss'; const Thanks = () => { return ( <section className={styles.Thanks}> <div className={styles.innerWrapper}> <h2>Thanks!</h2> <p>Your message has been sent. I'll be in touch as soon as possible.</p> </div> </se...
code/workspaces/web-app/src/components/welcome/NavBar.js
NERC-CEH/datalab
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import datalabsLogo from '../../assets/images/datalabs-hori.png'; import { getAuth } from '../../config/auth'; import navBarLinks from '../../constants/navBarLinks'; import TopBarButton from '../app/Top...
examples/webpack-example/src/app/app.js
mbrookes/formsy-material-ui
import React from 'react'; import ReactDOM from 'react-dom'; import injectTapEventPlugin from 'react-tap-event-plugin'; import Main from './Main'; // Our custom react component //Needed for onTouchTap //Can go away when react 1.0 release //Check this repo: //https://github.com/zilverline/react-tap-event-plugin injectT...
ajax/libs/yui/3.0.0/event-custom/event-custom-base-debug.js
thejsj/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
webpack/scenes/RedHatRepositories/index.js
jlsherrill/katello
/* eslint-disable import/no-extraneous-dependencies */ /* eslint import/no-unresolved: [2, { ignore: [foremanReact/*] }] */ /* eslint-disable import/no-unresolved */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Grid, Row, Col } from 'reac...
src/component/group-form/index.js
saidmattar/cloud-life-frontend
import React from 'react'; import {connect} from 'react-redux'; import {groupsFetchRequest, groupCreateRequest} from '../../action/group-actions'; import GroupItem from '../group-item'; import * as utils from '../../lib/utils'; import RaisedButton from 'material-ui/RaisedButton'; class GroupForm extends React.Componen...
src/containers/AnotherPage.js
neighborhood999/redux-boilerplate
import React from 'react'; const AnotherPage = () => ( <div> <h1>AnotherPage</h1> </div> ); export default AnotherPage;
src/pages/ComponentLibraries.js
marktani/react-native-express-1
import React from 'react' import markdown from 'markdown-in-js' import markdownOptions from '../utils/MarkdownOptions' import DefaultPage from './DefaultPage' import { GithubRepositoryLink } from '../components' const content = markdown(markdownOptions)` Beyond the React Native core components, there are many open so...
app/react-icons/fa/hand-pointer-o.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaHandPointerO extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m15.8 2.9q-1.2 0-2 0.8t-0.9 2v20l-3.3-4.5q-1-1.2-2.4-1.2-1.2 0-2 0.8t-0...
ajax/libs/primereact/6.2.1/components/treetable/TreeTableScrollableView.min.js
cdnjs/cdnjs
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tre...
app/javascript/mastodon/features/community_timeline/components/column_settings.js
imomix/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import SettingText from '../../../components/setting_text'; const messages = defineMessages({ filter_regex: { id: 'home...
node_modules/react-icons/fa/italic.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaItalic = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m8.5 37.1l0.4-1.9q0.1 0 1.8-0.5t2.5-0.8q0.6-0.8 0.9-2.3 0-0.1 1.4-6.4t2.5-12.2 1.2-6.6v-0.5q-0.5-0.3-1.2-0.4t-1.6-0.2-1.3-0.1l0.5-2.3q0.7 0 2.6 0.1t3.4 0.2 2.7 0q1 0 2...
web/src/components/Icons/Spinner.js
dnote-io/cli
/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd * * This file is part of Dnote. * * Dnote 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, or * (at your optio...
app/containers/Questions/EditQuestion.js
klpdotorg/tada-frontend
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import get from 'lodash.get'; import Formsy from 'formsy-react'; import FRC from 'formsy-react-components'; import isEmpty from 'lodash.isempty'; import { saveQuestion, enableSubmitForm, disableSu...
app/javascript/mastodon/features/ui/components/actions_modal.js
dwango/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import StatusContent from '../../../components/status_content'; import Avatar from '../../../components/avatar'; import Relative...
src/reactapp/src/App.js
MisterY/electron-app
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h1 className="App-title">Welco...
packages/reactor-kitchensink/src/examples/Panels/BasicDatePanel/BasicDatePanel.js
sencha/extjs-reactor
import React, { Component } from 'react'; import { Container, DatePanel } from '@extjs/ext-react'; export default class BasicDatePanelExample extends Component { render() { return ( <Container padding={Ext.os.is.Phone ? 0 : 10} layout="fit"> <DatePanel shadow/> </Co...
react-flux-mui/js/material-ui/src/svg-icons/action/launch.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionLaunch = (props) => ( <SvgIcon {...props}> <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/> </SvgIcon> ); Ac...
packages/material-ui-icons/src/TerrainSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z" /></React.Fragment> , 'TerrainSharp');
app/javascript/mastodon/features/compose/components/upload_button.js
imomix/mastodon
import React from 'react'; import IconButton from '../../../components/icon_button'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePropTypes from 're...
ajax/libs/mediaelement/2.1.4/jquery.js
ericelliott/cdnjs
/*! * jQuery JavaScript Library v1.5.1rc1 * 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 License...
node_modules/react-icons/io/thumbsdown.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoThumbsdown = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m6.9 19.8c-0.8-0.4-1.4-1.4-1.4-2.3 0-1.1 0.6-2 1.5-2.3-0.3-0.4-0.4-1-0.4-1.5 0-1.1 0.6-2 1.5-2.4-0.2-0.4-0.4-0.8-0.4-1.3 0-1.4 0.9-1.9 2.8-2.3s5.7-1 9.8-0.7c1.8 0 ...
data-browser-ui/public/app/components/tableComponents/td/listComponents/passwordList.js
CloudBoost/cloudboost
import React from 'react'; import ReactDOM from 'react-dom'; class PasswordListComponent extends React.Component { constructor(){ super() this.state = { } } updateValue(e){ this.props.updateElementData(e.target.value,this.props.index) } addNewRowToList(e){ if(e.which === 13){ this.props.addToElem...
src/navigation/index.js
shojil/bifapp
/** * App Navigation * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import { Actions, Scene, ActionConst } from 'react-native-router-flux'; // Consts and Libs import { AppConfig } from '@constants/'; // Components import Drawer from '@containers/u...
src/components/Mixer/index.js
ramirezd42/schmix
/* eslint-disable react/jsx-no-bind */ import 'webrtc-adapter-test'; import Immutable from 'immutable'; import React, { Component } from 'react'; import ChannelStrip from '../ChannelStrip'; import styles from './Mixer.scss'; class Mixer extends Component { constructor(props) { super(props); } render() { ...
ajax/libs/forerunnerdb/1.3.645/fdb-all.js
sashberd/cdnjs
(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...
ajax/libs/angular.js/1.0.0rc2/angular-scenario.js
NBZ4live/cdnjs
/** @license * jQuery JavaScript Library v1.7 * 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 Lic...
ajax/libs/jointjs/0.9.0/joint.all.js
ematsusaka/cdnjs
/*! JointJS v0.8.1 - JavaScript diagramming library 2014-05-13 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*! * jQuery JavaScript Library v2.0.3 * http://jquery...
src/common/Components/AutoSuggestInput/index.js
NERC-CEH/irecord-app
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { observer } from 'mobx-react'; import Autosuggest from 'react-autosuggest'; import { IonItem, IonLabel, IonInput } from '@ionic/react'; import './styles.scss'; // https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Exp...
MxShop/extra_apps/DjangoUeditor/static/ueditor/third-party/jquery-1.10.2.js
LennonChin/Django-Practices
/*! * 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 ) { // ...
src/SideMenu/core/navigation/Badge.js
skyiea/wix-style-react
import React from 'react'; import styles from './styles.scss'; class Badge extends React.Component { render() { const {...rest} = this.props; return <span className={styles.linkBadge} data-hook="menu-navigation-badge" {...rest}/>; } } export default Badge;
src/svg-icons/image/exposure.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageExposure = (props) => ( <SvgIcon {...props}> <path d="M15 17v2h2v-2h2v-2h-2v-2h-2v2h-2v2h2zm5-15H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM5 5h6v2H5V5zm15 15H4L20 4v16z"/> </...
web/client/configdev/src/config/Colors.js
project-owner/Peppy
/* Copyright 2019-2020 Peppy Player peppy.player@gmail.com This file is part of Peppy Player. Peppy Player 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) a...
src/app.js
CiriousJoker/LegacyManager
//import './assets/css/App.css'; import React, { Component } from 'react'; import { render } from 'react-dom'; import { BrowserRouter as Router, Switch, Route, Link } from 'react-router-dom'; // Animations //import CSSTransitionGroup from 'react-transition-group/CSSTransitionGroup'; // Components import MenuBar fro...
actor-apps/app-web/src/app/components/dialog/ComposeSection.react.js
voidException/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; import ActorClient from 'utils/ActorClient'; import { Styles, FlatButton } from 'material-ui'; import { KeyCodes } from 'constants/ActorAppConstant...
Console/app/node_modules/antd/es/date-picker/Calendar.js
RisenEsports/RisenEsports.github.io
import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import React from 'react'; import CalendarLo...
generators/app/templates/app/router.js
KyperTech/generator-kyper-react
import React from 'react' // eslint-disable-line import { Route, IndexRoute, Router } from 'react-router' import { App, Home, About, Account, Login, Signup, NotFound, Cars } from './containers' export default (history) => ( <Router history={ history }> <Route path='/' component={...
sites/default/files/js/js_Fht7EPhzCDk-OH6hnxAkiEsq5HW8nenKtQaLgloIcic.js
rudranil29/practice
/*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fun...
docs/src/examples/elements/Icon/Groups/IconExampleIconGroup.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Icon } from 'semantic-ui-react' const IconExampleIconGroup = () => ( <Icon.Group size='huge'> <Icon size='big' name='circle outline' /> <Icon name='user' /> </Icon.Group> ) export default IconExampleIconGroup
src/app/src/assets/utils/Input.js
istreight/eggbeatr
/** * FILENAME: Input.js * AUTHOR: Isaac Streight * START DATE: May 31th, 2018 * * This file contains the Input class, a utility class for input tags * in the application. */ import React from 'react'; import PropTypes from 'prop-types'; class Input extends React.Component { constructor(props) {...
src/svg-icons/notification/no-encryption.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationNoEncryption = (props) => ( <SvgIcon {...props}> <path d="M21 21.78L4.22 5 3 6.22l2.04 2.04C4.42 8.6 4 9.25 4 10v10c0 1.1.9 2 2 2h12c.23 0 .45-.05.66-.12L19.78 23 21 21.78zM8.9 6c0-1.71 1.39-3.1 3.1...
react-ui/src/AppointmentFormTimePicker.js
joshboyan/appointment-ledger-map
/** * This is a react component that lets the user choose an * appointment time. * https://github.com/react-component/time-picker */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; import TimePicker from 'rc-time-picker'; import 'rc-time-picker/assets/index...
config/modules.js
wangdashuaihenshuai/wangdashuaihenshuai.github.io
'use strict'; const fs = require('fs'); const path = require('path'); const paths = require('./paths'); const chalk = require('react-dev-utils/chalk'); const resolve = require('resolve'); /** * Get additional module paths based on the baseUrl of a compilerOptions object. * * @param {Object} options */ function ge...
src/svg-icons/content/block.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentBlock = (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 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8...
ajax/libs/forerunnerdb/1.3.451/fdb-core+persist.js
kennynaoh/cdnjs
(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...
src/components/grid/grid_label.js
n7best/react-weui
import React from 'react'; import classNames from '../../utils/classnames'; /** * WeUI Grid Label Wrapper * */ export default class GridLabel extends React.Component { render() { const {children, className, ...others} = this.props; const cls = classNames({ 'weui-grid__label': true ...
ajax/libs/vkui/4.19.0/cssm/components/Cell/Cell.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/extends";import _slicedToArray from"@babel/runtime/helpers/slicedToArray";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["onRemove","removePlaceholder","onDragFinish","className","style","before","after","disabled","removab...
ajax/libs/forerunnerdb/1.3.821/fdb-core.min.js
pvnr0082t/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...
tests/avatar.spec.js
sinisavukovic/react-component-boilerplate
import React from 'react'; import { mount, shallow } from 'enzyme'; import {expect} from 'chai'; import Avatar from '../src/avatar'; describe('<Avatar/>', function () { it('should have an image to display the gravatar', function () { const wrapper = shallow(<Avatar/>); expect(wrapper.find('img')).to.have.le...
scripts/components/login.js
ecasilla/react-login
/** * Copyright (c) Ernie Casilla. All rights reserved. */ import React from 'react'; // eslint-disable-line no-unused-vars import './MyComponent.less'; class login { render() { return ( <div className="login">Login</div> ); } } export default login`;
app/components/NavigationBar/UINavItem.js
aoshmyanskaya/tko
import React from 'react'; import { Link } from 'react-router'; import { Button } from 'react-bootstrap'; import Ink from 'react-ink'; class UINavItem extends React.Component { render() { return ( <Link to={this.props.href}> <Button active={this.props.active} block bsS...
app/javascript/mastodon/features/favourites/index.js
Toootim/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import { fetchFavourites } from '../../actions/interactions'; import { ScrollContainer } fr...
src/svg-icons/av/play-arrow.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPlayArrow = (props) => ( <SvgIcon {...props}> <path d="M8 5v14l11-7z"/> </SvgIcon> ); AvPlayArrow = pure(AvPlayArrow); AvPlayArrow.displayName = 'AvPlayArrow'; export default AvPlayArrow;
lib/components/MapCircle.js
wannyk/react-native-maps
import PropTypes from 'prop-types'; import React from 'react'; import { ColorPropType, ViewPropTypes, View } from 'react-native'; import decorateMapComponent, { USES_DEFAULT_IMPLEMENTATION, SUPPORTED, } from './decorateMapComponent'; // if ViewPropTypes is not defined fall back to View.propType (to support RN < 0....
src/routes/group/index.js
momomods/momomods
/** * 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 Group from './Group'; e...
ajax/libs/yui/3.4.1/event-focus/event-focus-debug.js
solojavier/cdnjs
YUI.add('event-focus', function(Y) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, useActivate = YLang.isFunction( Y.DOM.create('<p onbeforeactivate="...
src/containers/search/SearchStartScreen.js
jfilter/frag-den-staat-app
import { FlatList, View, Platform } from 'react-native'; import { NavigationActions } from 'react-navigation'; import { SearchBar, ListItem } from 'react-native-elements'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import React from 'react'; import NavBarIcon from '../../components/foiRe...
test/Link.spec.js
mksarge/redux-json-router
import React from 'react'; import { Provider } from 'react-redux'; import { shallow, mount } from 'enzyme'; import { expect } from 'chai'; import sinon from 'sinon'; import { PUSH, REPLACE, GO_BACK, GO_FORWARD } from 'redux-first-routing'; import { Link, LinkContainer } from '../src/Link'; describe('Link', () => { d...
packages/material-ui-icons/src/SdStorage.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SdStorage = props => <SvgIcon {...props}> <path d="M18 2h-8L4.02 8 4 20c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 6h-2V4h2v4zm3 0h-2V4h2v4zm3 0h-2V4h2v4z" /> </SvgIcon>; SdStorage = pure(SdS...
core/misc/tabbingmanager.js
ttournie/drupal8_tuto
/** * @file * Manages page tabbing modifications made by modules. */ /** * Allow modules to respond to the constrain event. * * @event drupalTabbingConstrained */ /** * Allow modules to respond to the tabbingContext release event. * * @event drupalTabbingContextReleased */ /** * Allow modules to respond ...
src/svg-icons/av/playlist-add-check.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPlaylistAddCheck = (props) => ( <SvgIcon {...props}> <path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zM2 16h8v-2H2v2zm19.5-4.5L23 13l-6.99 7-4.51-4.5L13 14l3.01 3 5.49-5.5z"/> </SvgIcon> ); AvPlaylistAddCheck = pure...
app/client/src/components/Title/index.js
barahuang/rss-news-reader
import React from 'react'; import './index.css'; import Text from '../Text'; export default ({ content }) => ( <div className="title-wrap"> <div className="title"> <Text content={content} /> </div> </div> );
packages/material-ui-icons/src/Https.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Https = props => <SvgIcon {...props}> <path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2...
src/containers/contact_entry_form.js
Vincentgr/react-contacts
'use strict'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { saveNewContact, removeSort } from '../actions/index'; import { reduxForm } from 'redux-form'; class ContactEntryForm extends Component { constructor (props) { super...
component.js
Kevnz/cmd-line-tools
'use strict'; require('babel/register'); let to = require('to-case'); let path = require('path'); let pluralize = require('pluralize'); let fs = require('fs'); let argv = require('minimist')(process.argv.slice(2)); let component = to.lower(argv.c); let schemaFile = `${component}.json`; let schemaPath = path.join('./mo...
src/components/_shared/footer.js
avalla/webpack-react-kit
import React from 'react'; import { Link } from 'react-router' export default class Footer extends React.Component { render = () => <div id="footerwrap"> <div className="container"> <div className="row"> <div className="col-lg-4"> <h4>About</h4> <div className="hl...
docs/app/Examples/views/Statistic/Types/StatisticExampleGroupColored.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Statistic } from 'semantic-ui-react' const items = [ { label: 'Faves', value: '22' }, { label: 'Views', value: '31,200' }, { label: 'Members', value: '22' }, ] const StatisticExampleGroupColored = () => ( <Statistic.Group items={items} color='blue' /> ) export default Stati...
examples/05-normalizr-github-paged-project-search-and-viewer/lib/index.js
jhudson8/restful-redux
import React from 'react'; import ReactDOM from 'react-dom'; import { createStore, combineReducers, applyMiddleware } from 'redux'; import { Provider } from 'react-redux'; import { Router, Route, browserHistory } from 'react-router'; // our custom application stuff import middleware from './middleware'; import reducer...
src/RadioGroup/RadioButton/RadioButton.spec.js
skyiea/wix-style-react
import React from 'react'; import RadioButton from './RadioButton'; import radioButtonDriverFactory from './RadioButton.driver'; import {createDriverFactory} from '../../test-common'; import {radioButtonTestkitFactory} from '../../../testkit'; import {isTestkitExists, isEnzymeTestkitExists} from '../../../testkit/test-...
examples/huge-apps/components/Dashboard.js
bs1180/react-router
import React from 'react' import { Link } from 'react-router' class Dashboard extends React.Component { render() { const { courses } = this.props return ( <div> <h2>Super Scalable Apps</h2> <p> Open the network tab as you navigate. Notice that only the amount of you...
test/integration/css-fixtures/single-global-special-characters/a+b/pages/_app.js
zeit/next.js
import React from 'react' import App from 'next/app' import '../styles/global.css' class MyApp extends App { render() { const { Component, pageProps } = this.props return <Component {...pageProps} /> } } export default MyApp
packages/example-phone/src/scripts/components/call/media-status.js
glhewett/spark-js-sdk
import React from 'react'; export default function MediaStatus({audioDirection, videoDirection}) { return ( <table> <tbody> <tr> <td>audio:</td> <td className="audio-direction">{audioDirection}</td> </tr> <tr> <td>video:</td> <td className="vi...
js/components/checkbox/index.js
ChiragHindocha/stay_fit
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Button, Icon, List, ListItem, CheckBox, Text, Left, Right, Body } from 'native-base'; import { openDrawer } from '../../actions/drawer'; import styles from './styles'; class NHCheckbox extends...
src/svg-icons/action/assignment-late.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssignmentLate = (props) => ( <SvgIcon {...props}> <path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-6 15h-2v-2h2v2zm0...
packages/cockpit/ui/src/components/Error.js
iurimatias/embark-framework
import PropTypes from "prop-types"; import React from 'react'; import {Row, Col} from 'reactstrap'; const Error = ({error}) => ( <Row className="align-items-center mt-5"> <Col> <p className="text-center alert-danger"> {error} </p> </Col> </Row> ); Error.propTypes = { error: PropTypes...
docs/app/Examples/elements/Loader/index.js
mohammed88/Semantic-UI-React
import React from 'react' import Types from './Types' import States from './States' import Variations from './Variations' const LoaderExamples = () => ( <div> <Types /> <States /> <Variations /> </div> ) export default LoaderExamples
client/dist/manifold/www/build/chunk-react-syntax-highlighter_languages_highlight_arduino-626774e8f77df0df1b09.js
ManifoldScholar/manifold
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{1713:function(e,t){e.exports=function(e){var t=e.getLanguage("cpp").exports;return{keywords:{keyword:"boolean byte word string String array "+t.keywords.keyword,built_in:"setup loop while catch for if do goto try switch case else default break continue return Ke...
src/wics/node_modules/material-ui/Card/CardExpandable.js
civiclee/Hack4Cause2017
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3...
findPartner/src/main/webapp/rel/ueditor/third-party/jquery-1.10.2.js
9620yao/findPartner
/*! * 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 ) { // ...
Xing_scripts/public/src/components/app.js
evah/HealthyWebCrawler-T14
import React from 'react'; import { Component } from 'react'; import SearchBox from '../containers/search_box'; import AppList from '../containers/app_list'; export default class App extends Component { render() { return ( <div> <SearchBox /> <AppList /> </div> ) } }
src/Portal.js
aparticka/react-overlays
import React from 'react'; import mountable from 'react-prop-types/lib/mountable'; import ownerDocument from './utils/ownerDocument'; import getContainer from './utils/getContainer'; /** * The `<Portal/>` component renders its children into a new "subtree" outside of current component hierarchy. * You can think of i...
packages/material-ui-icons/src/PanoramaHorizontalOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20 6.54v10.91c-2.6-.77-5.28-1.16-8-1.16s-5.4.39-8 1.16V6.54c2.6.77 5.28 1.16 8 1.16 2.72.01 5.4-.38 8-1.16M21.43 4c-.1 0-.2.02-.31.06C18.18 5.16 15.09 5.7 12 5.7s-6.18-.55-9.12-1.64C2.77 4.02 2.66 4 ...
sites-old/all/themes/mrd2015/js/pie/PIE_uncompressed.js
mrjackcross/mrd-drupal
/* PIE: CSS3 rendering for IE Version 1.0.0 http://css3pie.com Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2. */ (function(){ var doc = document;var PIE = window['PIE']; if( !PIE ) { PIE = window['PIE'] = { CSS_PREFIX: '-pie-', STYLE_PREFIX...
components/TableHeaders.js
michael-lowe-nz/NBA-battles
import React from 'react' import sortPlayers from '../lib/sortPlayers' import ColumnHeader from './table/ColumnHeader' module.exports = ({ state, dispatch }) => { function sortColumn () { const sortedPlayers = sortPlayers(state.players, 'pts', true) dispatch({type: 'UPDATE_PLAYER_ARRAY', payload: sortedPlay...
docs/app/Examples/views/Feed/Content/FeedExampleSummaryDate.js
aabustamante/Semantic-UI-React
import React from 'react' import { Feed } from 'semantic-ui-react' const FeedExampleSummaryDate = () => ( <Feed> <Feed.Event> <Feed.Label> <img src='/assets/images/avatar/small/jenny.jpg' /> </Feed.Label> <Feed.Content> <Feed.Summary> You added <a>Jenny Hess</a> to you...
src/icons/font/StreetViewIcon.js
skystebnicki/chamel
import React from 'react'; import PropTypes from 'prop-types'; import FontIcon from '../../FontIcon'; import ThemeService from '../../styles/ChamelThemeService'; /** * StreetView button * * @param props * @param context * @returns {ReactDOM} * @constructor */ const StreetViewIcon = (props, context) => { let t...
lib/yuilib/3.17.2/datatable-body/datatable-body-debug.js
SWiT/moodle
/* YUI 3.17.2 (build 9c3c78e) 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...