path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/components/LoginPanel/Icon.js
commute-sh/commute-web
import React from 'react' import paths from './paths' const Icon = ({ name = 'twitter', size = 16, fill = 'currentcolor', ...props }) => { const d = paths[name] || '' return ( <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width={size} height={size} fill={fi...
src/components/SocialLoginButton.js
react-auth/react-auth
import React from 'react'; import utils from '../utils'; import SocialLoginLink from './SocialLoginLink'; export default class SocialLoginButton extends React.Component { render() { var providerId = this.props.providerId; return ( <SocialLoginLink {...this.props} className={ 'btn btn-default btn-soci...
www/_web/js/vendor/jquery-1.10.2.min.js
Querschlag/hardware-management
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/parser/shaman/restoration/modules/talents/Downpour.js
fyruna/WoWAnalyzer
import React from 'react'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import SPELLS from 'common/SPELLS'; import { formatPercentage } from 'common/format'; import { TooltipElement } from 'common/Tooltip'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/Statisti...
fields/types/geopoint/GeoPointColumn.js
everisARQ/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var GeoPointColumn = React.createClass({ displayName: 'GeoPointColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue...
src/components/Awesome_Layout/second_grid.js
AvaKathrynShaw/My-React-Material-Dashboard
import React from 'react'; import {Responsive, WidthProvider} from 'react-grid-layout'; const ResponsiveReactGridLayout = WidthProvider(Responsive); import NavigationClose from 'material-ui/svg-icons/navigation/close'; import IconButton from 'material-ui/IconButton'; import AppBar from 'material-ui/AppBar'; import Spe...
src/svg-icons/image/lens.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLens = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z"/> </SvgIcon> ); ImageLens = pure(ImageLens); ImageLens.displayName = 'ImageLens'; ex...
src/chartwrapper/blobs/xaxis-blobs.js
dhounam/component-silver-bullet
import React from 'react'; import Dthree from 'd3'; export default class SilverXaxisBlobs extends React.Component { // PROP TYPES static get propTypes() { return { // Incoming config config: React.PropTypes.object, // Callback after tests onReturnRevisedInnerBox: React.PropTypes.func,...
src/components/Container.js
BernabeFelix/generationMap
import React, { Component } from 'react'; import CustomMap from './map/Map'; import Header from './header/Header'; import FavoriteBanner from './favorite_banner/Banner'; import FavoriteList from './favorite_list/List'; import { toggleMarkerFavorite } from './map/utils'; import isMobile from '../utils/detectMobile'; i...
app/javascript/mastodon/features/standalone/compose/index.js
abcang/mastodon
import React from 'react'; import ComposeFormContainer from '../../compose/containers/compose_form_container'; import NotificationsContainer from '../../ui/containers/notifications_container'; import LoadingBarContainer from '../../ui/containers/loading_bar_container'; import ModalContainer from '../../ui/containers/mo...
docs/src/components/oss-badge.js
FormidableLabs/spectacle
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { ProjectBadge, FeaturedBadge } from 'formidable-oss-badges'; export const FEATURED_PROJECTS = ['victory', 'urql', 'renature']; const OSSImage = styled.a` width: 240px; max-width: 240px; `; export const ...
node_modules/material-ui-youtube-autocomplete/node_modules/material-ui/svg-icons/device/battery-50.js
iamtonybologna/freebird
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
app/components/Bookmark.js
treyhuffine/tuchbase
import React, { Component } from 'react'; import { Link } from 'react-router'; import styles from './Bookmark.css'; export default class Bookmark extends Component { render() { let {name, urlList} = this.props.bookmark; let url = encodeURIComponent(urlList[0]); console.log(name, urlList); return ( ...
src/DropdownButton.js
gianpaj/react-bootstrap
import React from 'react'; import BootstrapMixin from './BootstrapMixin'; import Dropdown from './Dropdown'; import NavDropdown from './NavDropdown'; import CustomPropTypes from './utils/CustomPropTypes'; import deprecationWarning from './utils/deprecationWarning'; import omit from 'lodash/object/omit'; class Dropdown...
ajax/libs/mediaelement/2.9.2/jquery.js
brix/cdnjs
/*! * jQuery JavaScript Library v1.7 * 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. *...
node_modules/react-router/es6/IndexLink.js
Starnes81/ReduxBlogTut
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 Link from './Link'; /** *...
src/svg-icons/communication/chat.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationChat = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"/> </SvgIcon> ); Communicatio...
blueocean-material-icons/src/js/components/svg-icons/device/brightness-high.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const DeviceBrightnessHigh = (props) => ( <SvgIcon {...props}> <path d="M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm0-10c-2.21 0...
src/FuelForYourFire.js
chelsea-le/nastywoman
// Tweets component import React from 'react'; import './css/Trump.css'; import '../node_modules/font-awesome/css/font-awesome.css' import TrumpTwitterFeed from './TrumpTwitterFeed'; var FuelForYourFire = React.createClass({ render:function() { return ( <div className="container"> <TrumpT...
src/Container.js
gordon2012/portfolio
import React from 'react'; const Container = props => ( <div style={{ margin: '0 auto', maxWidth: props.w }}>{props.children}</div> ); export default Container;
ajax/libs/inferno-router/4.0.0-1/inferno-router.js
sufuf3/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno'), require('inferno-shared'), require('hoist-non-inferno-statics')) : typeof define === 'function' && define.amd ? define(['exports', 'inferno', 'inferno-shared', 'hoist-non-inferno-statics']...
node_modules/react-native-pull-to-refresh/lib/PullToRefreshViewiOS.js
crod93/googlePlacesEx-react-native
'use strict' import Indicator from './Indicator' import React, { PropTypes } from 'react' import { View, ScrollView } from 'react-native' const INDICATOR_HEIGHT = 40 export default class PTRViewiOS extends React.Component { constructor () { super() this.state = { expand: -INDICATOR_HEIGHT, scro...
docs/src/examples/modules/Dropdown/Types/DropdownExampleClearable.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Dropdown } from 'semantic-ui-react' const options = [ { key: 1, text: 'Choice 1', value: 1 }, { key: 2, text: 'Choice 2', value: 2 }, { key: 3, text: 'Choice 3', value: 3 }, ] const DropdownExampleClearable = () => ( <Dropdown clearable options={options} selection /> ) expo...
imports/plugins/core/revisions/register.js
curranabell/Natural-Medicine-Pharmacy
import { Reaction } from "/server/api"; Reaction.registerPackage({ label: "Revisions", name: "reaction-revisions", autoEnable: true, settings: { general: { enabled: true } }, registry: [ // Settings Panel in Catalog { label: "Product Revisions", name: "catalog/settings/rev...
ajax/libs/yasqe/2.3.4/yasqe.bundled.min.js
F2X/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.YASQE=e()}}(function(){var e;return function t(e,i,r)...
ajax/libs/yui/3.7.2/event-custom-base/event-custom-base.js
FaiblUG/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * 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. * @mo...
docs/app/Examples/views/Item/Variations/ItemExampleFloated.js
vageeshb/Semantic-UI-React
import React from 'react' import { Button, Image as ImageComponent, Item } from 'semantic-ui-react' const paragraph = <ImageComponent src='http://semantic-ui.com/images/wireframe/short-paragraph.png' /> const ItemExampleFloated = () => ( <Item.Group relaxed> <Item> <Item.Image size='small' src='http://sem...
docs/src/Routes.js
aparticka/react-bootstrap
import React from 'react'; import Root from './Root'; import HomePage from './HomePage'; import IntroductionPage from './IntroductionPage'; import GettingStartedPage from './GettingStartedPage'; import ComponentsPage from './ComponentsPage'; import SupportPage from './SupportPage'; import NotFoundPage from './NotFound...
packages/react-instantsearch-dom/src/components/SortBy.js
algolia/react-instantsearch
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { createClassNames } from '../core/utils'; import Select from './Select'; const cx = createClassNames('SortBy'); class SortBy extends Component { static propTypes = { id: PropTypes.string, ...
test/integration/link-ref/pages/child-ref-func.js
JeromeFitz/next.js
import React from 'react' import Link from 'next/link' export default () => { const myRef = React.createRef(null) React.useEffect(() => { if (!myRef.current) { console.error(`ref wasn't updated`) } }) return ( <Link href="/"> <a ref={(el) => { myRef.current = el ...
packages/material-ui-icons/src/Domain.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2...
src/components/paginate.js
trihpham/flashcard-webapp
import React, { Component } from 'react'; import { Button } from 'semantic-ui-react'; class Paginate extends Component { constructor(props) { super(props); this.onHandleLeftArrowClick = this.onHandleLeftArrowClick.bind(this); this.onHandleRightArrowClick = this.onHandleRightArrowClick.bind(this); } ...
docs/components/header.js
whoisandie/react-rangeslider
import React from 'react' import GitHubButton from 'react-github-button' function Header () { return ( <section className='block'> <h1><a href='/'>React Rangeslider</a></h1> <p> A fast & lightweight react component as a drop in replacement for HTML5 input range slider element. </p> ...
components/fields/forked-react-dates/src/components/CalendarMonthGrid.js
Mudano/m-dash-ui
import React from 'react'; import PropTypes from 'prop-types'; import shallowCompare from 'react-addons-shallow-compare'; import momentPropTypes from 'react-moment-proptypes'; import { forbidExtraProps, nonNegativeInteger } from 'airbnb-prop-types'; import moment from 'moment'; import cx from 'classnames'; import { add...
test/regressions/tests/Grid/AutoGrid.js
allanalexandre/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import Paper from '@material-ui/core/Paper'; import { withStyles } from '@material-ui/core/styles'; import Grid from '@material-ui/core/Grid'; const styles = { root: { width: 400, }, paper: { padding: 16, textAlign: 'center', }, }; fun...
src/components/BookingForm/Components.js
humancatfood/bat-fe-test
import React from 'react'; import PropTypes from 'prop-types'; import Box from '@material-ui/core/Box'; import MuiDivider from '@material-ui/core/Divider'; export const Wrapper = ({ dense, ...props }) => ( <Box display="flex" flexDirection="column" height="100%" paddingTop={dense ? 1 : 2} just...
src/containers/shared-assets/class-selection-wrapper/deck-import/deck-import.js
vFujin/HearthLounge
import React, { Component } from 'react'; import { connect } from 'react-redux'; import DeckstringInput from "../../../pages/create-deck/after-class-selection/right-container/topbar-assets/import-deck"; import {createDeckFromDeckstringObj} from "../../../../utils/deck/deckstring/index"; import { editDeck, simplifyD...
node_modules/react-icons/fa/gamepad.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaGamepad = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m17.3 24v-2.7q0-0.3-0.2-0.4t-0.5-0.2h-4v-4q0-0.3-0.2-0.5t-0.4-0.2h-2.7q-0.3 0-0.5 0.2t-0.2 0.5v4h-3.9q-0.3 0-0.5 0.1t-0.2 0.5v2.7q0 0.3 0.2 0.5t0.5 0.2h3.9v3.9q0 0.3 ...
ajax/libs/core-js/0.3.1/shim.js
sufuf3/cdnjs
/** * Core.js 0.3.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2014 Denis Pushkarev */ !function(returnThis, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
test/PortalSpec.js
leozdgao/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Portal from '../src/Portal'; describe('Portal', function () { let instance; let Overlay = React.createClass({ render() { return ( <div> <Portal ref='p' {...this.props}>{this.props.overlay}</Portal>...
node_modules/react-bootstrap/lib/NavbarToggle.js
jkahrs595/website
'use strict'; exports.__esModule = true; var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProper...
src/components/AppBar/AppBar.js
LiveTyping/android-colors
import React from 'react'; import './AppBar.css'; const AppBar = () => ( <div className="appbar"> <h1 className="appbar__title">Colors</h1> </div> ); export default AppBar;
doc/_build/html/searchindex.js
PrathapB/LTLMoP
Search.setIndex({desctypes:{"0":"method","1":"class","2":"function"},terms:{represent:5,all:[5,2],code:[0,5,2,3],skeleton:2,orcalocomotioncommand:1,queri:2,mapdialog:5,sensorlisten:1,reqformulainfo:2,legal:2,edu:2,cameron:[],follow:[6,2],runiter:2,disk:[5,2],dochooseaddpttool:5,whose:[6,2],depend:[5,2,1],doe:[5,2,1],sc...
dashboard/components/FeatureDetail.js
dbrabera/laika
import React from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; import Toggle from './Toggle'; import Section from './Section'; import './FeatureDetail.css'; function capitalize(s) { return s[0].toUpperCase() + s.slice(1); } export default function FeatureDetail({ feature, onToggle }) {...
client/containers/spaceList.js
LivenUp/livenup
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import GridList from 'material-ui/lib/grid-list/grid-list'; import GridTile from 'material-ui/lib/grid-list/grid-tile'; import { selectSpace } from '../actions/index'; import routeActions, { push...
src/browser/createRoutes.js
mirimCZ/fifth
import App from './app/App.react' import Home from './home/Home.page' import NotFound from './notfound/Page.react' import React from 'react' import {IndexRoute, Route} from 'react-router' import Game from './game' export default function createRoutes(getState) { function requireAuth(nextState, replaceState) { c...
app/javascript/mastodon/features/compose/components/upload_form.js
Arukas/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import UploadProgressContainer from '../containers/upload_progress_container'; import ImmutablePureComponent from 'react-immutable-pure-component'; import UploadContainer from '../containers/upload_container'; export default class U...
public/js/app/queryTools/components/Result.js
fendy3002/QzQueryTools
import React from 'react' import lo from 'lodash' import sa from 'superagent'; import StateSnapshotButton from '../containers/StateSnapshotButton.js'; import LayoutResult from './LayoutResult.js'; import TableResult from './TableResult.js'; var Elem = function({request}){ if(!request.execResult){ return <d...
src/index.js
neilff/react-playground
import './styles/styles.css'; import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; const store = configureStore({}); ReactDOM.render( <div> <Provider store={ store }> ...
ajax/libs/glamorous/3.15.1/glamorous.umd.tiny.min.js
sashberd/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("glamor")):"function"==typeof define&&define.amd?define(["react","glamor"],t):e.glamorous=t(e.React,e.Glamor)}(this,function(e,t){"use strict";function r(){return(arguments.length>0&&void 0!==arguments[0]?argum...
src/svg-icons/editor/format-shapes.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatShapes = (props) => ( <SvgIcon {...props}> <path d="M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-...
src/scrollDummy/index.js
denisraslov/react-spreadsheet-table
import React from 'react'; import PropTypes from 'prop-types'; import styles from './styles.css'; class SpreadsheetGridScrollDummy extends React.Component { shouldComponentUpdate(nextProps) { return nextProps.rows !== this.props.rows; } getHeight() { const { rows, rowHeight } = this.props...
example/src/pages/ShouldDecorateChildren.js
ethanselzer/react-cursor-position
import React, { Component } from 'react'; import { Col, Grid, Jumbotron, Row } from 'react-bootstrap'; import Helmet from 'react-helmet'; import ShouldDecorateChildren from '../components/ShouldDecorateChildren'; import Header from '../components/Header'; import 'bootstrap/dist/css/bootstrap.css'; imp...
client/src/components/dashboard/messaging/reply-message.js
iNeedCode/mern-starter
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Field, reduxForm } from 'redux-form'; import { sendReply } from '../../../actions/messaging'; const form = reduxForm({ form: 'replyMessage', }); const renderField = field => ( <div> <input className="form-control" autoCo...
mycloud/js/jquery-1.8.2.min.js
csgf/mycloud-portlet
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d===...
sites/all/modules/jquery_update/replace/jquery/1.5/jquery.js
thealscott/drupal-template
/*! * jQuery JavaScript Library v1.5.1 * 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. ...
web/app/data/load.js
bitemyapp/serials
// @flow import {map, flatten} from 'lodash' import {Promise} from 'es6-promise' import React from 'react' type Route = { handler: { load:Function; } } export function loadAll(routes:Array<Route>, params:Object, query:Object, onData:(data:any)=>void) { var data = {loaded: false}; routes .filter(rout...
src/ButtonGroup.js
pandoraui/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; const ButtonGroup = React.createClass({ mixins: [BootstrapMixin], propTypes: { vertical: React.PropTypes.bool, justified: React.PropTypes.b...
cra-hardware-concurrency-considerate-code-splitting/src/components/Product/Light/index.js
GoogleChromeLabs/adaptive-loading
/* * Copyright 2019 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
src/index.js
oakeyc/oakeyc.github.io
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
blueocean-material-icons/src/js/components/svg-icons/social/plus-one.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const SocialPlusOne = (props) => ( <SvgIcon {...props}> <path d="M10 8H8v4H4v2h4v4h2v-4h4v-2h-4zm4.5-1.92V7.9l2.5-.5V18h2V5z"/> </SvgIcon> ); SocialPlusOne.displayName = 'SocialPlusOne'; SocialPlusOne.muiName = 'SvgIcon'; export default SocialPlu...
src/_common/MarketPickerContainer.js
qingweibinary/binary-next-gen
import React, { Component } from 'react'; import shouldPureComponentUpdate from 'react-pure-render/function'; import { connect } from 'react-redux'; import immutableChildrenToJS from 'binary-utils/lib/immutableChildrenToJS'; import marketTreeSelector from '../_selectors/marketTreeSelector'; import MarketPicker from '....
app/components/Map/index.js
TeamVenu/venu
import React from 'react'; import { withGoogleMap, GoogleMap } from 'react-google-maps'; import Marker from 'components/Marker'; const Map = withGoogleMap((props) => { const imageSize = 40; const size = new google.maps.Size(imageSize, imageSize); // eslint-disable-line const anchor = new google.maps.Point(imageS...
app/javascript/mastodon/components/autosuggest_hashtag.js
sylph-sin-tyaku/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { shortNumberFormat } from 'mastodon/utils/numbers'; import { FormattedMessage } from 'react-intl'; export default class AutosuggestHashtag extends React.PureComponent { static propTypes = { tag: PropTypes.shape({ name: PropTypes.string...
jenkins-design-language/src/js/components/material-ui/svg-icons/maps/edit-location.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const MapsEditLocation = (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-7zm-1.56 10H9v-1.44l3.35-3.34 1.43 1.43L10.44 12zm4.45-4.45l-.7.7-1.44-1.44.7-.7c.15-.15.39-.15.54 0l.9.9c.15.15...
src/parser/paladin/holy/modules/talents/CrusadersMight.js
fyruna/WoWAnalyzer
import React from 'react'; import { Trans } from '@lingui/macro'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import Analyzer from 'parser/core/Analyzer'; import SpellUsable from 'parser/shared/modules/SpellUsable'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/Sta...
app/index.js
voz-living/chrome-extension-react
import React from 'react'; import { render } from 'react-dom'; import Root from './containers/Root'; import VOZLivingLoader from './components/PageLoader'; import { keepMeBaby } from './utils/migrationAsAnOption'; import { AdsControl } from './components/AdsControl'; import { UserStyle } from './components/UserStyle'; ...
components/BackendWidgetComponent.js
ExtPoint/yii2-frontend
import React from 'react'; import {Provider} from 'react-redux'; import domready from 'domready'; import loadJs from 'load-js'; import ReactDOM from 'react-dom'; import _trimStart from 'lodash-es/trimStart'; export default class BackendWidgetComponent { constructor(store) { this.store = store || null; ...
src/svg-icons/hardware/devices-other.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareDevicesOther = (props) => ( <SvgIcon {...props}> <path d="M3 6h18V4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V6zm10 6H9v1.78c-.61.55-1 1.33-1 2.22s.39 1.67 1 2.22V20h4v-1.78c.61-.55 1-1.34 1-2.22s-.39-1...
src/components/widgets/timelogs/ChartComponent.js
pdx-code/teampro
'use strict'; import React from 'react'; import UI from 'material-ui'; var PieChart = require("react-chartjs").Pie; require('styles/widgets/timelogs/Chart.less'); class ChartComponent extends React.Component { constructor(props) { super(props); this.state = { dataPie: [ { value: 300, color:...
actor-apps/app-web/src/app/components/activity/UserProfileContactInfo.react.js
liuzwei/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; @ReactMixin.decorate(PureRenderMixin) class UserProfileContactInfo extends React.Component { static propTypes = { phones: React.PropTypes.arr...
ajax/libs/vkui/4.26.0/cjs/components/ActionSheet/ActionSheetDropdownDesktop.js
cdnjs/cdnjs
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.ActionSheetDropdownDesktop = void 0; va...
ajax/libs/analytics.js/2.3.1/analytics.min.js
arasmussen/cdnjs
(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n...
ajax/libs/react-autocomplete/1.2.1/react-autocomplete.min.js
redmunds/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],e):"object"==typeof exports?exports.ReactAutocomplete=e(require("React"),require("ReactDOM")):t.ReactAutocomplete=e(t.React,t.ReactDOM...
src/components/TitleBar.js
tofuness/Toshocat
import React, { Component } from 'react'; import KickerContainer from '../containers/KickerContainer'; import settings from '../utils/settings'; class TitleBar extends Component { constructor(props) { super(props); this.state = { fullscreen: false }; } handleClose() { if (settings.get('min...
fields/components/columns/InvalidColumn.js
ONode/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var InvalidColumn = React.createClass({ displayName: 'InvalidColumn', propTypes: { col: React.PropTypes.object, }, renderValue () { return ( <ItemsTableVal...
js/jquery-ui-1.10.3/tests/jquery-1.6.2.js
PowerPan/OPTIS
/*! * jQuery JavaScript Library v1.6.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. ...
app/assets/javascripts/profile/Profile.react.js
andrewtpoe/MoneyMasters
var React = require('react'); var Profile = React.createClass({ getInitialState: function() { return { isEditing: false } }, render: function() { var url; if (this.props.user.avatar) { url = this.props.user.avatar.url; } else { url = null; } if (this.state.isEditing...
Angular/Angular2/Angular2DemoComplete/node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
AnirudhDas/AniruddhaDas.github.io
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
packages/material-ui-icons/src/FiberDvrSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M17.5 10.5h2v1h-2v-1zm-13 0h2v3h-2v-3zM23 3H1v18h22V3zM8 13.5c0 .85-.65 1.5-1.5 1.5H3V9h3.5c.85 0 1.5.65 1.5 1.5v3zm4.62 1.5h-1.5L9.37 9h1.5l1 3.43 1-3.43h1.5l-1.75 6zM21 12.9h-.9L21 15h-1.5l-.85-2H17...
src/Parser/Druid/Balance/CONFIG.js
enragednuke/WoWAnalyzer
import React from 'react'; import { Iskalla, Gebuz } from 'MAINTAINERS'; import SPECS from 'common/SPECS'; import SPEC_ANALYSIS_COMPLETENESS from 'common/SPEC_ANALYSIS_COMPLETENESS'; import CombatLogParser from './CombatLogParser'; import CHANGELOG from './CHANGELOG'; export default { spec: SPECS.BALANCE_DRUID, ...
index.js
aksonov/react-native-xmpp
'use strict'; var React = require('react-native'); var {NativeAppEventEmitter, NativeModules} = React; var RNXMPP = NativeModules.RNXMPP; var map = { 'message' : 'RNXMPPMessage', 'iq': 'RNXMPPIQ', 'presence': 'RNXMPPPresence', 'connect': 'RNXMPPConnect', 'disconnect': 'RNXMPPDisconnect', 'error...
ajax/libs/material-ui/5.0.0-alpha.32/Button/Button.js
cdnjs/cdnjs
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@materia...
courses/react-native-up-and-running/githubNotetaker/__tests__/index.ios.js
rmartin/experiments
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 /> ); });
ajax/libs/react-bootstrap/0.19.0/react-bootstrap.min.js
wout/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react")):e.ReactBootstrap=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return ...
react-flux-mui/js/material-ui/src/internal/ScaleInChild.js
pbogdan/react-flux-mui
import React, {Component, PropTypes} from 'react'; import ReactDOM from 'react-dom'; import autoPrefix from '../utils/autoPrefix'; import transitions from '../styles/transitions'; class ScaleInChild extends Component { static propTypes = { children: PropTypes.node, enterDelay: PropTypes.number, maxScale:...
pootle/static/js/auth/components/RequestPasswordResetSent.js
r-o-b-b-i-e/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import { PureRenderMixin } from...
src/components/Projects/TheRunners/TheRunners.js
NathanBWaters/website
import React, { Component } from 'react'; import Helmet from 'react-helmet'; // import ReactMarkdown from 'react-markdown'; // import Markdown2HTML from 'react-markdown-to-html'; export default class TheRunners extends Component { render() { const pStyles = require('../Projects.scss'); const rStyles = requi...
app/src/index.js
roberthitt/calculator
import React from 'react' import App from './App' import { render } from 'react-dom' const MOUNT_NODE = document.getElementById('root') render(<App />, MOUNT_NODE)
ajax/libs/shariff/1.10.0/shariff.complete.js
LeaYeh/cdnjs
/*! * shariff - v1.10.0 - 15.04.2015 * https://github.com/heiseonline/shariff * Copyright (c) 2015 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli * Licensed under the MIT <http://www.opensource.org/licenses/mit-license.php> license */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]...
example/src/server.js
nheyn/express-isomorphic-dispatcher
import React from 'react'; import ReactDOM from 'react-dom/server'; import express from 'express'; import path from 'path'; import { connectServerDispatcher } from 'express-isomorphic-dispatcher'; import App from './components'; import stores, { encodeState, decodeState } from './stores'; let app = express(); // Log...
public/js/jquery/jquery-1.11.3.min.js
mc2pw/www_opm_org_pa
/*! 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...
app/src/www/routes.js
juanmadurand/flatboard
import React from 'react'; import { IndexRoute, Route } from 'react-router'; import { App, Home, NotFound, } from './containers'; export default (store) => ( <Route path="/" component={App}> { /* Home (main) route */ } <IndexRoute component={Home} /> { /* Catch all route */ } <Route pa...
src/Parser/Hunter/Marksmanship/Modules/Items/CelerityOfTheWindrunners.js
hasseboulen/WoWAnalyzer
import React from 'react'; import ITEMS from 'common/ITEMS'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import Wrapper from 'common/Wrapper'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Com...
client/app/components/CalendarNavigation/index.js
puja1234/DTA
import React from 'react'; class CalendarNavigation extends React.Component{ constructor(props){ super(props); } backClick = () => { this.props.previousEvents(); }; nextClick = () => { this.props.nextEvents(); }; todayClick = () => { this.props.todayEvents...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
cs011164/cs011164.github.io
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
ajax/libs/handsontable/0.10.1/jquery.handsontable.full.js
steadiest/cdnjs
/** * Handsontable 0.10.1 * 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: Sun Jan 12 2014 13:55:41 GMT+0100 (Central European...
app/javascript/mastodon/features/direct_timeline/components/column_settings.js
hugogameiro/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import SettingText from '../../../components/setting_text'; const messages = defineMessages({ filter_regex: { id: 'home...
ajax/libs/reactable/0.2.0/reactable.js
hasantayyar/cdnjs
/** @jsx React.DOM */ Reactable = (function() { "use strict"; // Array.prototype.map polyfill - see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map#Polyfill if (!Array.prototype.map) { Array.prototype.map = function(fun /*, thisArg */) { "use s...
node_modules/react-bootstrap/es/Breadcrumb.js
caughtclean/but-thats-wrong-blog
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...