path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/react-instantsearch/4.0.5/Connectors.min.js
him2him2/cdnjs
/*! ReactInstantSearch 4.0.5 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Connectors=t(require("reac...
node_modules/react-router/es/RouteUtils.js
Kgiberson/welp
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/IconImage/index.js
DuckyTeam/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import styles from './styles.css'; function IconImage(props) { return ( <img className={classNames(styles.wrapper, { [styles[props.size]]: props.size, [props.class...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Apis/Details/Resources/Resources.js
ChamNDeSilva/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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 * * http://www.apache.org/li...
generators/app/templates/_webpack.config.js
sajal50/generator-reactredux
var webpack = require('webpack'); var production = process.env.NODE_ENV === 'production'; var plugins = [ new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin(), new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('dev') } }) ]; if (production) { plugins = [ new webp...
ajax/libs/foundation/4.3.2/js/vendor/jquery.js
adatapost/cdnjs
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
src/components/Search/Search.js
ortonomy/flingapp-frontend
import React, { Component } from 'react'; import search from './Search.module.css'; import sidebar from '../Sidebar/Sidebar.module.css'; class Search extends Component { search() { return true; } render() { return ( <div className={search.Search}> <div className={sidebar.sectionTitle}> ...
websocket/client/Client/node_modules/react-native/Libraries/Modal/Modal.js
prayuditb/tryout-01
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
ui/app/pages/Signatures/Signatures.js
StamusNetworks/scirius
import React from 'react'; import UIBreadcrumb from 'ui/components/UIBreadcrumb'; import { Link } from 'ui/helpers/Link'; const Signatures = () => ( <div> <UIBreadcrumb items={[ 'Stamus ND', <Link app to='stamus-nd/signatures'>Signatures</Link>, ]} /> Signatures </div> ); Si...
src/components/PetitionImage/index.js
iris-dni/iris-frontend
import React from 'react'; import styles from './petition-image.scss'; import ImageContainer from 'components/ImageContainer'; import mapImageSizeToNewAttrs from 'helpers/mapImageSizeToNewAttrs'; const PetitionImage = ({ src, alt, attrs, ratio }) => ( src ? <div className={styles.root}> <ImageContainer s...
src/index.js
LeBenLeBen/quotes
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; import './styles/index.css'; ReactDOM.render( <App />, document.getElementById('root') );
src/components/TicketList/test.js
sdwvit/coding-challenge-frontend-b
import React from 'react'; import renderer from 'react-test-renderer'; import { TicketList } from './'; import { defaultState } from '../../reducers/'; const noOp = () => ''; describe('Component', () => { it('should render', () => { const wrapper = renderer.create( <TicketList t={noOp} tickets={defaultState.ti...
src/routes/content/index.js
loganfreeman/react-is-fun
/** * 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 Content from './Content'...
ajax/libs/yui/3.7.3/scrollview-base/scrollview-base-debug.js
gasolin/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, WINDOW = Y.config.win, I...
ajax/libs/rxjs/2.4.6/rx.all.js
urish/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 }; ...
client/src/index.js
cuitianze/MeiMeiApp
'use strict'; import React, { Component } from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import Icon from 'react-native-vector-icons/MaterialIcons'; // Import the react-native-sound module var Sound = require('react-native-sound'); import styles from './styles/common'; // Load th...
webapp/app/components/DashboardByUser/HeaderPage/index.js
EIP-SAM/SAM-Solution-Server
// // Component header dashboard by user page // import React from 'react'; import { PageHeader } from 'react-bootstrap'; import ButtonPopover from 'components/ButtonPopover'; import RebootButton from 'containers/DashboardByUser/HeaderPage/Button'; import styles from 'components/DashboardByUser/styles.css'; /* eslint...
src/svg-icons/action/polymer.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPolymer = (props) => ( <SvgIcon {...props}> <path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"/> </SvgIcon> ); ActionPolymer = pure(ActionPolymer); ActionPolymer.d...
src/modules/dashboard/components/SearchBar/index.js
burakince/d3js-react-examples
import React, { Component } from 'react'; import {Grid, Row, Col} from 'react-bootstrap'; import DateSelection from '../../containers/DateSelection'; import SearchBox from '../SearchBox'; import './SearchBar.css'; class SearchBar extends Component { render() { return ( <Grid id="search-bar"> <Row...
ajax/libs/primereact/6.5.0-rc.2/skeleton/skeleton.js
cdnjs/cdnjs
this.primereact = this.primereact || {}; this.primereact.skeleton = (function (exports, React, utils) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDefaultLegacy(React); function _cl...
ajax/libs/jquery/1.10.1/jquery.js
chriszarate/cdnjs
/*! * jQuery JavaScript Library v1.10.1 * 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-05-30T21:49Z */ (function( window, undefined ) { // ...
packages/wix-style-react/src/SidebarSectionItem/test/SidebarSectionItem.spec.js
wix/wix-style-react
import React from 'react'; import Badge from 'wix-ui-icons-common/Badge'; import SidebarSectionItem from '../SidebarSectionItem'; import sidebarSectionItemPrivateDriverFactory from './SidebarSectionItem.private.uni.driver'; import { createRendererWithUniDriver, cleanup } from '../../../test/utils/unit'; describe('Sid...
client/components/common/errorPage.js
wuyang910217/meteor-react-redux-base
import React from 'react'; import {Link} from 'react-router'; import Helmet from 'react-helmet'; export default ({ code, info, description }) => ( <div className="error-container text-center"> <Helmet title='404页面未找到' /> <i className="pe-7s-way text-success big-icon" /> <h1><strong>{code}</strong></h1> ...
src/app/js/components/Counter.react.js
fcurella/redux-boilerplate
import React from 'react' import { upCounter, downCounter } from '../actions/CounterActions' const Counter = React.createClass({ render() { return ( <p> <span>{this.props.counter.value}</span> <a href="#" onClick={this.props.onUp}>Up</a> <a href="#" onClick={this.props.onDown}>Down...
js/src/dapps/tokenreg.js
nipunn1313/parity
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any lat...
src/components/tools/tools.js
KlimMalgin/welltory
import React, { Component } from 'react'; import classNames from 'classnames'; export default class Tools extends Component { render() { // const { actions, data } = this.props; // Стиль базового элемента const toolsCls = classNames({ tools: true, some_class: false ...
src/svg-icons/device/graphic-eq.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceGraphicEq = (props) => ( <SvgIcon {...props}> <path d="M7 18h2V6H7v12zm4 4h2V2h-2v20zm-8-8h2v-4H3v4zm12 4h2V6h-2v12zm4-8v4h2v-4h-2z"/> </SvgIcon> ); DeviceGraphicEq = pure(DeviceGraphicEq); DeviceGraphi...
ajax/libs/react-virtualized/6.1.2/react-virtualized.min.js
humbletim/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.ReactVirtualized=t(require("react"),require("react-dom")):e.ReactVirtualized=t(e.React,e.ReactDO...
src/api/root.js
FOUfashion/frontend
import React from 'react'; import Router from 'react-router'; import KoaRouter from 'koa-router'; import FluxibleComponent from 'fluxible-addons-react/FluxibleComponent'; import DocumentTitle from 'react-document-title'; import * as AppActions from '../actions/AppActions'; import routes from '../routes'; import Locat...
ajax/libs/backbone-react-component/0.7.3/backbone-react-component.js
maruilian11/cdnjs
// Backbone React Component // ======================== // // Backbone.React.Component v0.7.3 // // (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com> // Backbone.React.Component can be freely distributed under the MIT license. // // // `Backbone.React.Component` is a mixin that glues [Backbone](http:/...
src/header-wif.js
danielmoll/component-win-articlepage
import ArticleHeaderContainer from '@economist/component-articletemplate/lib/header'; import Picture from '@economist/component-picture'; import React from 'react'; import { defaultGenerateClassNameList } from '@economist/component-variantify'; const extendedHeaderItemClasses = [ 'gutter-l', ]; export default functi...
src/components/login.js
andrei-cacio/nuclear-github-explorer
import React, { Component } from 'react'; import actions from '../modules/user-management/actions'; import Paper from '../../node_modules/material-ui/lib/paper'; import TextField from '../../node_modules/material-ui/lib/text-field'; import RaisedButton from '../../node_modules/material-ui/lib/raised-button'; import Cir...
packages/material-ui-icons/src/PanoramaHorizontal.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let PanoramaHorizontal = props => <SvgIcon {...props}> <path d="M20 6.54v10.91c-2.6-.77-5.28-1.16-8-1.16-2.72 0-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....
react-flux-mui/js/material-ui/src/svg-icons/action/line-style.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionLineStyle = (props) => ( <SvgIcon {...props}> <path d="M3 16h5v-2H3v2zm6.5 0h5v-2h-5v2zm6.5 0h5v-2h-5v2zM3 20h2v-2H3v2zm4 0h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM3 12h8v-2H3v2zm10 0h8v-2h...
server/game/cards/13.4-BtRK/TheMaidenvault.js
cryogen/throneteki
const DrawCard = require('../../drawcard.js'); const GameActions = require('../../GameActions'); class TheMaidenvault extends DrawCard { setupCardAbilities(ability) { this.reaction({ when: { onCardOutOfShadows: event => event.card === this }, tar...
src/utils/ToastUtils.js
Seeingu/borrow-book
/* Toast工具类 */ import { ToastAndroid } from 'react-native'; export default class ToastUtil { static show(hint) { ToastAndroid.show(hint, ToastAndroid.SHORT); } }
app/main.js
henrikra/gym-diary
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import promise from 'redux-promise'; import { Router } from 'react-router'; import createHistory from 'history/lib/createHashHistory'; import reducers from './reduc...
Examples/UIExplorer/PointerEventsExample.js
alinz/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, ...
src/screens/WelcomeScreen.js
dbyilmaz/jobs
import _ from 'lodash'; import React, { Component } from 'react'; import { View, Text, Image, AsyncStorage } from 'react-native'; import Slides from '../components/Slides' import ActivityIndicatorr from '../components/ActivityIndicatorr'; const SLIDE_DATA = [ { text: 'Welcome to JobApp', color:'#00B9FC' }, { t...
packages/template/src/stories/index.js
TinaBryan/react-uniforms-widgets
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import Uniforms from 'uniforms'; import Button from '../index'; storiesOf('Button', module) .add('default view', () => ( <Button onClick={action('button clicked')}>Hello</Button> )) .add('some emojies as the text', () => ( ...
togetherjs/tests/doctestjs/.resources/boilerplate/js/vendor/jquery-1.8.1.min.js
AlphaStaxLLC/togetherjs
/*! jQuery v@1.8.1 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/renderers/shared/reconciler/__tests__/ReactMultiChild-test.js
bitshadow/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
src/components/chart.js
astunov/t_weather
import React from 'react' import { Sparklines, SparklinesLine, SparklinesReferenceLine } from 'react-sparklines' import { convertKelvinToCelsius } from '../helpers' function average(temp) { const sum = temp.reduce(function(a, b) { return a + b }) return convertKelvinToCelsius(sum / temp.length) } exp...
src/svg-icons/hardware/computer.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareComputer = (props) => ( <SvgIcon {...props}> <path d="M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"/> </SvgIcon> ); HardwareComputer ...
index.js
Qwikly/react-native-router-redux
import React, { Component } from 'react'; import { Navigator, StyleSheet, View } from 'react-native'; import Animations from './src/Animations'; import { NavBar } from './src/NavBar'; import TabBar from './src/TabBar'; import * as actions from './src/actions'; import reducer from './src/reducer'; const actionTypes = a...
src/routes/TrackingReminder/Medication.js
lethecoa/work-order-pc
import React from 'react'; import {connect} from 'dva'; import styles from './Medication.css'; function Medication() { return ( <div className={styles.normal}> Route Component: Medication </div> ); } function mapStateToProps() { return {}; } export default connect( mapStateToProps )( Medication );
src/containers/Page4.js
D4vx/react-template
import React, { Component } from 'react'; //import PropTypes from 'prop-types'; class Page4 extends Component { render() { return ( <div> Page4 </div> ); } } Page4.propTypes = { }; export default Page4;
client/modules/users/components/.stories/settings.js
kaibagoh/PitchSpot
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import { setComposerStub } from 'react-komposer'; import Settings from '../settings.jsx'; storiesOf('users.Settings', module) .add('default view', () => { return ( <Settings /> ); })
modules/__tests__/transitionHooks-test.js
chf2/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect, { spyOn } from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import execSteps from './execSteps' import Router from '../Router' describe('When a router enters a branch', function () { let node, Dashb...
ajax/libs/yui/3.8.1/event-custom-base/event-custom-base.js
hare1039/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * 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. * @mo...
stories/examples/TableBorderless.js
reactstrap/reactstrap
import React from 'react'; import { Table } from 'reactstrap'; const Example = (props) => { return ( <Table borderless> <thead> <tr> <th>#</th> <th>First Name</th> <th>Last Name</th> <th>Username</th> </tr> </thead> <tbody> <tr> ...
stories/Timeslots.stories.js
jquense/react-big-calendar
import React from 'react' import { action } from '@storybook/addon-actions' import { Calendar } from '../src' import { Calendar as BaseCalendar, Views, events } from './helpers' export default { title: 'Additional Examples/Timeslots', component: Calendar, } const Template = (args) => <BaseCalendar {...args} /> ...
client/src/components/ParticipantList/Participant.js
tkt-akat/tkt-akat-events
import React, { Component } from 'react'; import Question from './Question'; import './Participant.css'; class Participant extends Component { constructor(props) { super(props); this.renderQuestions = this.renderQuestions.bind(this); } renderQuestions() { return this.props.particip...
src/scripts/VideoDuration.js
lmacsen/yoda
'use strict'; import React from 'react'; import {MetaMixin} from './Mixins'; export default React.createClass({ mixins: [MetaMixin], render(duration){ return ( <span className="video-duration">{this.handleDuration(this.props.duration)}</span> ); } });
src/index.js
user1990/react-resource-center
import React from 'react'; import ReactDOM from 'react-dom'; import './styles/index.css'; import App from './routes/Routes'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
ajax/libs/analytics.js/2.3.8/analytics.js
BobbieBel/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
src-example/components/organisms/Header/index.stories.js
SIB-Colombia/biodiversity_catalogue_v2_frontend
import React from 'react' import { storiesOf } from '@kadira/storybook' import { Header } from 'components' storiesOf('Header', module) .add('default', () => ( <Header /> ))
src/svg-icons/editor/format-align-right.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatAlignRight = (props) => ( <SvgIcon {...props}> <path d="M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z"/> </SvgIcon> ); EditorFormatAlignRight = pure(EditorFormatAlign...
client/src/components/ManualsPage.js
BrianLusina/Arco
/** * Created by lusinabrian on 05/05/17. */ import React from 'react'; const ManualPage = () => { return ( <div className="page" id="page-manuals"> <header className="bp-header cf"> <h1 className="bp-header__title">Manuals</h1> <p className="bp-header__desc">Based on Ilya Kostin's Dribbble shot <a ...
src/index.js
tyrsius/portfolio
import React from 'react' import ReactDOM from 'react-dom' import './index.css' import App from './App.js' import * as serviceWorker from './serviceWorker' import { navigate } from 'raviger' // Bad redirects can send us here with an ugly url if (window.location && window.location.pathname === '/index.html') { naviga...
build/webpack.config.js
vojtechszocs/react-playground
'use strict' // https://webpack.js.org/configuration/ const path = require('path') const webpack = require('webpack') const webpackMerge = require('webpack-merge') const CleanPlugin = require('clean-webpack-plugin') const CopyPlugin = require('copy-webpack-plugin') const moduleTypes = require('./module-types') cons...
src/index.js
flare-app/client
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
local-cli/templates/HelloNavigation/views/MainNavigator.js
Purii/react-native
/** * This is an example React Native app demonstrates ListViews, text input and * navigation between a few screens. * https://github.com/facebook/react-native */ import React, { Component } from 'react'; import { StackNavigator } from 'react-navigation'; import HomeScreenTabNavigator from './HomeScreenTabNavigat...
src/svg-icons/action/view-column.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionViewColumn = (props) => ( <SvgIcon {...props}> <path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"/> </SvgIcon> ); ActionViewColumn = pure(ActionViewColumn); ActionViewColumn.displayName = 'Actio...
ajax/libs/forerunnerdb/1.3.357/fdb-core.min.js
bootcdn/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...
debugger/function-tree-debugger/src/components/Debugger/Toolbar/index.js
FWeinb/cerebral
import './styles.css' import React from 'react' import classNames from 'classnames' import {connect} from 'cerebral/react' import signalsList from '../../../common/computed/signalsList' export default connect({ currentPage: 'debugger.currentPage', executingSignalsCount: 'debugger.executingSignalsCount', appSigna...
src/views/dictionary/word/Panel.js
bostontrader/senmaker
import React from 'react' import ReactTestUtils from 'react-dom/test-utils' import rtRenderer from 'react-test-renderer' import {findWithType} from 'react-shallow-testutils' import {findAllWithType} from 'react-shallow-testutils' import initialState from '../../../data/StateGetter' const testFunction = ...
src/components/articles/GIHealth.js
gelo592/IntegrativeMed-Site
import React from 'react' import Typography from '@material-ui/core/Typography'; import { withStyles } from '@material-ui/core/styles'; import { colors } from '../../constants/constants'; const styles = theme => ({ para: { lineHeight: 2.2, fontSize: 17, paddingBottom: 20, color: colors.text, } }); ...
docs/app/Examples/elements/Segment/States/SegmentExampleLoading.js
ben174/Semantic-UI-React
import React from 'react' import { Image, Segment } from 'semantic-ui-react' const SegmentExampleLoading = () => ( <Segment loading> <Image src='http://semantic-ui.com/images/wireframe/paragraph.png' /> </Segment> ) export default SegmentExampleLoading
src/server.js
undancer/ohmyladygaga
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import 'babel/polyfill'; import _ from 'lodash'; import fs from 'fs'; import path from 'path'; import express from 'express'; import React from 'react'; import './core/Dispatcher'; import './stores/AppStore'; import db from './core/Database'; imp...
cheesecakes/plugins/content-manager/admin/src/components/WysiwygDropUpload/index.js
strapi/strapi-examples
/** * * WysiwygDropUpload * */ import React from 'react'; import styles from './styles.scss'; /* eslint-disable jsx-a11y/label-has-for */ const WysiwygDropUpload = (props) => { return ( <label {...props} className={styles.wysiwygDropUpload} > <input onChange={() => {}} ...
src/components/ChatRoom.js
zsiciarz/isthisachat
import React from 'react'; import {List, OrderedSet} from 'immutable'; import {ChatMessage} from './ChatMessage.js'; import {ChatUserList} from './ChatUserList.js'; import {ChatForm} from './ChatForm.js'; export class ChatRoom extends React.Component { static propTypes = { websocketAddress: React.PropTypes...
lib/yuilib/3.17.2/event-focus/event-focus-debug.js
miguelhidrogo/moodle_auth_cors
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Ev...
packages/material-ui-icons/src/DirectionsTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M3.01 12l9 9L21 12l-9-9-8.99 9zM14 7.5l3.5 3.5-3.5 3.5V12h-4v3H8v-4c0-.55.45-1 1-1h5V7.5z" opacity=".3" /><path d="M13.42 1.58c-.75-.75-2.07-.76...
app.js
teamhacksmiths/food-drivr-frontend
import express from 'express'; // import React from 'react'; // import { renderToString } from 'react-dom/server' // import { match, RouterContext } from 'react-router' //import routes from './app/config/routes'; const app = express(); const path = require('path'); const port = process.env.NODE_ENV === 'production' ? p...
frontend/component/Footer.js
akin520/pratice-node-project
import React from 'react'; const footerStyle = { marginTop: 50, padding: 20, }; export default class Footer extends React.Component { render() { return ( <div className="text-center" style={footerStyle}> &copy; CopyRight Node.js实战 </div> ) } }
app/javascript/mastodon/components/dropdown_menu.js
Arukas/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import IconButton from './icon_button'; import Overlay from 'react-overlays/lib/Overlay'; import Motion from '../features/ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; imp...
packages/forms/stories/CustomActions.stories.js
Talend/ui
import React from 'react'; import { action } from '@storybook/addon-actions'; import { UIForm } from '../src/UIForm'; export default { title: 'Customization/Custom actions', }; export function Default() { const actions = [ { title: 'Reset', type: 'reset', widget: 'button', }, { disabled: true, ...
node_modules/react-icons/md/dialpad.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdDialpad = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 1.6c1.8 0 3.4 1.6 3.4 3.4s-1.6 3.4-3.4 3.4-3.4-1.6-3.4-3.4 1.6-3.4 3.4-3.4z m0 10c1.8 0 3.4 1.6 3.4 3.4s-1.6 3.4-3.4 3.4-3.4-1.6-3.4-3.4 1.6-3.4 3.4-3.4z m10 0c1....
admin/src/components/Footer.js
davibe/keystone
import blacklist from 'blacklist'; import classnames from 'classnames'; import React from 'react'; import { Container } from 'elemental'; var Footer = React.createClass({ displayName: 'Footer', propTypes: { appversion: React.PropTypes.string, backUrl: React.PropTypes.string, brand: React.PropTypes.string, Us...
ajax/libs/yui/3.7.0/datatable-body/datatable-body.js
pazguille/cdnjs
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` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
docs/src/app/components/pages/components/RadioButton/Page.js
IsenrichO/mui-with-arrows
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import radioButtonReadmeText from './README'; import RadioButtonExampleSimple fr...
src/entypo/Dribbble.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Dribbble'; let EntypoDribbble = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M9.565,7.421C8.207,5.007,6.754,3.038,6.648,2.893C4.457,3.929,2.822,5.948,2.311,8.38C2.517,8.384,5...
packages/material-ui-icons/src/SettingsEthernetTwoTone.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="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-...
ajax/libs/react-router/0.9.3/react-router.js
CosmicWebServices/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define,module,export...
src/DatePicker/Calendar.spec.js
spiermar/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Calendar from './Calendar'; import {addMonths, dateTimeFormat} from './dateUtils'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Calendar />', () => { const muiTheme = getMuiTheme(); ...
src/Parser/Priest/Discipline/Modules/Items/TarnishedSentinelMedallion.js
hasseboulen/WoWAnalyzer
import React from 'react'; import ITEMS from 'common/ITEMS'; import SPELLS from 'common/SPELLS'; import Wrapper from 'common/Wrapper'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import ItemHealingDone from 'Main/ItemHealingDone'; import ItemDamageDone from 'Ma...
packages/material-ui-icons/src/DeleteSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M6 21h12V7H6v14zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" /> , 'DeleteSharp');
src/backend/Mediator.js
Blacktoviche/RNChat
import * as localDB from './LocalDB'; import * as onlineDB from './OnlineDB'; import * as CONSTANTS from '../utils/GlobaleStaticVars'; import RNFetchBlob from 'react-native-fetch-blob'; import { Platform } from 'react-native'; import { PermissionsAndroid } from 'react-native'; //import ImageResizer from 'react-native-i...
docs/app/Examples/elements/Label/Types/LabelExampleRibbon.js
vageeshb/Semantic-UI-React
import React from 'react' import { Grid, Image, Label, Segment } from 'semantic-ui-react' const LabelExampleRibbon = () => ( <Grid columns={2}> <Grid.Column> <Segment raised> <Label as='a' color='red' ribbon>Overview</Label> <span>Account Details</span> <Image src='http://semantic-...
ajax/libs/react-router/0.9.4/react-router.min.js
amwmedia/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define;return functi...
ajax/libs/react/0.13.0-alpha.1/react.min.js
cgvarela/cdnjs
/** * React v0.13.0-alpha.1 * * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same direc...
src/routes.js
cheshire137/cheevo-plotter
/** * 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 Router from 'react-routi...
app/javascript/mastodon/features/account_timeline/index.js
glitch-soc/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { lookupAccount, fetchAccount } from '../../actions/accounts'; import { expandAccountFeaturedTimeline, expandAccountTimeline } from '../../actions/time...
common/routes/Products/containers/Products.js
luanlv/minhphat
// /* global $ */ import { provideHooks } from 'redial' import React from 'react' import { connect } from 'react-redux' import { loadData } from '../actions' import Helmet from 'react-helmet' import {Link} from 'react-router' const redial = { fetch: ({ dispatch }) => dispatch(loadData()) } const mapStateToProps = s...
client/modules/core/components/navigation.js
freiraumpetersburg/mitgliederverwaltung
import React from 'react'; import PropTypes from 'prop-types'; import {DocHead} from 'meteor/kadira:dochead'; import {pathFor} from '/lib/utils'; import {Toolbar, ToolbarGroup, ToolbarTitle} from 'material-ui/Toolbar'; import FlatButton from 'material-ui/FlatButton'; import MenuItem from 'material-ui/MenuItem'; import ...
ajax/libs/angular-vertxbus/3.1.0/angular-vertxbus.withpolyfill.js
dhenson02/cdnjs
/*! angular-vertxbus - v3.1.0 - 2015-10-25 * http://github.com/knalli/angular-vertxbus * Copyright (c) 2015 Jan Philipp; Licensed MIT */ (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+"...
app/index.js
jfanderson/SC-Shuffler
import React from 'react'; import ReactDOM from 'react-dom'; import { devClientId } from './keys.js'; import App from './components/App.jsx'; SC.initialize({ client_id: devClientId, redirect_uri: 'http://localhost:8080/callback', }); ReactDOM.render(<App />, document.getElementById('root'));
node_modules/react-typography/src/TypographyStyle.js
aimanaiman/supernomadfriendsquad
import React from 'react' module.exports = React.createClass({ displayName: 'TypographyStyle', propTypes: { typography: React.PropTypes.object.isRequired, }, render () { return React.DOM.style({ id: 'typography.js', dangerouslySetInnerHTML: { __html: this.props.typography.toString...
ajax/libs/forerunnerdb/1.3.509/fdb-core+persist.min.js
dakshshah96/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...