path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
blueocean-material-icons/src/js/components/svg-icons/editor/insert-link.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const EditorInsertLink = (props) => ( <SvgIcon {...props}> <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c...
src/Dialog/Dialog.spec.js
IsenrichO/mui-with-arrows
/* eslint-env mocha */ import React from 'react'; import Dialog from './Dialog'; import {spy} from 'sinon'; import {mount} from 'enzyme'; import {assert} from 'chai'; import TestUtils from 'react-dom/test-utils'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Dialog />', () => { const muiTheme = getMuiT...
src/svg-icons/social/party-mode.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialPartyMode = (props) => ( <SvgIcon {...props}> <path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 3c1.63 0 3.06.79 3.98 2H12c-1.66 0-3 1.34-3 3 0 ....
examples/row-selection/src/index.js
react-tools/react-table
import React from 'react' import ReactDOM from 'react-dom' import './index.css' import App from './App' ReactDOM.render(<App />, document.getElementById('root'))
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...
wp-content/themes/d84.0/js/jquery.js
yangjes-github/test.wordpress
/*! jQuery v1.7.2 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 cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
mobile/index.android.js
RanaRunning/rana
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class mobile extends Component { render() { return ( <View style={styles.container}> ...
www/2013/12/js/vendors/jquery-1.10.1.min.js
Makio64/christmasexperiments2
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
ajax/libs/react/0.3.3/JSXTransformer.js
emijrp/cdnjs
/** * JSXTransformer v0.3.3 */ (function(e){if("function"==typeof bootstrap)bootstrap("jsxtransformer",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeJSXTransformer=e}else"undefined"!=typeof wi...
react-admin-dashboard/src/pages/Charts/index.js
chaitanya1375/Myprojects
import React from 'react'; import PerformanceChart from './PerformanceChart'; import Nasdaq from './Nasdaq'; import PublicPreference from './PublicPreference'; import UserBehavior from './UserBehavior'; const Charts = () => ( <div className="content"> <div className="container-fluid"> <div className="row">...
threeforce/node_modules/react-bootstrap/es/ModalTitle.js
wolfiex/VisACC
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 ...
test/app/components/Counter.spec.js
phucpnt/mapofa
import React from 'react'; import expect from 'expect'; import { mount } from 'enzyme'; import Counter from '../../../src/app/components/Counter'; const props = { state: { counter: { count: 1 } }, increment: expect.createSpy(), decrement: expect.createSpy(), incrementIfOdd: expect.createSpy(), incrementAsync...
news-app/src/components/NewsItem.js
abhilashsajeev/news-app
import React, { Component } from 'react'; import { Card, CardHeader, CardMedia, CardTitle, CardText } from 'material-ui/Card'; import Paper from 'material-ui/Paper'; import Avatar from 'material-ui/Avatar'; import Button from 'material-ui/RaisedButton'; const avatarStyle = { borderRadius: '1%', width: '60px', hei...
src/examples/index.js
iporaitech/react-to-mdl
import React from 'react'; import ReactDOM from 'react-dom'; import { AppContainer } from 'react-hot-loader'; // wrapper component needed for HMR // react-to-mdl based App import App from './App'; const render = (Component) => { ReactDOM.render( <AppContainer> <Component /> </AppContainer>, docume...
src/client/components/ViewState.js
djmill0326/node-random-stuff
import React from 'react'; class ViewState extends React.Component { constructor(props) { super(props); } render() { return ( <pre>{this.props.state}</pre> ); } } ViewState.propTypes = { state: React.PropTypes.object }; module.exports = ViewState;
src/svg-icons/action/aspect-ratio.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAspectRatio = (props) => ( <SvgIcon {...props}> <path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"/> <...
node_modules/react-bootstrap/es/ButtonToolbar.js
C0deSamurai/muzjiks
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 ...
actor-apps/app-web/src/app/components/dialog/ComposeSection.react.js
bunnyblue/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; import ActorClient from 'utils/ActorClient'; import { Styles, FlatButton } from 'material-ui'; import { KeyCodes } from 'constants/ActorAppConstant...
js/jquery.min.js
YangKaiyun/YangKaiyun.github.io
/*! jQuery v1.7.2 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 cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
ajax/libs/flocks.js/0.14.2/flocks.js
hare1039/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /** * The Flocks library module. * * @module Flocks * @main Flocks */ // if it's in a <script> it's defined already // otherwise assume commonjs if (typeof React === 'undefined') { var React = require('react'...
examples/async/index.js
james4388/redux
import 'babel-core/polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; const store = configureStore(); React.render( <Provider store={store}> {() => <App />} </Provider>, document.getElementByI...
src/parser/warrior/protection/modules/core/RageDetails.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import Panel from 'interface/others/Panel'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import { formatPercentage } from 'common/format'; import Icon from 'common/Icon'; import ResourceBreakdown from 'parser/shar...
frontend/src/UnmappedFiles/UnmappedFilesTableConnector.js
lidarr/Lidarr
import _ from 'lodash'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import * as commandNames from 'Commands/commandNames'; import withCurrentPage from 'Components/withCurrentPage'; import { executeCommand...
components/ProjectBlock/ProjectBlock.js
EvanSimpson/evansimpson.github.io
import React, { Component } from 'react'; import styles from './ProjectBlock.module.css'; import Lightbox from 'react-images'; class ProjectBlock extends Component { constructor(props) { super(props); this.state = { isOpen: false, linkImage: false }; } componentDidMount() { this.s...
dataTool/src/components/FoodFinder/FoodList/component.js
bitmoremedia/mygi
import React, { PropTypes } from 'react' import AddRemoveBtn from '../../common/AddRemoveBtn' const FoodList = ({ list, sourceName, sourceId, associateDataSource, deleteAssociatedDataSource }) => { // NOTE: current assumption is that a data source food can only be associated with one // item in the main...
src/components/GuideList/GuideList.js
devgeeks/4ZZZfm-app
import React from 'react'; import classNames from 'classnames'; import './guidelist.css'; const GuideList = (props) => { const cx = classNames({ 'guide-list': true, 'divider-color': true, }); return ( <ul className={ cx }> { props.children } </ul> ); }; GuideList.displayName = 'GuideLi...
src/icons/InfoIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class InfoIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm2 30h-4V22h4v12zm0-16h-4v-4h4v4z"/></svg...
packages/icons/src/md/places/GolfCourse.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdGolfCourse(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M38 36c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm-5-24.15L17 4v36h-4v-3.46c-3.58.69-6 1.98-6 3.46 0 2.21 5.37 4 12 4s12-1.79 12-4c0-1.9...
imports/ui/home/wechat_login.js
dououFullstack/atomic
import React from 'react'; import { browserHistory } from 'react-router'; class Login extends React.Component { componentWillMount() { const params = this.props.location.query; if (params.code) { Meteor.call('wechat.getProfile', params.code, function(error, result) { if (error) { aler...
js/jquery.js
alee046/alee046.github.io
/*! 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...
src/components/Editor/Editor.js
terryli1643/thinkmore
import React from 'react' import { Editor } from 'react-draft-wysiwyg' import styles from './Editor.less' import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css' const DraftEditor = (props) => { return (<Editor toolbarClassName={styles.toolbar} wrapperClassName={styles.wrapper} editorClassName={styles.editor} {.....
ajax/libs/webshim/1.15.0/dev/shims/moxie/js/moxie-html4.js
StoneCypher/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
chrome/extension/devpanel/index.js
react-rpm/react-rpm
import 'babel-polyfill'; import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import App from '../../../app/containers/App'; import 'react-hot-loader/patch'; import { AppContainer } from 'react-hot-loader'; render( <AppContainer> ...
Libraries/CustomComponents/Navigator/NavigatorBreadcrumbNavigationBar.js
roy0914/react-native
/** * Copyright (c) 2015, Facebook, Inc. All rights reserved. * * Facebook, Inc. ("Facebook") owns all right, title and interest, including * all intellectual property and other proprietary rights, in and to the React * Native CustomComponents software (the "Software"). Subject to your * compliance with these t...
app/screens/settings/notification_settings_mobile/notification_settings_mobile.android.js
mattermost/mattermost-mobile
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. /* eslint-disable max-lines */ import deepEqual from 'deep-equal'; import PropTypes, {string} from 'prop-types'; import React from 'react'; import {injectIntl} from 'react-intl'; import { Alert, Mod...
src/redux/utils/createDevToolsWindow.js
Grobim/react-redux-firebase-workout
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import DevTools from '../../containers/DevToolsWindow'; export default function createDevToolsWindow (store) { const win = window.open( null, 'redux-devtools', // give it a name so it reuses the same window ...
javascript/AddOn/Waiting.js
AppStateESS/stories
import React from 'react' import PropTypes from 'prop-types' const Waiting = (props) => { let message if (props.message.length === 0) { message = <span>Loading {props.label}...</span> } else { message = props.message } return ( <div className="lead text-center"> <i className="fa fa-cog fa-s...
app/components/ListItem/index.js
commanderking/alliancechemistry
import React from 'react'; import Item from './Item'; import Wrapper from './Wrapper'; function ListItem(props) { return ( <Wrapper> <Item> {props.item} </Item> </Wrapper> ); } ListItem.propTypes = { item: React.PropTypes.any, }; export default ListItem;
webpack.config.babel.js
efegurkan/interval-picker
import * as path from 'path'; import webpack from 'webpack'; import HtmlWebpackPlugin from 'html-webpack-plugin'; import ExtractTextPlugin from 'extract-text-webpack-plugin'; import SystemBellPlugin from 'system-bell-webpack-plugin'; import CleanPlugin from 'clean-webpack-plugin'; import merge from 'webpack-merge'; im...
src/index.js
kevin-kabore/client-auth
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import { Router, Route, IndexRoute, browserHistory} from 'react-router'; import reduxThunk from 'redux-thunk'; import { AUTH_USER } from './actions/types' import Ap...
webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
johnpmitsch/katello
import React from 'react'; import PropTypes from 'prop-types'; import { translate as __ } from 'foremanReact/common/I18n'; import { MessageDialog } from 'patternfly-react'; const InputsErrorsDialog = ({ show, showErrorDialog, }) => ( <MessageDialog show={show} title={__('Editing Entitlements')} seconda...
packages/material-ui-icons/src/AlarmOnSharp.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="M10.54 14.53L8.41 12.4l-1.06 1.06 3.18 3.18 6-6-1.06-1.06zM17.3365 1.811l4.6074 3.8436-1.2812 1.5358-4.6074-3.8436zM6.6633 1.8104l1.2812 1.53...
src/helpers/test/createMock.js
retaxJS/retax-seed
import React from 'react'; export function id(x) { return x; } export default function createMock(name) { const Component = (props) => <div {...props} />; Component.displayName = name; return Component; }
src/server.js
Skoli-Code/DerangeonsLaChambre
/** * 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 'babel-polyfill'; import path from 'path'; import e...
assets/javascripts/kitten/components/navigation/header-nav/components/right.js
KissKissBankBank/kitten
import React from 'react' import classNames from 'classnames' import PropTypes from 'prop-types' export const Right = ({ children, className, padded }) => ( <div className={classNames('k-HeaderNav__right', className, { 'k-HeaderNav__right--padded': padded, })} > {children} </div> ) Right.propT...
src/components/DateSignifier.js
justinlawrence/chordboard
import React from 'react' import { styled } from '@material-ui/core/styles' import PropTypes from 'prop-types' import { format, isBefore, isValid } from 'date-fns' import cx from 'classnames' import Grid from '@mui/material/Grid' import Paper from '@mui/material/Paper' import Typography from '@mui/material/Typography'...
gulpfile.js
Sporks/Doc-tor
var gulp = require('gulp'); var browserify = require('browserify'); var babelify = require('babelify'); var watchify = require('watchify'); var source = require('vinyl-source-stream'); var notify = require('gulp-notify'); function handleErrors() { var args = Array.prototype.slice.call(arguments); notify.onError({ ...
assets/javascripts/kitten/components/graphics/icons-next/heart-icon-next/color-with-click/index.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' export const ColorHeartWithClickIconNext = ({ color, secondaryColor, title, ...props }) => ( <svg width="30" height="31" viewBox="0 0 30 31" xmlns="http://www.w3.org/2000/svg" fill="none" {...props} > {title && <title>...
test/ThumbnailSpec.js
yickli/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...
src/component/dictation/index.js
SpenGietz/dictate-it
import React from 'react'; import {connect} from 'react-redux'; import Listener from '../listener'; import * as util from '../../lib/util'; import {Redirect} from 'react-router-dom'; import {dictationCreateRequest} from '../../action/dictation-actions.js'; export class Dictation extends React.Component { constructor...
app/javascript/flavours/glitch/util/main.js
im-in-space/mastodon
import * as registerPushNotifications from 'flavours/glitch/actions/push_notifications'; import { setupBrowserNotifications } from 'flavours/glitch/actions/notifications'; import { default as Mastodon, store } from 'flavours/glitch/containers/mastodon'; import React from 'react'; import ReactDOM from 'react-dom'; impor...
jenkins-design-language/src/js/components/material-ui/svg-icons/content/next-week.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ContentNextWeek = (props) => ( <SvgIcon {...props}> <path d="M20 7h-4V5c0-.55-.22-1.05-.59-1.41C15.05 3.22 14.55 3 14 3h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM10 5h4v2h-4V5zm1 13.5l-1-1 3-3-...
__tests__/apiKeyComponent-test.js
mazzcris/sortello
jest.dontMock('../components/ApiKey.jsx'); import React from 'react'; import {shallow} from 'enzyme'; import ApiKey from '../components/ApiKey'; it('calls saveAPIKey on click', () => { let setApiKey = jest.fn(); let Trello = jest.fn(); const component = shallow(<ApiKey apiKey={"1a2b3c4d5e"} Trello={Trello} setAp...
src/components/helpers/center.js
awaseem/Jam
import React from 'react'; function Center(props) { return ( <div style={{ textAlign: 'center', borderRadius: 0, display: 'block', marginLeft: 'auto', marginRight: 'auto', }} >{props.children}</div> ); } Center.propTypes = { children: React.PropTypes.a...
tests/baselines/reference/reactDefaultPropsInferenceSuccess.js
microsoft/TypeScript
//// [reactDefaultPropsInferenceSuccess.tsx] /// <reference path="/.lib/react16.d.ts" /> import React from 'react'; interface BaseProps { when?: ((value: string) => boolean) | "a" | "b"; error?: boolean; } interface Props extends BaseProps { } class FieldFeedback<P extends Props = BaseProps> extends React.Comp...
static/grappelli/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
lindaperez/Symfony2
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u...
app/javascript/mastodon/features/picture_in_picture/components/footer.js
primenumber/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import IconButton from 'mastodon/components/icon_button'; import classNames from 'classna...
client/components/Layout/Navigation.js
koistya/aspnet-starter-kit
/** * ASP.NET Core Starter Kit (https://dotnetreact.com) * * Copyright © 2014-present 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 Link from '../Link'; c...
examples/Tab.js
jsbranco/react-materialize
import React from 'react'; import Tabs from '../src/Tabs'; import Tab from '../src/Tab'; export default <Tabs className='tab-demo z-depth-1'> <Tab title="Test 1">Test 1</Tab> <Tab title="Test 2" active>Test 2</Tab> <Tab title="Test 3">Test 3</Tab> <Tab title="Test 4">Test 4</Tab> </Tabs>;
Examples/UIExplorer/ImageExample.js
NZAOM/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/views/createRoutes.js
davidmarkclements/react-redux-universal-hot-example
import React from 'react'; import {Route} from 'react-router'; import App from 'views/App'; import Home from 'views/Home'; import Widgets from 'views/Widgets'; import About from 'views/About'; import Login from 'views/Login'; import RequireLogin from 'views/RequireLogin'; import LoginSuccess from 'views/LoginSuccess'; ...
ajax/libs/webshim/1.14.4-RC3/dev/shims/combos/26.js
fk/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
examples/src/components/CustomOption.js
iLikeKoffee/react-select
import React from 'react'; import Gravatar from 'react-gravatar'; var Option = React.createClass({ propTypes: { addLabelText: React.PropTypes.string, className: React.PropTypes.string, mouseDown: React.PropTypes.func, mouseEnter: React.PropTypes.func, mouseLeave: React.PropTypes.func, option: React.PropTy...
packages/editor/src/components/Icons/Unlink.js
boldr/boldr
import React from 'react'; import Icon from './Icon'; const Unlink = props => ( <Icon viewBox="0 0 512 512" {...props}> <path d="M304.083 388.936c4.686 4.686 4.686 12.284 0 16.971l-65.057 65.056c-54.709 54.711-143.27 54.721-197.989 0-54.713-54.713-54.719-143.27 0-197.989l65.056-65.057c4.686-4.686 12.284-4.686 16...
src/svg-icons/notification/vpn-lock.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationVpnLock = (props) => ( <SvgIcon {...props}> <path d="M22 4v-.5C22 2.12 20.88 1 19.5 1S17 2.12 17 3.5V4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-.8 0h-3.4v-.5c0-.94.76-...
ajax/libs/ember-data.js/1.0.0-beta.9/ember-data.prod.js
amwmedia/cdnjs
(function(global){ var define, requireModule, require, requirejs; (function() { var registry = {}, seen = {}, state = {}; var FAILED = false; define = function(name, deps, callback) { registry[name] = { deps: deps, callback: callback }; }; function reify(deps, name, seen) { var leng...
example/example-react/src/components/Header/Header.js
kesslerdev/quarkit
import React from 'react' import PropTypes from 'prop-types' // import the game for create instances & import {createPlayer} from '../../game' import Login from '../Login/Login' import GameInfo from '../Infos/GameInfo/GameInfo' import logo from './logo.svg' import './Header.css' const Header = ({ onClick, connected...
src/routes/error/ErrorPage.js
nicolascine/site
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present 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 PropTypes from 'prop-...
app/components/ReOrder/ReDeliveryAddress.js
theterra/newsb
import React from 'react'; import Input from './ReInput'; import DeliveryLocation from './DeliveryLocation'; import DateTimePicker from './DateTimePicker'; import moment from 'moment'; export default class ReDeliveryAddress extends React.Component { //eslint-disable-line constructor(props) { super(props); ...
actor-apps/app-web/src/app/components/activity/UserProfile.react.js
chieryw/actor-platform
import React from 'react'; import { PureRenderMixin } from 'react/addons'; import ContactActionCreators from 'actions/ContactActionCreators'; import DialogActionCreators from 'actions/DialogActionCreators'; import PeerStore from 'stores/PeerStore'; import DialogStore from 'stores/DialogStore'; import AvatarItem from...
appios/scenes/login/login.js
ajaymathur/fun-community
import React, { Component } from 'react'; import { View, Text, TextInput, TouchableHighlight, Animated } from 'react-native'; import { auth } from '../../store/firebase.confidential'; import styles from './login.styles'; class Login extends Component { constructor(){ super(); this.state = { ...
node_modules/react-icons/io/man.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoMan = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20.1 8.4c-1.7 0-2.9-1.4-2.9-3s1.2-2.9 2.9-2.9 2.9 1.2 2.9 2.9-1.3 3-2.9 3z m2.9 0.6c2.1 0 3.6 1.9 3.6 3.7v8.9c0 1.8-2.5 1.8-2.5 0v-8.2h-0.4v22.4c0 2.2-3.2 2.4-3.3 0v-12....
docs/src/examples/collections/Form/States/FormExampleSuccess.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Button, Form, Message } from 'semantic-ui-react' const FormExampleSuccess = () => ( <Form success> <Form.Input label='Email' placeholder='joe@schmoe.com' /> <Message success header='Form Completed' content="You're all signed up for the newsletter" /> ...
packages/component/src/Toast/ExpandIcon.js
billba/botchat
import PropTypes from 'prop-types'; import React from 'react'; const ExpandIcon = ({ className }) => ( <svg className={(className || '') + ''} height="10" viewBox="0 0 16 10" width="16" xmlns="http://www.w3.org/2000/svg"> <path d="M15.1484 0.648437L15.8516 1.35156L8 9.20312L0.148438 1.35156L0.851563 0.648438L8 7...
app/addons/replication/components/options.js
popojargo/couchdb-fauxton
// Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed un...
pootle/static/js/auth/components/RequestPasswordResetForm.js
unho/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import assign from 'object-assign'; import React from 'rea...
packages/icons/src/md/action/Input.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdInput(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M42 6H6c-2.21 0-4 1.79-4 4v7.98h4V9.96h36v28.06H6v-8.04H2V38c0 2.21 1.79 3.96 4 3.96h36c2.21 0 4-1.76 4-3.96V10c0-2.21-1.79-4-4-4zM22 31.98l8-8-8-8v6H2...
app/javascript/mastodon/components/__tests__/display_name-test.js
amazedkoumei/mastodon
import React from 'react'; import renderer from 'react-test-renderer'; import { fromJS } from 'immutable'; import DisplayName from '../display_name'; describe('<DisplayName />', () => { it('renders display name + account name', () => { const account = fromJS({ username: 'bar', acct: 'bar@baz', ...
ajax/libs/ajv/4.11.8/regenerator.min.js
hare1039/cdnjs
/* regenerator 0.9.7: Source transformer enabling ECMAScript 6 generator functions (yield) in JavaScript-of-today (ES5) */ require=function e(t,r,n){function i(a,o){if(!r[a]){if(!t[a]){var u="function"==typeof require&&require;if(!o&&u)return u(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");thr...
blueocean-material-icons/src/js/components/svg-icons/action/account-balance.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionAccountBalance = (props) => ( <SvgIcon {...props}> <path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z"/> </SvgIcon> ); ActionAccountBalance.displayName = 'ActionAccountBalance'; ActionAcc...
installer/frontend/trail.js
bsiegel/tectonic-installer
import _ from 'lodash'; import React from 'react'; import { Map as ImmutableMap, Set as ImmutableSet } from 'immutable'; import { commitPhases } from './actions'; import { PLATFORM_TYPE, DRY_RUN } from './cluster-config'; import { CertificateAuthority } from './components/certificate-authority'; import { ClusterType ...
src/components/AdminNicety.js
mjec/rc-niceties
import React from 'react'; const AdminNicety = (props) => { let nicetyName; if ('name' in props.nicety) { nicetyName = props.nicety.name; } else { nicetyName = 'Anonymous'; } let noRead = null; if (props.nicety.no_read === true) { noRead = "Don't Read At Ceremony, Pleas...
src/render.js
calumet/realtime-client
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { Router, hashHistory } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; import settings from 'src/settings'; import store from 'src/store'; import routes from 'src/routes'; const...
src/components/WeatherObject.js
allsportster023/imageViewer
/*** Created by bslaugh on 7/7/17. */ import React from 'react'; import axios from 'axios'; import moment from 'moment'; import {LineChart, Line, ReferenceLine, Dot, XAxis, YAxis, ResponsiveContainer, Tooltip, CartesianGrid} from 'recharts'; import bboxPolygon from '@turf/bbox-polygon'; import intersect from '@turf/...
src/components/RadioButtonGroup/RadioButtonGroup-story.js
wfp/ui
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { withKnobs, boolean, select, text } from '@storybook/addon-knobs'; import RadioButtonGroup from '../RadioButtonGroup'; import RadioButton from '../RadioButton'; import Checkbox from '../C...
specs/helper.js
mgh/react-modal
// The following eslint overrides should be removed when refactoring can occur /* eslint react/no-render-return-value: "warn" */ import React from 'react'; import ReactDOM from 'react-dom'; import Modal from '../lib/components/Modal'; const divStack = []; export function renderModal (props, children, callback) { c...
src/svg-icons/maps/navigation.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsNavigation = (props) => ( <SvgIcon {...props}> <path d="M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71z"/> </SvgIcon> ); MapsNavigation = pure(MapsNavigation); MapsNavigation.displayName = 'MapsNavigation'; ...
views/blocks/Quest/Quest.js
AlSoEdit/team5
import React from 'react'; import Comments from './../comments/comments'; import QuestInfoContainer from '../QuestInfo/QuestInfoContainer'; import QuestPhotosContainer from '../QuestPhotos/QuestPhotosContainer'; import b from 'b_'; import './Quest.css'; const quest = b.lock('quest'); export default class Quest exten...
blueocean-material-icons/src/js/components/svg-icons/image/edit.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ImageEdit = (props) => ( <SvgIcon {...props}> <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/> </SvgIcon> ); ImageEdit.displayNa...
app/classifier/tasks/survey/summary.spec.js
jelliotartz/Panoptes-Front-End
import { mount } from 'enzyme'; import assert from 'assert'; import counterpart from 'counterpart'; import React from 'react'; import Summary from './summary'; import { workflow } from '../../../pages/dev-classifier/mock-data'; import enLocale from '../../../locales/en'; counterpart.registerTranslations('en', enLocale...
src/svg-icons/image/flip.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlip = (props) => ( <SvgIcon {...props}> <path d="M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v...
packages/mineral-ui-icons/src/IconCallMissedOutgoing.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 IconCallMissedOutgoing(props: IconProps) { const iconProps = { rtl: true, ...props }; return ( <Icon {......
node_modules/react-icons/md/format-line-spacing.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdFormatLineSpacing = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m16.6 21.6v-3.2h20v3.2h-20z m0 10v-3.2h20v3.2h-20z m0-23.2h20v3.2h-20v-3.2z m-6.6 3.2v16.8h4.1l-5.7 5.7-5.9-5.7h4.1v-16.8h-4.1l5.9-5.7 5.7 5.7h-4.1z"/></g> ...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/UnknownExtInclusion.js
appier/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 aFileWithExtUnknown from './assets/aFileWithExt.unknown'; const text = aFileWithExtUnknown.includes('...
src/svg-icons/device/battery-60.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBattery60 = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V11h10V5.33z"/><path d="M7 11v9.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 ...
js/components/list/list-avatar.js
LetsBuildSomething/vmag_mobile
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { actions } from 'react-native-navigation-redux-helpers'; import { Container, Header, Title, Content, Button, Icon, List, ListItem, Text, Thumbnail, Left, Right, Body } from 'native-base'; import { Actions } from 'react-native-rout...
ajax/libs/dc/2.0.0-beta.1/dc.js
calvinf/cdnjs
/*! * dc 2.0.0-beta.1 * http://dc-js.github.io/dc.js/ * Copyright 2012 Nick Zhu and other contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
ajax/libs/ui-router-extras/0.0.5/ct-ui-router-extras.js
viskin/cdnjs
;(function( window, undefined ){ 'use strict'; angular.module("ct.ui.router.extras", [ 'ui.router' ]); var forEach = angular.forEach; var map = function (collection, callback) { "use strict"; var result = []; forEach(collection, function (item, index) { result.push(callback(item, index)); }); return...
examples/flux-utils-todomvc/js/app.js
viviancpy/flux
/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @flow */ 'use s...
client/src/BoardBuilder.js
wilsoncusack/metrics-board
import React, { Component } from 'react'; import './styles/BoardBuilder.css'; class BoardBuilder extends Component { constructor(props){ super(props); this.state = { boardName: "", visibleToAllAccount: false } } handleNameChange(e){ this.setState({boardName: e.target.value}) } backgroundClick(e)...