path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/code/Application.js
ekosmin/sarahah-but-nice
import React from 'react'; import Counter from './Counter'; import ButtonsForm from './ButtonsForm'; import SignupForm from './SignupForm'; import urlParams from './url-params'; class Application extends React.Component { constructor() { super(); this.state = { userState: null }; const db = f...
Examples/UIExplorer/AlertIOSExample.js
spicyj/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/app/components/ShowCaseCard.js
leoliew/react-webpack-example
/** * Created by leoliew on 2016/11/30. */ import React from 'react'; import {Card, CardActions, CardHeader, CardMedia, CardTitle, CardText} from 'material-ui/Card'; const styles = { div: { margin: '1%' }, card:{ marginTop: '15px' } }; export default class ShowCaseCard extends React.Component { r...
packages/ringcentral-widgets-docs/src/app/pages/Components/SettingsPanel/Demo.js
ringcentral/ringcentral-js-widget
import React from 'react'; // eslint-disable-next-line import SettingsPanel from 'ringcentral-widgets/components/SettingsPanel'; const props = {}; props.brandId = 'test string'; props.callingSettingsUrl = 'test string'; props.currentLocale = 'en-US'; props.loginNumber = 'test string'; props.onLogoutButtonClick = () =>...
ajax/libs/vis/3.0.0/vis.js
automaticgiant/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 3.0.0 * @date 2014-07-07 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
src/browser/components/fxbml.js
redcom/doctori-romani-in-berlin
// @flow // Higher order component for Facebook XFBML. // Examples // https://gist.github.com/steida/04a39dfa1043e1451044ba8370743b0c // https://gist.github.com/steida/b19a1858e38007651a616ae44244ca52 import React from 'react'; const xfbml = (WrappedComponent: any) => class Wrapper extends React.Component { e...
front/src/scenes/Login/index.js
dherault/Aquest
import React from 'react'; import { QueryRenderer, graphql } from 'react-relay'; import environment from '../../relayEnvironment'; import LoadingIndicator from '../../components/LoadingIndicator'; import DevelopmentErrorMessage from '../../components/DevelopmentErrorMessage'; import LoginScene from './LoginScene'; c...
test/ImageSpec.js
pombredanne/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ReactDOM from 'react-dom'; import Image from '../src/Image'; describe('Image', () => { it('should be an image', () => { let instance = ReactTestUtils.renderIntoDocument( <Image /> ); let image = ReactDOM.findD...
examples/infinite-scrolling/src/components/Layout.js
lore/lore
/** * This component is intended to reflect the high level structure of your application, * and render any components that are common across all views, such as the header or * top-level navigation. All other components should be rendered by route handlers. **/ import React from 'react'; import PropTypes from 'prop...
docs/src/app/components/pages/components/TimePicker/ExampleSimple.js
igorbt/material-ui
import React from 'react'; import TimePicker from 'material-ui/TimePicker'; const TimePickerExampleSimple = () => ( <div> <TimePicker hintText="12hr Format" /> <TimePicker hintText="12hr Format with auto ok" autoOk={true} /> <TimePicker format="24hr" hintText="24hr F...
node_modules/react-bootstrap/es/MediaListItem.js
FoxMessenger/nyt-react
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 ...
addons/info/src/index.js
enjoylife/storybook
import React from 'react'; import _Story from './components/Story'; import { H1, H2, H3, H4, H5, H6, Code, P, UL, A, LI } from './components/markdown'; export const Story = _Story; const defaultOptions = { inline: false, header: true, source: true, propTables: [], }; const defaultMarksyConf = { h1: H1, h...
fixtures/kitchensink/template/src/features/webpack/NoExtInclusion.js
d3ce1t/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 aFileWithoutExt from './assets/aFileWithoutExt'; const text = aFileWithoutExt.includes('base64') ? ...
src/svg-icons/hardware/tablet-android.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareTabletAndroid = (props) => ( <SvgIcon {...props}> <path d="M18 0H6C4.34 0 3 1.34 3 3v18c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V3c0-1.66-1.34-3-3-3zm-4 22h-4v-1h4v1zm5.25-3H4.75V3h14.5v16z"/> </SvgIcon...
ajax/libs/react-data-grid/1.0.25/react-data-grid.ui-plugins.js
pvnr0082t/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...
src/svg-icons/maps/local-post-office.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalPostOffice = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/> </SvgIcon> ); MapsLocalPostOff...
tests/fake/redux-app/common/components/App.js
koriym/Koriym.ReduxReactSsr
import React from 'react' import Hello from '../containers/HelloWorld' const App = () => ( <div> <Hello /> </div> ) export default App
src/js/components/settings/form/Profile.js
barumel/ultritium-radio-player
import React from 'react'; import { Form, FormGroup, FormControl, ControlLabel, InputGroup, Col, Button } from 'react-bootstrap'; export class SettingsFormProfile extends React.Component { constructor() { super(); } render() { const hidden = this.props.locked ? 'hidden' : ''; return( <Form ho...
packages/material-ui-icons/src/VideocamOffTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12.39 8L15 10.61V8zM5 8v8h9.73l-8-8z" opacity=".3" /><path d="M3.41 1.86L2 3.27 4.73 6H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.21 0 .39-.08.55...
app/client/src/scenes/Home/Home.js
uprisecampaigns/uprise-app
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { compose, graphql } from 'react-apollo'; import { Tabs, Tab } from 'material-ui/Tabs'; import SearchActions from 'components/SearchActions'; import SearchCampaigns from 'components/SearchCampaig...
src/components/progress-bar.js
SergeRNR/music-player
import React from 'react'; import PlaybackStore from 'stores/playback-store'; class ProgressBar extends React.Component { constructor (props) { super (props); this.state = { progress: 0 }; this.onChange = this.onChange.bind(this); } componentDidMount () { PlaybackStore.addListener(this...
src/components/common/svg-icons/action/perm-contact-calendar.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermContactCalendar = (props) => ( <SvgIcon {...props}> <path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-...
step2-webpack/node_modules/react/lib/ReactEventListener.js
jintoppy/react-training
/** * 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. * * @providesModule ...
src/app/index.js
cfrend/cyuIO
import React from 'react'; import { render } from "react-dom"; import { Header } from "./components/Header"; import { Product } from "./components/Product"; import { Order } from "./components/Order"; import { QA } from "./components/QA"; import { IP } from "./components/IP"; import { Footer } from "./components/Foote...
src/Parser/EnhancementShaman/Modules/ShamanCore/Landslide.js
mwwscott0/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import Module from 'Parser/Core/Module'; import Combatants from 'Parser/Core/Modules/Combatants'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'...
ajax/libs/jquery/1.7.2/jquery.min.js
yahyaKacem/cdnjs
/*! 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...
src/components/Boat/index.js
albertfdp/battleship
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import styles from './styles.css'; const times = n => { let array = []; for (let i = 0; i < n; i++) { array.push(i); } return array; }; const Boat = ({ player, size, score }) => { return ( <div cla...
ajax/libs/yui/3.9.1/datatable-core/datatable-core.js
mikesir87/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
tests/client/amo/components/TestSearchResults.js
squarewave/addons-frontend
import React from 'react'; import { renderIntoDocument as render, findRenderedComponentWithType, } from 'react-addons-test-utils'; import { Provider } from 'react-redux'; import createStore from 'amo/store'; import SearchResults from 'amo/components/SearchResults'; import I18nProvider from 'core/i18n/Provider'; im...
src/components/Message/Message.js
nambawan/g-old
import React from 'react'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/withStyles'; import s from './Message.css'; import Box from '../Box'; import UserThumbnail from '../UserThumbnail'; import MessagePreview from '../MessagePreview'; class Message extends React.Component { st...
src/svg-icons/content/remove-circle-outline.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRemoveCircleOutline = (props) => ( <SvgIcon {...props}> <path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8...
js/admin/jquery-1.7.2.min.js
kenz/sstyle
/*! 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...
src/components/TodoList.js
jojoee/whitt
import React from 'react'; import PropTypes from 'prop-types'; import Todo from './Todo'; const TodoList = ({ todos, onTodoClick }) => ( <ul> {todos.map(todo => <Todo key={todo.id} {...todo} onClick={() => { onTodoClick(todo.id); }} /> )} </ul> ); Todo...
src/index.js
Cloudoki/react-redux-donderstarter
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { Route } from 'react-router' import { ConnectedRouter } from 'react-router-redux' import store, { history } from 'store' import ErrorMonitor from 'components/ErrorMonitor' import App from 'containers/App' // Mai...
client/modules/App/components/Footer/Footer.js
denistakeda/botboard
import React from 'react'; import { FormattedMessage } from 'react-intl'; // Import Style import styles from './Footer.css'; // Import Images import bg from '../../header-bk.png'; export function Footer() { return ( <div style={{ background: `#FFF url(${bg}) center` }} className={styles.footer}> <p>&copy...
ajax/libs/jquery.fancytree/2.19.0/jquery.fancytree-all.min.js
kiwi89/cdnjs
/*! jQuery Fancytree Plugin - 2.19.0 - 2016-08-11T15:51 * https://github.com/mar10/fancytree * Copyright (c) 2016 Martin Wendt; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( [ "jquery" ], factory ); } else { factory( jQuery ); } }(function( $ ) { !functio...
ajax/libs/react-move/2.8.0/react-move.min.js
joeyparrish/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],e):e(t["react-move"]={},t.React)}(this,function(t,e){"use strict";function n(){return at||(lt(r),at=ut.now()+st)}function r(){at=0}function i(){this._call=this...
ui/src/components/AutoComplete/token/Token.js
LearningLocker/learninglocker
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { identity, noop } from 'lodash'; import classNames from 'classnames'; import RemoveButton from './RemoveButton'; import Value from './Value'; import Wrapper from './Wrapper'; class Token extends Component { static displayName = 'To...
react-native-demo/Touch/PressDemo.js
zhangjunhd/react-examples
import React, { Component } from 'react'; import { StyleSheet, Text, View, TouchableHighlight } from 'react-native'; class Button extends Component { constructor(props) { super(props); this.state = { pressing: false }; } _onPressIn = () => { this.setState({pressing: true}); } _onPressOu...
node_modules/react-icons/io/alert.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoAlert = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25 37.5h-10v-7.5h10v7.5z m-1.2-12.5h-7.5l-1.3-22.5h10z"/></g> </Icon> ) export default IoAlert
src/components/context/Story/Timer.js
cajacko/Improv-Stories
// @flow import React from 'react'; const Context = React.createContext(); export const Consumer = Context.Consumer; /** * Wrap the consumer and pass in the context as props */ export const withConsumer = CustomComponent => props => ( <Consumer>{context => <CustomComponent {...context} {...props} />}</Consumer>...
node_modules/karma/node_modules/log4js/.bob/complexity/plato/assets/scripts/vendor/jquery-1.8.3.min.js
kadinho/ngWeatherDemo
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
ajax/libs/yasgui/1.0.8/yasgui.bundled.min.js
iwdmb/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
src/pagination/PaginationList.js
prajapati-parth/react-bootstrap-table
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classSet from 'classnames'; import PageButton from './PageButton.js'; import SizePerPageDropDown from './SizePerPageDropDown'; import Const from '../Const'; import Util from '../util'; class PaginationList extends Component { const...
src/svg-icons/maps/directions-run.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsDirectionsRun = (props) => ( <SvgIcon {...props}> <path d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l...
ajax/libs/yui/3.16.0/datatable-core/datatable-core-debug.js
lobbin/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
packages/icons/src/md/communication/RssFeed.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdRssFeed(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M12.36 39.11a4.36 4.36 0 1 1 0-8.72 4.36 4.36 0 0 1 0 8.72zM8 8c17.18 0 31.11 13.93 31.12 31.12h-5.66c0-14.06-11.4-25.46-25.46-25.46V8zm0 11.31c10.93...
pootle/static/js/auth/components/AuthProgress.js
translate/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 React from 'react'; import { PureRenderMixin } from...
modules/Redirect.js
Jastrzebowski/react-router
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { formatPattern } from './URLUtils'; import { falsy } from './PropTypes'; var { string, object } = React.PropTypes; export var Redirect = React.createClass({ statics: { createRouteF...
app/scripts/components/todoListComponent.js
Pygocentrus/browserify-es6-react-boilerplate
import React from 'react'; import TodoListItemComponent from './todoListItemComponent'; let TodoListComponent = React.createClass({ // propTypes: { // collection: PropTypes.object.isRequired, // }, // Start with no item in edit mode. getInitialState: function() { return { editingModelId: null ...
client/ducks/Flass/analysises.spec.js
Nexters/flass
import React from 'react'; import { shallow } from 'enzyme'; import chai, { expect } from 'chai'; import { all, call, fork, take, select, put, cancel, takeLatest } from 'redux-saga/effects'; import { makeSelectedAnswer, requestLectureAnalysis, SUCCESS_REQUEST_LECTURE_ANALYSIS } from './analysises'; import agent from '....
packages/react-router/modules/Router.js
DelvarWorld/react-router
import warning from 'warning' import invariant from 'invariant' import React from 'react' import PropTypes from 'prop-types' /** * The public API for putting history on context. */ class Router extends React.Component { static propTypes = { history: PropTypes.object.isRequired, children: PropTypes.node }...
node_modules/webpack-dev-server/client/live.bundle.js
LaurentEtienne/Kfe
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var r=n(35),o=n(72),i=n(34);n(74);var s=!1,a="";r(function(){function e(){if(s){t.text("App hot update."...
IntegrationTests/RCTRootViewIntegrationTestApp.js
hoangpham95/react-native
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ 'use strict'; const React = require('react'); const ReactNative = require('react-native'); const { AppRegistry, ...
Tutorial/js/project/1.NewsDemo/Component/YCMain.js
onezens/react-native-repo
/** * Created by wangzhen on 17/5/6. */ import React from 'react'; import { StyleSheet, NavigatorIOS, TabBarIOS } from 'react-native' const Home = require('./YCHome'); const Find = require('./YCFind'); const Message = require('./YCMesssage'); const Mine = require('./YCMine'); const MainTabBar = React....
frontend/node_modules/react-table/src/methods.js
justdotJS/rowboat
import React from 'react' import _ from './utils' export default Base => class extends Base { getResolvedState (props, state) { const resolvedState = { ..._.compactObject(this.state), ..._.compactObject(this.props), ..._.compactObject(state), ..._.compactObject(props), ...
packages/material-ui-icons/src/BatteryCharging50TwoTone.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="M14.47 13.5L11 20v-5.5H9l.53-1H7v7.17C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V13.5h-2.53z" /><path fillOpacity=".3" d="M15.67 4H14...
modules/__tests__/createRoutesFromReactChildren-test.js
chrisirhc/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import { createRoutesFromReactChildren } from '../RouteUtils' import IndexRoute from '../IndexRoute' import Route from '../Route' describe('createRoutesFromReactChildren', function () { const Parent = React.cr...
src/main/resources/react/src/ssl-report/components/__ReportSheet__/__Certificates__/CertificateChain.js
marthie/SSLReport
/* The MIT License (MIT) Copyright (c) 2018 Marius Thiemann <marius dot thiemann at ploin dot de> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limi...
packages/material-ui-icons/src/Adjust.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Adjust = props => <SvgIcon {...props}> <path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3...
Example/components/Login.js
hungtn/react-native-router-flux
import React from 'react'; import {View, Text, StyleSheet} from "react-native"; import Button from "react-native-button"; import {Actions} from "react-native-router-flux"; const styles = StyleSheet.create({ container: { flex: 1, justifyContent: "center", alignItems: "center", backgr...
static/node_modules/react/node_modules/fbjs/node_modules/core-js/client/library.js
nwpointer/proj3-ajax
/** * core-js 1.2.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
server/src/app/render/renderAnalyticsPage.js
Haaarp/geo
import React from 'react'; import ReactDOMServer from 'react-dom/server'; import { Provider } from 'react-redux'; import { match, RouterContext } from 'react-router'; import analyticRoutes from './../../../../client/analytics/components'; import configureStore from './../store/analytics'; import renderAnalyticsPage fr...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/JsonInclusion.js
g3r4n/create-esri-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 { abstract } from './assets/abstract.json'; export default () => <summary id="feature-json-inclusion"...
ajax/libs/rxjs/2.2.3/rx.compat.js
Nadeermalangadan/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
lib/views/check-run-view.js
atom/github
import React from 'react'; import PropTypes from 'prop-types'; import {graphql, createFragmentContainer} from 'react-relay'; import Octicon from '../atom/octicon'; import GithubDotcomMarkdown from './github-dotcom-markdown'; import {buildStatusFromCheckResult} from '../models/build-status'; export class BareCheckRunV...
example/App.js
leopoldjoy/react-selectable-extended
import React from 'react'; import { SelectableGroup, createSelectable } from 'react-selectable-extended'; import Album from './Album'; const isNodeInRoot = (node, root) => { while (node) { if (node === root) { return true; } node = node.parentNode; } return false; }; const SelectableAlbum = c...
client/src/About.js
martchellop/shcode
import React, { Component } from 'react'; import file from './data/about.json'; class About extends Component { render(){ const text_st = { fontSize: "16px" }; return( <div className="text-center fluid"> <h1>{file.title}</h1> {file.pars.map( (par, idx) => { return(<p key={idx...
traveller/App/Containers/SettingsScreen.js
Alabaster-Aardvarks/traveller
// @flow import React, { PropTypes } from 'react' import { View, ScrollView, Switch, Picker, Text, TouchableOpacity, Image } from 'react-native' import { connect } from 'react-redux' import MapActions from '../Redux/MapRedux' import { Actions as NavigationActions } from 'react-native-router-flux' import { Colors, Imag...
wp-content/plugins/the-events-calendar/vendor/jquery-resize/shared/jquery-1.4.1.js
mhenry13/famille-2015
/*! * jQuery JavaScript Library v1.4.1 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
app/javascript/mastodon/features/status/components/card.js
Nyoho/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import Immutable from 'immutable'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { FormattedMessage } from 'react-intl'; import punycode from 'punycode'; import classnames from 'classnames'; import Icon from 'mastodon/components/icon'; ...
ajax/libs/cyclejs-dom/8.1.0/cycle-dom.js
maruilian11/cdnjs
(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=self}else{g=this}g.CycleDOM = f()...
fields/types/select/SelectField.js
stunjiturner/keystone
import _ from 'underscore'; import Field from '../Field'; import React from 'react'; import Select from 'react-select'; import { FormInput } from 'elemental'; /** * TODO: * - Remove dependency on underscore * - Custom path support */ module.exports = Field.create({ displayName: 'SelectField', valueChanged (ne...
ajax/libs/elemental/0.5.0/elemental.min.js
quba/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;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Elemental=e()}}(function(){return function e(t,o,n){fun...
src/index.js
zacbraddy/HangryHippo
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App/components/App'; import '../node_modules/bootstrap/dist/css/bootstrap.min.css'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
src/components/Board/EditToolbar/EditToolbar.messages.js
amberleyromo/cboard
import { defineMessages } from 'react-intl'; export default defineMessages({ select: { id: 'cboard.components.Board.select', defaultMessage: 'Select' }, cancel: { id: 'cboard.components.Board.cancel', defaultMessage: 'Cancel' }, edit: { id: 'cboard.components.Board.edit', defaultMessa...
ajax/libs/clappr/0.0.67/clappr.js
dominicrico/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/av/fiber-dvr.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFiberDvr = (props) => ( <SvgIcon {...props}> <path d="M17.5 10.5h2v1h-2zm-13 0h2v3h-2zM21 3H3c-1.11 0-2 .89-2 2v14c0 1.1.89 2 2 2h18c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2zM8 13.5c0 .85-.65 1.5-1.5 1.5H3V9h3.5c.8...
ajax/libs/forerunnerdb/1.3.820/fdb-legacy.js
sreym/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...
react-client/src/components/Sky.js
francoabaroa/escape-reality
import {Entity} from 'aframe-react'; import React from 'react'; export default props => ( <Entity geometry={{primitive: 'sphere', radius: 100}} material={{shader: 'flat', src: props.src}} scale="1 1 -1"/> );
app/scripts/SelectizeDropdown.js
trespass-project/attack-navigator-map
const React = require('react'); const R = require('ramda'); const ReactSelectize = require('react-selectize'); const SimpleSelect = ReactSelectize.SimpleSelect; const MultiSelect = ReactSelectize.MultiSelect; import { createSelector } from 'reselect'; const getValueKey = (props) => props.valueKey; const getLabelKey =...
src/svg-icons/notification/bluetooth-audio.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationBluetoothAudio = (props) => ( <SvgIcon {...props}> <path d="M14.24 12.01l2.32 2.32c.28-.72.44-1.51.44-2.33 0-.82-.16-1.59-.43-2.31l-2.33 2.32zm5.29-5.3l-1.26 1.26c.63 1.21.98 2.57.98 4.02s-.36 2.82-...
app/components/Goal/Streamable/Streamable.js
prakashpaudel/goals
import React, { Component } from 'react'; import styles from './styles.scss'; export default class Streamable extends Component { render() { const { id } = this.props; return ( <div className={styles.container}> <div className={styles.wrapper}> <iframe src={`https://streamable.com/e/$...
src/svg-icons/navigation-arrow-drop-right.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../SvgIcon'; let NavigationArrowDropRight = (props) => ( <SvgIcon {...props}> <path d="M9.5,7l5,5l-5,5V7z" /> </SvgIcon> ); NavigationArrowDropRight = pure(NavigationArrowDropRight); NavigationArrowDropRight.displayName = 'Navi...
src/index.js
arnarleifs/ps-react-arnar
import React from 'react'; import ReactDOM from 'react-dom'; import Docs from './docs/Docs'; import './index.css'; import '../node_modules/highlight.js/styles/monokai-sublime.css'; ReactDOM.render( <Docs />, document.getElementById('root') );
packages/material-ui-icons/src/SentimentSatisfiedAltTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.5 4c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-7 0c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 ...
node_modules/rc-banner-anim/dist/rc-banner-anim.min.js
angustas/company
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports["rc-banner-anim"]=e(require("react"),require("react-dom")):t["rc-banner-anim"]=e(t.React,t.React...
modules/State.js
jeffreywescott/react-router
import React from 'react'; var { object } = React.PropTypes; /** * A mixin for components that need to know the path, routes, URL * params and query that are currently active. * * Example: * * import { State } from 'react-router'; * * var AboutLink = React.createClass({ * mixins: [ State ], * re...
ajax/libs/yui/3.12.0/event-focus/event-focus-debug.js
jdh8/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
packages/vulcan-admin/lib/modules/routes.js
acidsound/Telescope
import { addRoute, getDynamicComponent } from 'meteor/vulcan:core'; import React from 'react'; addRoute({ name: 'admin', path: '/admin', component: () => getDynamicComponent(import('../components/AdminHome.jsx'))});
assets/javascript/view/rat.js
benhu/RestApiTester
'use strict'; import React from 'react'; import Qwest from 'qwest'; import BaseComponent from './base'; import Operation from './operation'; export default class Rat extends BaseComponent { constructor(props) { super(props); this.state = {apiData: {operations:[]}}; } componentWillMount() {...
examples/todos/src/components/App.js
jhwgnu/redux
import React from 'react' import Footer from './Footer' import AddTodo from '../containers/AddTodo' import VisibleTodoList from '../containers/VisibleTodoList' const App = () => ( <div> <AddTodo /> <VisibleTodoList /> <Footer /> </div> ) export default App
client/components/SignupForm.js
caiquecaleiro/react-graphql-auth
import React, { Component } from 'react'; import { graphql } from 'react-apollo'; import { hashHistory } from 'react-router'; import AuthForm from './AuthForm'; import signupMutation from '../mutations/signup'; import currentUserQuery from '../queries/currentUser'; class SignupForm extends Component { constructor(p...
src/multi-select/index.js
twilson63/t63
import React from 'react' import R from 'ramda' import combine from '../lib/combine-string-lists' const { map, equals, contains, cond, T, append, reject } = R const idempotent = (v, values) => cond([[contains(v), reject(equals(v))], [T, append(v)]])(values) const MultiSelect = props => { const draw = v => c => {...
storybook/stories/autosuggest_textarea.story.js
TootCat/mastodon
import React from 'react'; import { List } from 'immutable'; import { action, storiesOf } from '@kadira/storybook'; import AutosuggestTextarea from 'mastodon/components/autosuggest_textarea'; const props = { onChange: action('changed'), onPaste: action('pasted'), onSuggestionSelected: action('suggestionsSelected...
ajax/libs/forerunnerdb/1.3.788/fdb-core.js
hare1039/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
app/javascript/mastodon/components/regeneration_indicator.js
theoria24/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import illustration from 'mastodon/../images/elephant_ui_working.svg'; const RegenerationIndicator = () => ( <div className='regeneration-indicator'> <div className='regeneration-indicator__figure'> <img src={illustration} alt='' /> ...
docs/src/app/components/pages/components/Slider/ExampleControlled.js
ruifortes/material-ui
import React from 'react'; import Slider from 'material-ui/Slider'; export default class SliderExampleControlled extends React.Component { state = { firstSlider: 0.5, secondSlider: 50, } handleFirstSlider(event, value) { this.setState({firstSlider: value}); } handleSecondSlider(event, value) {...
src/routes/index.js
mattroid/turboiep
/** * 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 App from '../components/...
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-bootstrap/0.31.0/es/Tabs.js
JamieMason/npm-cache-benchmark
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 ...