path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
app/components/activekeywordlist.js
jzhang729/zoey.news
import React from 'react' import Fluxxor from 'fluxxor' require("font-awesome-webpack") import { Input, Button } from 'react-bootstrap' import Color from '../services/barchartcolor.js' var FluxMixin = Fluxxor.FluxMixin(React); export default React.createClass({ mixins: [FluxMixin], handleRemoveKeyword: function(...
src/svg-icons/action/perm-camera-mic.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermCameraMic = (props) => ( <SvgIcon {...props}> <path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 ...
modules/__tests__/transitionHooks-test.js
mjw56/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 () { var node, Dashbo...
js/jquery.min.js
nettohadi/al-hikam
/*! 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...
ajax/libs/forerunnerdb/1.3.365/fdb-core+views.min.js
nolsherry/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/svg-icons/image/filter-b-and-w.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterBAndW = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16l-7-8v8H5l7-8V5h7v14z"/> </SvgIcon> ); ImageFilterBAndW = pure(Im...
src/List/detail.js
kradio3/react-mdc-web
import React from 'react'; import classnames from 'classnames'; import Icon from '../Icon'; const detail = (component, start = true) => { const modificatorClass = start ? 'mdc-list-item__start-detail' : 'mdc-list-item__end-detail'; if (component.type === Icon) { const { className } = component.props; const...
packages/material-ui-icons/src/TerrainTwoTone.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="M5 16h3.04l-1.52-2.03z" opacity=".3" /><path d="M9.78 11.63l1.25 1.67L14 9.33 19 16h-8.46l-4.01-5.37L1 18h22L14 6l-4.22 5.63zM5 16l1.52-2.03L8.0...
src/svg-icons/device/battery-charging-full.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryChargingFull = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4zM11 20v-5.5H...
Restaurant.MVC/Scripts/jquery-1.10.2.min.js
luguima/Restaurant
/* 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...
app/javascript/mastodon/features/mutes/index.js
Nyoho/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { debou...
docs/website/src/components/Layout.js
adaltas/node-nikita
// React import React, {useState} from 'react' import Helmet from 'react-helmet' // Gatsby import { StaticQuery, graphql } from 'gatsby' // Local import AppBar from './shared/AppBar' import Content from './shared/Content' import Footer from './shared/Footer' import Menu from './shared/Menu' // Material UI import { useT...
examples/lottery/src/App.js
josepot/react-redux-scroll
import React from 'react'; import rebassConfig from './rebass-config'; import Header from './components/Header'; import RouletteNumbers from './components/RouletteNumbers'; export default rebassConfig(() => <div> <Header /> <RouletteNumbers /> </div> );
src/components/Home.js
uber-common/vis-academy
import React from 'react' import Footer from 'components/Footer' import Badge from './Badge.js'; import lessons from 'mdRoutes' function Home() { return ( <div className="Home f fcol fg"> <div className="title"> <img src="images/vis-logo.png" alt="vis-logo" /> <h1>Vis Academy</h1> ...
src/shared/components/Products/Details/DetailsDesc.js
Grace951/ReactAU
import React from 'react'; import { SpecTbl } from './Spec'; import { SortableTbl } from '../../Shared/SortableTbl'; import {CustomDownloadTd} from '../../Shared/Shared'; import Rating from './Rating'; import Favorite from './Favorite'; const DetailsDesc = (props) => { return ( <div> <h1>{props.data.name...
src/Label.js
apisandipas/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const Label = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'label', bsStyle: 'default' }; }, render() { let classes = this.getBsClassSe...
client.js
freeslugs/isomorphic-hot-loader
/* @flow weak */ "use strict"; var React = require('react'); var routes = require('./routes'); var Router = require('react-router'); var RouteHandler = Router.RouteHandler; // Set a device type based on window width, so that we can write media queries in javascript // by calling if (this.props.deviceType === "mobile...
web/src/client/createRoutes.js
ViliamKopecky/este
import App from './app/app.react'; import Home from './pages/home.react'; import Login from './pages/auth.react'; import Me from './pages/me.react'; import NotFound from './pages/notFound.react'; import React from 'react'; import Todos from './pages/todos.react'; import {IndexRoute, Route} from 'react-router'; export ...
es/components/style/button.js
dearkaran/react-planner
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; }; var _createClass = function () { function defineProperties(ta...
modules/__tests__/Redirect-test.js
stshort/react-router
import expect from 'expect' import React from 'react' import { render, unmountComponentAtNode } from 'react-dom' import createHistory from '../createMemoryHistory' import Redirect from '../Redirect' import Router from '../Router' import Route from '../Route' describe('A <Redirect>', function () { let node beforeE...
components/Form/InputRange/InputRange.js
NGMarmaduke/bloom
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import noop from '../../../utils/noop'; import ReactInputRange from '@appearhere/react-input-range'; import css from './InputRange.css'; export const defaultClassNames = { component: css.input, labelContainer: css.labelContainer, labe...
public/js/13B.js
ritchieanesco/frontendmastersreact
/* Details page */ import React from 'react' import { Link } from 'react-router' const Landing = React.createClass({ render () { return ( <div className='landing'> <h1>My Landing</h1> <input type='text' placeholder='Search' /> <Link to='/search'>or Browse all</Link> </div> ...
sites/all/modules/ckeditor/includes/jqueryUI/jquery-1.4.4.min.js
reasonat/heshbonaim
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/material-ui/4.9.3/esm/Backdrop/Backdrop.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Fade from '../Fade'; export ...
react-components/src/library/components/signup/sideinfo.js
concord-consortium/rigse
import React from 'react' export default class SideInfo extends React.Component { render () { return ( <div> <div className='side-info-header'> Why sign up? <p> It's free and you get access to several key features: </p> <ul> <li>Create...
src/__tests__/ClosedCaptionButton.spec.js
video-react/video-react
import React from 'react'; import { shallow, mount } from 'enzyme'; import ClosedCaptionButton from '../components/control-bar/ClosedCaptionButton'; import MenuButton from '../components/menu/MenuButton'; const playerState = { hasStarted: false, textTracks: [ { kind: 'captions', label: 'English', ...
ajax/libs/ember-data.js/0.0.12/ember-data.js
ErikSchierboom/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...
imports/ui/pages/NewDocument/NewDocument.js
lazygalaxy/lazybat-seed-meteorjs
import React from 'react'; import PropTypes from 'prop-types'; import DocumentEditor from '../../components/DocumentEditor/DocumentEditor'; const NewDocument = ({ history }) => ( <div className="NewDocument"> <h4 className="page-header">New Document</h4> <DocumentEditor history={history} /> </div> ); NewD...
examples/typescript-backbone/node_modules/backbone/backbone.js
kaidokert/todomvc
// Backbone.js 1.2.1 // (c) 2010-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(factory) { // Establish the root object, `window` (`se...
ajax/libs/mediaelement/2.4.0/jquery.js
eduardo-costa/cdnjs
/*! * 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 Licenses. *...
packages/material-ui-icons/src/Favorite.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" /> , 'Favorite');
docs/src/pages/style/icons/FontAwesome.js
Kagami/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { loadCSS } from 'fg-loadcss/src/loadCSS'; import { withStyles } from '@material-ui/core/styles'; import red from '@material-ui/core/colors/red'; import Icon from '@material-ui/core/Icon'; const styles = theme =>...
public_src/bower_components/knockout/dist/knockout.debug.js
MichelML/gen
/*! * Knockout JavaScript library v3.4.0 * (c) Steven Sanderson - http://knockoutjs.com/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ (function(){ var DEBUG=true; (function(undefined){ // (0, eval)('this') is a robust way of getting a reference to the global object // For details,...
src/parser/hunter/marksmanship/modules/spells/PreciseShots.js
fyruna/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS/hunter'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import SpellIcon from 'common/SpellIcon'; import calculateEffectiveDamage from 'parser/core/calculateEffectiveDamage'; import...
src/components/GooglePlaces/GooglePlacesContainer.js
MinisterioPublicoRJ/inLoco-2.0
import React from 'react' import { connect } from 'react-redux' import GooglePlaces from '../GooglePlaces/GooglePlaces' import { addGooglePlacesLatLong } from '../../actions/ToolbarActions' const mapStateToProps = (state, ownProps) => { return { mapProperties: state.mapProperties, } } const mapDispatc...
src/examples/redux/one-file/index.js
vinogradov/spa-starter-kit
import React from 'react'; import ReactDOM from 'react-dom'; import {Provider, connect} from 'react-redux'; import PropTypes from 'prop-types'; import {createStore, applyMiddleware, combineReducers} from 'redux'; import logger from 'redux-logger'; // ACTIONS: const ACTION_1 = 'ACTION_1'; function action1() { retur...
publication/admin/view/javascript/jquery/flot/jquery.min.js
fahrettinaksoy/ist-support-center
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
ajax/libs/analytics.js/1.3.4/analytics.min.js
emmy41124/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
pages/api/toggle-button.js
allanalexandre/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './toggle-button.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;
packages/react-widgets/src/Autocomplete.js
haneev/react-widgets
import cn from 'classnames' import * as PropTypes from 'prop-types' import React from 'react' import { findDOMNode } from 'react-dom' import uncontrollable from 'uncontrollable' import List from './List' import Popup from './Popup' import Input from './Input' import Select from './Select' import Widget from './Widget'...
src/containers/tests/header.spec.js
bunto/bunto-admin
import React from 'react'; import { mount } from 'enzyme'; import { Header } from '../Header'; import { config } from './fixtures'; const defaultProps = { config: config.content }; function setup(props = defaultProps) { const component = mount( <Header {...props} /> ); return { component: component, ...
ajax/libs/video.js/4.10.2/video.dev.js
luhad/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
ajax/libs/F2/1.3.1/f2.no-easyXDM.js
pzp1997/cdnjs
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
src/client/src/routes/Feedback/components/FeedbackView.js
aquibm/Research-Engine
import React from 'react' //import DuckImage from '../assets/Duck.jpg' import './FeedbackView.scss' export const FeedbackView = () => ( <div className="container-fluid"> <div className="row"> <div className="col-md-8"> <div className="card"> <div className="h...
Study/Udemy Docker and Kubernetes/Section09/deployment-09-finished/frontend/src/components/goals/CourseGoals.js
tarsoqueiroz/Docker
import React from 'react'; import './CourseGoals.css'; import Card from '../UI/Card'; import GoalItem from './GoalItem'; function CourseGoals(props) { const hasNoGoals = !props.goals || props.goals.length === 0; return ( <section id='course-goals'> <Card> <h2>Your Goals</h2> {hasNoGoals...
ajax/libs/preact/5.7.0/preact.min.js
seogi1004/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.preact=e.preact||{})}(this,function(e){function t(e,t,n){this.nodeName=e,this.attributes=t,this.children=n,this.key=t&&t.key}function n(e,t){if(t)for(var n in t)void 0!==t[n]&&(...
src/sections/HomePage/HomePage.js
thinkingboxmedia/static-web-starter-kit
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { getStatus } from 'src/api/github'; import styles from './HomePage.css'; /** * HomePage section */ export default class HomePage extends Component { constructor(props) { super(props); this.state = { items: [...
src/components/about.js
scruffian/javascripture-webpack
import React from 'react'; export default function About() { return ( <div>About this</div> ); }
packages/veritone-widgets/src/widgets/UserProfile/index.js
veritone/veritone-sdk
import React from 'react'; import { connect } from 'react-redux'; import { startCase, noop, isEmpty, get } from 'lodash'; import { string, func, bool, shape, any } from 'prop-types'; import { withProps, branch, renderNothing } from 'recompose'; import { reduxForm, Form, reset as resetForm, submit as submitForm,...
packages/material-ui-icons/src/DirectionsBikeTwoTone.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="M15.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5 22c2.8 0 5-2.2 5-5s-2.2-5-5-5-5 2.2-5 5 2.2 5 5 5zm0-8.5c1.9 0 3.5 1.6 3.5 3.5S6.9 20.5 ...
src/Parser/DemonHunter/Havoc/CONFIG.js
hasseboulen/WoWAnalyzer
import React from 'react'; import { Mamtooth, Hewhosmites } from 'CONTRIBUTORS'; import SPECS from 'common/SPECS'; import Wrapper from 'common/Wrapper'; import Warning from 'common/Alert/Warning'; import CombatLogParser from './CombatLogParser'; import CHANGELOG from './CHANGELOG'; export default { // The people t...
packages/components/src/VirtualizedList/CellBoolean/BooleanColumn.component.js
Talend/ui
import React from 'react'; import { defaultColumnConfiguration } from '../Content.component'; import CellBoolean, { DISPLAY_MODE } from './CellBoolean.component'; export const cellType = 'texticon'; export const booleanColumnConfiguration = { cellRenderer: props => <CellBoolean {...props} />, }; // this is a fake co...
tests/react/useLayoutEffect_hook.js
AgentME/flow
// @flow import React from 'react'; { React.useLayoutEffect(); // Error: function requires another argument. } { // Ok variants without cleanup functions React.useLayoutEffect(() => {}); React.useLayoutEffect(() => {}, []); React.useLayoutEffect(() => {}, [1, 2, 3]); // Ok variants with cleanup function...
react-ui/src/app/layouts/default/index.js
jendigital/deezer-data-grid
import React, { Component } from 'react'; import Menu from '../components/commun/menu'; import Footer from '../components/commun/footer'; import './index.css' class MainLayout extends Component { render() { return ( <div id="layout"> <Menu navigation={this.props} /> ...
ajax/libs/angular.js/0.9.1/angular-scenario.min.js
jdanyow/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/jquery/1.4.0/jquery.min.js
drewfreyling/cdnjs
/*! * jQuery JavaScript Library v1.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://docs.jquery.com/License * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL License...
src/ui/keypad.js
Khan/algebra-tool
import React, { Component } from 'react'; import Button from './button'; import store from './../store'; class Keypad extends Component { static defaultProps = { onNumber() {}, onOperation() {}, }; componentDidMount() { document.addEventListener('keypress', this.handleKeyPress); ...
ajax/libs/forerunnerdb/1.3.820/fdb-core+views.js
BenjaminVanRyseghem/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/app.js
GuiaLa/guiala-web-app
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; // Load the favicon, the manifest.json file and the .htaccess file import 'file?name=[name].[ext]!./favicon.ico'; import 'file?name=[name].[ex...
src/js/components/DailyDonut.js
peterbsmith2/pillars_react
import React from 'react' const DailyDonut = () => <div>Daily Donut</div> export default DailyDonut
src/components/About.js
nchathu2014/reactApp
import React from 'react'; export default class About extends React.Component{ render(){ return( <h1>About Page</h1> ); } }
packages/fyndiq-component-input/src/input.js
fyndiq/fyndiq-ui
import React from 'react' import PropTypes from 'prop-types' import debounce from 'lodash.debounce' import styles from '../input.css' class Input extends React.Component { static propTypes = { className: PropTypes.string, onChange: PropTypes.func, debouncedOnChange: PropTypes.func, disabled: PropTyp...
app/components/Github/UserProfile.js
jchappypig/react-note-taker
import React from 'react'; const UserProfile = ({bio}) => ( <div> <h3> User Profile </h3> <ul className="list-group"> {!!bio.avatar_url && <li className="list-group-item"><img src={bio.avatar_url} className="img-rounded img-responsive"/></li>} {!!bio.name && <li className="list-group-item">...
src/svg-icons/device/signal-cellular-connected-no-internet-2-bar.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularConnectedNoInternet2Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M22 8V2L2 22h16V8z"/><path d="M14 22V10L2 22h12zm6-12v8h2v-8h-2zm0 12h2v-2h-2v2z"/> </SvgIcon> ); Devi...
src/svg-icons/action/exit-to-app.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionExitToApp = (props) => ( <SvgIcon {...props}> <path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c...
ajax/libs/inferno-mobx/4.0.6/inferno-mobx.js
jonobr1/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx'), require('inferno'), require('hoist-non-inferno-statics')) : typeof define === 'function' && define.amd ? define(['exports', 'mobx', 'inferno', 'hoist-non-inferno-statics'], factory) : ...
ajax/libs/yui/3.15.0/datatable-body/datatable-body-coverage.js
SeanPlusPlus/cdnjs
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-body/datatable-body.js']) { __coverage__['build/datatable-body/datatable-...
src/components/PreviousMeetupsList.js
sjalgeo/mancreact-client
import React from 'react'; import { Link } from 'react-router-dom'; import { groupBy } from 'lodash'; import moment from 'moment'; const PreviousMeetupsList = ({ events }) => { const eventsByYear = groupBy(events, event => moment(event.time).format('YYYY')); const sortedYears = Object.keys(eventsByYear).sort()...
test/ThumbnailSpec.js
brynjagr/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Thumbnail from '../src/Thumbnail'; describe('Thumbnail', function () { it('Should have a thumbnail class and be an anchor', function () { let instance = ReactTestUtils.renderIntoDocument( <Thumbnail href="#" src="#" al...
frontend/src/Calendar/Options/CalendarOptionsModal.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import Modal from 'Components/Modal/Modal'; import CalendarOptionsModalContentConnector from './CalendarOptionsModalContentConnector'; function CalendarOptionsModal(props) { const { isOpen, onModalClose } = props; return ( <Modal i...
packages/cf-component-tabs/example/basic/component.js
jroyal/cf-ui
import React from 'react'; import { Tabs, TabsItemUnstyled, TabsItemTheme, TabsPanel } from 'cf-component-tabs'; import { applyTheme } from 'cf-style-container'; const Tab = applyTheme(TabsItemUnstyled, TabsItemTheme, () => ({ background: '#FFFFF0' })); class TabsComponent extends React.Component { constr...
src/components/utilities/icons/GithubIcon.js
jackson-/colorforcode
import React from 'react' import './IconBar.css' const Github = () => ( <svg className='github' width='32px' height='32px' x='0px' y='0px' viewBox='17.697 25.637 44 44' enableBackground='new 17.697 25.637 44 44' > <g> <path d='M21.709,39.438c-0.568-5.117,0.457-6.378,2.006-8.573c-0.598-1.4...
src/components/EventItems/EventItems.js
griffsauce/SportsStats
import React from 'react' type Props = { }; export class EventItems extends React.Component { props: Props; render () { let item=this.props.item return ( <li> {item.type} <br/> {item.team}<br/> {item.position}<br/> Score: Home {item.score.home} - {item.score.away} Away </li>...
webpack.config.js
SotolitoLabs/cockpit
/* -------------------------------------------------------------------- * Fill in module info here. */ var info = { entries: { "apps/apps": [ "apps/index.jsx" ], "dashboard/dashboard": [ "dashboard/list.js", ], "docker/docker": [ "dock...
client/src/App.js
tiagofabre/koa2-react
import React, { Component } from 'react'; import './App.css'; class App extends Component { constructor () { super(); // state this.state = {requestState: []}; // binds this.makeRequest = this.makeRequest.bind(this); this.assignState = this.assignState.bind(this); } componentDidMount ...
src/svg-icons/hardware/keyboard-hide.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardHide = (props) => ( <SvgIcon {...props}> <path d="M20 3H4c-1.1 0-1.99.9-1.99 2L2 15c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 3h2v2h-2V6zm0 3h2v2h-2V9zM8 6h2v2H8V6zm0 3h2v2H8V9zm-1 2H...
src/containers/HomeScreen.js
atixlabs/atm-mobileapp
import React from 'react'; import { Text, View, StyleSheet, TextInput, AsyncStorage, Image, TouchableNativeFeedback, } from 'react-native'; import { Container, Content, Spinner } from 'native-base'; import ScrollableTabView, { DefaultTabBar } from 'react-native-scrollable-tab-view'; import OneSignal from ...
client/app/scripts/components/networks-selector.js
kinvolk/scope
import React from 'react'; import { connect } from 'react-redux'; import classNames from 'classnames'; import { selectNetwork, showNetworks } from '../actions/app-actions'; import { availableNetworksSelector } from '../selectors/node-networks'; import NetworkSelectorItem from './network-selector-item'; class NetworkS...
ajax/libs/js-data/1.6.1/js-data.js
jasonpang/cdnjs
/*! * js-data * @version 1.6.1 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModul...
examples/auth-with-shared-root/components/PageOne.js
shunitoh/react-router
import React from 'react' const PageOne = React.createClass({ render() { return <h2>Page One!</h2> } }) module.exports = PageOne
lib/components.js
CBIConsulting/tcomb-form
'use strict'; exports.__esModule = true; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writab...
app/javascript/mastodon/features/lists/index.js
glitch-soc/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 Column from '../ui/components/column'; import ColumnBackButtonSlim from '../../compo...
ajax/libs/react-dom/16.0.0-beta.3/cjs/react-dom-unstable-native-dependencies.production.min.js
froala/cdnjs
"use strict";function e(e){for(var t=arguments.length-1,r="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);r+=" for the full message or use the non-minified dev environment for full errors and additiona...
Examples/UIExplorer/AnimatedGratuitousApp/AnExTilt.js
jasonals/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/components/search/SearchWarning.js
guilhermehn/manga-reader
import React, { PropTypes } from 'react' import Warning from '../Warning' import SearchAPI from '../../apis/SearchAPI' function proceed(term) { SearchAPI.search(term) SearchAPI.hideSearchWarning() } function cancel() { SearchAPI.hideSearchWarning() } const SearchWarning = ({ term }) => ( <Warning title='...
actor-apps/app-web/src/app/components/sidebar/ContactsSectionItem.react.js
alessandrostone/actor-platform
import React from 'react'; import { PureRenderMixin } from 'react/addons'; import DialogActionCreators from 'actions/DialogActionCreators'; import AvatarItem from 'components/common/AvatarItem.react'; const ContactsSectionItem = React.createClass({ propTypes: { contact: React.PropTypes.object }, mixins: [...
src/index.js
dreamware-io/react-phone-input
// TODO - fix the onlyContries props. Currently expects that as an array of country object, but users should be able to send in array of country isos import { trim, startsWith } from './utils.js'; import _ from 'underscore'; import React from 'react'; import countryData from './country_data.js'; import classNames from...
src/pages/plus.js
getinsomnia/insomnia.rest
import React from 'react'; import mainSrc from '../assets/screens/main.png'; import Helmet from 'react-helmet'; import Link from '../components/link'; import Companies from '../partials/companies'; export default () => ( <React.Fragment> <Helmet> <body data-template="skinny" data-navbar="floating" /> <...
index.android.js
thomaswright/bayst
import React from 'react'; import { AppRegistry } from 'react-native'; import { Examples } from './source' AppRegistry.registerComponent('bayst', () => Examples);
ajax/libs/vis/0.7.4/vis.js
kirbyfan64/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 0.7.4 * @date 2014-04-18 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
packages/material-ui-icons/src/SwitchCameraSharp.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="M22 4h-5.17L15 2H9L7.17 4H2v16h20V4zm-7 11.5V13H9v2.5L5.5 12 9 8.5V11h6V8.5l3.5 3.5-3.5 3.5z" /></g></React.Fragment> , 'SwitchCameraSharp');...
examples/forms-material-ui/src/components/dialogs-destroy-overlay/Layout.js
lore/lore-forms
import React from 'react'; import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; import CodeExample from '../_common/CodeExample'; import Hook from './Hook'; import hookCode from '!raw-loader!./Hook'; export default lore.connect(function(getState, props) { const { tweetId } = props.p...
client/components/Dialog/UserVerifyDialog.js
jkettmann/universal-react-relay-starter-kit
import { connect } from 'react-redux' import UserVerifyBox from '../UserVerifyBox' import { openLoginDialog, } from './actions' const mapStateToProps = state => ({ email: state.dialog.options && state.dialog.options.email, }) const mapDispatchToProps = dispatch => ({ onVerifySuccess: email => dispatch(openLogi...
frontend/app/components/ui/loading-bar.js
LINKIWI/linkr
/* global setTimeout, clearTimeout */ import React from 'react'; export const POSITION_LEFT = 0; export const POSITION_RIGHT = 100; export const BOUNCE_INTERVAL = 1200; /** * Describes a globally-positioned loading bar animation. */ export default class LoadingBar extends React.Component { static propTypes = { ...
src/renderer/js/Exercise/Infos.js
florianorpeliere/KFE
'use strict'; import React from 'react'; import Test from './Infos/Test'; import { Link } from 'react-router'; let Infos = React.createClass({ render: function () { let infos = this.props.infos; let tests = infos.tests.map(function (test) { return <Test test={test} /> }); return ( <div...
packages/material-ui-icons/src/SimCard.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M19.99 4c0-1.1-.89-2-1.99-2h-8L4 8v12c0 1.1.9 2 2 2h12.01c1.1 0 1.99-.9 1.99-2l-.01-16zM9 19H7v-2h2v2zm8 0h-2v-2h2v2zm-8-4H7v-4h2v4zm4 4h-2v-4h2v4zm0-6h-2v-2h2v2zm4 2h-2v-4h2v4z" /><pa...
src/svg-icons/editor/vertical-align-center.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorVerticalAlignCenter = (props) => ( <SvgIcon {...props}> <path d="M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"/> </SvgIcon> ); EditorVerticalAlignCenter = pure(EditorVerticalAlig...
ajax/libs/preact/5.7.0/preact.js
honestree/cdnjs
!function(global, factory) { 'object' == typeof exports && 'undefined' != typeof module ? factory(exports) : 'function' == typeof define && define.amd ? define([ 'exports' ], factory) : factory(global.preact = global.preact || {}); }(this, function(exports) { function VNode(nodeName, attributes, children) { ...
node_modules/react-icons/lib/fa/columns.js
bengimbel/Solstice-React-Contacts-Project
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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]; } }...
src/Grid.js
jsummer/react-ui
'use strict' import React from 'react' import classnames from 'classnames' import getGrid from './higherorder/grid' @getGrid export default class Grid extends React.Component { static displayName = 'Grid' static propTypes = { children: React.PropTypes.any, className: React.PropTypes.string, style: Re...