target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
node_modules/react-router/es6/Redirect.js
rakshitmidha/Weather_App_React
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils'; import { formatPattern } from './PatternUtils'; import { falsy } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.st...
ajax/libs/forerunnerdb/1.3.866/fdb-core+views.js
wout/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...
docs/src/pages/components/dividers/MiddleDividers.js
kybarg/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Chip from '@material-ui/core/Chip'; import Button from '@material-ui/core/Button'; import Grid from '@material-ui/core/Grid'; import Divider from '@material-ui/core/Divider'; import Typography from '@material-ui/core/Typography'; ...
ajax/libs/ember-data.js/1.0.0-beta.17/ember-data.prod.js
iamJoeTaylor/cdnjs
(function() { "use strict"; var ember$data$lib$system$model$errors$invalid$$create = Ember.create; var ember$data$lib$system$model$errors$invalid$$EmberError = Ember.Error; /** A `DS.InvalidError` is used by an adapter to signal the external API was unable to process a request because the c...
sites/all/modules/jquery_update/replace/jquery/1.11/jquery.js
TechBK/noname
/*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-12-17T15:27Z */ (function( global, factory ) { if ...
src/svg-icons/device/signal-cellular-connected-no-internet-3-bar.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularConnectedNoInternet3Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M22 8V2L2 22h16V8z"/><path d="M17 22V7L2 22h15zm3-12v8h2v-8h-2zm0 12h2v-2h-2v2z"/> </SvgIcon> ); Devic...
packages/material-ui-icons/src/AppsRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z" /> , 'AppsRounded');
src/ButtonToolbar.js
westonplatter/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const ButtonToolbar = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'button-toolbar' }; }, render() { let classes = this.getBsClassSet(); ...
github-battle-es6/app/components/App.js
josedab/react-exercises
import React from 'react'; import Popular from './Popular'; import {BrowserRouter as Router,Route, Switch} from 'react-router-dom'; import Nav from './Nav'; import Home from './Home'; import Battle from './Battle'; import Results from './Results'; class App extends React.Component { render() { return ( <R...
App/db/entities/content/Event.js
nthbr/mamasound.fr
/* * Copyright (c) 2017. Caipi Labs. All rights reserved. * * This File is part of Caipi. 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, either version 3 of the * License, or (at your option) any later version. ...
packages/cf-component-pagination/test/Pagination.js
mdno/mdno.github.io
import React from 'react'; import { Pagination, PaginationRoot } from '../../cf-component-pagination/src/index'; import { felaSnapshot } from 'cf-style-provider'; test('should render', () => { const snapshot = felaSnapshot( <Pagination PaginationRoot={PaginationRoot}>Pagination</Pagination> ); expect(sna...
src/app/BeerSaved.js
lolamastro/beerswap
import React, {Component} from 'react'; import Paper from 'material-ui/Paper'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import {muiTheme} from './ColorScheme'; import RaisedButton from 'material-ui/RaisedButton'; const styles = { container: { textAlign: 'center', paddingT...
src/components/icons/PhoneIcon.js
austinknight/ui-components
import React from 'react'; const PhoneIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 100 100"> {props.title && <title>{props.title}</title>} <path d="M52.2,18.9l0.7,0.5l8,5.7l0.8,0.5l-0.4,0.8l-5.7,10.2c-0.3,0.7-0.8,1.2-1.4,1.5c-0.8,0.5-1.8,0.9-3,1.1 ...
www/src/pages/plugins.js
TaitoUnited/taito-cli
import React from 'react'; import { graphql } from 'gatsby'; import { flattenListData } from '../utils'; import Page from '../components/Page'; import SEO from '../components/SEO'; import GitHubEditLink from '../components/GitHubEditLink'; import Spacing from '../components/Spacing'; export default ({ data }) => { ...
ajax/libs/vega/3.0.0-beta.6/vega.js
maruilian11/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.vega = global.vega || {}))); }(this, (function (exports) { 'use strict'; var version = "3.0.0-beta.6"; func...
EvergreenApp/Styles/gardenStyles.js
tr3v0r5/evergreen
import React from 'react'; import { StyleSheet} from 'react-native'; var plantHeightandWidth = 70; export default StyleSheet.create({ gardenIcon:{ position:'absolute', right:20, marginTop: 30 }, gardenHeader:{ justifyContent:'center', alignItems:'center', marginTop:20 }, gardenText:{...
node_modules/react-router/es6/Lifecycle.js
dulik06/ReduxStarter
import warning from './routerWarning'; import React from 'react'; import invariant from 'invariant'; var object = React.PropTypes.object; /** * The Lifecycle mixin adds the routerWillLeave lifecycle method to a * component that may be used to cancel a transition or prompt the user * for confirmation. * * On stan...
src/components/generate-key/genKeyRoot.js
mailvelope/mailvelope
/** * Copyright (C) 2019 Mailvelope GmbH * Licensed under the GNU Affero General Public License version 3 */ import React from 'react'; import ReactDOM from 'react-dom'; import * as l10n from '../../lib/l10n'; import GenKey from './GenKey'; document.addEventListener('DOMContentLoaded', init); l10n.mapToLocal(); ...
src/index.js
ArtixZ/LyingMan2
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...
public/vendor/datatables/media/js/jquery.js
maldicion069/HBPWebNodeJs
/*! 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...
admin/client/components/Forms/InvalidFieldType.js
pswoodworth/keystone
import React from 'react'; module.exports = React.createClass({ displayName: 'InvalidFieldType', propTypes: { path: React.PropTypes.string, type: React.PropTypes.string, }, render () { return <div className="alert alert-danger">Invalid field type <strong>{this.props.type}</strong> at path <strong>{this.props...
app/components/Filters/FilterSelect.js
juanda99/arasaac-frontend
import React from 'react' import PropTypes from 'prop-types' import SelectField from 'material-ui/SelectField' import MenuItem from 'material-ui/MenuItem' import muiThemeable from 'material-ui/styles/muiThemeable' import IconButton from 'material-ui/IconButton' import ActionHide from 'material-ui/svg-icons/action/highl...
src/routes/app/routes/tables/routes/responsive/components/ResponsiveTables.js
ahthamrin/kbri-admin2
import React from 'react'; import QueueAnim from 'rc-queue-anim'; const ResponsiveTable = () => ( <article className="article"> <h2 className="article-title">Responsive Table</h2> <div className="box box-default table-box table-responsive mdl-shadow--2dp"> <table className="mdl-data-table"> <th...
public/src/containers/search_bar.js
agnieszkabugla/React-Movie-Project
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class SearchBar extends Component { constructor(props) { super(props); } render() { return ( <div className="jumbotron jumbotron-fluid" id="jumbotron-color"> <div className="container"> ...
app/javascript/mastodon/features/compose/components/action_bar.js
rekif/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import DropdownMenuContainer from '../../../containers/dropdown_menu_container'; import { defineMessages, injectIntl } from 'react-intl'; const messages = defineMessages({ edit_profile: { id: 'a...
Libraries/Utilities/throwOnWrongReactAPI.js
disparu86/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
components/centered-map/error-message.js
sgmap/inspire
import React from 'react' import PropTypes from 'prop-types' import ErrorIcon from 'react-icons/lib/fa/times-circle' const ErrorMessage = ({small, children}) => ( <div className='container'> <div className={`icon ${small ? 'small' : ''}`}> <ErrorIcon /> </div> <div className='text'> {childre...
js/App/Components/Profile/SubViews/UpdatePasswordBlock.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : 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 3 of the License, or *...
src/routes/Home/components/HomeView.js
nnti3n/YouTime
import React from 'react' import SearchBar from './SearchBar' import CommentList from './CommentList' import VideoPlayer from './VideoPlayer' import CommentBar from './CommentBar' import SuggestVideo from './SuggestVideo' const YOUTIME_API = `http://youtime.herokuapp.com` class HomeView extends React.Component { co...
packages/material-ui-icons/src/AccessAlarm.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0...
web/app/pages/password.js
bitemyapp/serials
// @flow import React from 'react' import {Link} from 'react-router' import {LogoPage} from './login' import {makeUpdate} from '../data/update' import {Alerts} from '../model/alert' import {User, forgotPassword, resetPassword} from '../model/user' import {transitionTo, Routes} from '../router' export class ForgotPassw...
src/routes.js
ClaudiuCeia/mioritic
// @flow import React from 'react'; import { Router, Route } from 'react-router'; import Home from './components/Home'; import CoursePage from './components/CoursePage'; import NotFound from './components/NotFound'; const Routes = (props: any) => ( <Router {...props}> <Route path="/" component={Home} /> <Ro...
src/spa/dev/js/components/workflow-state.js
MoimHossain/netcore-microservice-tutorial
import React from 'react'; const WorkflowState = (props) => ( <div className="ui ordered steps"> <div className="completed step"> <div className="content"> <div className="title">SO</div> <div className="description">Schets ontwerp</div> </div> ...
src/containers/App.js
DIYAbility/Capacita-Controller-Interface
import React, { Component } from 'react'; import { connect } from 'react-redux'; import ReactSuperSimpleRouter from '../components/app/ReactSuperSimpleRouter'; import AppToolbar from '../components/app/AppToolbar'; import * as page from '../constants/pages'; import { changeRoute } from '../actions/actions-app'; import ...
server/sonar-web/src/main/js/apps/global-permissions/permissions-list.js
joansmith/sonarqube
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
node_modules/react-icons/io/flag.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoFlag = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m33.3 14.2s0.9-0.1 1.7-0.4c0 1.2-0.5 2.5-0.7 2.8-2.2 3.9-7.7 9.6-14.1 6.5-5.1-2.4-7.2-2.3-9.2-1.8-0.1 0-0.1 0-0.2 0-0.3 0.1-1.2 0.4-2 0.1v-15.4c0-1.2 1-2.4 2.5-2.7 3.1-0...
src/components/Login.js
kgosse/erp2042
/** * Created by kevin on 03/03/2016. */ import React from 'react'; import styleable from 'react-styleable'; import SelectField from 'material-ui/lib/select-field'; import MenuItem from 'material-ui/lib/menus/menu-item'; import RaisedButton from 'material-ui/lib/raised-button'; import { browserHistory } from 'react-...
es/withRouter.js
djkirby/react-router
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 invariant from 'invariant'; import React from 'react';...
ajax/libs/jquery-handsontable/0.10.2/jquery.handsontable.full.js
barcadictni/cdnjs
/** * Handsontable 0.10.2 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright 2012, Marcin Warpechowski * Licensed under the MIT license. * http://handsontable.com/ * * Date: Thu Jan 23 2014 23:06:23 GMT+0100 (CET) */ /*jslin...
app/components/Icons/MaleCheckedIcon.js
Tetraib/player.rauks.org
import React from 'react' import SvgIcon from 'material-ui/SvgIcon' export const MaleCheckedIcon = (props) => ( <SvgIcon {...props}> <path d='M17.654,2l-0.828,1.449h2.069l-3.828,3.829C11.633,4.711,6.8,5.234,3.994,8.475 c-2.806,3.241-2.631,8.099,0.4,11.13s7.89,3.206,11.131,0.4c3.24-2.807,3.764-7.639,1.197-11.073l...
src/components/Layout/SystemSwitcher.js
steem/qwp-antd
import React from 'react' import PropTypes from 'prop-types' import { Menu, Dropdown, Icon } from 'antd' import { Link } from 'dva/router' const SystemSwitcher = ({ itemClassName, subSystems }) => { const sysMenus = (<Menu> <Menu.Item>System Navigation Switcher Menu</Menu.Item> <Menu.Divider /> {s...
app/components/Logo/__tests__/index.stories.js
BjornMelgaard/ran
import React from 'react' import { storiesOf } from '@storybook/react' import Logo from '../' storiesOf('Logo', module).add('default', () => <Logo />)
ajax/libs/forerunnerdb/1.3.670/fdb-all.js
ahocevar/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...
__tests__/index.ios.js
elderfo/elderfo-react-native-components
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/components/weather-panel.js
sebastianrb/react-redux-weather-app
import React from 'react'; import EasyTransition from 'react-easy-transition'; import { Link } from "react-router-dom"; import { transitionSetting } from "../index.js"; import { connect } from "react-redux"; import conditions from "./conditions-object"; import WeatherDay from "./weather-day"; import ReactCSSTransitionG...
node_modules/core-js/client/library.js
vision89/vanilla-javascript-tag-input
/** * core-js 1.2.6 * 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...
ajax/libs/amplitudejs/3.2.3-0/amplitude.js
seogi1004/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define("Amplitude", [], factory); else if(typeof exports === 'object') exports["Amplitude"] = factory(); els...
packages/strapi-plugin-content-manager/admin/src/containers/Edit/index.js
lucusteen/strap
/* * * Edit * */ import React from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import _ from 'lodash'; import { router } from 'app'; import { define } from 'i18n'; import Container from 'components/Container'; import EditForm from 'components/EditForm'; im...
webpack/scenes/Subscriptions/Details/SubscriptionDetailInfo.js
pmoravec/katello
import React from 'react'; import PropTypes from 'prop-types'; import { Table } from 'react-bootstrap'; import { translate as __ } from 'foremanReact/common/I18n'; import subscriptionAttributes from './SubscriptionAttributes'; import subscriptionPurposeAttributes from './SubscriptionPurposeAttributes'; const Subscript...
src/Modal.js
dragogonone/ws_react
import React from 'react'; import SkyLight from 'react-skylight'; import styles from './Modal.css' export default class Modal extends React.Component { constructor(props){ super(props); } // componentDidMount(){ // showModal(); // } showModal(){ this.refs.simpleDialog.show() } render...
app/js/bundle.min.js
React-Team-AM/react-template
!function e(t,r,a){function n(s,o){if(!r[s]){if(!t[s]){var c="function"==typeof require&&require;if(!o&&c)return c(s,!0);if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var m=r[s]={exports:{}};t[s][0].call(m.exports,function(e){var r=t[s][1][e];return n(r?r:e)},m,m.ex...
app/index.js
FilipStenbeck/alittlereactthing
import React from 'react'; import { render } from 'react-dom' import { createStore, applyMiddleware } from 'redux'; import thunk from 'redux-thunk'; import { Provider } from 'react-redux' import { Router, Route, browserHistory } from 'react-router' import PeopleContainer from './containers/peopleContainer'; import {...
app/javascript/mastodon/features/ui/components/block_modal.js
ikuradon/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { injectIntl, FormattedMessage } from 'react-intl'; import { makeGetAccount } from '../../../selectors'; import Button from '../../../components/button'; import { closeModal } from '../../../actions/modal'; impo...
examples/src/components/MultiSelectField.js
susielu/react-select
import React from 'react'; import Select from 'react-select'; function logChange() { console.log.apply(console, [].concat(['Select value changed:'], Array.prototype.slice.apply(arguments))); } var MultiSelectField = React.createClass({ displayName: 'MultiSelectField', propTypes: { label: React.PropTypes.string, ...
src/svg-icons/maps/add-location.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsAddLocation = (props) => ( <SvgIcon {...props}> <path d="M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7zm4 8h-3v3h-2v-3H8V8h3V5h2v3h3v2z"/> </SvgIcon> ); MapsAddLocation = pure(Map...
admin/client/App/screens/List/components/ListColumnsForm.js
jstockwin/keystone
import React from 'react'; import assign from 'object-assign'; import Popout from '../../../shared/Popout'; import PopoutList from '../../../shared/Popout/PopoutList'; import { FormField, FormInput } from 'elemental'; import ListHeaderButton from './ListHeaderButton'; import { setActiveColumns } from '../actions'; v...
src/resources/assets/react-app/components/Announcements.js
darrenmerrett/ruf
import React, { Component } from 'react'; class Announcements extends Component { render() { return null; } } export default Announcements;
src/list/selection/list.js
JabX/focus-components
// Dependencies import React from 'react'; import builder from 'focus-core/component/builder'; import types from 'focus-core/component/types'; import { reduce, isArray, find } from 'lodash'; //Add a ref to the props if the component is not pure add nothing in the other case. import { addRefToPropsIfNotPure, LINE } fr...
app/components/common/NavMobile/index.js
vkurzweg/aloha
/** * * Nav * */ import React from 'react'; import styled from 'styled-components'; import AppBar from 'material-ui/AppBar'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import { browserHistory } from 'react-router'; import { Image } from 'cloudinary-react'; const StyledAppBa...
client/app/bundles/PartyMode/parties/containers/partyItems/ItemLabel.js
lrosskamp/makealist-public
import React from 'react' import { connect } from 'react-redux' import ItemLabel from '../../components/partyItems/ItemLabel' import ui from '../../../ui' import members from '../../../members' import * as globalSelectors from '../../../selectors' const mapStateToProps = (state, ownProps) =>({ withCount: ui.listEnt...
src/index.js
priyankasarma/ReduxSimpleStarter
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import _ from 'lodash'; import YTSearch from 'youtube-api-search'; import SearchBar from './components/search-bar'; import VideoList from './components/video-list'; import VideoDetail from './components/video-detail'; const API_KEY = 'AIzaS...
app/utils/injectSaga.js
kaizen7-nz/gold-star-chart
import React from 'react'; import PropTypes from 'prop-types'; import hoistNonReactStatics from 'hoist-non-react-statics'; import getInjectors from './sagaInjectors'; /** * Dynamically injects a saga, passes component's props as saga arguments * * @param {string} key A key of the saga * @param {function} saga A r...
geonode/contrib/monitoring/frontend/src/components/organisms/error-list/index.js
kartoza/geonode
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import HoverPaper from '../../atoms/hover-paper'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn, } from 'material-ui/Table'; import styles from './styles'; import actio...
src/Parser/Shaman/Shared/MaelstromChart/MaelstromTab.js
enragednuke/WoWAnalyzer
import React from 'react'; import Tab from 'Main/Tab'; import Analyzer from 'Parser/Core/Analyzer'; import MaelstromChart from './Maelstrom'; import MaelstromTracker from './MaelstromTracker'; class MaelstromTab extends Analyzer { static dependencies = { maelstromTracker: MaelstromTracker, }; tab() { re...
Examples/UIExplorer/js/Navigator/BreadcrumbNavSample.js
salanki/react-native
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * The examp...
src/routes/Counter/components/Counter.js
rwenor/react-ci-app
import React from 'react' import PropTypes from 'prop-types' export const Counter = ({ counter, increment, doubleAsync }) => ( <div style={{ margin: '0 auto' }} > <h2>Counter: {counter}</h2> <button className='btn btn-primary' onClick={increment}> Increment </button> {' '} <button className...
src/App.js
tomgowans/365beers
import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import React, { Component } from 'react'; import { Link } from 'react-router'; import * as actionCreators from './actions/actionCreators'; class Main extends Component { constructor(props) { super(props); this.props.siteWideM...
public/dev.bfi.local/www/sites/all/modules/civicrm/packages/PHP/CodeCoverage/Report/HTML/Renderer/Template/jquery.min.js
BuckyFullerInst/BFI-old
/*! jQuery v1.6.3 http://jquery.com/ | http://jquery.org/license */ (function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cr(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"...
src/components/Core/Core.js
dm-istomin/hexamer
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import { Route, Switch } from 'react-router-dom'; import { ConnectedRouter } from 'connected-react-router'; import { components, history, store } from '../components.js'; import styles from './component.less'; const Core = () => { ret...
01-cadastro-contatos/node_modules/core-js/client/shim.js
btd1337/angular2-dev
/** * core-js 2.4.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2016 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
__tests__/index.android.js
nb7123/RNapp
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
packages/material-ui-icons/src/Dock.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Dock = props => <SvgIcon {...props}> <path d="M8 23h8v-2H8v2zm8-21.99L8 1c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM16 15H8V5h8v10z" /> </SvgIcon>; Dock = pure(Dock); Do...
ajax/libs/rxjs/2.3.6/rx.compat.js
stefanocudini/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/components/controls.js
isehrob/synapses-text
// block styles import React from 'react'; import { StyleButton } from './buttons'; import { BLOCK_TYPES, HEADER_TYPES, INLINE_STYLES } from '../utils/types'; export const BlockStyleControls = (props) => { const {editorState} = props; const selection = editorState.getSelection(); const blockT...
src/svg-icons/action/line-style.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionLineStyle = (props) => ( <SvgIcon {...props}> <path d="M3 16h5v-2H3v2zm6.5 0h5v-2h-5v2zm6.5 0h5v-2h-5v2zM3 20h2v-2H3v2zm4 0h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM3 12h8v-2H3v2zm10 0h8v-2h...
ajax/libs/mobx/2.5.1/mobx.min.js
tonytomov/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ "use strict";function e(e,n,r,o){return 1===arguments.length&&"function"==typeof e?D(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof n?D(e,n):1===arguments.length&&"string"==typeof e?t(e):t(n).apply(null,arguments)}function t(e){return...
fluxible-router/components/Timestamp.js
sensduo/flux-examples
/** * Copyright 2014, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ import React from 'react'; import updateTime from '../actions/updateTime'; import TimeStore from '../stores/TimeStore'; import { connectToStores } from 'fluxible-addons-react'; @connect...
app/javascript/mastodon/components/setting_text.js
5thfloor/ichiji-social
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; export default class SettingText extends React.PureComponent { static propTypes = { settings: ImmutablePropTypes.map.isRequired, settingKey: PropTypes.array.isRequired, label: PropT...
storybook/stories/progress-circle/gauge.js
JesperLekland/react-native-svg-charts
import React from 'react' import { ProgressCircle } from 'react-native-svg-charts' class ProgressCircleExample extends React.PureComponent { render() { return ( <ProgressCircle style={{ height: 200, marginTop: 10 }} progress={0.7} progressColor={'...
src/router.js
alxyee/berkeley-onederful-demo
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-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'; ...
.history/src/components/InstaCelebs/index_20171001004931.js
oded-soffrin/gkm_viewer
import React from 'react'; import { connect } from 'react-redux' import _ from 'lodash' const imgMap = { d: 'https://instagram.ftlv1-2.fna.fbcdn.net/t51.2885-19/s150x150/18095129_753964814784600_2717222797960019968_a.jpg', e: 'https://instagram.ftlv1-2.fna.fbcdn.net/t51.2885-19/s150x150/12071219_1640349196212432...
src-client/components/InputTextStateful.js
ipselon/structor
/* * Copyright 2017 Alexander Pustovalov * * 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 a...
src/containers/ProfileContainer.js
Arinono/uReflect_POC_Electron01
import React from 'react'; import Widget from './Widget'; import { ListGroup, ListGroupItem } from 'react-bootstrap'; import Chip from 'material-ui/Chip'; import Avatar from 'material-ui/Avatar'; import {grey50, grey700} from 'material-ui/styles/colors'; const styles = { chip: { margin: 4, width:100, // b...
node_modules/styled-components/src/hoc/withTheme.js
esteladiaz/esteladiaz.github.io
// @flow /* globals ReactClass */ import React from 'react' import PropTypes from 'prop-types' import hoistStatics from 'hoist-non-react-statics' import { CHANNEL, CHANNEL_NEXT, CONTEXT_CHANNEL_SHAPE, } from '../models/ThemeProvider' import _isStyledComponent from '../utils/isStyledComponent' import determineThe...
ajax/libs/yui/3.4.0/simpleyui/simpleyui-debug.js
chinakids/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** * The YUI global names...
app/components/Application.js
dariobanfi/react-avocado-starter
import React from 'react'; import Switch from 'react-router-dom/Switch'; import Route from 'react-router-dom/Route'; import Helmet from 'react-helmet'; import config from '../../config'; import '../styles/globals'; import routes from '../routes'; import Header from './header/Header'; import Footer from './footer/Foote...
example/__tests__/App-test.js
gitboss2000/react-native-swipeable-flat-list
/** * @format */ import 'react-native'; import React from 'react'; import App from '../src/App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { renderer.create(<App />); });
packages/canvas-media/src/MediaRecorder.js
djbender/canvas-lms
/* * Copyright (C) 2019 - 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...
src/index.js
fullstackreact/google-maps-react
import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import {camelize} from './lib/String'; import {makeCancelable} from './lib/cancelablePromise'; const mapStyles = { container: { position: 'absolute', width: '100%', height: '100%' }, map: { position: ...
frontend/src/lib/mui-components/MoreButton/MoreButton.js
jf248/scrape-the-plate
import React from 'react'; import { Compose, callAll } from 'lib/react-powerplug'; import { MenuController } from 'lib/mui-components'; import MoreButtonPres from './MoreButtonPres'; function MoreButton(props) { const renderFunc = (menu, login, auth) => { const { onClick, anchorEl, open, onClose } = menu; ...
app/components/navbar.js
danieloliveira079/healthy-life-app-v1
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import { logout } from '../actions/auth'; import { Strings } from '../constants'; class Navbar extends Component { handleLogout () { const { dispatch } = this.props; dispatch(logout()); }...
ajax/libs/react-dropzone/4.1.2/index.js
jonobr1/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("prop-types")); else if(typeof define === 'function' && define.amd) define(["react", "prop-types"], factory); else if(typeof exports === 'ob...
src/containers/NotFoundPage/NotFoundPage.js
armaniExchange/work-genius
// Style import './_NotFoundPage.css'; // React & Redux import React, { Component } from 'react'; class NotFoundPage extends Component { render() { return ( <div className="Not-Found-Page"> <h1 className="Not-Found-Page__header">404</h1> <div className="Not-Found-Page__content">The page you are looking f...
lib/direct-node.min.js
lisb/direct-js
!function(e,t){"use strict";function s(){return Va.__string_rec(this,"")}var n={};function i(e,t){function n(){}n.prototype=e;var i=new n;for(var r in t)i[r]=t[r];return t.toString!==Object.prototype.toString&&(i.toString=t.toString),i}var r=e.DirectAPI=function(){this.eventEmitter=new o,require("unorm")};(n.DirectAPI=...
pages/api/menu.js
AndriusBil/material-ui
// @flow import React from 'react'; import withRoot from 'docs/src/modules/components/withRoot'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './menu.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default withRoot(Page);
node_modules/react-native/Libraries/Renderer/src/renderers/native/ReactNativeTagHandles.js
aksharora/ReactNativeDemoBasic
/** * 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...
client/pages/admin/exportResults.js
limabeans/ccm
import React from 'react'; import ReactDOM from 'react-dom'; const ExportResultsView = React.createClass({ getInitialState() { return { wcaResults: null, exportProblems: [] }; }, wcaResultsJson: function() { let template = Template.instance(); let wcaResults = template.wcaResultsReac...
ajax/libs/forerunnerdb/1.3.515/fdb-all.min.js
froala/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...
client/app/routes/main-routes.js
weisuke/react-redux-sinatra-boilerplate
/** * Created by wliuhuiz on 9/13/15. */ import React from 'react' import {Router, Route, IndexRoute} from 'react-router'; import MainApp from '../containers/MainApp' import Dashboard from "../containers/Dashboard" import Builds from "../containers/Builds" export default function renderRoutes (history) { return...
public/js/14.js
ritchieanesco/frontendmastersreact
/* Details page */ import React from 'react' import { render } from 'react-dom' import { BrowserRouter, Match } from 'react-router' import Landing from './14B' import Search from './14C' import Details from './14E' // centralise data to share with components import preload from '../../public/data.json' import '../norm...