path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
renderer/components/Pay/PayHeader.js
LN-Zap/zap-desktop
import React from 'react' import PropTypes from 'prop-types' import { FormattedMessage } from 'react-intl' import { Header } from 'components/UI' import Lightning from 'components/Icon/Lightning' import Onchain from 'components/Icon/Onchain' import Send from 'components/Icon/Send' import messages from './messages' impo...
stories/fela.js
Kilix/selectless
import React from 'react' import PropTypes from 'prop-types' import {storiesOf} from '@storybook/react' import {Provider, createComponentWithProxy} from 'react-fela' import createRenderer from './utils/felaProvider' import simpleOptions from './utils/options' import { Clear, Select, Item, Label, Search, Li...
ajax/libs/forerunnerdb/1.3.714/fdb-legacy.min.js
wout/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
components/PageLayout.js
react-community/native-directory
import React from 'react'; import { StyleSheet, css } from 'glamor/aphrodite'; export default props => { return ( <div className={css(styles.layout)}> <div className={css(styles.left)}>{props.children}</div> <div className={css(styles.right)}>{props.rightSide}</div> </div> ); }; let styles = ...
anubis/ui/components/scratchpad/ScratchpadToolbarContainer.js
KawashiroNitori/Anubis
import _ from 'lodash'; import React from 'react'; import { connect } from 'react-redux'; import Icon from '../react/IconComponent'; import Toolbar, { ToolbarItemComponent as ToolbarItem, ToolbarButtonComponent as ToolbarButton, ToolbarSplitComponent as ToolbarSplit, } from './ToolbarComponent'; import i18...
src/components/pages/Admin/Orders/AdminOrdersEdit.js
ESTEBANMURUZABAL/my-ecommerce-template
/** * Imports */ import React from 'react'; import connectToStores from 'fluxible-addons-react/connectToStores'; import {FormattedMessage} from 'react-intl'; import {Link} from 'react-router'; // Flux import OrderDetailsStore from '../../../../stores/Orders/OrderDetailsStore'; import OrderEmailStore from '../../../....
src/components/background/header.js
dadiaoguai/blog-react-demo-front
import React from 'react' import propTypes from 'prop-types' import { Link, withRouter, } from 'react-router-dom' import { axiosInstance as axios } from '../../config' import { logout } from '../../actions/index' class Header extends React.Component { constructor(props) { super(props) this.logout = this....
examples/async/index.js
chentsulin/redux
import 'babel-polyfill' import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import App from './containers/App' import configureStore from './store/configureStore' const store = configureStore() render( <Provider store={store}> <App /> </Provider>, document.get...
src/containers/SideMenu/SideMenu.js
marinbgd/coolbeer
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import './SideMenu.scss'; import SideDropDown from '../../components/SideDropDown/SideDropDown'; import LinearProgress from 'material-ui/LinearProgress'; import { find } from 'lodash'; import { SIDEMENU_SET_SELECTED...
src/components/locations/locations-list.js
Xabadu/VendOS
import React, { Component } from 'react'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; import { getLocationsFullList, deleteLocation } from '../../actions/locations'; class LocationsList extends Component { con...
Samples/Branding.DeployCustomThemeWeb/DeployCustomThemeWeb/Scripts/jquery-1.9.1.js
lamills1/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
src/layouts/CoreLayout/CoreLayout.js
Ealon/react-redux-starter-kit
import React from 'react' import Header from '../../components/Header' import './CoreLayout.scss' import '../../styles/core.scss' export const CoreLayout = ({ children }) => ( <div> <Header /> {children} </div> ) CoreLayout.propTypes = { children : React.PropTypes.element.isRequired } export default Co...
eventkit_cloud/ui/static/ui/app/tests/MapTools/ZoomLevelLabel.spec.js
terranodo/eventkit-cloud
import React from 'react'; import { createShallow } from '@material-ui/core/test-utils'; import ZoomLevelLabel from '../../components/MapTools/ZoomLevelLabel'; describe('ZoomLevelLabel component', () => { let shallow; beforeAll(() => { shallow = createShallow(); }); const getProps = () => ({ ...
src/js/index.js
liveplant/liveplant.io
import _ from 'lodash'; import Action from './models/Action'; import React from 'react'; import VoteButtons from './components/VoteButtons'; import VoteCount from './components/VoteCount'; import CurrentAction from './components/CurrentAction'; import LivePlantApp from './components/LivePlantApp'; import '../scss/main...
fixtures/output/webpack-message-formatting/src/AppUnknownFile.js
IamJoseph/create-react-app
import React, { Component } from 'react'; import DefaultExport from './ThisFileSouldNotExist'; class App extends Component { render() { return <div className="App" />; } } export default App;
src/ui/containers/AppContainer.js
notifapi/notifapi-web
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { meFromToken, meFromTokenSuccess, meFromTokenFailure, resetToken } from '../actions/users'; import App from '../components/App.js'; const mapDispatchToProps = (dispatch) => { return { loadUserFromToken: () => { ...
app/javascript/mastodon/components/__tests__/avatar-test.js
cobodo/mastodon
import React from 'react'; import renderer from 'react-test-renderer'; import { fromJS } from 'immutable'; import Avatar from '../avatar'; describe('<Avatar />', () => { const account = fromJS({ username: 'alice', acct: 'alice', display_name: 'Alice', avatar: '/animated/alice.gif', avatar_static:...
react-native/nativebase/js/components/weekExplorer/index.js
lemol/diario-escola-sabatina
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Text, Button, Icon, Footer, FooterTab } from 'native-base'; import { openDrawer } from '../../actions/drawer'; import { popRoute } from '../../actions/route'; import styles from './styles'; cl...
assets/jqwidgets/demos/react/app/chart/columnrange/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxChart from '../../../jqwidgets-react/react_jqxchart.js'; class App extends React.Component { render() { let data = [ { 'month': 'Jan', 'min': -1.9, 'max': 3.7, 'avg': 0.2 }, { 'month': 'Feb', 'min': -0.9, 'max...
actor-apps/app-web/src/app/components/common/Favicon.react.js
WangCrystal/actor-platform
import React from 'react'; import FaviconStore from 'stores/FaviconStore'; export default class Fav extends React.Component { constructor(props) { super(props); FaviconStore.addChangeListener(this.update) } componentWillUnmount() { FaviconStore.removeChangeListener(this.update); } update() { ...
public/src/js/components/app.js
asarode/learn-buckets
import React from 'react'; import { list as BucketList } from './buckets'; import { RouteHandler } from 'react-router'; class App extends React.Component { constructor(props) { super(props); this.state = {}; } render() { return ( <div className="row"> <h1 className="lb-header">Learn Buckets</h1> <...
src/components/common/svg-icons/action/view-day.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionViewDay = (props) => ( <SvgIcon {...props}> <path d="M2 21h19v-3H2v3zM20 8H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zM2 3v3h19V3H2z"/> </SvgIcon> ); ActionViewDay = pure(A...
where-to-turn-next_files/jquery-1.11.3/jquery.min.js
ajlyons/rspatial-baygeo-f17
/*! jQuery v1.11.3 | (c) 2005, 2015 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...
test/RowSpec.js
HorizonXP/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Row from '../src/Row'; describe('Row', function () { it('uses "div" by default', function () { let instance = ReactTestUtils.renderIntoDocument( <Row /> ); assert.equal(React.findDOMNode(instance).nodeName, 'D...
ajax/libs/yui/3.0.0/event-custom/event-custom-base.js
idleberg/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
src/with-redux-store.js
hoover/ui
import React from 'react'; import { initializeStore } from './store'; const isServer = typeof window === 'undefined'; const __NEXT_REDUX_STORE__ = '__NEXT_REDUX_STORE__'; function getOrCreateStore(initialState) { // Always make a new store if server, otherwise state is shared between requests if (isServer) { ...
ajax/libs/x-editable/1.5.1/bootstrap3-editable/js/bootstrap-editable.js
wmkcc/cdnjs
/*! X-editable - v1.5.1 * 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 form tag!...
Faw.Web.Client/src/layouts/NotFoundLayout/NotFoundLayout.js
Demenovich-A-J/Family-s-adventure-world
import React from 'react' import { Grid } from 'react-mdl' import './NotFoundLayout.scss' export const NotFoundLayout = ({ children }) => ( <Grid> { children } </Grid> ) NotFoundLayout.propTypes = { children: React.PropTypes.object.isRequired } export default NotFoundLayout
ReactJS_NoteApp/node_modules/prop-types/prop-types.js
canhphong/canhphong.github.io
(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.PropTypes = f(...
src/components/App/Header/Drawer.js
dominicfallows/todo-app-react-redux-aws
import React from 'react'; import HeaderNav from "./Nav"; const HeaderDrawer = () => ( <div className="mdl-layout__drawer"> <span className="mdl-layout-title">Todo App</span> <HeaderNav /> </div> ); export default HeaderDrawer;
ajax/libs/jointjs/0.9.4/joint.js
amoyeh/cdnjs
/*! JointJS v0.9.3 - JavaScript diagramming library 2015-07-23 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * @license * Lo-Dash 2.4.1 (Custom Build) <http://...
fields/types/select/SelectColumn.js
Freakland/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/src/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/src/components/ItemsTableValue'; var SelectColumn = React.createClass({ displayName: 'SelectColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.ob...
test/PanelGroupSpec.js
sheep902/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import PanelGroup from '../src/PanelGroup'; import Panel from '../src/Panel'; describe('PanelGroup', () => { it('Should pass bsStyle to Panels', () => { let instance = ReactTestUtils.renderIntoDocument( <PanelGroup bsStyle="d...
features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Tasks/index.js
lakmali/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
packages/material-ui-icons/src/BorderColorSharp.js
lgollut/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M17.75 8L14 4.25l-10 10V18h3.75l10-10zm3.66-3.66L17.66.59 15 3.25 18.75 7l2.66-2.66z" /><path fillOpacity=".36" d="M0 20h24v4H0v-4z" /></React.Fragment> , 'BorderColorSharp');
src/index.js
Nfinley/Showcase-Playlist-Generator
import React from 'react'; import ReactDOM from 'react-dom'; import configureStore from './store/configureStore'; import { Provider } from 'react-redux'; import { ConnectedRouter } from 'react-router-redux'; import createHistory from 'history/createBrowserHistory'; import { MuiThemeProvider, createMuiTheme } from '@mat...
ajax/libs/babel-core/5.2.0/browser-polyfill.js
jackdoyle/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/hdr-on.js
rhaedes/material-ui
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/material-ui/5.0.0-alpha.17/Tabs/ScrollbarSize.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import debounce from '../utils/debounce'; import { ownerWindow } from '../utils'; const styl...
node_modules/bower/node_modules/inquirer/node_modules/rx/src/core/linq/observable/amb.js
sticksnleaves/ghost-blog
/** * Propagates the observable sequence or Promise that reacts first. * * @example * var = Rx.Observable.amb(xs, ys, zs); * @returns {Observable} An observable sequence that surfaces any of the given sequences, whichever reacted first. */ Observable.amb = function () { var acc = observableNev...
app/jsx/grading/GradingPeriodSetCollection.js
venturehive/canvas-lms
/* * Copyright (C) 2016 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
hdpDrupal/sites/default/files/js/js_7jrk4_-HznH8Hm0aD3SAQLHbUA5cd0SG6-ui8dokQTk.js
IrvinAyala/fase2hdp
/*! jQuery v2.2.4 | (c) jQuery Foundation | 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 window?window:this,fun...
src/routes/register/index.js
machix/mm-inventory
/** * 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 Layout from '../../co...
newnodejs/node_modules/react/lib/flattenChildren.js
saivarunr/zemoso-training
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
src/pages/Login/index.js
EehMauro/dyscalculia-web
import React from 'react'; import { connect } from 'react-redux'; import { withStyles } from 'material-ui/styles'; import { SinglePage, RaisedButton } from '../../components'; import { colors } from '../../conventions'; import Typography from 'material-ui/Typography'; import TextField from 'material-ui/TextField'; im...
ajax/libs/babel-core/5.8.6/browser-polyfill.js
lobbin/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/components/Footer.js
angeloocana/tic-tac-toe-ai
import React from 'react'; import PropTypes from 'prop-types'; import Gravatar from 'react-gravatar'; import HeartIcon from './HeartIcon'; import FaGithub from 'react-icons/lib/fa/github'; import A from './A'; import styled from 'styled-components'; import Ca from './flags/Ca'; import {FormattedMessage} from 'react-int...
ajax/libs/zeroclipboard/2.1.4/ZeroClipboard.js
NamPNQ/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.1.4 */ (function(window, undefined) { "use strict";...
src/svg-icons/action/zoom-in.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionZoomIn = (props) => ( <SvgIcon {...props}> <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 1...
ajax/libs/boardgame-io/0.47.8/esm/react-native.js
cdnjs/cdnjs
import 'nanoid'; import { _ as _inherits, a as _createSuper, b as _createClass, c as _defineProperty, d as _classCallCheck, e as _objectWithoutProperties, f as _objectSpread2 } from './Debug-67a310b2.js'; import 'redux'; import './turn-order-0d61594c.js'; import 'immer'; import 'lodash.isplainobject'; import './reducer...
examples/crna-kitchen-sink/storybook/stories/Knobs/index.js
rhalff/storybook
import React from 'react'; import { View, Text } from 'react-native'; import { text, number, boolean, color, select, array, date, object, } from '@storybook/addon-knobs/react'; export default () => { const name = text('Name', 'Storyteller'); const age = number('Age', 70, { range: true, min: 0, max...
src/components/MenuItem.js
angeloocana/tic-tac-toe-ai
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import Link from 'gatsby-link'; import { FormattedMessage } from 'react-intl'; const MenuLink = styled(Link)` font-size: ${props => props.theme.menu.a.fontSize}; padding-bottom: ${props => props.theme.menu.a....
ajax/libs/analytics.js/1.5.6/analytics.min.js
DDMAL/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
src/icons/IosBasketballOutline.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosBasketballOutline extends React.Component { render() { if(this.props.bare) { return <g> <path d="M256,48C141.137,48,48,141.136,48,256s93.137,208,208,208c114.871,0,208-93.138,208-208S370.871,48,256,48z M446...
ajax/libs/flocks.js/1.6.0/flocks.min.js
callumacrae/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function h(a){return"[object Array]"===Object.prototype.toString.call(a)}function l(a){return"undefined"===typeof a}function v(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function b(a,c){if("string"===type...
src/Parser/Mage/Frost/Modules/Items/Tier20_2set.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import Combatants from 'Parser/Core/Modules/Combatants'; import Analyzer from 'Parser/Core/Analyzer'; import HIT_TYPES from 'Parser/Core/HIT_TYPES'; import calculateEffecti...
basic-filter-table/src/index.js
krescruz/redux-component
import React from 'react' import { render } from 'react-dom' import { createStore } from 'redux' import { Provider } from 'react-redux' import App from './components/App' import reducer from './reducers' const store = createStore(reducer) render( <Provider store={store}> <App /> </Provider>, document.getEle...
webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionRepositoryCell.js
snagoor/katello
import React from 'react'; import { translate as __ } from 'foremanReact/common/I18n'; import { urlBuilder } from 'foremanReact/common/urlHelpers'; import { camelCase, isEmpty, } from 'lodash'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { Grid, GridItem, } from '@pattern...
src/PhpMob/ChangMinBundle/Resources/private/app/src/component/Breadcrumb.js
phpmob/changmin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; //import cls from 'classnames'; export default class Breadcrumb extends Component { static propTypes = { data: PropTypes.object.isRequired, }; render() { return ( <div className="nav-breadcrumb" dange...
ajax/libs/forerunnerdb/1.3.786/fdb-core.js
humbletim/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/index.js
lorange/my-gallery-react
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/Main'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
src/index.js
yipjiajie/TopBloc
import React from 'react'; import ReactDOM from 'react-dom'; import update from 'react-addons-update'; import Stage from './stage'; import Previews from './previews'; import Selected from './selected'; import SaveFormation from './saveFormation'; import Holding from './holding'; import initialState from './constants';...
packages/react/components/accordion-item.js
iamxiaoma/Framework7
import React from 'react'; import Utils from '../utils/utils'; import Mixins from '../utils/mixins'; import __reactComponentDispatchEvent from '../runtime-helpers/react-component-dispatch-event.js'; import __reactComponentSlots from '../runtime-helpers/react-component-slots.js'; import __reactComponentSetProps from '.....
blueocean-material-icons/src/js/components/svg-icons/places/golf-course.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const PlacesGolfCourse = (props) => ( <SvgIcon {...props}> <circle cx="19.5" cy="19.5" r="1.5"/><path d="M17 5.92L9 2v18H7v-1.73c-1.79.35-3 .99-3 1.73 0 1.1 2.69 2 6 2s6-.9 6-2c0-.99-2.16-1.81-5-1.97V8.98l6-3.06z"/> </SvgIcon> ); PlacesGolfCourse....
tests/lib/rules/jsx-no-invalid-props/valid-2.js
craigbilner/eslint-plugin-react-props
/* eslint-disable import/no-unresolved, import/extensions */ import React from 'react'; const MyComponent = {}; const Message = {}; /* The content below this comment is loosely based on one of the examples from the below url: https://github.com/facebook/react/blob/bc86ac4380/docs/docs/typechecking-with-proptypes.m...
ajax/libs/yasgui/1.0.17/yasgui.min.js
joeylakay/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/universalRouter.js
clintonhalpin/react-redux-universal-hot-example
import React from 'react'; import Router from 'react-router'; import createRoutes from './views/createRoutes'; import { Provider } from 'react-redux'; const getFetchData = (component={}) => { return component.DecoratedComponent ? getFetchData(component.DecoratedComponent) : component.fetchData; }; export fu...
ajax/libs/ag-grid/14.0.0/lib/utils.js
seogi1004/cdnjs
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v14.0.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var FUNCTION_STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/...
src/svg-icons/action/assignment-ind.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssignmentInd = (props) => ( <SvgIcon {...props}> <path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 ...
react/src/components/AtomForm/Associations.js
sinfin/folio
import React from 'react' import { FormGroup, FormText, Label } from 'reactstrap' import Select from 'components/Select' import formGroupClassName from './utils/formGroupClassName' class Associations extends React.PureComponent { constructor (props) { super(props) this.selectRef = React.createRef() } r...
src/ctl/ui/src/pages/Namespace.js
m3db/m3db
// Copyright (c) 2017 Uber Technologies, Inc. // // 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 limitation the rights // to use, copy, modify, merge...
myCompany/myCompany/static/js/base.js
Rom4eg/myCompany
import "foundation-sites/dist/foundation"; // import "foundation-sites/js/foundation.core"; // import "foundation-sites/js/foundation.util.keyboard"; // import "foundation-sites/js/foundation.util.box"; // import "foundation-sites/js/foundation.util.nest"; // import "foundation-sites/js/foundation.util.mediaQuery"; //...
app/components/QdpBaseTable/index.js
bruceli1986/react-qdp
/** * * MaterialReceivingTable * */ import React from 'react'; import { Table, Button, Icon } from 'antd'; // import SearchInput from 'components/SearchInput'; import styles from './styles.css'; const ButtonGroup = Button.Group; class QdpBaseTable extends React.Component { // 通过 rowSelection 对象表明需要行选择 _clickRow...
src/admin/client/routes/pages/edit.js
cezerin/cezerin
import React from 'react'; import { Route } from 'react-router-dom'; import PageEdit from 'modules/pages/edit'; const ProductDetails = props => { return ( <div className="row row--no-gutter col-full-height scroll"> <div className="col-xs-12 col-sm-12 col-md-10 col-lg-8 col-md-offset-1 col-lg-offset-2"> <Page...
ajax/libs/forerunnerdb/1.3.641/fdb-core+persist.min.js
BenjaminVanRyseghem/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
node_modules/grunt-jsmin-sourcemap/node_modules/jsmin-sourcemap/node_modules/jsmin2/tests/test_files/jquery.js
churchdeploy/churchdeploy
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/index.js
mayk93/ReactReduxTutorial
/** * Created by Michael on 08/04/16. */ // React import React, { Component } from 'react'; import ReactDOM from 'react-dom'; // Other Libs import YTSearch from 'youtube-api-search'; import $ from 'jquery'; import _ from 'lodash'; // Components import SearchBar from './components/search_bar'; import VideoList fro...
client/components/popover/AdminCreateIngredientsForm.js
slantz/slasti-od-ua
import React from 'react' import { Field, reduxForm } from 'redux-form' import {connect} from 'react-redux' import * as InputWithValidation from '../elements/InputWithValidation' import * as UTIL from '../../util/util' import { RaisedButton } from "material-ui"; import { ru_RU } from "../../constants/Translations"; le...
src/ChartBoard.js
ba1uev/chart-board
import React, { Component } from 'react'; import Chart from './Chart/'; import {mean, sum} from 'lodash'; var indexList = ['shows', 'impressions', 'clicks', 'ctr']; var uniqKey = Math.round(Math.random()*10000); export default class App extends Component { state = { shows: null, impressions: null, click...
frontend/src/Settings/Notifications/Notifications/AddNotificationPresetMenuItem.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import MenuItem from 'Components/Menu/MenuItem'; class AddNotificationPresetMenuItem extends Component { // // Listeners onPress = () => { const { name, implementation } = this.props; this.props.onPress({ ...
client/src/app/components/i18n/LanguageSelector.js
zraees/sms-project
import React from 'react' import Reflux from 'reflux' import moment from 'moment' import {bindActionCreators} from 'redux' import {connect} from 'react-redux'; import _ from 'lodash'; import classnames from 'classnames' import LanguageActions from './LanguageActions' import LanguageStore from './LanguageStore' impo...
src/react-native.js
dbrans/redux
import React from 'react-native'; import createAll from './components/createAll'; export const { Provider, Connector, provide, connect } = createAll(React);
linksa/CalendarInfo.js
liuhui219/linksa
import React from 'react'; import { View, StyleSheet, Navigator, TouchableOpacity, TouchableHighlight, Text, ToastAndroid, ActivityIndicator, TextInput, ScrollView, Dimensions, BackAndroid, Image } from 'react-native'; import Communications from 'react-native-communications'; import Icon from 'react...
test/toptips.js
woshisbb43/coinMessageWechat
import React from 'react'; import {shallow} from 'enzyme'; import assert from 'assert'; import WeUI from '../src/index'; const {Toptips} = WeUI; describe('<Toptips></Toptips>', () => { ['default', 'warn', 'info', 'primary'].map((type) => { [true, false].map((show) => { describe(`<Toptips sho...
ajax/libs/analytics.js/2.8.17/analytics.min.js
iros/cdnjs
(function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[...
src/docs/examples/EyeIcon/Example.js
peadar33/react-component
import React from 'react'; import EyeIcon from 'ps-react/EyeIcon'; export default function EyeIconExample() { return <EyeIcon />; }
definitions/npm/react-testing-library_v2.0.x/flow_v0.58.0-/test_react-testing-library_v2.0.x.js
orlandoc01/flow-typed
// @flow import React from 'react'; import { render, Simulate, wait } from 'react-testing-library'; import { describe, it } from 'flow-typed-test'; describe('wait()', () => { it('should fail on invalid inputs', () => { // $ExpectError wait(1); // $ExpectError wait(() => {}, 1); }); it('should p...
src/svg-icons/notification/airline-seat-legroom-reduced.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAirlineSeatLegroomReduced = (props) => ( <SvgIcon {...props}> <path d="M19.97 19.2c.18.96-.55 1.8-1.47 1.8H14v-3l1-4H9c-1.65 0-3-1.35-3-3V3h6v6h5c1.1 0 2 .9 2 2l-2 7h1.44c.73 0 1.39.49 1.53 1.2zM5 1...
ajax/libs/react-quill/0.0.4/react-quill.min.js
wout/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("quill")):"function"==typeof define&&define.amd?define(["react","quill"],t):"object"==typeof exports?exports.ReactQuill=t(require("react"),require("quill")):e.ReactQuill=t(e.React,e.Quill)}(this,function(e,t){retu...
packages/material-ui-icons/src/PanoramaVerticalSharp.js
allanalexandre/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="M17.46 4c-.77 2.6-1.16 5.28-1.16 8 0 2.72.39 5.41 1.16 8H6.55c.77-2.6 1.16-5.28 1.16-8 0-2.72-.39-5.41-1.16-8h10.91m2.78-2H3.77s.26.77.3.88C5...
test/helpers.js
azmenak/react-bootstrap
import React from 'react'; import { cloneElement } from 'react'; export function shouldWarn(about) { console.warn.called.should.be.true; console.warn.calledWithMatch(about).should.be.true; console.warn.reset(); } /** * Helper for rendering and updating props for plain class Components * since `setProps` is de...
themes/genius/Genius 2.3.1 Bootstrap 4/React_Full_Project/src/views/Pages/Page500/Page500.js
davidchristie/kaenga-housing-calculator
import React, { Component } from 'react'; class Page500 extends Component { render() { return ( <div className="container"> <div className="row justify-content-center"> <div className="col-md-6"> <div className="clearfix"> <h1 className="float-left display-3 mr-2...
ajax/libs/react-bootstrap/0.30.7/react-bootstrap.min.js
nolsherry/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react"),require("react-dom")):e.ReactBootstrap=t(e.React,e.ReactDOM)}(...
app/javascript/mastodon/features/reblogs/index.js
TheInventrix/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 ...
ajax/libs/react-router/1.0.0-rc1/ReactRouter.js
jdh8/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["ReactRouter"] = fac...
fields/components/columns/ArrayColumn.js
rafmsou/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var ArrayColumn = React.createClass({ displayName: 'ArrayColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue () { ...
src/js/components/icons/base/PlatformHpi.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
frontend/src/components/Comments.js
Pseudonick47/sherlock
import React from 'react'; import { Link } from 'react-router'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import Avatar from 'material-ui/Avatar'; import Chip from 'material-ui/Chip'; import Paper from 'material-ui/Paper'; import RaisedButton from 'material-ui/RaisedButton'; i...
wp-includes/js/jquery/jquery.js
AmandaSou7/BarterEX
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/components/AthletesMenu.js
lmammino/judo-heroes-2
import React from 'react'; import { Route, Link } from 'react-router-dom'; const shortName = (fullname) => { const [name, surname] = fullname.split(' '); return `${name[0]}. ${surname}`; }; const AhtleteMenuLink = ({ id, to, label }) => ( <Route path={`/athlete/${id}`}> {({ match }) => ( <Link to={to}...