path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
node_modules/react-router-dom/node_modules/react-router/es/Redirect.js
millerman86/CouponProject
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call &...
src/svg-icons/action/alarm-add.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAlarmAdd = (props) => ( <SvgIcon {...props}> <path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4....
src/js/views/flows/Flows.js
mmagr/gui
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Link } from 'react-router' import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import AltContainer from 'alt-container'; import FlowStore from '../../stores/FlowStore'; import FlowActions from '../../actions/Flow...
ajax/libs/yasqe/1.1.0/yasqe.min.js
Nadeermalangadan/cdnjs
!function(e){if("object"==typeof exports)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,r,i){function n(s,a){if(!r[s]){if(!...
electron/app/assets/icons.js
midsnow/snowelectric
import React, { Component } from 'react'; export const home = ( <svg width="1792" height="1792" viewBox="0 0 1792 1792"> <path d="M1472 992v480q0 26-19 45t-45 19h-384v-384h-256v384h-384q-26 0-45-19t-19-45v-480q0-1 .5-3t.5-3l575-474 575 474q1 2 1 6zm223-69l-62 74q-8 9-21 11h-3q-13 0-21-7l-692-577-692 577q-1...
examples/build-almond/main-example1.js
Kasheftin/ko-widget
((function() { // jQuery non-global fix if (typeof window.module == typeof undefined) { window.module = { exports: window.document } } /** * @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/...
src/components/SessionPanel/SessionNavigation.js
codaco/Network-Canvas
import React from 'react'; import PropTypes from 'prop-types'; import { Icon } from '@codaco/ui'; import { motion, useInvertedScale } from 'framer-motion'; import { ProgressBar } from '..'; const SessionNavigation = (props) => { const { onClickBack, onClickNext, percentProgress, setExpanded, set...
05/src/layouts/Frame.js
arcthur/react-book-examples
import React from 'react'; import Nav from './Nav'; class Frame extends React.Component { render() { return ( <div className="frame"> <div className="header"> <Nav /> </div> <div className="container"> {this.props.children} </div> </div> ); } ...
packages/react/src/components/atoms/buttons/ButtonCopy/Button.stories.js
massgov/mayflower
import React from 'react'; import { StoryPage } from 'StorybookConfig/preview'; import ButtonCopy from './index'; export default { title: 'atoms/buttons/ButtonCopy', component: ButtonCopy, parameters: { docs: { page: () => <StoryPage /> } } }; export const ButtonCopyExample = (args) => <ButtonC...
examples/query-params/app.js
gdi2290/react-router
import React from 'react'; import HashHistory from 'react-router/lib/HashHistory'; import { Router, Route, Link } from 'react-router'; var User = React.createClass({ render() { var { query } = this.props.location; var age = query && query.showAge ? '33' : ''; var { userID } = this.props.params; retur...
ajax/libs/forerunnerdb/1.3.926/fdb-all.min.js
sajochiu/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...
ajax/libs/react-data-grid/1.0.49/react-data-grid.js
kennynaoh/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
ajax/libs/react/0.12.0-rc1/react-with-addons.js
ekeneijeoma/cdnjs
/** * React (with addons) v0.12.0-rc1 */ !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()}...
src/components/Trades.js
chatch/stellarexplorer
import React from 'react' import Grid from 'react-bootstrap/lib/Grid' import Panel from 'react-bootstrap/lib/Panel' import Row from 'react-bootstrap/lib/Row' import {injectIntl} from 'react-intl' import TradeTable from './TradeTable' import {setTitle} from '../lib/utils' class Trades extends React.Component { render...
src/pages/DataEntry/components/EndStep.js
EehMauro/dyscalculia-web
import React from 'react'; import color from 'color'; import { withStyles } from 'material-ui/styles'; import { RaisedButton } from '../../../components'; import { colors } from '../../../conventions'; import Button from 'material-ui/Button'; import Typography from 'material-ui/Typography'; import CircularProgressbar ...
src/library/pagination/components/PaginationControls.js
zdizzle6717/react-flux-arc
'use strict'; import React from 'react'; import classNames from 'classnames'; export default class PaginationControls extends React.Component { constructor() { super(); this.state = { pages: [], currentPage: 1 } } componentWillReceiveProps(nextProps) { let startPage, endPage, phantomArraySlice; l...
index.ios.js
agrcrobles/react-native-web-webpack-starter
// @flow import React from 'react'; import { AppRegistry } from 'react-native'; import Navigation from './src/navigation'; const renderApp = () => <Navigation />; AppRegistry.registerComponent('ReactNativeWebBoilerplate', () => renderApp);
packages/react-scripts/fixtures/kitchensink/src/features/webpack/SassModulesInclusion.js
mangomint/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import styles from './assets/sass-styles.module.sass'; import indexStyles from './assets/index.module.sass'; ...
src/lib/core/hyperline.js
edoren/hyperline
import React from 'react' import Component from 'hyper/component' import decorate from 'hyper/decorate' class HyperLine extends Component { static propTypes() { return { plugins: React.PropTypes.array.isRequired } } styles() { return { line: { display: 'flex', alignItems:...
Rosa_Madeira/Revendedor/src/components/common/card_produto/CardSection.js
victorditadi/IQApp
import React from 'react'; import { View } from 'react-native'; const CardSection = (props) => { return ( <View style={styles.containerStyle}> {props.children} </View> ); }; const styles = { containerStyle: { borderBottomWidth: 1, padding: 5, backgroundColor: '#b79b7b', justifyCont...
src/TabPane.js
RichardLitt/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import TransitionEvents from './utils/TransitionEvents'; const TabPane = React.createClass({ propTypes: { active: React.PropTypes.bool, animation: React.PropTypes.bool, onAnimateOutEnd: React.PropTypes.func, disabled: ...
tests/layouts/CoreLayout.spec.js
cvetanov/EventsClient
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
src/components/layout/Workspace.js
jung-digital/ringa-example-react
import React from 'react'; import './Workspace.scss'; import AppModel from '../../global/AppModel'; import AppController from '../../global/AppController'; import List from '../listRenderers/List'; import Intro from './Intro'; import classnames from 'classnames'; import {dispatch} from 'ringa'; import {depend, depend...
ajax/libs/material-ui/4.11.3-deprecations.1/es/FormControlLabel/FormControlLabel.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { refType } from '@material-ui/utils'; import { useFormContr...
front/src/components/Header.js
carlox18/proyecto2
import React from 'react'; import { Link, Switch, Route } from 'react-router-dom'; import { Navbar, Nav, NavItem, MenuItem, Dropdown, Glyphicon} from "react-bootstrap"; import "./App.css"; import { slide as Menu } from 'react-burger-menu'; import LoginScreen from "../containers/LoginScreen"; import Clubs from "./Clubs"...
source/client/components/visitor/layout/footer.js
lawshe/boda
import React from 'react'; import Row from 'react-bootstrap/lib/Row'; import Col from 'react-bootstrap/lib/Col'; import wedding from '../../../../../config/wedding.js'; import glob from 'styles/app'; import local from './_styles'; import NavList from './nav-list'; import EucThree from '../../svg/euc-3'; import EucFour ...
web/src/components/statistics.js
frafra/is-osm-uptodate
import React from 'react'; import { maxZoom } from '../constants'; function flyAndOpen(marker, event) { const { map } = marker; map.once('moveend zoomend', (_) => marker.openPopup()); map.flyTo(marker._latlng, maxZoom); } function Statistics({ statistics }) { return ( <table className="table table-stripe...
src/svg-icons/notification/wc.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationWc = (props) => ( <SvgIcon {...props}> <path d="M5.5 22v-7.5H4V9c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5.5H9.5V22h-4zM18 22v-6h3l-2.54-7.63C18.18 7.55 17.42 7 16.56 7h-.12c-.86 0-1.63.55-1.9 1.37L12 16h3v6...
js/jquery-1.11.1.min.js
doughensel/soccerJS
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
app/javascript/mastodon/containers/domain_container.js
glitch-soc/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { blockDomain, unblockDomain } from '../actions/domain_blocks'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Domain from '../components/domain'; import { openModal } from '../actions/modal'; const messages = d...
Examples/UIExplorer/js/AdSupportIOSExample.js
gitim/react-native
/** * Copyright (c) 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 directory. * * The examp...
src/svg-icons/device/screen-rotation.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceScreenRotation = (props) => ( <SvgIcon {...props}> <path d="M16.48 2.52c3.27 1.55 5.61 4.72 5.97 8.48h1.5C23.44 4.84 18.29 0 12 0l-.66.03 3.81 3.81 1.33-1.32zm-6.25-.77c-.59-.59-1.54-.59-2.12 0L1.75 8.11c...
app/javascript/mastodon/features/ui/components/actions_modal.js
pointlessone/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import StatusContent from '../../../components/status_content'; import Avatar from '../../../components/avatar'; import Relative...
src/react.js
vincentfretin/redux
import React from 'react'; import createAll from './components/createAll'; export const { Provider, Connector, provide, connect } = createAll(React);
webpack/global_index.js
snagoor/katello
import React from 'react'; import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill'; import { registerReducer } from 'foremanReact/common/MountingService'; import { translate as __ } from 'foremanReact/common/I18n'; import SystemStatuses from './components/extensions/about'; import RegistrationCo...
src/svg-icons/content/redo.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRedo = (props) => ( <SvgIcon {...props}> <path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/> </Sv...
packages/material-ui-icons/src/EnhancedEncryptionOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10zm-5-9h...
components/AR/ViroARObjectMarker.js
viromedia/viro
/** * Copyright (c) 2018-present, Viro Media, 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. * * @provid...
src/views/components/scaffolding/LearnerStatusEntryForm.js
Domiii/project-empire
import { hrefLearnerStatusList } from 'src/views/href'; import React from 'react'; import PropTypes from 'prop-types'; import { dataBind } from 'dbdi/react'; import Moment from 'react-moment'; import { Alert, Button, Well, Panel } from 'react-bootstrap'; import { LinkContainer } from 'react-router-bootstrap'; im...
docs/js/jquery-1.11.0.min.js
vcampitelli/instagram
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
docs/src/ComponentsPage.js
blue68/react-bootstrap
/* eslint react/no-did-mount-set-state: 0 */ import React from 'react'; import getOffset from 'dom-helpers/query/offset'; import css from 'dom-helpers/style'; import Affix from '../../src/Affix'; import Nav from '../../src/Nav'; import SubNav from '../../src/SubNav'; import NavItem from '../../src/NavItem'; import N...
websocket/client/Client/node_modules/react-native/Libraries/Image/Image.ios.js
prayuditb/tryout-01
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
Libraries/Components/Touchable/TouchableOpacity.js
ptomasroos/react-native
/** * 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...
public/home/address/jquery-1.8.3.min.js
PHPlistener/listener-project
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ !function(e,t){function n(e){var t=he[e]={};return K.each(e.split(te),function(e,n){t[n]=!0}),t}function r(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(me,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"...
modules/field_ui/field_ui.js
Mrmrprofessional/drupal_testing
/** * @file * Attaches the behaviors for the Field UI module. */ (function($) { Drupal.behaviors.fieldUIFieldOverview = { attach: function (context, settings) { $('table#field-overview', context).once('field-overview', function () { Drupal.fieldUIFieldOverview.attachUpdateSelects(this, settings); ...
ajax/libs/react/0.14.0-alpha1/react.min.js
jdh8/cdnjs
/** * React v0.14.0-alpha1 * * 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 direct...
src/svg-icons/editor/title.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorTitle = (props) => ( <SvgIcon {...props}> <path d="M5 4v3h5.5v12h3V7H19V4z"/> </SvgIcon> ); EditorTitle = pure(EditorTitle); EditorTitle.displayName = 'EditorTitle'; EditorTitle.muiName = 'SvgIcon'; ex...
src/forms/output/BenefitsLines.js
codeforboston/cliff-effects
import React, { Component } from 'react'; import { range } from 'lodash'; // HIGHCHARTS import Highcharts from 'highcharts'; import { HighchartsChart, Chart, Title, Legend, Tooltip, XAxis, YAxis, PlotLine, LineSeries, withHighcharts, } from 'react-jsx-highcharts'; // LOGIC import { timescaleMultip...
frontend/src/pages/sys-admin/devices/devices-nav.js
miurahr/seahub
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from '@reach/router'; import { siteRoot, gettext, isPro } from '../../../utils/constants'; const propTypes = { currentItem: PropTypes.string.isRequired }; class Nav extends React.Component { constructor(props) { super(props); ...
app/src/components/Utils/Modal.js
RekkyRek/tic
import '../../assets/css/Utils/Modal.sass'; import React, { Component } from 'react'; class Modal extends React.Component { constructor(props) { super(props); this.state = { } } componentDidUpdate() { } open() { this.refs.modal.className="modal"; } close() { this.refs.modal.clas...
src/plugins/NetworkPlugin/components/Table.js
whinc/xConsole
import React from 'react' import PropTypes from 'prop-types' import './Table.css' export default class Table extends React.Component { static propTyps = { entryies: PropTypes.arrayOf(PropTypes.any), // 点击条目的回调函数 // enrty => void onClickEntry: PropTypes.func } static defaultProps = { entries:...
ajax/libs/forerunnerdb/1.3.476/fdb-core.min.js
emmy41124/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/App.js
TalesM/taskblob
import React from 'react'; import MainView from './ui/MainView'; import SettingsView from './ui/SettingsView'; import ProjectController from './control/ProjectController'; import SettingsController from './control/SettingsController'; import './App.css'; import Project from './model/Project'; class App extends React.C...
ajax/libs/forerunnerdb/1.3.537/fdb-all.js
x112358/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/stories/index.js
LBenzahia/arabicstemmer_frontend
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import { Button, Welcome } from '@storybook/react/demo'; storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('Button...
src/js/mixins/scene-store-watch-mixin.js
Colum-SMA-Dev/MediaPlaybackFramework
var React = require('react'); var SceneStore = require('../stores/scene-store'); var SceneStoreWatchMixin = function(cb) { return { getInitialState:function(){ return cb(); }, componentWillMount:function(){ SceneStore.addChangeListener(this._onChange); }, ...
packages/material-ui-icons/src/MoreVert.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let MoreVert = props => <SvgIcon {...props}> <path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" /> </...
imports/modules/utils.js
dklisiaris/boomabu
import React from 'react'; import { _ } from 'meteor/underscore'; export function renderErrorsFor(errors, ref) { if (!errors) return false; return _.map(errors, (error, key) => { if (key == ref && error) { return ( <div key={key} className="error"> {error} </div> ); }...
src/svg-icons/action/accessibility.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAccessibility = (props) => ( <SvgIcon {...props}> <path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"/> </SvgIcon> ); ActionAccessibility = pure(ActionAccessib...
pages/error/index.js
chabb/portfolio2
import React from 'react'; import history from '../../core/history'; import style from './styles.css'; class ErrorPage extends React.Component { static propTypes = { error: React.PropTypes.object, }; componentDidMount() { document.title = this.props.error && this.props.error.status === 404 ? 'Pa...
packages/material-ui-icons/src/RoundedCornerRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M19 19h2v2h-2v-2zm0-2h2v-2h-2v2zM3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm0-4h2V3H3v2zm4 0h2V3H7v2zm8 16h2v-2h-2v2zm-4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm-8 0h2v-2H7v2zm-4 0h2v-2H3v2zM21 8c0...
src/svg-icons/image/leak-add.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLeakAdd = (props) => ( <SvgIcon {...props}> <path d="M6 3H3v3c1.66 0 3-1.34 3-3zm8 0h-2c0 4.97-4.03 9-9 9v2c6.08 0 11-4.93 11-11zm-4 0H8c0 2.76-2.24 5-5 5v2c3.87 0 7-3.13 7-7zm0 18h2c0-4.97 4.03-9 9-9v-2c-...
app/javascript/mastodon/features/status/index.js
unarist/mastodon
import Immutable from 'immutable'; import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchStatus } from '../../actions/statuses'; import MissingIndicator from '.....
node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/app.js
geranyl/storygen
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD * Build: http://www.modernizr.com/download/#-iepp */ ;window.Modernizr=function(a,b,c){function w(a,b){return!!~(""+a).indexOf(b)}function v(a,b){return typeof a===b}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function t(a){j.cssText=a}var d="2.0.6",e={},f=b.do...
stories/example.swapi.stories.js
xurei/react-loader-component
/* eslint-disable */ import React from 'react'; import { storiesOf } from '@storybook/react'; import ReactLoader from '../src/react-loader'; import promsleep from 'promsleep'; storiesOf('ReactLoader - Example SWAPI') .add('Full example with interface', () => { class Main extends React.Component { constructor(props...
assets/javascripts/components/list_manager/ListManager.js
walshyb/DoTab
import React, { Component } from 'react'; import CategoryList from '../category_list/CategoryList'; import AddTaskBar from '../add_task_bar/AddTaskBar'; import { connect } from 'react-redux'; import { list_manager_actions } from '../../redux/list_manager/list_manager' import { util } from '../../utils'; export class L...
demo/src/components/navigators/layout-toptap-navigator.js
tuantle/hypertoxin
'use strict'; // eslint-disable-line import { Ht } from 'hypertoxin'; import React from 'react'; import ReactNative from 'react-native'; // eslint-disable-line import { createMaterialTopTabNavigator } from 'react-navigation'; import RowLayoutView from '../layout-views/row-layout-view'; import ColumnLayoutView from...
ajax/libs/yui/3.11.0pr1/event-focus/event-focus-min.js
kiwi89/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
src/svg-icons/places/smoking-rooms.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesSmokingRooms = (props) => ( <SvgIcon {...props}> <path d="M2 16h15v3H2zm18.5 0H22v3h-1.5zM18 16h1.5v3H18zm.85-8.27c.62-.61 1-1.45 1-2.38C19.85 3.5 18.35 2 16.5 2v1.5c1.02 0 1.85.83 1.85 1.85S17.52 7.2 16....
internals/templates/homePage/homePage.js
w01fgang/react-boilerplate
/* * HomePage * * This is the first thing users see of our App, at the '/' route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it and remove * the l...
packages/strapi-helper-plugin/lib/src/app.js
evian42/starpies
/** * app.js * * This is the entry file for the application, * only setup and plugin code. */ import React from 'react'; import { Provider } from 'react-redux'; import { syncHistoryWithStore } from 'react-router-redux'; import App from 'containers/App'; // eslint-disable-line import { selectLocationState } from '...
app/javascript/mastodon/components/status_action_bar.js
vahnj/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import DropdownMenuContainer from '../containers/dropdown_menu_container'; import { defineMessages, injectIntl } from 'react-intl'; import ImmutablePureCompo...
ajax/libs/6to5/2.9.3/browser-polyfill.js
AlexisArce/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/js/components/icons/base/PlatformHp.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
app/javascript/mastodon/components/__tests__/avatar-test.js
imas/mastodon
import React from 'react'; import renderer from 'react-test-renderer'; import { fromJS } from 'immutable'; import Avatar from '../avatar'; describe('<Avatar />', () => { const account = fromJS({ username: 'alice', acct: 'alice', display_name: 'Alice', avatar: '/animated/alice.gif', avatar_static:...
ajax/libs/yui/3.6.0/simpleyui/simpleyui-debug.js
ramda/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 */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI gl...
challenge6/finished/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/test/3rdparty/jquery-1.7.1.js
radhikabhanu/node-workshop
/*! * jQuery JavaScript Library v1.7.1 * 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...
admin/client/views/signin.js
nickhsine/keystone
'use strict'; import classnames from 'classnames'; import React from 'react'; import ReactDOM from 'react-dom'; import SessionStore from '../stores/SessionStore'; import { Alert, Button, Form, FormField, FormInput } from 'elemental'; import { createHistory } from 'history'; var history = createHistory(); var SigninV...
src/common/components/ToggleBaseline.js
reedlaw/read-it
// @flow import type { State } from '../types'; import Box from './Box'; import OutlineButton from './OutlineButton'; import React from 'react'; import { compose } from 'ramda'; import { connect } from 'react-redux'; import { toggleBaseline } from '../app/actions'; // Test vertical rhythm visually. Inspired by basehol...
src/basic/Title.js
sampsasaarela/NativeBase
/* @flow */ import React, { Component } from 'react'; import { Text } from 'react-native'; import { connectStyle } from 'native-base-shoutem-theme'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; class Title extends Component { render() { return ( <Text ref={c => this._root = c} {...th...
app/js/components/AddIcon.js
niksoc/srmconnect
import React from 'react'; import {Glyphicon} from 'react-bootstrap'; const AddIcon = (<Glyphicon glyph='plus-sign' />); export default AddIcon;
ajax/libs/backbone-react-component/0.7.2/backbone-react-component.js
LaurensRietveld/cdnjs
// Backbone React Component // ======================== // // Backbone.React.Component v0.7.2 // // (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com> // Backbone.React.Component can be freely distributed under the MIT license. // // // `Backbone.React.Component` is a mixin that glues [Backbone](http:/...
index.ios.js
jiyuren/ZhiHuDaily-React-Native
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; var React = require('react-native'); var { AppRegistry, StyleSheet, Text, View, } = React; var RCTZhiHuDaily = React.createClass({ render: function() { return ( <View style={styles.container}> <Tex...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ComputedProperties.js
amido/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(prefix) { return [ { id: 1, [`${prefi...
components/Radio.js
calvinmikael/Radio
/** * @flow */ import React, { Component } from 'react'; import { NetInfo, StatusBar, Text, TouchableOpacity, View, } from 'react-native'; import moment from 'moment'; import * as Progress from 'react-native-progress'; import { ReactNativeAudioStreaming as Audio } from 'react-native-audio-streaming'; impor...
packages/mineral-ui-icons/src/IconLocalLibrary.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconLocalLibrary(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconP...
src/components/common/svg-icons/content/unarchive.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentUnarchive = (props) => ( <SvgIcon {...props}> <path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.4...
react-opaque-components-bodhi/src/App.js
slorber/scalable-frontend-with-elm-or-redux
import React, { Component } from 'react'; import { NewGif, GifPair, PairPair } from './Gif'; import { App as Button } from './Button'; import { App as Counter } from './Counter'; export default class App extends Component { constructor(props) { super(props); this.onNewGif = this.onNewGif.bind(this)...
src/Collapse.js
Lucifier129/react-bootstrap
import css from 'dom-helpers/style'; import React from 'react'; import classNames from 'classnames'; import Transition from 'react-overlays/lib/Transition'; import deprecated from 'react-prop-types/lib/deprecated'; import createChainedFunction from './utils/createChainedFunction'; let capitalize = str => str[0].toUpp...
src/Menu/MenuList.js
dsslimshaddy/material-ui
// @flow import React, { Component } from 'react'; import type { Element } from 'react'; import { findDOMNode } from 'react-dom'; import keycode from 'keycode'; import contains from 'dom-helpers/query/contains'; import activeElement from 'dom-helpers/activeElement'; import ownerDocument from 'dom-helpers/ownerDocument...
index.js
donovantc/reactshared
import { AppRegistry } from 'react-native' import { App } from './app/components/App' AppRegistry.registerComponent('reactshared', () => App)
ajax/libs/highlight.js/9.15.8/languages/gml.min.js
extend1994/cdnjs
hljs.registerLanguage("gml",function(e){return{aliases:["gml","GML"],cI:!1,k:{k:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 i...
src/icons/IosGlasses.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosGlasses extends React.Component { render() { if(this.props.bare) { return <g> <path d="M465.4,247c-2.2-22-12.4-43-28.9-58.4c-17.1-15.9-39.3-24.7-62.7-24.7c-41.5,0-77.3,27.4-88.5,67c-7-7-18.5-11.7-29.3-11.7...
app/containers/RepoListItem/index.js
KarandikarMihir/react-boilerplate
/** * RepoListItem * * Lists the name and the issue count of a repository */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { FormattedNumber } from 'react-intl'; import { selectCurrentUser } from 'containers/App/selectors'; import ListItem from...
ajax/libs/angular-google-maps/2.0.6/angular-google-maps.js
urish/cdnjs
/*! angular-google-maps 2.0.6 2014-10-24 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ (function() { String.prototype.contains = function(value, fromIndex) { return this.indexOf(value, fromIndex) !== -1; }; String.prototype.flare = function(flare)...
node_modules/react-navigation/src/views/Header.js
RahulDesai92/PHR
/* @flow */ 'no babel-plugin-flow-react-proptypes'; import React from 'react'; import { Animated, Platform, StyleSheet, View } from 'react-native'; import HeaderTitle from './HeaderTitle'; import HeaderBackButton from './HeaderBackButton'; import HeaderStyleInterpolator from './HeaderStyleInterpolator'; import typ...
src/pages/related-tools.js
carloscuesta/gitmoji
import React from 'react' import Link from 'next/link' import CarbonAd from 'src/components/CarbonAd' import Button from 'src/components/Button' import SEO from 'src/components/SEO' const tools: Array<{ name: string, description: string, link: string }> = [ { name: 'gitmoji-changelog', description: 'A chang...
src/pages/chart/ECharts/ModuleLoadChartComponent.js
zuiidea/antd-admin
import React from 'react' import ReactEcharts from 'echarts-for-react' const ModuleLoadChartComponent = () => { const option = { title: { text: 'ECharts 入门示例' }, tooltip: {}, xAxis: { data: ['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子'], }, yAxis: {}, series: [ { name: '销量', ...
packages/material-ui-icons/src/Filter3Rounded.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="M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm-1 16H8c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c...
packages/core/__deprecated__/Line/Line.js
romelperez/arwes
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import AnimationComponent from '../Animation'; export default function Line (props) { const { theme, classes, Animation, animation, animate, show, layer, className, ...etc } = props; c...