path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
app/routes.js
DenQ/electron-react-lex
/* eslint flowtype-errors/show-errors: 0 */ import React from 'react'; import { Switch, Route } from 'react-router'; import App from './containers/App'; import CounterPage from './containers/Counter/CounterPage'; import ListAlbumsPage from './containers/pages/list-albums/container'; import AddAlbumPage from './containe...
fields/types/relationship/RelationshipFilter.js
davibe/keystone
import React from 'react'; var { Button, FormField, FormInput, InputGroup, SegmentedControl } = require('elemental'); import PopoutList from '../../../admin/src/components/PopoutList'; const TOGGLE_OPTIONS = [ { label: 'Linked To', value: true }, { label: 'NOT Linked To', value: false } ]; const RELATED_ITEMS = [ ...
src/media/js/site/containers/login.js
diox/marketplace-content-tools
import React from 'react'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {fxaLoginBegin, login} from '../actions/login'; import {LoginButton} from '../components/login'; import {Page} from '../components/page'; export class Login extends React.Component { static contextTypes...
ajax/libs/yui/3.12.0/event-focus/event-focus-debug.js
tmorin/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * 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, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
node_modules/react-native/Libraries/Components/StaticContainer.js
nauman-ahmad-qureshi/adsManagement
/** * 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/plugin/js/components/PluginExample.js
medallia/aurora
// This is an example of how to replace components with your own custom UI logic. import React from 'react'; // You can import the original OSS component if you'd just like to wrap it. import OSSPluginExample from '../../../src/main/js/components/PluginExample'; // Add your own CSS by importing files directly import ...
client/src/Components/Logout.js
teamcrux/EmploymentOptions
import React, { Component } from 'react'; import { Redirect } from 'react-router-dom'; class Logout extends Component { render(){ localStorage.removeItem("token"); return ( <Redirect to="/" /> ) } }; export default Logout;
fields/types/location/LocationFilter.js
Tangcuyu/keystone
import React from 'react'; import { FormField, FormInput, FormRow, SegmentedControl } from 'elemental'; const TOGGLE_OPTIONS = [ { label: 'Matches', value: false }, { label: 'Does NOT Match', value: true }, ]; function getDefaultValue () { return { inverted: TOGGLE_OPTIONS[0].value, street: undefined, city:...
src/app/component/list/list.js
all3dp/printing-engine-client
import PropTypes from 'prop-types' import React from 'react' import propTypes from '../../prop-types' import cn from '../../lib/class-names' const List = ({classNames, children, size = 'default', minor = false}) => ( <ul className={cn('List', {[`size-${size}`]: size, minor}, classNames)}>{children}</ul> ) List.pro...
actor-apps/app-web/src/app/components/common/AvatarItem.react.js
zwensoft/actor-platform
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ import React from 'react'; import classNames from 'classnames'; class AvatarItem extends React.Component { static propTypes = { className: React.PropTypes.string, image: React.PropTypes.string, placeholder: React.PropTypes.string.isRequired, ...
src/components/cars/create/CreateCarPage.js
Atanasov86/Car-System
import React from 'react' import CarForm from './CarForm' import FormHelper from '../../common/forms/FormHelpers' import carActions from '../../../actions/CarActions' import carStore from '../../../stores/CarStore' import validator from 'validator' import toastr from 'toastr' class CreateCarPage extends React.Componen...
src/svg-icons/social/sentiment-dissatisfied.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialSentimentDissatisfied = (props) => ( <SvgIcon {...props}> <circle cx="15.5" cy="9.5" r="1.5"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 1...
lib/Year.js
rdjpalmer/react-widgets
'use strict'; var babelHelpers = require('./util/babelHelpers.js'); var React = require('react'), cx = require('classnames'), dates = require('./util/dates'), localizers = require('./util/configuration').locale, directions = require('./util/constants').directions, Btn = require('./WidgetButton'), ...
storybook/stories/area-stack/with-time-scale.js
JesperLekland/react-native-svg-charts
import React from 'react' import { View } from 'react-native' import { StackedAreaChart, Grid, XAxis } from 'react-native-svg-charts' import * as shape from 'd3-shape' import * as scale from 'd3-scale' import dateFns from 'date-fns' class AreaStackChartExample extends React.PureComponent { render() { const...
modules/__tests__/transitionHooks-test.js
neebz/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...
src/List/ListItem.spec.js
mtsandeep/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import ListItem from './ListItem'; import EnhancedButton from '../internal/EnhancedButton'; import getMuiTheme from '../styles/getMuiTheme'; import NestedList from './NestedList'; describe('<ListItem />', () ...
src/svg-icons/image/filter-9-plus.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilter9Plus = (props) => ( <SvgIcon {...props}> <path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 7V8c0-1.11-.9-2-2-2h-1c-1.1 0-2 .89-2 2v1c0 1.11.9 2 2 2h1v1H9v2h3c1.1 0 2-.89 2-2zm-3-3V8h1v1h-1zm10-8H7c-1.1...
src/app.js
vijayporwal/react-component-lifecycle
import React from 'react'; import ReactDOM from 'react-dom'; import Layout from './components/Layout'; const app = document.getElementById('app'); ReactDOM.render(<Layout name="Click here and check console for React Component Lifecycle" />, app);
client/src/components/Map/components/Block.js
BhaveshSGupta/FreeCodeCamp
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { Link } from 'gatsby'; import ga from '../../../analytics'; import { makeExpandedBlockSelector, toggleBlock...
lib/components/tab.js
KunalKene1797/hyper
import React from 'react'; import {PureComponent} from '../base-components'; export default class Tab extends PureComponent { constructor() { super(); this.handleHover = this.handleHover.bind(this); this.handleBlur = this.handleBlur.bind(this); this.handleClick = this.handleClick.bind(this); th...
app/components/Map/index.js
theterra/newsb
import React from 'react'; import { render } from 'react-dom'; import { Map, Marker, Popup, TileLayer, Path, Polygon } from 'react-leaflet'; import FullscreenControl from 'react-leaflet-fullscreen'; import ExtendedMarker from './ExtendedMarker'; import { userRoleType, session } from '../../Api/ApiConstants'; import {la...
src/index.js
jeanpan/create-react-pwa-boilerplate
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
src/components/cards/technologies-card.js
renvrant/renvrant.github.io
import React from 'react'; import Card from './card'; function TechnologiesCard() { return ( <Card title="Technologies" color="1"> <ul> <li>Angular</li> <li>React</li> <li>Vue</li> <li>Gatsby</li> <li>Redux</li> <li>TypeScript</li> </ul> </Card> )...
src/pages/People.js
btthomas/blakeandanna
import React from 'react' import Link from 'gatsby-link' const people = [ { name: 'The Hunter Family', imgSrc: '/pics/hunter.jpg', description: `Brad & Susan`, }, { name: 'The Thomas Family', imgSrc: '/pics/thomas.jpg', description: `Laura, Bruce III, Bruce Jr., Betsy, Betty, Meghan & Eri...
src/initialise.js
devonChurch/cheese-burger
import React from 'react'; import {render} from 'react-dom'; import {createStore} from 'redux'; import {Provider} from 'react-redux'; import {StyleRoot} from 'radium'; import reducer from './state/reducer'; import defaultState from './state/default'; import defaultProps from './props/default'; import Scaffold from './s...
assets/admin/js/jquery-1.10.2.js
maulayyacyber/load-more-codeigniter
/*! * 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 ) { // ...
node_modules/material-ui/svg-icons/image/photo-filter.js
captify-iolenchenko/leaderboard
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
packages/material-ui-icons/src/CallReceived.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let CallReceived = props => <SvgIcon {...props}> <path d="M20 5.41L18.59 4 7 15.59V9H5v10h10v-2H8.41z" /> </SvgIcon>; CallReceived = pure(CallReceived); CallReceived.muiName = 'SvgIcon'; export default Ca...
resources/library/interactivities/Calculation.wgt/js/lib/jquery-1.7.1.min.js
DIP-SEM/OpenBoard
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
src/common/Radio/index.js
Mrlyjoutlook/cnode-native
import React, { Component } from 'react'; import { View, Text, StyleSheet, TouchableOpacity } from 'react-native'; import Icon from 'react-native-vector-icons/Ionicons'; const styles = StyleSheet.create({ content: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center', height: 50, }...
src/main.js
vikrantd/excel-react-redux
/* globals process */ // Polyfills for the browser environment import 'babel-polyfill'; import 'whatwg-fetch'; import './normalize.css'; import './global.css'; import React from 'react'; import ReactDOM from 'react-dom'; import {createStore, applyMiddleware, compose} from 'redux'; import {Provider} from 'react-redux...
ajax/libs/rxjs/2.3.19/rx.js
nareshs435/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/components/Message/NotificationStatus/NotificationStatus.js
VoiSmart/Rocket.Chat
import { Box } from '@rocket.chat/fuselage'; import React from 'react'; function NotificationStatus({ t = (e) => e, label, ...props }) { return <Box width='x8' aria-label={t(label)} borderRadius='full' height='x8' {...props} />; } export default NotificationStatus;
ajax/libs/angular-google-maps/1.1.10/angular-google-maps.js
steadiest/cdnjs
/*! angular-google-maps 1.1.10 2014-07-27 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
docs/app/Examples/elements/Input/Variations/InputExampleIconChild.js
vageeshb/Semantic-UI-React
import React from 'react' import { Icon, Input } from 'semantic-ui-react' const InputExampleIconChild = () => ( <div> <Input icon placeholder='Search...'> <input /> <Icon name='search' /> </Input> <br /> <br /> <Input iconPosition='left' placeholder='Email'> <Icon name='at' /> ...
src/components/ErrorView.js
clayhan/reactserver
import React from 'react'; const Error = () => { return ( <div> <h2>404 THERES NOTHING HERE. LIFE IS EMPTY.</h2> </div> ); }; export default Error;
app/__tests__/index.android.js
CodeforChemnitz/TheaterWecker
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
packages/benchmarks/emotion/simple/client/Table.js
A-gambit/CSS-IN-JS-Benchmarks
import React from 'react'; import styled, { css } from 'react-emotion'; const Table = styled('div')` display: table; margin-top: 10px; `; const Row = styled('div')` display: table-row; `; const Cell = styled('div')` display: table-cell; padding: 10px; background: rgba(74, 174, 53, ${props => props.value}...
src/parser/demonhunter/vengeance/modules/talents/FeedTheDemon.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import { formatPercentage, formatNumber } from 'common/format'; import TalentStatisticBox from 'interface/others/TalentStatisticBox'; import STATISTIC_ORDER from 'interface/others/STATISTIC_ORDER'; import SpellUs...
test/CollapseSpec.js
jakubsikora/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Collapse from '../src/Collapse'; describe('Collapse', function () { let Component, instance; beforeEach(function(){ Component = React.createClass({ render(){ let { children, ...props } = this.props; ...
app/components/Header/index.js
ReelTalkers/reeltalk-web
/** * * Header * */ import React from 'react' import styles from './styles.css' function Header(props) { return ( <div className={ styles.header }> {props.children} </div> ) } export default Header
lib/components/App.js
dpkshrma/beaver
'use babel'; import React from 'react'; import { Collapse } from 'react-collapse'; import TodoFormContainer from './TodoForm'; import TodoListContainer from './TodoList'; import { TodoService } from '../services'; const TODO_FORM = 'todoForm'; const TODO_LIST = 'todoList'; const TopBar = ({ children, toggleTopMenu, ...
examples/normalization/src/components/EditLink.js
lore/lore
import React from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; export default createReactClass({ displayName: 'EditLink', propTypes: { tweet: PropTypes.object.isRequired }, onEdit: function() { const { tweet } = this.props; lore.dialog.show(func...
src/Runner.js
ServerChef/serverchef-ui
import React, { Component } from 'react'; import { Row, Col, Button, Table } from 'antd'; class Runner extends Component { tasksList(props){ const tasks = [ { key: '1', name: 'scss', collection: false }, { ...
ASP.NETWeb Forms/1.IntroductionToAspNet/WebApps/TestWebApiApp/Scripts/jquery-1.10.2.min.js
idoychinov/Telerik_Academy_Homework
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
ajax/libs/zeroclipboard/2.0.1/ZeroClipboard.Core.js
davidbau/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.0.1 */ (function(window, undefined) { "use strict";...
test/regressions/tests/Menu/SimpleMenuList.js
lgollut/material-ui
import React from 'react'; import Paper from '@material-ui/core/Paper'; import MenuList from '@material-ui/core/MenuList'; import MenuItem from '@material-ui/core/MenuItem'; export default function SimpleMenuList() { return ( <Paper elevation={8}> <MenuList> <MenuItem>Profile</MenuItem> <Me...
ajax/libs/react/0.6.1/react.min.js
xubowenjx/cdnjs
!function(a,b){function e(){this._events=new Object}function f(a){a&&(a.delimiter&&(this.delimiter=a.delimiter),a.wildcard&&(this.wildcard=a.wildcard),this.wildcard&&(this.listenerTree=new Object))}function g(a){this._events=new Object,f.call(this,a)}function h(a,b,c,d){if(!c)return[];var e=[],f,g,i,j,k,l,m,n=b.length,...
examples/__tests__/App.js
lekenny/react-native-change-launcher
import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
frontend/app/components/splash.js
LINKIWI/linkr
/* global setTimeout */ import React from 'react'; /** * DOM paint splash screen. */ export default class Splash extends React.Component { constructor() { super(); this.state = { opacity: 1 }; } destroy() { setTimeout(() => this.setState({opacity: 0}), 10); } render() { const ...
src/browser/ui/dom/components/__tests__/ReactDOMButton-test.js
julen/react
/** * Copyright 2013-2014 Facebook, Inc. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
examples/animations/app.js
rubengrill/react-router
import React from 'react' import { render } from 'react-dom' import ReactCSSTransitionGroup from 'react-addons-css-transition-group' import StaticContainer from 'react-static-container' import { createHistory, useBasename } from 'history' import { Router, Route, Link } from 'react-router' require('./app.css') const h...
app/app.js
romy/personal-imgur-gallery
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ import 'babel-polyfill'; /* eslint-disable import/no-unresolved */ // Load the manifest.json file and the .htaccess file import '!file?name=[name].[ext]!./manifest.json'; import 'file?name=[name].[ext]!./.htaccess';...
imports/plugins/core/core/server/fixtures/orders.js
anthonybrown/reaction
import faker from "faker"; import _ from "lodash"; import Random from "@reactioncommerce/random"; import { Factory } from "meteor/dburles:factory"; import { Orders, Products } from "/lib/collections"; import { getShop } from "./shops"; import { getUser } from "./users"; import { getAddress } from "./accounts"; import {...
togetherjs/tests/doctestjs/.resources/boilerplate/js/vendor/jquery-1.8.1.min.js
Atrus7/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=...
ajax/libs/yasgui/1.0.6/yasgui.bundled.min.js
davidbau/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
src/components/sidebar-entities/default-sidebar/entity-list/entity-list.js
mpigsley/sectors-without-number
import React from 'react'; import PropTypes from 'prop-types'; import { intlShape } from 'react-intl'; import { EyeOff } from 'react-feather'; import ReactHintFactory from 'react-hint'; import FlexContainer from 'primitives/container/flex-container'; import SectionHeader from 'primitives/text/section-header'; import L...
app/src/pages/MembersPage/index.js
udacityalumni/udacity-alumni-fe
import React from 'react'; import cssModules from 'react-css-modules'; import styles from './index.module.scss'; import { MembersContainer } from 'containers'; import { AppFooter } from 'components'; const MembersPage = () => ( <div className={styles.container}> <MembersContainer /> <AppFooter /> </div> );...
src/components/__tests__/test_user_control_button.js
MichalKononenko/OmicronClient
/** * Created by Michal on 2016-03-15. */ 'use strict'; import React from 'react'; import expect from 'expect'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import store, { initial_state } from '../../store'; import {Glyphicon} from 'react-bootstrap'; import {Provider} from 'react-redux'; import {SignInBu...
app/javascript/flavours/glitch/containers/admin_component.js
Kirishima21/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { IntlProvider, addLocaleData } from 'react-intl'; import { getLocale } from 'mastodon/locales'; const { localeData, messages } = getLocale(); addLocaleData(localeData); export default class AdminComponent extends React.PureComponent { static pr...
src/tabs/getItemString.js
zalmoxisus/remotedev-inspector-monitor
import React from 'react'; import { Iterable } from 'immutable'; import isIterable from '../utils/isIterable'; const IS_IMMUTABLE_KEY = '@@__IS_IMMUTABLE__@@'; function isImmutable(value) { return Iterable.isKeyed(value) || Iterable.isIndexed(value) || Iterable.isIterable(value); } function getShortTypeString(val,...
src/index.js
fpyang/Macaroon
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import App from './components/app'; import reducers from './reducers'; const createStoreWithMiddleware = applyMiddleware()(createStore); ReactDOM.render( <Provi...
blueocean-material-icons/src/js/components/svg-icons/action/extension.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionExtension = (props) => ( <SvgIcon {...props}> <path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 ...
stories/Label/ExampleStandard.js
nirhart/wix-style-react
import React from 'react'; import {Label, Input} from 'wix-style-react'; export default () => <div style={{display: 'flex', alignItems: 'center'}}> <Label dataHook="label" for="input-id" appearance="T1.1"> Label text </Label>&nbsp; <Input id="input-id"/> </div>;
src/svg-icons/action/offline-pin.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionOfflinePin = (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 2zm5 16H7v-2h10v2zm-6.7-4L7 10.7l1.4-1.4 1.9 1.9 5.3-5.3L17 7.3 10.3 14z"/> </SvgIcon> ...
modules/__tests__/Router-test.js
hgezim/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import Router from '../Router' import Route from '../Route' describe('Router', function () { let node beforeEach(function () { node = document....
ajax/libs/redux-form/5.2.4/redux-form.js
AMoo-Miki/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxForm"] = facto...
app/public/js/jquery.js
joeferraro/MavensMate
/*! jQuery v1.7 jquery.com | jquery.org/license */ (function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=...
src/Snackbar/SnackbarContent.spec.js
dsslimshaddy/material-ui
// @flow import React from 'react'; import { assert } from 'chai'; import { createShallow, getClasses } from '../test-utils'; import SnackbarContent from './SnackbarContent'; describe('<SnackbarContent />', () => { let shallow; let classes; before(() => { shallow = createShallow({ untilSelector: 'withStyle...
src/svg-icons/av/featured-video.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFeaturedVideo = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 9H3V5h9v7z"/> </SvgIcon> ); AvFeaturedVideo = pure(AvFeaturedVideo)...
src/svg-icons/image/filter-hdr.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterHdr = (props) => ( <SvgIcon {...props}> <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"/> </SvgIcon> ); ImageFilterHdr = pure(ImageFilterHdr); ImageFilterHdr.displayName...
core/czr-base-fmk/assets/js/_1_ccat_czr-theme-fmk.js
presscustomizr/customizr
( function ( api, $, _ ) { /***************************************************************************** * OBSERVE UBIQUE CONTROL'S SECTIONS EXPANSION *****************************************************************************/ if ( 'function' === typeof api.Section ) { //move co...
src/js/components/app.js
nicksenger/JSchematic
import React, { Component } from 'react'; import MenuBar from '../containers/menuBar'; import Canvas from '../containers/canvas'; import SubMenu from '../containers/subMenu'; require("../../css/app.scss"); export default class App extends Component { render() { return ( <div className="appContai...
client/app/components/footer.js
kirinami/portfolio
import React from 'react'; import { projects } from '../data'; export default function Footer() { return ( <div className="footer--component"> <div className="row"> <div className="col-md-12"> <div className="heading heading-header"> ...
ajax/libs/primereact/7.2.1/utils/utils.esm.js
cdnjs/cdnjs
import React from 'react'; function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d ...
src/index.js
JohnDHamm/nog-web
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter, Route, Switch } from 'react-router-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import promise from 'redux-promise'; import reducers from './reducers'; import Navba...
ajax/libs/analytics.js/2.8.1/analytics.min.js
melvinsembrano/cdnjs
(function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[...
src/index.js
andrewbhy/react-camera
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();
ajax/libs/rxjs/2.4.7/rx.js
hpneo/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 }; ...
packages/material-ui-icons/src/BorderStyleTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M19 19h2v2h-2zM19 11h2v2h-2zM19 15h2v2h-2zM15 19h2v2h-2zM3 21h2V5h16V3H3z" /><path d="M19 7h2v2h-2zM11 19h2v2h-2zM7 19h2v2H7z" /></g></React....
docs/index.js
collegepulse/material-react-components
import {BrowserRouter} from 'react-router-dom'; import Navigation from './components/Navigation'; import PageWrapper from './components/PageWrapper'; import React from 'react'; import {render} from 'react-dom'; import Styles from './index.css'; import 'babel-polyfill'; const app = document.createElement('div'); app.st...
test/containers/CounterPage.spec.js
jbandi/birdcage-electron-react
import { expect } from 'chai'; import React from 'react'; import { renderIntoDocument, scryRenderedDOMComponentsWithTag, findRenderedDOMComponentWithClass, Simulate } from 'react-addons-test-utils'; import { Provider } from 'react-redux'; import CounterPage from '../../app/containers/CounterPage'; import config...
ajax/libs/handsontable/0.11.0-beta1/jquery.handsontable.full.js
viskin/cdnjs
/** * Handsontable 0.11.0-beta1 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright 2012-2014 Marcin Warpechowski * Licensed under the MIT license. * http://handsontable.com/ * * Date: Thu Jul 10 2014 13:20:50 GMT+0200 (CEST) ...
voting-client/src/components/Winner.js
mrwizard82d1/full-stack-redux-tutorial
/** * Created by larryjones on 6/23/17. */ import React from 'react'; export default function Winner (props) { return ( <div className="winner"> And the winner is .... (Drumroll. Please): {props.winner}! </div> ); }
src/svg-icons/hardware/tablet-mac.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareTabletMac = (props) => ( <SvgIcon {...props}> <path d="M18.5 0h-14C3.12 0 2 1.12 2 2.5v19C2 22.88 3.12 24 4.5 24h14c1.38 0 2.5-1.12 2.5-2.5v-19C21 1.12 19.88 0 18.5 0zm-7 23c-.83 0-1.5-.67-1.5-1.5s.67-1...
opentech/static_src/src/app/src/SubmissionsByRoundApp.js
OpenTechFund/WebApp
import React from 'react'; import PropTypes from 'prop-types'; import { hot } from 'react-hot-loader'; import { connect } from 'react-redux' import SwitcherApp from './SwitcherApp'; import GroupByStatusDetailView from '@containers/GroupByStatusDetailView'; import { setCurrentSubmissionRound } from '@actions/submission...
node_modules/react-native-vector-icons/RNIMigration.js
tausifmuzaffar/bisApp
import React from 'react'; import FontAwesome from 'react-native-vector-icons/FontAwesome'; import Foundation from 'react-native-vector-icons/Foundation'; import Ionicons from 'react-native-vector-icons/Ionicons'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; import Zocial from 'react-native-vect...
classic/src/scenes/wbfa/generated/FASCheckCircle.pro.js
wavebox/waveboxapp
import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faCheckCircle } from '@fortawesome/pro-solid-svg-icons/faCheckCircle' export default class FASCheckCircle extends React.Component { render () { return (<FontAwesomeIcon {...this.props} icon={faCheckCircle} />) } ...
ajax/libs/ngreact/0.1.2/ngReact.js
Amomo/cdnjs
// # ngReact // ### Use React Components inside of your Angular applications // // Composed of // - reactComponent (generic directive for delegating off to React Components) // - reactDirective (factory for creating specific directives that correspond to reactComponent directives) (function (root, factory) { if (ty...
public/js/components/SearchFilter.js
hkdnet/GitRec
'use strict'; import React from 'react'; import { Grid, Row, Col, Label } from 'react-bootstrap'; import SyncInput from './SyncInput.js' export default class SearchFilter extends React.Component { constructor(props) { super(props); } render() { return ( <Grid> <Row> <Col xs={3}> ...
app/javascript/mastodon/components/column_back_button.js
pinfort/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import Icon from 'mastodon/components/icon'; import { createPortal } from 'react-dom'; export default class ColumnBackButton extends React.PureComponent { static contextTypes = { router: PropTypes.objec...
src/client/handlers/RegisterHandler.js
janicduplessis/imessage-client
import React from 'react'; import StyleSheet from 'react-style'; import { TextField, RaisedButton, } from 'material-ui'; import UserActions from '../actions/UserActions'; class RegisterHandler extends React.Component { constructor(props) { super(props); this.state = { username: '', password...
src/components/Password.js
kalpetros/hawkpass-desktop
import PropTypes from 'prop-types'; import React from 'react'; import { Panel } from './Panel'; import { toast } from './toast'; export const Password = props => { const { value } = props; const handleCopyPassword = () => { const element = document.getElementById('password'); element.select(); docume...
ajax/libs/react-native-web/0.16.3/exports/AppRegistry/renderApplication.js
cdnjs/cdnjs
function _extends() { _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; }; return _extends.apply(this, arguments); } /...
ajax/libs/forerunnerdb/1.3.463/fdb-legacy.js
tonytomov/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...
app/javascript/mastodon/features/favourites/index.js
pso2club/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import { fetchFavourit...
packages/material-ui-icons/src/WorkTwoTone.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="M4 8h16v11H4z" opacity=".3" /><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....
src/modules/widgets-container/widgets/components/loader.js
kksevta/react-redux-dashboard
import React from 'react'; const Loader = () => { return ( <div class="loader-wrapper"><div class="spinner loader"></div></div> ); }; export default Loader;
admin/client/App/screens/List/index.js
ratecity/keystone
/** * The list view is a paginated table of all items in the list. It can show a * variety of information about the individual items in columns. */ import React from 'react'; // import { findDOMNode } from 'react-dom'; // TODO re-implement focus when ready import numeral from 'numeral'; import { connect } from 'rea...
demo/src/index.js
ryandrewjohnson/react-localize-redux
import React from 'react'; import { render } from 'react-dom'; import { createStore, combineReducers } from 'redux'; import { composeWithDevTools } from 'redux-devtools-extension'; import { BrowserRouter as Router, Route } from 'react-router-dom'; import { LocalizeProvider, localizeReducer } from 'react-localize-redux'...