path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
client/app/routes.js
ngenerio/unredis
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import Dashboard from './components/Dashboard'; export default ( <Route path="/" component={App}> <IndexRoute component={Dashboard} /> </Route> )
src/components/Table/Table-test.js
jzhang300/carbon-components-react
import React from 'react'; import Table from '../Table'; import { shallow } from 'enzyme'; describe('Table', () => { describe('Renders as expected', () => { const tableContainer = shallow( <Table> <tbody /> </Table> ); it('has the expected classes', () => { expect(tableContaine...
src/svg-icons/hardware/keyboard-backspace.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardBackspace = (props) => ( <SvgIcon {...props}> <path d="M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"/> </SvgIcon> ); HardwareKeyboardBackspace = pure(HardwareKeyboardBackspace); Ha...
src/svg-icons/action/done.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDone = (props) => ( <SvgIcon {...props}> <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/> </SvgIcon> ); ActionDone = pure(ActionDone); ActionDone.displayName = 'ActionDone'; ActionDone.mui...
sampleProject/index.ios.js
shivam-aditya/SampleReactExamples
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class sampleProject2 extends Component { render() { return ( <View style={styles.cont...
node_modules/react-bootstrap/es/Jumbotron.js
NickingMeSpace/questionnaire
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 ...
src/svg-icons/editor/border-outer.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderOuter = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v2h2V7zm0 4h-2v2h2v-2zm4 0h-2v2h2v-2zM3 3v18h18V3H3zm16 16H5V5h14v14zm-6-4h-2v2h2v-2zm-4-4H7v2h2v-2z"/> </SvgIcon> ); EditorBorderOuter =...
node_modules/history/es/DOMUtils.js
kumarrus/MuffinMan
export var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); export var addEventListener = function addEventListener(node, event, listener) { return node.addEventListener ? node.addEventListener(event, listener, false) : node.attachEvent('on' + event, listener); }; e...
OfficeWeb/3rdparty/extjs/src/AbstractComponent.js
devsarr/ONLYOFFICE-OnlineEditors
/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p...
dist/components/page3.js
LongStoryMedia/Compass
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; const Page3 = () => { return ( <div> <h1>Where does it come from?</h1> <p> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45...
app/javascript/mastodon/features/followers/index.js
Arukas/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import { fetchAccount, fetchFollowers, expandFollowers, } from '../../actions/account...
fixtures/kitchensink/src/features/syntax/RestParameters.js
altiore/webpack-react
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load({ id = 0, ...rest }) { return [ { id:...
profiles/openatrium/libraries/underscore/test/vendor/jquery.js
maxiasdx/en3partners
/*! * 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. ...
actor-apps/app-web/src/app/components/DialogSection.react.js
chieryw/actor-platform
import _ from 'lodash'; import React from 'react'; import { PeerTypes } from 'constants/ActorAppConstants'; import MessagesSection from 'components/dialog/MessagesSection.react'; import TypingSection from 'components/dialog/TypingSection.react'; import ComposeSection from 'components/dialog/ComposeSection.react'; i...
ajax/libs/highstock/2.0.0/highstock.src.js
cluo/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highstock JS v2.0.0 (2014-04-22) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout,...
src/client/app/panels/tasks.import.panel.js
mapkiwiz/sectorisation
import React from 'react'; import {MenuLink} from './menu.link'; import {MessagePanel} from './message.panel'; import {TasksImportForm} from '../forms/tasks.import.form'; import {parseFile} from '../shared/components/upload/file.helper'; import {DropZone} from '../shared/components/upload/dropzone.component'; import {B...
src/components/date/DatePickerRange.js
wayofthefuture/react-input-moment
import cx from 'classnames'; import moment from 'moment'; import React from 'react'; import DateCalendarRange from './shared/DateCalendarRange'; import DateMonths from './shared/DateMonths'; import LeftIcon from 'react-icons/lib/fa/angle-left'; import RightIcon from 'react-icons/lib/fa/angle-right'; import DoubleLeft...
admin/client/App/screens/Home/components/Section.js
benkroeger/keystone
import React from 'react'; import getRelatedIconClass from '../utils/getRelatedIconClass'; class Section extends React.Component { render () { const iconClass = this.props.icon || getRelatedIconClass(this.props.id); return ( <div className="dashboard-group" data-section-label={this.props.label}> <div class...
deps/bokehjs/bokeh.min.js
Laeeth/dbokeh
/** * @license almond 0.2.9 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/almond for details */ // Underscore.js 1.5.2 // http://underscorejs.org // (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investig...
react/features/toolbox/components/PrimaryToolbar.web.js
KalinduDN/kalindudn.github.io
/* @flow */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { getToolbarClassNames } from '../functions'; import Toolbar from './Toolbar'; declare var interfaceConfig: Object; /** * Implementation of PrimaryToolbar React Component. * * @class PrimaryToolbar * @extends Com...
examples/IconSimple.js
react-materialize/react-materialize
import React from 'react'; import Icon from '../src/Icon'; export default <Icon>insert_chart</Icon>;
node_modules/jsx-loader/node_modules/react-tools/src/browser/ui/dom/__tests__/getNodeForCharacterOffset-test.js
xrobles/Device-Fingerprinting
/** * Copyright 2013-2014 Facebook, Inc. * * 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 agree...
ui/src/js/views/ExplorePage.js
Dica-Developer/weplantaforest
import React, { Component } from 'react'; import Projects from '../components/Projects'; export default class ExplorePage extends Component { render() { return ( <div> <div className="container"> <Projects /> </div> </div> ); } } /* vim: set softtabstop=2:shiftwidth=2...
src/components/Header/Header.js
bhavik3jain/LibertyMutual320Project
import React from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import { Nav, NavItem, NavDropdown, MenuItem, ProgressBar, } from 'react-bootstrap'; import Navbar, {Brand} from 'react-bootstrap/lib/Navbar'; import history from '../../core/history'; import $ from "jquery"; import Si...
js/components/ProfilePicture.js
httpdeveloper/AdsManager
/** * Copyright (c) 2017 Dinesh Maharjan <httpdeveloper@gmail.com> * * 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...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/DefaultParameters.js
viankakrisna/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(id = 0) { return [ { id: id + 1, name...
client/src/components/Header.js
johnnyxh/HummingBot
import React, { Component } from 'react'; import { Button, Row, Col, Card, CardBody } from 'reactstrap'; import healthIcon from '../keke2.gif'; export default class Header extends Component { componentDidMount() { // Using setTimeout to ensure we wait for pending playlist calls const update = function () { t...
AppComponents/showcase/ShowcaseComponent.js
frankjunqi/react-native-gitfeed
const React = require('react-native'); const GHService = require('../../networkService/GithubServices'); const CommonComponents = require('../../commonComponents/CommonComponents'); const Colors = require('../../commonComponents/Colors'); const GHRefreshListView = require('../GHRefreshListView'); const ExploreCell = re...
app/scripts/components/soundItem/soundItem.js
bluedaniel/Kakapo-app
import React from 'react'; import { prop } from 'ramda'; import { soundActions } from 'actions/'; import { cx, handleStopPropagation, openLink } from 'utils/'; import './soundItem.css'; export default ({ sound, themes, dispatch }) => { const handleToggle = () => dispatch(soundActions.play(sound)); const handleDel...
src/components/TopPlayers/TopPlayers.js
RetroGameNight/rgn-ui
/* * Retro Game Night * Copyright (c) 2015 Sasha Fahrenkopf, Cameron White * * 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 FluxComponent from 'flummox/component' import Table from '../Table/Table'...
node_modules/material-ui/svg-icons/content/remove-circle.js
captify-iolenchenko/leaderboard
'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...
src/components/SvgMenu.js
mikalmorello/mikalmorello.github.io
import React from 'react'; class SvgMenu extends React.Component { render(){ return ( <svg className='svg-menu' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <title>Menu</title> <g className='svg-menu-toggle'> <path className='line line-1' d='M0.1,5.7H100v10H0.1...
AirFront/point/profile.js
sunshinezxf/Airburg
import React from 'react'; import { NavBar, Button, List, WhiteSpace, WingBlank, InputItem, Toast, } from 'antd-mobile'; const Item = List.Item; var profile = {id: '', name: '', phone: '', point: '123'}; export const PointCenter = React.createClass({ getDefaultProps(){ return {p...
vertex_ui/src/components/Charts/components/HighchartBasicLine/HighchartBasicLine.js
zapcoop/vertex
import React from 'react'; import { PropTypes } from 'prop-types'; import HighchartBase, { connect } from './../HighchartBase'; class HighchartBasicLine extends HighchartBase {} export default connect(HighchartBasicLine);
ajax/libs/react-native-web/0.14.1/exports/Touchable/index.js
cdnjs/cdnjs
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ 'use strict'; function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var targ...
app/js/BoxComponent.js
jakubmaslon/React-Calendar
// import React from 'react'; // class BoxComponent extends React.Component{ // constructor(props){ // super(props); // this.state = { // }; // } // onDragStart(event){ // event.dataTransfer.setData("text", event.target.id); // document.getElementById("box").style.backgroundColor = "#7e8084"; // } // ...
node_modules/react-tools/src/browser/eventPlugins/ChangeEventPlugin.js
olemelo/Nimbus
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
src/svg-icons/file/cloud-download.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileCloudDownload = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-...
example/App.js
pjamrozowicz/react-native-maps
import React from 'react'; import { Platform, View, StyleSheet, TouchableOpacity, ScrollView, Text, Switch, } from 'react-native'; import { PROVIDER_GOOGLE, PROVIDER_DEFAULT } from 'react-native-maps'; import DisplayLatLng from './examples/DisplayLatLng'; import ViewsAsMarkers from './examples/ViewsAsMark...
CompositeUi/src/views/component/Notification.js
kreta-io/kreta
/* * This file is part of the Kreta package. * * (c) Beñat Espiña <benatespina@gmail.com> * (c) Gorka Laucirica <gorka.lauzirika@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import './../../scss/components/_notifica...
components/Svg.js
jepz20/coffee_tracker
import React from 'react'; import Polyline from './Polyline'; import toPoints from '../utils/toPoints'; import { connect } from 'react-redux'; import * as actions from '../actions'; import dateformat from 'dateformat'; import { formatNumber } from '../utils/numbers'; const mapStateToProps = state => ({ areaDetail: s...
ajax/libs/yui/3.16.0/scrollview-base/scrollview-base-coverage.js
sajochiu/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/scrollview-base/scrollview-base.js']) { __coverage__['build/scrollview-base/scrollv...
src/views/ReviewSettings/index.js
halo-design/halo-optimus
import React from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import { Table, Button, Modal } from 'antd' import InputSearch from 'COMPONENT/InputSearch' import DetailBox from './DetailBox' import RelSetBox from './RelSetBox' import Spin from 'COMPONENT/effects/Spin' import ...
tests/layouts/CoreLayout.spec.js
qq83387856/React
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
examples/dynamic-segments/app.js
tmbtech/react-router
import React from 'react'; import { history } from 'react-router/lib/HashHistory'; import { Router, Route, Link, Redirect } from 'react-router'; var App = React.createClass({ render() { return ( <div> <ul> <li><Link to="/user/123">Bob</Link></li> <li><Link to="/user/abc">Sally</...
common/components/BusySpinner.js
flyingant/tedxguanggu.org
import React from 'react'; import { connect } from 'react-redux' import styles from '../../less/common.less' class BusySpinner extends React.Component { render() { if (this.props.busy) { return ( <div className={styles.spinner}> <div className={styles.icon}/...
src/js/components/Meter/stories/SemiCircle.js
HewlettPackard/grommet
import React from 'react'; import { Box, Meter } from 'grommet'; export const SemiCircle = () => ( // Uncomment <Grommet> lines when using outside of storybook // <Grommet theme={grommet}> <Box align="center" pad="large"> <Meter size="medium" type="semicircle" background="light-2" value={60} /> </Box> /...
packages/react/components/card.js
iamxiaoma/Framework7
import React from 'react'; import Utils from '../utils/utils'; import Mixins from '../utils/mixins'; import F7CardHeader from './card-header'; import F7CardContent from './card-content'; import F7CardFooter from './card-footer'; import __reactComponentWatch from '../runtime-helpers/react-component-watch.js'; import __r...
app/components/Layout.js
jesseditson/xraytv-video-generator
import React from 'react' import Head from 'next/head' import 'glamor/reset' const API_HOST = process.env.API_HOST export default (props) => ( <div className="layout"> <Head> <title>RANDOM VIDEO</title> <meta name="viewport" content="initial-scale=1.0, width=device-width" /> {/* <link ...
src/pages/404.js
vineandfork/public
import React from 'react' const NotFoundPage = () => ( <div> <h1>NOT FOUND</h1> <p>You just hit a route that doesn&#39;t exist... the sadness.</p> </div> ) export default NotFoundPage
ajax/libs/jquery/1.6.1/jquery.min.js
ljharb/cdnjs
/*! * jQuery JavaScript Library v1.6.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. ...
node_modules/react-router/es6/withRouter.js
PanJ/SimplerCityGlide
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 hoistStatics from 'hoist-no...
src/routes/Events/EventList.js
peksi/ilmomasiina
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; import moment from 'moment'; import _ from 'lodash'; import { connect } from 'react-redux'; import './EventList.scss'; import * as EventsActions from '../../modules/events/actions'; import Separator from '../../compone...
admin/client/components/Popout.js
nickhsine/keystone
import React from 'react'; import Portal from './Portal'; import Transition from 'react-addons-css-transition-group'; const sizes = { arrowHeight: 12, }; var Popout = React.createClass({ displayName: 'Popout', propTypes: { isOpen: React.PropTypes.bool, onCancel: React.PropTypes.func, onSubmit: React.PropType...
packages/datePicker/src/Weekdays.spec.js
daniloster/react-experiments
import React from 'react'; import { mount } from 'enzyme'; import Weekdays from './Weekdays'; describe('Weekdays', () => { let element; function mountComponent() { element = mount( <div> <Weekdays /> </div> ); } describe('Weekdays should trigger navigate when it is clicked', () =>...
src/components/sidebars/CommentBox.js
yishn/Sabaki
import {shell} from 'electron' import * as remote from '@electron/remote' import {h, Component} from 'preact' import classNames from 'classnames' import boardmatcher from '@sabaki/boardmatcher' import sgf from '@sabaki/sgf' import i18n from '../../i18n.js' import sabaki from '../../modules/sabaki.js' import * as gamet...
ajax/libs/core-js/0.9.1/library.js
jonobr1/cdnjs
/** * Core.js 0.9.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******...
src/components/Search.js
amit-kulkarni/react-food-order
import React from 'react'; export default class Search extends React.Component { render() { return ( <div className="input-group margin-bottom-sm my-3"> <input className="form-control" type="text" placeholder="Food Item" onChange={(e) => this.props.onFilterFood(e.target.value)} /> <span c...
app/javascript/mastodon/features/ui/components/bundle.js
mosaxiv/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const emptyComponent = () => null; const noop = () => { }; class Bundle extends React.PureComponent { static propTypes = { fetchComponent: PropTypes.func.isRequired, loading: PropTypes.func, error: PropTypes.func, children: PropTypes.fu...
ajax/libs/componentjs/1.4.0/component.js
hare1039/cdnjs
/* ** ComponentJS -- Component System for JavaScript <http://componentjs.com> ** Copyright (c) 2009-2016 Ralf S. Engelschall <http://engelschall.com> ** ** This Source Code Form is subject to the terms of the Mozilla Public ** License (MPL), version 2.0. If a copy of the MPL was not distributed ** with this file, ...
test/visual/NavItemVisual.js
react-bootstrap/react-router-bootstrap
import React from 'react'; import Nav from 'react-bootstrap/Nav'; import NavItem from 'react-bootstrap/NavItem'; import { Link } from 'react-router-dom'; import LinkContainer from '../../src/LinkContainer'; export default () => ( <div> <Link to="/home">Back to Index</Link> <h2>NavItem</h2> <h3>Baseline...
source/javascripts/vendor/jquery.js
haroldparis/trbmedia-meme
/*! * jQuery JavaScript Library v1.11.1 * 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-05-01T17:42Z */ (function( global, factory ) { if...
src/admin/components/letters/sub_letters_section.js
foundersandcoders/sail-back
import React from 'react' import { isEmpty } from 'ramda' import LetterRecipients from './letter_recipients.js' import LetterBuilder from './LetterBuilder.js' export default ({ toggle_recipient_list, shown, ...props }) => { return ( <div> <button className='letters-toggle' onClick={toggle_...
client/containers/auth.js
keenethics/pimpmyrepo
import AuthBlock from '../components/auth/index.jsx'; import {useDeps} from 'react-simple-di'; import {composeWithTracker, composeAll} from 'react-komposer'; export const composer = ({context, clearErrors}, onData) => { const { LocalState, Meteor } = context(); const error = LocalState.get('AUTH_ERROR'); onData...
components/Footer/Footer.js
migelleluigi/dota2teams
/** * 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'; ...
app/components/newDefinitionWindow/DefinitionListItem.js
sedooe/cevirgec
import React, { Component } from 'react'; import { Button, Icon, Label, List, Segment } from 'semantic-ui-react'; import ButtonToggle from './ButtonToggle'; import DefinitionModal from './DefinitionModal'; import tr from '../../utils/Translation'; export default class DefinitionListItem extends Component { state = {...
docs/src/app/components/pages/components/DropDownMenu/ExampleLongMenu.js
manchesergit/material-ui
import React from 'react'; import DropDownMenu from 'material-ui/DropDownMenu'; import MenuItem from 'material-ui/MenuItem'; const items = []; for (let i = 0; i < 100; i++ ) { items.push(<MenuItem value={i} key={i} primaryText={`Item ${i}`} />); } export default class DropDownMenuLongMenuExample extends React.Compo...
app/packs/src/components/CollectionManagement.js
ComPlat/chemotion_ELN
import React from 'react'; import { Tabs, Tab } from 'react-bootstrap'; import MyCollections from './collection_management/MyCollections'; import MySharedCollections from './collection_management/MySharedCollections'; import SharedWithMeCollections from './collection_management/SharedWithMeCollections'; import SyncWit...
src/svg-icons/hardware/keyboard.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboard = (props) => ( <SvgIcon {...props}> <path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v...
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-template-literals/node_modules/babel-runtime/helpers/jsx.js
bernardAdark/myCrib-doc
"use strict"; exports.__esModule = true; var _for = require("../core-js/symbol/for"); var _for2 = _interopRequireDefault(_for); var _symbol = require("../core-js/symbol"); var _symbol2 = _interopRequireDefault(_symbol); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; ...
ajax/libs/react/16.9.0/cjs/react.production.min.js
extend1994/cdnjs
/** @license React v16.9.0 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';var h=require("object-assign"),n="function"===typeof Symbol&&Sym...
ajax/libs/forerunnerdb/1.3.485/fdb-core+persist.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...
docs/src/app/components/pages/components/Tabs/ExampleSwipeable.js
spiermar/material-ui
import React from 'react'; import {Tabs, Tab} from 'material-ui/Tabs'; // From https://github.com/oliviertassinari/react-swipeable-views import SwipeableViews from 'react-swipeable-views'; const styles = { headline: { fontSize: 24, paddingTop: 16, marginBottom: 12, fontWeight: 400, }, slide: { ...
src/routes/Home/components/HomeView.js
janoist1/route-share
import React from 'react' import DuckImage from '../assets/Duck.jpg' import './HomeView.scss' export const HomeView = () => ( <div> <h4>Welcome!</h4> <img alt='This is a duck, because Redux!' className='duck' src={DuckImage} /> </div> ) export default HomeView
actor-apps/app-web/src/app/components/modals/Preferences.react.js
hardikamal/actor-platform
import React from 'react'; import Modal from 'react-modal'; import ReactMixin from 'react-mixin'; import { IntlMixin, FormattedMessage } from 'react-intl'; import { Styles, FlatButton, RadioButtonGroup, RadioButton, DropDownMenu } from 'material-ui'; import { KeyCodes } from 'constants/ActorAppConstants'; import Actor...
cypher-browser/node_modules/gulp-bower/node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.lite.extras.js
sim51/jahia-definition-analysis
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'und...
src/App.js
muchachada/crossword
import React, { Component } from 'react'; import { Button } from 'react-toolbox/lib/button' import { spring, Motion, presets } from 'react-motion' import { Board } from './crossword' import Controls from './components/Controls' import BoardComponent from './components/Board' import AppBar from 'react-toolbox/lib/app_ba...
src/components/Quote.js
LeBenLeBen/quotes
import React from 'react'; import format from 'date-fns/format' export default class Quote extends React.Component { static propTypes = { quote: React.PropTypes.object.isRequired, toggleLike: React.PropTypes.func.isRequired }; render() { const quote = this.props.quote, author = quote.auth...
examples/02 Dynamic Menus/Dynamic Menus/target.js
jchristman/react-context-menus
import React from 'react'; const style = { position: 'relative', width: 200, height: 40, backgroundColor: '#111', color: 'white', textAlign: 'center', marginBottom: 5 } const textStyle = { pointerEvents: 'none', pointer: 'cursor' } const Target = (props) => { return props.conn...
ajax/libs/yui/3.10.2/scrollview-base/scrollview-base.js
bootcdn/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
src/svg-icons/image/palette.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePalette = (props) => ( <SvgIcon {...props}> <path d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.4...
examples/src/components/Multiselect.js
hannahsquier/react-select
import React from 'react'; import Select from 'react-select'; const FLAVOURS = [ { label: 'Chocolate', value: 'chocolate' }, { label: 'Vanilla', value: 'vanilla' }, { label: 'Strawberry', value: 'strawberry' }, { label: 'Caramel', value: 'caramel' }, { label: 'Cookies and Cream', value: 'cookiescream' }, { label...
packages/plutarch/tpls/dva-project/src/routes/app.js
Alfred-sg/plutarch
/* global window */ import React from 'react' import NProgress from 'nprogress' import PropTypes from 'prop-types' import { connect } from 'dva' import { Helmet } from 'react-helmet' import { withRouter } from 'dva/router' let lastHref const App = ({ children, dispatch, app, loading, location }) => { const href = w...
server/routes/index.js
kyangy/sportsvrseats
'use strict' // Import dependencies import { Router } from 'express' import React from 'react' import { renderToString } from 'react-dom/server' import { RouterContext, match } from 'react-router' import createLocation from 'history/lib/createLocation' import path from 'path' import { Provider } from 'react-redux' imp...
src/svg-icons/content/flag.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentFlag = (props) => ( <SvgIcon {...props}> <path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"/> </SvgIcon> ); ContentFlag = pure(ContentFlag); ContentFlag.displayName = 'ContentFlag'; ContentFlag.muiName = '...
src/components/DateBox/DateBox.js
joyvuu-dave/comeals-ui-react
// rendered by MealView import React from 'react' import classes from './DateBox.scss' // Components import MealDate from '../MealDate/MealDate' import PrevNext from '../PrevNext/PrevNext' import Status from '../Status/Status' import SaveButton from '../SaveButton/SaveButton' import CancelButton from '../CancelButton/...
src/components/newtimer.js
michaelsund/kronos
import React from 'react'; import { PropTypes } from 'prop-types'; import { connect } from 'react-redux'; import { Container, Row, Col } from 'react-grid-system'; import { Card } from 'material-ui/Card'; import IconButton from 'material-ui/IconButton'; import IconAdd from 'material-ui/svg-icons/content/add'; import * a...
admin/client/App/index.js
w01fgang/keystone
/** * This is the main entry file, which we compile the main JS bundle from. It * only contains the client side routing setup. */ // Needed for ES6 generators (redux-saga) to work import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, browserHistory, IndexRoute...
spec/javascripts/jsx/gradebook/default_gradebook/components/SubmissionTrayRadioInputSpec.js
djbender/canvas-lms
/* * Copyright (C) 2017 - 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...
actor-apps/app-web/src/app/components/sidebar/ContactsSection.react.js
zillachan/actor-platform
import _ from 'lodash'; import React from 'react'; import { Styles, RaisedButton } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import ContactStore from 'stores/ContactStore'; import ContactActionCreators from 'actions/ContactActionCreators'; import AddContactStore from 'stores/AddContactStore'...
src/svg-icons/action/aspect-ratio.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAspectRatio = (props) => ( <SvgIcon {...props}> <path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"/> <...
src/svg-icons/hardware/keyboard-hide.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardHide = (props) => ( <SvgIcon {...props}> <path d="M20 3H4c-1.1 0-1.99.9-1.99 2L2 15c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 3h2v2h-2V6zm0 3h2v2h-2V9zM8 6h2v2H8V6zm0 3h2v2H8V9zm-1 2H...
src/TabbedArea.js
laran/react-bootstrap
import React from 'react'; import Tabs from './Tabs'; import TabPane from './TabPane'; import ValidComponentChildren from './utils/ValidComponentChildren'; import deprecationWarning from './utils/deprecationWarning'; const TabbedArea = React.createClass({ componentWillMount() { deprecationWarning( 'TabbedA...
app/react/components/service/ServicesComponent.js
NikaBuligini/whistleblower-server
// @flow import React from 'react'; import Relay from 'react-relay'; import NewServiceForm from './NewServiceForm'; import CreateServiceMutation from '../../mutations/CreateServiceMutation'; import ChangeServiceStatusMutation from '../../mutations/ChangeServiceStatusMutation'; import ServiceList from './ServiceList'...
packages/material-ui-icons/src/FlightSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z" /></React.Fragment> , 'F...
ajax/libs/yui/3.2.0/event-custom/event-custom-base-debug.js
thisispiers/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...
protocol-designer/src/index.js
OpenTrons/opentrons_sdk
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { AppContainer } from 'react-hot-loader' import { configureStore } from './configureStore' import { App } from './components/App' import { initialize } from './initialize' import { initializeMixpanel } from './anal...
ajax/libs/forerunnerdb/1.3.483/fdb-core+persist.min.js
tonytomov/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...
src/interface/others/PlayerBreakdown.js
fyruna/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import { Trans } from '@lingui/macro'; import SPECS from 'game/SPECS'; import SpecIcon from 'common/SpecIcon'; import { formatNumber } from 'common/format'; import { TooltipElement } from 'common/Tooltip'; import indexByProperty from 'common/indexByPropert...
ajax/libs/video.js/4.6.0/video.dev.js
jonathantneal/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...