target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
src/icons/Image.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class Image extends React.Component { render() { if(this.props.bare) { return <g> <g> <path d="M368,224c26.5,0,48-21.5,48-48c0-26.5-21.5-48-48-48c-26.5,0-48,21.5-48,48C320,202.5,341.5,224,368,224z"></path> <path ...
client/node_modules/uu5g03/doc/main/client/src/data/source/uu5-forms-select-multiple.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import $ from 'jquery'; import {BaseMixin, ElementaryMixin, ContentMixin, Tools} from './../common/common.js'; import {Span, Div, Button, Glyphicon, Backdrop} from './../bricks/bricks.js'; import './select-multiple.less'; export default React.createClass({ mixins: [ BaseMixin, El...
src/js/components/ui/BottomNotificationBar/BottomNotificationBar.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import styles from './BottomNotificationBar.scss'; import ProgressBar from "../ProgressBar/ProgressBar"; import connectToStores from "../../../utils/connectToStores"; import WorkersStore from "../../../stores/WorkersStore"; import translate f...
src/svg-icons/image/hdr-on.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageHdrOn = (props) => ( <SvgIcon {...props}> <path d="M21 11.5v-1c0-.8-.7-1.5-1.5-1.5H16v6h1.5v-2h1.1l.9 2H21l-.9-2.1c.5-.3.9-.8.9-1.4zm-1.5 0h-2v-1h2v1zm-13-.5h-2V9H3v6h1.5v-2.5h2V15H8V9H6.5v2zM13 9H9.5v6H13...
ajax/libs/jquery/1.4.4/jquery.min.js
philipwalton/cdnjs
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
modules/__tests__/createRoutesFromReactChildren-test.js
nhunzaker/react-router
import expect from 'expect' import React, { Component } from 'react' import { createRoutesFromReactChildren } from '../RouteUtils' import IndexRoute from '../IndexRoute' import Route from '../Route' describe('createRoutesFromReactChildren', function () { class Parent extends Component { render() { return ...
src/client/components/Login.js
giulianf/Start-Redux
/** * Created by julienfumanti on 06/04/2017. */ import React, { Component } from 'react'; import { Grid, Row, Col } from 'react-bootstrap'; export default class Login extends Component { constructor (props){ super(props); } render() { return ( <Grid > <Row className='section section-pa...
public/docs/api/latest/@stdlib/stats/base/dists/t/median/benchmark_bundle.js
stdlib-js/www
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { //...
src/SafeAnchor.js
azmenak/react-bootstrap
import React from 'react'; import createChainedFunction from './utils/createChainedFunction'; /** * Note: This is intended as a stop-gap for accessibility concerns that the * Bootstrap CSS does not address as they have styled anchors and not buttons * in many cases. */ export default class SafeAnchor extends React...
src/main.js
tbmc/KaribouV3
import React from 'react' import ReactDOM from 'react-dom' import createStore from './store/createStore' import AppContainer from './containers/AppContainer' // ======================================================== // Store Instantiation // ======================================================== const initialState...
ajax/libs/react-autosuggest/7.0.0/autosuggest.js
cdnjs/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("React")); else if(typeof define === 'function' && define.amd) define(["React"], factory); else if(typeof exports === 'object') exports["Autosuggest"] = fac...
packages/starter-scripts/fixtures/kitchensink/src/features/syntax/ObjectDestructuring.js
chungchiehlun/create-starter-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() { return [ { id: 1, name: '1' }, ...
test/specs/cartesian/AreaSpec.js
scostaqb/recharts
import React from 'react'; import { expect } from 'chai'; import { Surface, Area } from 'recharts'; import { mount, render } from 'enzyme'; describe('<Area />', () => { const data = [ { x: 10, y: 50, value: 100 }, { x: 50, y: 50, value: 100 }, { x: 90, y: 50, value: 100 }, { x: 130, y: 50, value: 100...
app/javascript/mastodon/features/ui/components/boost_modal.js
Arukas/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Button from '../../../components/button'; import StatusContent from '../../../components/status_content'; import Av...
books-redux/src/index.js
rsancle/udemy-react
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import App from './components/app'; import reducers from './reducers'; const createStoreWithMiddleware = applyMiddleware()(createStore); ReactDOM.render( <Provi...
app/index.js
SiDevesh/Bootleg
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router, hashHistory } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; import routes from './routes'; import configureStore from './store/configureStore'; import './app.global.c...
stories/examples/apollo.js
codiemullins/downshift
import React from 'react' import { ApolloClient, ApolloProvider, createNetworkInterface, gql, graphql, } from 'react-apollo' import Autocomplete from '../../src' export default Examples const networkInterface = createNetworkInterface({ uri: 'https://api.graph.cool/simple/v1/cj5k7w90bjt2i0122z6v0syvu', }) ...
file-browser-ui/dev/acl/aclRows.js
CloudBoost/cloudboost
import React from 'react' import AutoComplete from 'material-ui/AutoComplete' import {Checkbox as RBCheckbox} from 'react-bootstrap'; //css require('./styles.css') class ACLRows extends React.Component { constructor() { super() this.state = { users: [], roles: [] } ...
ajax/libs/webshim/1.15.4/dev/shims/es6.js
calebmer/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
src/signIn/index.js
marchisbogdan/licenta-front
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import s from './style.css'; import Login from '../../components/Login'; import Layout from '../../components/Layout'; import * as operatorCredentials from '../intro/index.md'; import pageProps from "../pageProps.json"; import ...
src/js/getRoot.js
cpsubrian/motley-react-redux
import React from 'react' import {Provider} from 'react-redux' import App from './components/App' export default function getRoot (store) { return ( <Provider store={store}> {() => ( <App/> )} </Provider> ) }
public/js/components/edit_instrument.js
ajpocus/adventure-kit
let React = require('react'); import MusicActions from '../actions/music_actions'; import InstrumentComponent from './instrument_component'; let EditInstrument = React.createClass({ render: function () { let instrument = this.props.instrument; let components = instrument.components; let componentViews =...
src/buttons/icon-button.js
joxoo/react-material
import React from 'react'; import PropTypes from 'prop-types'; import {getClasses, touchPoint, hasTouchEvents} from '../addons'; import FontIcon from '../font-icon'; @hasTouchEvents @touchPoint @getClasses class IconButton extends React.Component { static propTypes= { className: PropTypes.string, ...
src/index.js
Peizhong/jsdemo
import React from 'react'; import { render } from 'react-dom'; import { createStore, applyMiddleware, combineReducers } from 'redux'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import { createLogger } from 'redux-logger'; import 'babel-polyfill'; import { Router, Route, IndexRoute, browser...
ajax/libs/x-editable/1.4.4/jqueryui-editable/js/jqueryui-editable.js
suy/cdnjs
/*! X-editable - v1.4.4 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
ajax/libs/vue/2.0.5/vue.runtime.js
kennynaoh/cdnjs
/*! * Vue.js v2.0.5 * (c) 2014-2016 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, (function...
src/lib/store.js
reapp/reapp-kit
import Fynx from 'fynx'; import Immutable from 'immutable'; import React from 'react'; var cursor; const store = function(obj) { if (obj) cursor = Fynx.createCursorStore(Immutable.fromJS(obj)); else return cursor(); } store.cursor = function(path, Component) { if (path) { if (!Component) retu...
ajax/libs/ui-router-extras/0.0.5/ct-ui-router-extras.min.js
dakshshah96/cdnjs
!function(window,undefined){"use strict";function $StickyStateProvider(){var inactiveStates={},stickyStates={};this.registerStickyState=function(state){stickyStates[state.name]=state},this.enableDebug=function(enabled){DEBUG=enabled},this.$get=["$rootScope","$state","$injector","$log",function($rootScope,$state,$inject...
packages/material-ui-icons/src/PollTwoTone.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="M5 19h14V5H5v14zm10-6h2v4h-2v-4zm-4-6h2v10h-2V7zm-4 3h2v7H7v-7z" opacity=".3" /><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-...
src/components/Screen.js
FaureWu/Resume
require('styles/Screen.css'); import React from 'react'; import Tool from './Tool'; import Basic from './Basic'; import Skill from './Skill'; import Career from './Career'; import Demo from './Demo'; class Screen extends React.Component { constructor(props) { super(props); this.state = { }; } compon...
clients/components/DocSearch/Components/Pagination.js
CalderaWP/Caldera-Forms
import React from 'react'; import { Pager } from 'react-bootstrap'; export class Pagination extends React.Component { constructor(props){ super(props); this.disablePrev = this.disablePrev.bind(this); this.disableNext = this.disableNext.bind(this); this.showPagination = this.showPag...
definitions/npm/react-intl_v2.x.x/flow_v0.23.x-v0.52.x/react-intl_v2.x.x.js
gaborsar/flow-typed
/** * Original implementation of this file by @marudor at https://github.com/marudor/flowInterfaces * Copied here based on intention to merge with flow-typed expressed here: * https://github.com/marudor/flowInterfaces/issues/6 */ import React from 'react'; // Mostly from https://github.com/yahoo/react-intl/wiki/AP...
grunt/tasks/npm-react-addons.js
cinic/react
'use strict'; var assign = require('object-assign'); var fs = require('fs'); var grunt = require('grunt'); var path = require('path'); var addons = { CSSTransitionGroup: { module: 'ReactCSSTransitionGroup', name: 'css-transition-group', }, LinkedStateMixin: { module: 'LinkedStateMixin', name: 'l...
src/App.js
goblinbr/manager-react-native-app
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import firebase from 'firebase'; import ReduxThunk from 'redux-thunk'; import reducers from './reducers'; import { AppWithNavigationState } from './AppWithNavigationState'; const stor...
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/src/CardBody.js
GoogleCloudPlatform/prometheus-engine
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules, tagPropType } from './utils'; const propTypes = { tag: tagPropType, className: PropTypes.string, cssModule: PropTypes.object, innerRef: PropTypes.oneOfType([ PropTypes.object, P...
app/javascript/mastodon/features/ui/components/column_subheading.js
yi0713/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const ColumnSubheading = ({ text }) => { return ( <div className='column-subheading'> {text} </div> ); }; ColumnSubheading.propTypes = { text: PropTypes.string.isRequired, }; export default ColumnSubheading;
src/routes/Items/components/Items.js
michaelgu95/ZltoReduxCore
import React, { Component } from 'react'; import { Link } from 'react-router'; import functional from 'react-functional'; import Modal from 'boron/DropModal'; import _ from 'lodash'; import Spinner from 'react-spinkit'; const modalStyle = { width: 'inherit', height: 'inherit' }; export function Item({item}) {...
js/jquery.js
awildeone/FoursquareCamp-Edgy
/*! 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/Header/Header.js
rainbowland302/hangman
import React from 'react'; import './Header.scss'; import WingButton from '../WingButton/WingButton'; import FieldEditor from '../FieldEditor/FieldEditor'; const Header = (props) => ( <div className="header-wrapper"> <WingButton onClick={props.autoPlay}></WingButton> <FieldEditor value={props.email} onChang...
src/client/pages/user/User.js
BhumiSukhadiya/React_Project_Repo
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; // Import Style import styles from './User.css'; class User extends Component { render() { return ( <div>User</div> ); } } const mapStateT...
example/src/index.js
hupe1980/firebase-sagas
import React from 'react'; import ReactDOM from 'react-dom'; import { createStore, applyMiddleware, compose } from 'redux'; import { Provider } from 'react-redux'; import createSagaMiddleware from 'redux-saga'; import createHistory from 'history/createBrowserHistory'; import { ConnectedRouter, routerMiddleware as creat...
app/javascript/mastodon/components/avatar.js
glitch-soc/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { autoPlayGif } from '../initial_state'; export default class Avatar extends React.PureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, size: PropType...
app/javascript/mastodon/features/reblogs/index.js
lindwurm/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import { fetchReblogs ...
src/containers/Home.js
fracasula/react-redux-jest-boilerplate
import React from 'react'; import SearchBox from './../components/SearchBox'; import RelatedWords from './../components/RelatedWords'; import ReduxComponent from './ReduxComponent'; import {fetchRelatedWords} from './../actions'; class Home extends ReduxComponent { search = (value) => { if (value !== this....
content/theme/components/Stats/applications.js
typesettin/NativeCMS
import React, { Component } from 'react'; import { StyleSheet, Text, View, Platform, ListView, Image, Dimensions, } from 'react-native'; import styles from '../../../../app/components/Styles/shared'; import layoutStyles from '../../../../app/components/Styles/layout'; import Icons from '../../../../app/components/Icons...
ajax/libs/video.js/4.7.0/video.dev.js
barkinet/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
docs/pages/api/step-connector.js
kybarg/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './step-connector.md'; export default function Page() { return <MarkdownDocs markdown={markdown} />; }
test/test_helper.js
jwhite4870/moreReactRedux
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
ajax/libs/video.js/5.10.8/video.js
menuka94/cdnjs
/** * @license * Video.js 5.10.8 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Vers...
packages/react-router/modules/__tests__/integration-test.js
react-translate-team/react-router-CN
import expect from 'expect' import React from 'react' import ReactDOM from 'react-dom' import MemoryRouter from '../MemoryRouter' import Route from '../Route' describe('Integration Tests', () => { it('renders nested matches', () => { const node = document.createElement('div') const TEXT1 = 'Ms. Tripp' co...
app/utils/buildComponentList.js
natac13/portfolio-2016
import React from 'react'; import { curry } from 'ramda'; function buildComponentList(windowSize, component, data, index) { return ( React.createElement(component, { key: index, ...data, windowSize }) ); } export default curry(buildComponentList);
src/js/components/spark/Loader/index.js
gperreymond/dashboard-react
// react import React from 'react'; import { CircularProgress } from 'material-ui'; // packages // local const SparkLoader = React.createClass({ render() { return( <CircularProgress size={ 2 } /> ); } }); export default SparkLoader;
attic/gatsby/components/LinkList.js
staystatic/staystatic
import React from 'react' export default class LinkList extends React.Component { render() { const {links} = this.props; return ( <ul> {links.map( link => <li><a href={link.url}>{link.title}</a></li> )} </ul> ) } }
test/test-cases/react-css-modules/app/src/render.js
seek-oss/sku
import React from 'react'; import { renderToString } from 'react-dom/server'; import dedent from 'dedent'; import App from './App'; export default { renderApp: ({ SkuProvider }) => renderToString( <SkuProvider> <App /> </SkuProvider>, ), renderDocument: ({ app, bodyTags, headTags }) =>...
src/shared/utils/reactProdInvariant.js
sekiyaeiji/react
/** * 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. * * @provides...
site/pages/HomePage.js
arnif/react-dnd
import React from 'react'; import Header from '../components/Header'; import PageBody from '../components/PageBody'; import StaticHTMLBlock from '../components/StaticHTMLBlock'; import IndexHTML from '../../docs/index.md'; export default class HomePage { render() { return ( <div> <Header showCover ...
src/svg-icons/action/bookmark-border.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionBookmarkBorder = (props) => ( <SvgIcon {...props}> <path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"/> </SvgIcon> ); ActionBookmarkBorder = pure(ActionBook...
ajax/libs/rxjs/2.2.21/rx.lite.extras.js
SanaNasar/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, ...
app/javascript/mastodon/features/following/index.js
lynlynlynx/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { debounce } from 'lodash'; import LoadingIndicator from '../../components/loading...
src/documentation/Layout/Layout-story.js
wfp/ui
/* eslint-disable no-console */ import React from 'react'; import { storiesOf } from '@storybook/react'; import Page from '../Page'; import { List, ListItem } from '../../components/List'; storiesOf('Design|Guidelines', module) .addParameters({ options: { showPanel: false, isToolshown: false } }) .add('Layout', (...
app/Root.js
alubbe/redux-blog-example
/* eslint-env browser */ /* global process */ import React from 'react'; import { Router } from 'react-router'; import { Provider } from 'react-redux'; import cookie from './utils/cookie'; import routes from './routes'; import { routerStateChange } from './actions/router'; import { createRedux } from './utils/redux'; ...
react-ui/src/components/formitems/LabeledInput.js
PSilling/rh-massages
// react imports import React, { Component } from "react"; import PropTypes from "prop-types"; // module imports import { Col, FormGroup, Label, Input, Tooltip } from "reactstrap"; // util imports import Util from "../../util/Util"; /** * A combined formgroup component with a label (can have a tooltip) and an input...
upload/admin/view/javascript/jquery/jquery-ui/external/jquery/jquery.js
ocshop/ocshop
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
src/components/wallet/index.js
liuyuanquan/kankan
import React from 'react'; import { render } from 'react-dom'; import classnames from 'classnames'; class Wallet extends React.Component { constructor() { super(); this.state = { activeIndex: 0 } } changeOpacity() { let _this = this; let i = 0, id; (function j() { id = requestAnimationFrame(j); ...
src/components/Header/Header.js
ycjonlin/voca-toca
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React from 'react'; import styles from './Header.less'; import withStyles from '../../decorators/withStyles'; import Link from '../../utils/Link'; import Navigation from '../Navigation'; @withStyles(styles) class Header { render() { ...
packages/@lyra/form-builder/src/inputs/BlockEditor/nodes/InlineObject.js
VegaPublish/vega-studio
// @flow import type { BlockContentFeatures, SlateValue, Type, SlateChange, Marker } from '../typeDefs' import type {Node} from 'react' import ReactDOM from 'react-dom' import Base64 from 'slate-base64-serializer' import React from 'react' import {Block, Range} from 'slate' import {isEqual} from 'lodash' imp...
components/date-picker/picker.js
TDFE/td-ui
/** * @Author: Zhengfeng.Yao <yzf> * @Date: 2017-06-21 14:46:57 * @Last modified by: yzf * @Last modified time: 2017-06-21 14:46:58 */ import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import createChainedFunction from '../util/createChainedFunction'; import KeyC...
ajax/libs/aui/5.2-m6/js/aui-dependencies.js
coupang/cdnjs
/*! AUI Flat Pack - version 5.2-m6 - generated 2013-05-29 03:12:37 -0400 */ /* * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * D...
ajax/libs/alt/0.17.0/alt-with-addons.js
seogi1004/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Alt"] = factory(req...
src/index.js
smashercosmo/clipper-scan
import React from 'react'; import App from './App'; React.render(<App />, document.getElementById('root'));
docs/src/examples/elements/Label/Types/LabelExampleCorner.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Grid, Image } from 'semantic-ui-react' const LabelExampleCorner = () => ( <Grid columns={2}> <Grid.Column> <Image fluid label={{ as: 'a', corner: 'left', icon: 'heart' }} src='/images/wireframe/image.png' /> </Grid.Column> <Grid.Colu...
es/components/catalog-view/catalog-list.js
dearkaran/react-planner
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; import React from 'react'; import PropTypes from 'prop-types'...
assets/jqwidgets/demos/react/app/navbar/defaultfunctionality/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxNavBar from '../../../jqwidgets-react/react_jqxnavbar.js'; class App extends React.Component { render() { let navBar1InnerHtml = '<ul>' + '<li>1</li>' + '<li>2</li>' + '</ul>'; le...
ajax/libs/6to5/1.14.16/browser-polyfill.js
cluo/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/svg-icons/image/flash-auto.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlashAuto = (props) => ( <SvgIcon {...props}> <path d="M3 2v12h3v9l7-12H9l4-9H3zm16 0h-2l-3.2 9h1.9l.7-2h3.2l.7 2h1.9L19 2zm-2.15 5.65L18 4l1.15 3.65h-2.3z"/> </SvgIcon> ); ImageFlashAuto = pure(ImageFla...
src/student/components/postovi/popuni.js
zeljkoX/e-learning
import React from 'react'; import CardHeader from 'material-ui/lib/card/card-header'; import CardText from 'material-ui/lib/card/card-text'; import CardActions from 'material-ui/lib/card/card-actions'; import Card from 'material-ui/lib/card/card'; import Avatar from 'material-ui/lib/avatar'; import FlatButton from 'mat...
app/index.js
AamuLumi/PFD
import 'babel-polyfill'; import React from 'react'; import {render} from 'react-dom'; import {AppContainer} from 'react-hot-loader'; import {Provider} from 'react-redux'; import {Router, Route, IndexRoute, browserHistory} from 'react-router'; import {syncHistoryWithStore} from 'react-router-redux'; import configureSto...
packages/react-router/modules/withRouter.js
goblortikus/react-router
import React from 'react' import Route from './Route' /** * A public higher-order component to access the imperative API */ const withRouter = (Component) => { const C = (props) => ( <Route render={routeComponentProps => ( <Component {...props} {...routeComponentProps}/> )}/> ) C.displayName = `...
app/components/ConfigureScenes/index.js
cerebral/cerebral-reference-app
import React from 'react'; import {Decorator as Cerebral} from 'cerebral-view-react'; import styles from './styles.css'; import elements from 'common/elements.css'; @Cerebral() class ConfigureScenes extends React.Component { onNewSceneSubmit(e) { e.preventDefault(); this.props.signals.course.addSceneSubmitte...
node_modules/react-router/es6/IndexRedirect.js
narmeen12/ecan
import React from 'react'; import warning from './routerWarning'; import invariant from 'invariant'; import Redirect from './Redirect'; import { falsy } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.string; var object = _React$PropTypes.object; /** * An <IndexRedir...
docs-ui/components/dropdownAutoComplete.stories.js
mvaled/sentry
import React from 'react'; import {storiesOf} from '@storybook/react'; import {withInfo} from '@storybook/addon-info'; import Button from 'app/components/button'; import DropdownAutoComplete from 'app/components/dropdownAutoComplete'; import DropdownButton from 'app/components/dropdownButton'; const items = [ { ...
sample/App.js
nuke99/react-native-file-share
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { Platform, StyleSheet, Text, View, Image, Button } from 'react-native'; import RNFileShare from 'react-native-file-share' const RNFS = require('react-native-fs'); // ...
__tests__/components/DateTime-test.js
nickjvm/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import DateTime from '../../src/js/components/DateTime'; // needed because this: // https://github.com/facebook/jest/issues/1353 jest.mock('react-dom'); describe('DateTime', ()...
src/components/video_list.js
ankit1990rana/react
import React from 'react'; import VideoListItem from './video_list_item'; /** * onVideoSelect receive data and pass to its parent component * * First commented like does the same thing and pass it as a property but its confusing now */ const VideoList = (props) => { const videoItems = props.videos.map((video...
src/svg-icons/image/crop.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCrop = (props) => ( <SvgIcon {...props}> <path d="M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"/> </SvgIcon> ); ImageCrop = pure(ImageCrop); ImageCrop.displayNam...
ajax/libs/forerunnerdb/1.3.504/fdb-core.js
dlueth/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/addons/replication/components/target.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...
src/Route_test.js
gbuonc/internazionale-pwa
import React from 'react' import { BrowserRouter as Router, Route, NavLink, Switch, Redirect } from 'react-router-dom' import createBrowserHistory from 'history/createBrowserHistory' const history = createBrowserHistory() const Home = () =>( <h1>Home</h1> ) const About = (props) =>( <div> <h1>About</h1> {J...
frontend/src/router/router.js
marcelib/Community
import React from 'react'; import { Route, Redirect, IndexRoute } from 'react-router'; import App from 'container/App'; import SimpleListComponent from 'container/SimpleListComponent'; import PrivatePage from 'container/PrivatePage'; import LoginPage from 'container/LoginPage'; import privateRoute from 'router/private...
app/javascript/mastodon/components/loading_indicator.js
rainyday/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; const LoadingIndicator = () => ( <div className='loading-indicator'> <div className='loading-indicator__figure' /> <FormattedMessage id='loading_indicator.label' defaultMessage='Loading...' /> </div> ); export default LoadingIndicat...
src/svg-icons/action/room.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionRoom = (props) => ( <SvgIcon {...props}> <path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z...
frontend/src/components/SearchInput.js
daGrevis/msks
import fp from 'lodash/fp' import React from 'react' import '../styles/SearchInput.css' class SearchInput extends React.Component { inputNode = null componentDidMount() { if (fp.isEmpty(this.props.query)) { this.inputNode.focus() } } render() { return ( <div className="SearchInput"> ...
src/containers/Authorize.js
jmporchet/bravakin-client
import React from 'react'; import { connect } from 'react-redux'; import { Redirect } from 'react-router-dom'; import { saveInstagramToken } from '../actions'; class Authorize extends React.Component { constructor () { super(); this.state = {}; } componentWillMount () { if (window.location.hash && ...
components/Login.js
zaragozamartin91/taller2SharedServer
import React from 'react'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import RaisedButton from 'material-ui/RaisedButton'; import TextField from 'material-ui/TextField'; import { Card, CardActions, CardHeader, CardText } from 'material-ui/Card'; import FlatButton from 'material-ui/FlatButton';...
src/components/Nav/Nav.js
isaacrowntree/hyde
import React, { Component } from 'react'; import { LOGOUT, Store } from './../../Redux'; class Nav extends Component { constructor(props) { super(props); this.logout = this.logout.bind(this); } logout(e) { Store.dispatch({type: LOGOUT}); e.preventDefault(); } render() { return ( ...
assets/javascripts/kitten/karl/helpers/lazy/img-with-lazy.js
KissKissBankBank/kitten
import React from 'react' import { withLazy } from 'kitten' const ImgWithLazy = ({ isLazyTriggered, imgSrc, width, height }) => ( <img src={isLazyTriggered ? imgSrc : undefined} width={width} height={height} style={{ background: '#eee' }} /> ) export default withLazy(ImgWithLazy)
public/controllers/management/components/management/ruleset/ruleset-filter-bar.js
wazuh/wazuh-kibana-app
/* * Wazuh app - React component for registering agents. * Copyright (C) 2015-2022 Wazuh, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at ...
node_modules/material-ui/lib/svg-icons/editor/format-align-right.js
Sporks/Doc-tor
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
RNApp/node_modules/react-native/Libraries/Image/Image.ios.js
abhaytalreja/react-native-telescope
/** * 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...
ajax/libs/react-intl/1.1.0/react-intl-with-locales.min.js
hare1039/cdnjs
(function(){"use strict";function a(a){var b,c,d,e,f=Array.prototype.slice.call(arguments,1);for(b=0,c=f.length;c>b;b+=1)if(d=f[b])for(e in d)o.call(d,e)&&(a[e]=d[e]);return a}function b(a,b,c){this.locales=a,this.formats=b,this.pluralFn=c}function c(a){this.id=a}function d(a,b,c,d){this.id=a,this.offset=b,this.options...