path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/parser/warrior/arms/CHANGELOG.js
sMteX/WoWAnalyzer
import React from 'react'; import { Aelexe, Zerotorescue, Sharrq, Matardarix, Korebian } from 'CONTRIBUTORS'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; export default [ { date: new Date('2019-02-03'), changes: <>Added a suggestion to not use <SpellLink id={SPELLS.SWEEPING_...
ajax/libs/jquery-mobile/1.3.2/jquery.mobile.js
stephenmathieson/cdnjs
/*! * jQuery Mobile 1.3.2 * Git HEAD hash: 528cf0e96940644ea644096bfeb913ed920ffaef <> Date: Fri Jul 19 2013 22:17:57 UTC * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ...
app/javascript/flavours/glitch/features/ui/components/mute_modal.js
im-in-space/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Toggle from 'react-toggle'; import Button from 'flavours/glitch/components/button'; import { closeModal } from 'flavours/glitch/actions/...
apps/app/src/containers/User.js
argos-ci/argos
import React from 'react' import gql from 'graphql-tag' import { useAuthToken, useLogout } from './Auth' import { useQuery } from './Apollo' const UserContext = React.createContext() const UserQuery = gql` query User { user { id email name login privateSync latestSynchronizat...
blueocean-material-icons/src/js/components/svg-icons/editor/border-outer.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const EditorBorderOuter = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v2h2V7zm0 4h-2v2h2v-2zm4 0h-2v2h2v-2zM3 3v18h18V3H3zm16 16H5V5h14v14zm-6-4h-2v2h2v-2zm-4-4H7v2h2v-2z"/> </SvgIcon> ); EditorBorderOuter.displayName = 'EditorBorderOuter';...
app/components/shared/data.js
nypl-registry/browse
import React from 'react' const Data = React.createClass({ componentDidMount () { setInterval(function () { this.render() }.bind(this), 1000) }, componentWillUpdate () { return true }, toggleApiList (event) { this.refs.databox.style.height = '100px' this.refs.databox.style.overflowY = 'scrol...
ajax/libs/remoteStorage/0.13.0/remotestorage-nocache.js
honestree/cdnjs
/** remotestorage.js 0.13.0, http://remotestorage.io, MIT-licensed **/ /** FILE: lib/bluebird.js **/ /** * bluebird build version 2.3.4 * Features enabled: core, nodeify * Features disabled: race, call_get, generators, map, promisify, props, reduce, settle, some, progress, cancel, using, filter, any, each, timers *...
ajax/libs/react-router-bootstrap/0.21.0/ReactRouterBootstrap.js
holtkamp/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["ReactRouterBootstra...
src/svg-icons/action/account-balance-wallet.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAccountBalanceWallet = (props) => ( <SvgIcon {...props}> <path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-...
ajax/libs/backbone.radio/0.4.1/backbone.radio.min.js
menuka94/cdnjs
// Backbone.Radio v0.4.0 !function(a,b){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(a,c){return b(a,c)});else if("undefined"!=typeof exports){var c=require("backbone"),d=require("underscore");module.exports=b(c,d)}else b(a.Backbone,a._)}(this,function(a,b){"use strict";function c...
app/containers/Upload/index.js
mhoffman/CatAppBrowser
/* * * Upload * */ import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; import Script from 'react-load-script'; import { connect } from 'react-redux'; import FileDrop from 'react-file-drop'; import GeometryCanvasWithOptions from 'components/GeometryCanvasWithOptions'; import { wit...
ajax/libs/yui/3.14.1/datatable-body/datatable-body-coverage.js
stefanocudini/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-body/datatable-body.js']) { __coverage__['build/datatable-body/datatable-body.js'] = {"path":"build/datatable-body/datatable-body.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13"...
node_modules/react-bootstrap/es/Popover.js
ProjectSunday/rooibus
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/todo/todo.js
corgisamurai/spary_react
import React from 'react' import { Component } from 'react' import TodoInput from './input' import TodoList from './list' class Todo extends Component { constructor(props) { super(props); this.state = {todos: this.props.initialTodos}; } onAddToDo(newTodo){ this.setState({ todos : this.state.todos.concat([{...
src/svg-icons/maps/tram.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsTram = (props) => ( <SvgIcon {...props}> <path d="M19 16.94V8.5c0-2.79-2.61-3.4-6.01-3.49l.76-1.51H17V2H7v1.5h4.75l-.76 1.52C7.86 5.11 5 5.73 5 8.5v8.44c0 1.45 1.19 2.66 2.59 2.97L6 21.5v.5h2.23l2-2H14l2 2h...
actor-apps/app-web/src/app/index.js
liruqi/actor-platform
import polyfills from 'utils/polyfills'; // eslint-disable-line import RouterContainer from 'utils/RouterContainer'; import crosstab from 'crosstab'; import React from 'react'; import Router from 'react-router'; import Raven from 'utils/Raven'; // eslint-disable-line import isMobile from 'utils/IsMobile'; import Reac...
packages/theme-patternfly-org/components/gdprBanner/gdprBanner.js
patternfly/patternfly-org
import React from 'react'; import { Button } from '@patternfly/react-core'; import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon'; import './gdprBanner.css'; export const GdprBanner = () => { const initialBannerOpen = typeof window !== 'undefined' && window.localStorage && !localStorage.getItem('...
2017-03-07/webpack.config.js
KamilSzot/365_programs
var webpack = require('webpack'); var CopyWebpackPlugin = require('copy-webpack-plugin'); var path = require('path'); module.exports = { entry: [ './src/app.tsx', ], // Output the bundled JS to dist/app.js output: { filename: 'app.js', path: path.resolve(__dirname, 'dist') }, modu...
ajax/libs/jquery/1.11.0-rc1/jquery.js
mitsuruog/cdnjs
/*! * jQuery JavaScript Library v1.11.0-rc1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-01-16T20:28Z */ (function( global, factory ) { ...
src/components/common/Input.js
brianyamasaki/rideshare
import React from 'react'; import { TextInput, View, Text } from 'react-native'; const Input = ({ label, value, onChangeText, placeholder, secureTextEntry }) => { const { inputStyle, labelStyle, containerStyle } = styles; return ( <View style={containerStyle}> <Text style={labelStyle}> {label} ...
ajax/libs/bootswatch/2.0.1/js/jquery.js
bootcdn/cdnjs
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function( window, undefined ) { // Use the correct document accordingly with window argument (sandbox) var document = window.document, navigator = window.navigator, location = window.location; var jQuery = (function() { // Define a local copy of jQuery var jQuer...
tests/client/helpers.js
jasonthomas/addons-frontend
import base64url from 'base64url'; import { sprintf } from 'jed'; import moment from 'moment'; import React from 'react'; import { createRenderer } from 'react-addons-test-utils'; import { EXTENSION_TYPE } from 'core/constants'; import { ngettext } from 'core/utils'; /* * Return a fake authentication token (a JWT) t...
ProDevForIOS/React-Native-0.21-stable/Examples/UIExplorer/AnimatedGratuitousApp/AnExSet.js
ymcao/TopNewsIOS
/** * 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, ...
packages/material-ui-icons/src/MobileOff.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M2.76 2.49L1.49 3.76 5 7.27V21c0 1.1.9 2 2 2h10c1.02 0 1.85-.77 1.98-1.75l1.72 1.72 1.27-1.27L2.76 2.49zM7 19V9.27L16.73 19H7zM17 5v9.17l2 2V3c0-1.1-.9-2-2-2H7c-.85 0-1.58.54-1.87 1.3L...
src/svg-icons/action/power-settings-new.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPowerSettingsNew = (props) => ( <SvgIcon {...props}> <path d="M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 ...
src/user/userForm.js
codyloyd/teamup
import React from 'react' import {Field, reduxForm} from 'redux-form' const UserForm = props => { const {handleSubmit} = props return ( <form onSubmit={handleSubmit}> <div> <label>First Name</label> <div> <Field name="firstName" component="input" ...
ajax/libs/algoliasearch/3.19.2/algoliasearchLite.js
sufuf3/cdnjs
/*! algoliasearch 3.19.2 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof g...
webpack/scenes/RedHatRepositories/components/SearchBar.js
adamruzicka/katello
/* eslint-disable import/no-extraneous-dependencies */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { Form, FormGroup } from 'react-bootstrap'; import { translate as __ } from 'foremanReact/common/I18n'; import { selectOrganizationProducts...
frontend/app/js/components/settings/user/edit.js
serverboards/serverboards
import React from 'react' import Modal from 'app/components/modal' import store from 'app/utils/store' import i18n from 'app/utils/i18n' import PropTypes from 'prop-types' import {has_perm} from 'app/utils/perms' class EditUser extends React.Component{ handleEditUser(ev){ ev.preventDefault() const props=this...
theme/src/components/checkoutForm/paymentForm/LiqPay.js
cezerin/cezerin
import React from 'react'; let scriptAdded = false; export default class PayPalButton extends React.Component { constructor(props) { super(props); } addScript = () => { if (scriptAdded) { this.executeScript(); return; } const SCRIPT_URL = 'https://static.liqpay.ua/libjs/checkout.js'; const contain...
src/assets/icons/camera.js
HackArdennes2017/Project06
import React from 'react' export default props => <svg viewBox="0 0 100 125" {...props}> <path fill="#fff" d="M38 14c-.517.01-.729.273-.875.469L30.406 26H16c-5.523 0-10 4.478-10 10v40c0 5.523 4.477 10 10 10h68c5.523 0 10-4.477 10-10V36c0-5.522-4.477-10-10-10H69.594L62.875 14.47A1.02 1.02 0 0 0 62 14H...
src/svg-icons/action/visibility.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionVisibility = (props) => ( <SvgIcon {...props}> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-...
src/parser/monk/windwalker/CONFIG.js
FaideWW/WoWAnalyzer
import React from 'react'; import { Juko8 } from 'CONTRIBUTORS'; import retryingPromise from 'common/retryingPromise'; import SPECS from 'game/SPECS'; import CHANGELOG from './CHANGELOG'; export default { // The people that have contributed to this spec recently. People don't have to sign up to be long-time mainta...
ajax/libs/yasqe/2.3.7/yasqe.bundled.min.js
danut007ro/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.YASQE=e()}}(function(){var e;return function t(e,i,r)...
ajax/libs/forerunnerdb/1.3.40/fdb-core+persist.min.js
boneskull/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
tests/components/Dropdown.spec.js
dingchaoyan1983/ReactRedux
import React from 'react' import Dropdown from 'components/Dropdown/Dropdown' describe('(Component) Dropdown', () => { it('should exist', () => { }) })
ajax/libs/react/0.11.2/react-with-addons.js
viskin/cdnjs
/** * React (with addons) v0.11.2 */ !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.React=e()}}(fu...
src/components/todo/TodoForm.js
RafaelDelboni/todo-react-redux
import React from 'react'; const TodoForm = ({todo, error, onKeyPress, onChange, onSave}) => { return ( <div className="input-field"> <input className="add-todo" type="text" name="description" label="Todo" placeholder="Add new todo..." value={todo.des...
src/components/Feedback/Feedback.js
como-quesito/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import styles from './Feedback.css'; import withStyles from '../../decorators/withStyles'; @withStyles(styles) class Feedback extends Component { render() { return ( <div className="Feedback...
node_modules/enzyme/src/ShallowWrapper.js
PanJ/SimplerCityGlide
import React from 'react'; import ComplexSelector from './ComplexSelector'; import flatten from 'lodash/flatten'; import unique from 'lodash/uniq'; import compact from 'lodash/compact'; import cheerio from 'cheerio'; import { nodeEqual, containsChildrenSubArray, propFromEvent, withSetStateAllowed, propsOfNode...
ajax/libs/analytics.js/2.3.21/analytics.min.js
pvnr0082t/cdnjs
(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n...
source-frontend/src/Home.js
Everstar/MusicRadio
/** * Created by tsengkasing on 12/8/2016. */ import React from 'react'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import {Card, CardHeader,} from 'material-ui/Card'; import { hashHistory } from 'react-router' import LinearProgress from 'material-ui/LinearProgress' impo...
example/examples/PublicMethodsExample.react.js
Neophy7e/react-bootstrap-typeahead
import React from 'react'; import {Button, ButtonToolbar} from 'react-bootstrap'; import {Typeahead} from '../../src/'; import options from '../../example/exampleData'; /* example-start */ const PublicMethodsExample = React.createClass({ render() { return ( <div> <Typeahead labelKey="nam...
app/javascript/mastodon/features/ui/components/upload_area.js
anon5r/mastonon
import React from 'react'; import PropTypes from 'prop-types'; import Motion from '../../ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import { FormattedMessage } from 'react-intl'; export default class UploadArea extends React.PureComponent { static propTypes = { active: PropTypes.boo...
app/containers/LanguageProvider/index.js
carney520/lg-react-boilerplate
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
packages/material-ui-icons/src/HomeOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> , 'HomeOutlined');
src/component/game.js
heroinedor/tictactoe
import React from 'react'; import ReactDOM from 'react-dom'; import Board from './board' import calculateWinner from '../util/func' export default class Game extends React.Component { constructor(){ super(); this.state = { history: [{ squares: Array(9).fill(null) ...
src/sharedTypes.js
RafalFilipek/just-box
// @flow import React from 'react'; import { type UnitElement } from './unit'; export type MixedType = string | number | UnitElement; export type RenderFunc = () => React.Element<*>;
spec/javascripts/jsx/gradebook/default_gradebook/components/GradebookMenuSpec.js
djbender/canvas-lms
/* * Copyright (C) 2017 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
ajax/libs/yui/3.10.2/simpleyui/simpleyui-debug.js
the-destro/cdnjs
/** The YUI module contains the components required for building the YUI seed file. This includes the script loading mechanism, a simple queue, and the core utilities for the library. @module yui @main yui @submodule yui-base **/ /*jshint eqeqeq: false*/ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The...
src/svg-icons/editor/publish.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorPublish = (props) => ( <SvgIcon {...props}> <path d="M5 4v2h14V4H5zm0 10h4v6h6v-6h4l-7-7-7 7z"/> </SvgIcon> ); EditorPublish = pure(EditorPublish); EditorPublish.displayName = 'EditorPublish'; EditorPub...
ajax/libs/clappr/0.0.79/clappr.js
callumacrae/cdnjs
require=(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)...
src/svg-icons/image/exposure-plus-2.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageExposurePlus2 = (props) => ( <SvgIcon {...props}> <path d="M16.05 16.29l2.86-3.07c.38-.39.72-.79 1.04-1.18.32-.39.59-.78.82-1.17.23-.39.41-.78.54-1.17.13-.39.19-.79.19-1.18 0-.53-.09-1.02-.27-1.46-.18-.44-...
src/main/app/src/components/Layout/Layout.js
mbrossard/cryptonit-cloud
import React from 'react'; import PropTypes from 'prop-types' import _ from 'underscore'; class Layout extends React.Component { static propTypes = { children: PropTypes.node.isRequired }; render() { const { children, className, ...otherProps } = this.props; return ( <...
ajax/libs/react-virtualized/7.18.0/react-virtualized.min.js
dlueth/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("React.addons.shallowCompare"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","React.addons.shallowCompare","ReactDOM"],t):"object"==typeof exports?exports.ReactVirtualized=t(require("R...
client/src/components/courses/CourseSave.js
yegor-sytnyk/contoso-express
import React from 'react'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {Modal, Button} from 'react-bootstrap'; import _ from 'lodash'; import helper from '../../helpers/uiHelper'; import * as courseActions from '../../actions/courseActions'; import {departmentSelectListItem} fr...
ajax/libs/analytics.js/2.8.2/analytics.min.js
emmy41124/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[...
node_modules/react-bootstrap/es/ControlLabel.js
okristian1/react-info
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
2/bower_components/bootstrap/js/tests/vendor/jquery.js
Chitrank-Dixit/bootswatch
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
public/js/components/trends/trendbox.react.js
rajikaimal/Coupley
import React from 'react'; import List from 'material-ui/lib/lists/list'; import ListItem from 'material-ui/lib/lists/list-item'; import ActionGrade from 'material-ui/lib/svg-icons/action/grade'; import ActionInfo from 'material-ui/lib/svg-icons/action/info'; import ContentInbox from 'material-ui/lib/svg-icons/content/...
src/svg-icons/action/timeline.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionTimeline = (props) => ( <SvgIcon {...props}> <path d="M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07...
packages/demos/todomvc/src/components/List/index.js
fopsdev/cerebral
import React from 'react' import Todo from '../Todo' import { connect } from '@cerebral/react' import { state, signal } from 'cerebral/tags' import computedIsAllChecked from '../../computed/isAllChecked' import computedTodosUid from '../../computed/visibleTodosUids' export default connect( { editingUid: state`ed...
ajax/libs/styled-components/4.0.0-beta.10/styled-components.browser.cjs.js
sufuf3/cdnjs
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var Stylis = _interopDefault(require('stylis/stylis.min')); var _insertRulePlugin = _interopDefault(require('stylis-rule-shee...
src/routes/dashboardPages/finances/index.js
happyboy171/Feeding-Fish-View-
import React from 'react'; import Finances from './Finances'; export default { path: '/finances', action() { return <Finances />; } };
assets/javascripts/kitten/components/graphics/icons/blockquote-icon/index.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' export const BlockquoteIcon = ({ color, title, ...props }) => ( <svg width="11" height="8" viewBox="0 0 11 8" xmlns="http://www.w3.org/2000/svg" {...props} > {title && <title>{title}</title>} <path d="M.794 8c1.188 0 2.1...
src/renderers/dom/client/eventPlugins/__tests__/SelectEventPlugin-test.js
mnordick/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...
app/react-icons/fa/location-arrow.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaLocationArrow extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m35.8 7.8l-14.3 28.6q-0.4 0.7-1.3 0.7-0.1 0-0.3 0-0.5-0.1-0.8-0.5t-0.3...
client/react/src/js/components/static-header.js
ChrisBauer/cb.io
import React from 'react'; import {Injector} from 'js-di'; import swapPageC from './swap-page'; import progressTrackerC from './progress-tracker'; const SwapPage = Injector.invoke(swapPageC); const ProgressTracker = Injector.invoke(progressTrackerC); export default function StaticHeader () { return React.createC...
editor/src/CodeMirrorDemo.js
alcat2008/web-demo
import React from 'react'; import CodeMirror from 'react-codemirror'; import 'codemirror/lib/codemirror.css'; import 'codemirror/mode/jsx/jsx'; class CodeMirrorDemo extends React.Component { constructor(props) { super(props); // initial state this.state = { code: '// Code \n' + 'import Re...
ajax/libs/ember-data.js/1.0.0-beta.19.1/ember-data.prod.js
shelsonjava/cdnjs
(function() { "use strict"; var ember$data$lib$system$model$errors$invalid$$create = Ember.create; var ember$data$lib$system$model$errors$invalid$$EmberError = Ember.Error; /** A `DS.InvalidError` is used by an adapter to signal the external API was unable to process a request because the c...
packages/material-ui-icons/src/AirplayRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M8.41 22h7.17c.89 0 1.34-1.08.71-1.71L12.7 16.7a.9959.9959 0 0 0-1.41 0L7.7 20.29c-.62.63-.18 1.71.71 1.71zM21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h3c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 ...
client/react/Macweb.js
ed1d1a8d/macweb
import React, { Component } from 'react'; import Navbar from './Navbar.js' class Macweb extends Component { render() { //Image map created by jtwright let map = ( <map name="macg"> <area href="/entry/a" shape="poly" coords="285,68,329,92,417,42,417,93,329,144,285,119" alt="Link" data-maphilig...
BackUp FIrebase/IQApp/index.android.js
victorditadi/IQApp
import { AppRegistry } from 'react-native'; import App from './src/app'; AppRegistry.registerComponent('IQApp', () => App); // import React, { Component } from 'react'; // import { // AppRegistry, // Text, // View, // Dimensions, // } from 'react-native'; // import Carousel from 'react-native-looped...
server.js
owennicol/yaiza
if (typeof(window) == 'undefined'){ global.window = new Object(); } var express = require('express') var path = require('path') var compression = require('compression') var Helmet = require('react-helmet') import React from 'react' // we'll use this to render our app to an html string import { renderToString } from...
packages/material-ui-icons/src/SettingsVoice.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm4-14h-1.7c0 3-2.54 5.1-5.3 5.1S6.7 13 6.7 10H5c0 3.4...
public/bower_components/react/JSXTransformer.js
pchinjr/ghostreporter-react
/** * JSXTransformer v0.13.3 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g...
src/index.js
elarssen/reflux-bootstrap-alerts
import React from 'react'; import AlertMessage from './Message'; React.render(<AlertMessage ticks={10}></AlertMessage>, document.body);
django/webcode/webcode/frontend/node_modules/react-bootstrap/es/DropdownMenu.js
OpenKGB/webcode
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _Array$from from 'babel-runtime/core-js/array/from'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtim...
src/svg-icons/editor/vertical-align-center.js
pomerantsev/material-ui
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...
client/src/components/Discussion.js
codefordenver/Circular
import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { Well } from 'react-bootstrap'; import { fetchComments, postComment } from '../redux/actions/comments'; import Comment from './Comment'; import PostBox from './PostBox'; class Discussion extends...
packages/material-ui-icons/src/DepartureBoard.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M16 1c-2.4 0-4.52 1.21-5.78 3.05.01-.01.01-.02.02-.03C9.84 4 9.42 4 9 4c-4.42 0-8 .5-8 4v10c0 .88.39 1.67 1 2.22V22c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h8v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1.78c.61-....
docs/src/app/components/pages/components/FontIcon/ExampleIcons.js
kasra-co/material-ui
import React from 'react'; import FontIcon from 'material-ui/FontIcon'; import {red500, yellow500, blue500} from 'material-ui/styles/colors'; const iconStyles = { marginRight: 24, }; const FontIconExampleIcons = () => ( <div> <FontIcon className="material-icons" style={iconStyles}>home</FontIcon> <FontIco...
node_modules/react-icons/ti/social-tumbler-circular.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiSocialTumblerCircular = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m24 26v-2.1c-0.7 0.5-1.4 0.7-2 0.7-0.3 0-0.6-0.1-1-0.3-0.2-0.1-0.3-0.3-0.4-0.5-0.1-0.2-0.1-0.7-0.1-1.4v-3.3h3v-2.1h-3v-3.2h-1.8c-0.2 0.7-0.3 1.3-0.5 1.6...
ajax/libs/react-contextmenu/2.6.5/react-contextmenu.js
jdh8/cdnjs
!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.ReactContextMenu=t(require("react")):e.ReactContextMenu=t(e.React)}(this,function(e){return function(e){function t(o){if(n[o])ret...
assets/search-view/MessageViewComponent/EmailComponent.js
janta-devs/nyumbani
import React, { Component } from 'react'; var MessageInfo = {}; const Confirmation = () => { return( <div> Message Sent! </div> ) } class Form extends Component{ takeInput( e ){ e.preventDefault(); e.stopPropagation(); MessageInfo['to_id'] = this.refs.employer_id.value.replace(/Emplo...
presto-main/src/main/resources/webapp/vendor/react/react-dom-15.0.1.js
mandusm/presto
/** * ReactDOM v15.0.1 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directo...
packages/material-ui-icons/src/PieChart.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="M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z" /></Re...
src/components/Player.js
jansuchomel/tosine
import React, { Component } from 'react'; import { render } from 'react-dom'; import Button from 'react-bootstrap/lib/Button'; import Glyphicon from 'react-bootstrap/lib/Glyphicon'; export default class Player extends Component { render() { const { track, state, mopidyAction, position } = this.props; ...
src/icons/AndroidWifi.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class AndroidWifi extends React.Component { render() { if(this.props.bare) { return <g> <path d="M256,228.719c-22.879,0-41.597,18.529-41.597,41.18c0,22.652,18.718,41.182,41.597,41.182 c22.878,0,41.597-18.529,41.59...
enterprise-modules/status-bar/dist/status-bar.esm.min.js
ceolter/ag-grid
/** * @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v25.1.0 * @link http://www.ag-grid.com/ ' * @license Commercial */ /** * @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / React / Angu...
client/__tests__/components/User/User.spec.js
amarachukwu-agbo/hello-books
import React from 'react'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import { MemoryRouter } from 'react-router-dom'; import { Provider } from 'react-redux'; import { mount } from 'enzyme'; import User from '../../../components/User/User'; const props = { match: { url: '...
ajax/libs/material-ui/5.0.0-alpha.14/node/Table/Tablelvl2Context.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(require("react")); /** * @ignore - internal component. */ const Tablelvl2Context = /*...
packages/icons/src/md/social/NotificationsNone.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdNotificationsNone(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M24 44c2.21 0 4-1.79 4-4h-8c0 2.21 1.79 4 4 4zm12-12l4 4v2H8v-2l4-4V22c0-6.15 3.27-11.28 9-12.64V8c0-1.66 1.34-3 3-3s3 1.34 3 3v1.36c5.73 1...
tests/routes/Counter/components/Counter.spec.js
raviprajna/AttributesValues
import React from 'react' import { bindActionCreators } from 'redux' import { Counter } from 'routes/Counter/components/Counter' import { shallow } from 'enzyme' describe('(Component) Counter', () => { let _props, _spies, _wrapper beforeEach(() => { _spies = {} _props = { counter : 5, ...bindA...
packages/react/src/components/forms/InputDate/index.js
massgov/mayflower
/** * InputDate module. * @module @massds/mayflower-react/InputDate * @requires module:pikaday/scss/pikaday * @requires module:@massds/mayflower-assets/scss/00-base/pikaday * @requires module:@massds/mayflower-assets/scss/01-atoms/input-date */ import React from 'react'; import PropTypes from 'prop-types'; import...
src/components/Header/Header.js
ynu/res-track-wxe
/** * 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 withStyles from 'isomorp...
modules/Redirect.js
mjw56/react-router
import React from 'react' import invariant from 'invariant' import { createRouteFromReactElement } from './RouteUtils' import { formatPattern } from './PatternUtils' import { falsy } from './PropTypes' var { string, object } = React.PropTypes /** * A <Redirect> is used to declare another URL path a client should be ...
src/frame/rePCUI/tabs/base-tabs/SwipeableInkTabBar.js
gejialun8888/shop-react
import React from 'react'; import createReactClass from 'create-react-class'; import classnames from 'classnames'; import InkTabBarMixin from './InkTabBarMixin'; import SwipeableTabBarMixin from './SwipeableTabBarMixin'; import TabBarMixin from './TabBarMixin'; const SwipeableInkTabBar = createReactClass({ displayNa...
src/parser/warlock/destruction/modules/features/Havoc.js
FaideWW/WoWAnalyzer
import React from 'react'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Enemies from 'parser/shared/modules/Enemies'; import Events from 'parser/core/Events'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatNumber, formatPercentage } from 'commo...
app/context/WalletConnect/WalletConnectContext.js
CityOfZion/neon-wallet
// @flow import React, { useCallback, useContext, useEffect, useState } from 'react' import Client, { CLIENT_EVENTS } from '@walletconnect/client' import { ERROR } from '@walletconnect/utils' import KeyValueStorage from 'keyvaluestorage' import { SessionTypes, AppMetadata } from '@walletconnect/types' import { forma...