path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
information/blendle-frontend-react-source/app/components/PortalTooltip.js
BramscoChill/BlendleParser
import React from 'react'; import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import PortalMixin from 'components/mixins/PortalMixin'; import classNames from 'classnames'; import getScrollParent from 'helpers/getScrollParent'; import Pointer from './...
src/shared/views/plans/plan/Plan/Plan.js
in-depth/indepth-demo
import React from 'react' import { Link } from 'react-router' import { PlanAges, PlanInterests, PlanTime } from '../index' import { ButtonRaised } from '../../../../components' import styles from './Plan.css' const Plan = (props) => { return ( <div className={styles.main}> <div className={styles.header}> ...
client/src/app/components/voice-control/components/SpeechButton.js
zraees/sms-project
import React from 'react' import {Popover, OverlayTrigger} from 'react-bootstrap' import {bindActionCreators} from 'redux' import * as VoiceActions from '../VoiceActions' import {connect} from 'react-redux'; import SpeechHelp from './SpeechHelp' class SpeechButton extends React.Component { hidePopover = ()=> { ...
src/svg-icons/hardware/scanner.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareScanner = (props) => ( <SvgIcon {...props}> <path d="M19.8 10.7L4.2 5l-.7 1.9L17.6 12H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5.5c0-.8-.5-1.6-1.2-1.8zM7 17H5v-2h2v2zm12 0H9v-2h10v2z"/> </...
asset/assets/jquery-ui/ui/jquery.ui.dialog.js
qwords/evote
/*! * jQuery UI Dialog 1.9.0 * http://jqueryui.com * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/dialog/ * * Depends: * jquery.ui.core.js * jquery.ui.widget.js * jquery.ui.button.js * jquery.ui.draggab...
ajax/libs/yui/3.18.1/scrollview-base/scrollview-base-coverage.js
jonobr1/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/scrollview-base/scrollview-base.js']) { __coverage__['build/scrollview-base/scrollview-base.js'] = {"path":"build/scrollview-base/scrollview-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":...
src/svg-icons/action/restore-page.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionRestorePage = (props) => ( <SvgIcon {...props}> <path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm-2 16c-2.05 0-3.81-1.24-4.58-3h1.71c.63.9 1.68 1.5 2.87 1.5 1.93 0 3....
ajax/libs/reactive-elements/0.4.4/reactive-elements.js
cdnjs/cdnjs
!function(w){w.require&&(React=require("react"));var PROPERTY_DELIMITER_CHARACTERS=[":","-","_"],registrationFunction=(document.registerElement||document.register).bind(document);if(void 0!==registrationFunction){var registerReact=function(e,t){var r=Object.create(HTMLElement.prototype);r.createdCallback=function(){thi...
src/react/shared/router-context.js
framework7io/Framework7
import React from 'react'; const RouterContext = React.createContext({ route: null, router: null, }); export { RouterContext };
src/docs/examples/TextInputStyledComponents/errorExample.js
choudlet/ps-react-choudlet
import React from 'react'; import TextInputStyledComponents from 'ps-react/TextInputStyledComponents'; /** Required TextBox with error */ export default class ExampleError extends React.Component { render() { return ( <TextInputStyledComponents htmlId="example-optional" label="First Name" ...
src/PageItem.js
Lucifier129/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import SafeAnchor from './SafeAnchor'; const PageItem = React.createClass({ propTypes: { href: React.PropTypes.string, target: React.PropTypes.string, title: React.PropTypes.string, disabled: React.PropTypes.bool, previous: React.Pr...
test/ButtonToolbarSpec.js
brynjagr/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ButtonToolbar from '../src/ButtonToolbar'; import ButtonGroup from '../src/ButtonGroup'; import Button from '../src/Button'; describe('ButtonToolbar', function () { it('Should output a button toolbar', function () { let inst...
src/components/shared/TicketEntry/index.js
Terrapin-Ticketing/althea
import React from 'react'; import moment from 'moment'; let TicketEntry = ({ticket, index}) => { console.log('ticket: ', ticket); if (ticket) { return ( <tr key={index}> <td> {moment(ticket.date).format('M/D/YY h:mm a')} </td> <td> {ticket.type} </td> ...
src/svg-icons/device/signal-cellular-connected-no-internet-3-bar.js
mit-cml/iot-website-source
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...
ajax/libs/vue-material/0.5.0/vue-material.debug.js
redmunds/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["VueMaterial"] = factory(); else root["V...
app/javascript/mastodon/components/column_back_button.js
MastodonCloud/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; export default class ColumnBackButton extends React.PureComponent { static contextTypes = { router: PropTypes.object, }; handleClick = () => { if (window.history && window.history.length === 1)...
packages/material-ui-icons/src/FiberSmartRecordSharp.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><circle cx="9" cy="12" r="8" /><path d="M17 4.26v2.09c2.33.82 4 3.04 4 5.65s-1.67 4.83-4 5.65v2.09c3.45-.89 6-4.01 6-7.74s-2.55-6.85-6-7.74z" /></React.F...
node_modules/react/lib/LinkedValueUtils.js
ClaaziX/foodshare
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
node_modules/react-router/es/IndexLink.js
rralian/steckball-react
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/action/assignment-turned-in.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssignmentTurnedIn = (props) => ( <SvgIcon {...props}> <path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 ....
node_modules/react/lib/ReactReconciler.js
luisfpinto/react-rpi
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
webpack/scenes/RedHatRepositories/components/RepositorySetRepository/RepositorySetRepository.js
snagoor/katello
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { ListView, Spinner, OverlayTrigger, Tooltip, Icon, FieldLevelHelp } from 'patternfly-react'; import { sprintf, translate as __ } from 'foremanReact/common/I18n'; import { yStream } from '../RepositorySetR...
ajax/libs/rxjs/2.3.19/rx.compat.js
NameFILIP/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/views/LoginView.js
ghartong/react_falcor
import React from 'react' import Falcor from 'falcor' import falcorModel from '../falcorModel' import {connect} from 'react-redux' import {bindActionCreators} from 'redux' import {LoginForm} from '../components/LoginForm' import {Snackbar} from 'material-ui' const mapStateToProps = (state) => ({ ...state }) //Ad...
ext-4.2.2.1144/docs/output/Ext.ux.GroupTabPanel.js
ashwinpote/Ext_JS_POC
Ext.data.JsonP.Ext_ux_GroupTabPanel({"alternateClassNames":[],"aliases":{"widget":["grouptabpanel"]},"enum":null,"parentMixins":["Ext.Queryable","Ext.state.Stateful","Ext.util.Animate","Ext.util.ElementContainer","Ext.util.Floating","Ext.util.Observable","Ext.util.Positionable","Ext.util.Renderable"],"tagname":"class",...
Libraries/Storage/AsyncStorage.js
CodeLinkIO/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...
nativeExample/reactRedux/__tests__/index.android.js
zhanglizhao/react-native-knowledge
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 /> ); });
src/pages/NotFoundPage.js
bshevchenko/ChronoMint
import React from 'react' const NotFoundPage = () => { return ( <div> <div> 404 Page Not Found </div> </div> ) } export default NotFoundPage
node_modules/material-ui/lib/svg-icons/action/perm-scan-wifi.js
DocWave/Doc-tor
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
docs/pages/CustomComponents/AlternativeMedia/Icon.js
jossmac/react-images
// @flow // @jsx glam import glam from 'glam' import React from 'react' type IconProps = { size: number, type: 'play' | 'pause' } const Icon = ({ size = 64, type }: IconProps) => { const get = { play: ( <path d="M12 20.016c4.406 0 8.016-3.609 8.016-8.016s-3.609-8.016-8.016-8.016-8.016 3.609-8.016 8.016 3.6...
source/components/Texts/FullTextReveal.js
mikey1384/twin-kle
import React from 'react'; import PropTypes from 'prop-types'; import ErrorBoundary from 'components/Wrappers/ErrorBoundary'; import { Color } from 'constants/css'; FullTextReveal.propTypes = { direction: PropTypes.string, show: PropTypes.bool, style: PropTypes.object, text: PropTypes.string.isRequired }; exp...
src/svg-icons/action/list.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionList = (props) => ( <SvgIcon {...props}> <path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/> </SvgIcon> ); ActionList = pure(ActionList); ActionList.displa...
src/SwitchesToggleMenu/index.js
christianalfoni/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import styles from './styles.css'; class SwitchesToggleMenu extends React.Component { constructor(props) { super(props); this.options = this.props.options; this.optionCount = this.options.length; this.optionWidth = `${100 / this.optionC...
client/main.js
hr-memories/greenfield
import Exponent from 'exponent'; import React from 'react'; import Login from './login'; import Homescreen from './homescreen'; import Memory from './memory'; import Memories from './memories'; import { Navigator } from 'react-native'; class App extends React.Component { renderScene(route, navigator) { if (rou...
ajax/libs/muicss/0.4.1/react/mui-react.min.js
BenjaminVanRyseghem/cdnjs
!function(e){var t=e.babelHelpers={};t["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},t.jsx=function(){var e="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.eleme...
src/components/setting/listenServer.js
lleohao/meow-ui
import React, { Component } from 'react'; import { Button, Modal, Form, Input, Radio } from 'antd'; import { EditeableList } from '../common'; const FormItem = Form.Item; class ListenServerForm extends Component { changeProtocol = e => { const value = e.target.value; this.props.onChangeProtocol(v...
examples/async/index.js
keyanzhang/redux
import 'babel-polyfill' import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import App from './containers/App' import configureStore from './store/configureStore' const store = configureStore() render( <Provider store={store}> <App /> </Provider>, document.get...
ajax/libs/angular.js/1.1.5/angular-scenario.js
bergie/cdnjs
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
test/server/ModalSpec.js
chilts/react-bootstrap
import React from 'react'; import {assert} from 'chai'; import Modal from '../../src/Modal.js'; describe('Modal', () => { it('Should be rendered on the server side', function () { let noOp = () => {}; assert.doesNotThrow(function renderOnServerSide() { return React.renderToString( <Modal onHid...
react/features/polls/components/native/PollItem.js
jitsi/jitsi-meet
// @flow import React from 'react'; import { View } from 'react-native'; import { useSelector } from 'react-redux'; import { shouldShowResults } from '../../functions'; import PollAnswer from './PollAnswer'; import PollResults from './PollResults'; import { chatStyles } from './styles'; type Props = { /** ...
files/videojs/5.0.0-rc.33/video.js
PeterDaveHello/jsdelivr
/** * @license * Video.js 5.0.0-rc.33 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
docs/src/app/components/pages/components/CircularProgress/ExampleSimple.js
rhaedes/material-ui
import React from 'react'; import CircularProgress from 'material-ui/CircularProgress'; const CircularProgressExampleSimple = () => ( <div> <CircularProgress /> <CircularProgress size={1.5} /> <CircularProgress size={2} /> </div> ); export default CircularProgressExampleSimple;
src/app.js
ricca509/react-kit
import React from 'react'; import App from './components/App/App.react.js'; import Router from 'react-router'; import routes from './routes/routes.react.js'; Router.run(routes, function (Handler, state) { React.render(<Handler params={state.params} />, document.querySelector('[data-role="react-app"]')); });
資源/CCEI/DataTables-1.9.4/extras/AutoFill/media/docs/media/js/jquery.js
stevemoore113/ch_web_-
/*! * 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. ...
public/js/jquery-1.11.1.js
musethno/MGS
/*! * 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 ...
sites/all/modules/context/plugins/context_reaction_block.js
nolc/Drupal7
(function($){ Drupal.behaviors.contextReactionBlock = {attach: function(context) { $('form.context-editor:not(.context-block-processed)') .addClass('context-block-processed') .each(function() { var id = $(this).attr('id'); Drupal.contextBlockEditor = Drupal.contextBlockEditor || {}; $(this)....
Animate/react-motion-demo/src/components/Container.js
imuntil/React
import React from 'react' import ReactCSSTransitionGroup from 'react-addons-css-transition-group' // import style from './Container.css'; export default class Container extends React.Component { constructor(props, context) { super(props, context); } componentWillMount() { // document.body.style.margin =...
app/containers/Contact/index.js
audoralc/pyxis
/* * * Contact * */ import React from 'react'; import Helmet from 'react-helmet'; import Header from 'components/Header'; import Footer from 'components/Footer'; import BodyContainer from 'components/BodyContainer'; import ContactForm from 'components/ContactForm'; import glamorous from 'glamorous'; const Con...
src/components/input.js
rxgx/react-timeframes
import React from 'react'; import Rx from 'rx'; export default class InputComponent extends React.Component { componentDidMount() { var element = this.refs.input.getDOMNode(); var inputs = Rx.DOM.keyup(element); inputs. pluck('target', 'value'). filter(text => !!tex...
src/main.js
annxingyuan/chatscan
/** * App entry point */ // Polyfill import 'babel-polyfill'; // Libraries import React from 'react'; import ReactDOM from 'react-dom'; import { Router, browserHistory } from 'react-router'; // Routes import Routes from './common/components/Routes'; // Base styling import './common/base.css'; // ID of the DOM e...
ajax/libs/ember-data.js/1.0.0-beta.8/ember-data.prod.js
Amomo/cdnjs
/*! * @overview Ember Data * @copyright Copyright 2011-2014 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version 1.0.0-beta.8.2a68c63a */ (function(global) { var define, requireModule, require, requirejs; (funct...
src/components/d3componentsv2/Point.js
nbuechler/ample-affect-exhibit
import React from 'react'; import ReactDOM from 'react-dom'; import d3 from 'd3'; import _ from 'underscore'; export default class Point extends React.Component { constructor (props) { super(props); this.state = { }; } render () { return ( <circle className={this.props.className} ...
src/app/components/source/UserComponent.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import { browserHistory } from 'react-router'; import { FormattedMessage } from 'react-intl'; import Box from '@material-ui/core/Box'; import Tabs from '@material-ui/core/Tabs'; import Tab from '@material-ui/core/Tab'; import UserEmail from '../user/UserEma...
src/containers/edm/components/ActionDropdown.js
dataloom/gallery
import React from 'react'; import Immutable from 'immutable'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { SplitButton, MenuItem } from 'react-bootstrap'; import { connect } from 'react-redux'; import { Link, hashHistory } from 'react-router'; import { bindActionCreators } from 'r...
src/index.js
NJU-itxia/front-end
import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/css/bootstrap-theme.min.css'; import 'bootstrap/dist/js/bootstrap.min.js'; import React from 'react'; import ReactDOM from 'react-dom'; import { browserHistory, Router, Route, IndexRedirect, Redirect, Link, IndexLink } from 'react-router'; import Ap...
__site/magiastormenta/node_modules/core-js/modules/es6.promise.js
RoenMidnight/grimorio-trpg
'use strict'; var LIBRARY = require('./_library'); var global = require('./_global'); var ctx = require('./_ctx'); var classof = require('./_classof'); var $export = require('./_export'); var isObject = require('./_is-object'); var aFunction = require('./_a-function'); var anInstance = require('./_an-instance'); var fo...
src/svg-icons/action/class.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionClass = (props) => ( <SvgIcon {...props}> <path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"/> </SvgIcon> ); ActionClass = pure(ActionClass);...
test/e2e/getserversideprops/app/pages/something.js
azukaru/next.js
import React from 'react' import Link from 'next/link' import { useRouter } from 'next/router' export async function getServerSideProps({ params, query, resolvedUrl }) { return { props: { resolvedUrl: resolvedUrl, world: 'world', query: query || {}, params: params || {}, time: new D...
ajax/libs/angular-google-maps/1.0.9/angular-google-maps.js
ramda/cdnjs
/* Author Nick McCready Intersection of Objects if the arrays have something in common each intersecting object will be returned in an new array. */ (function() { _.intersectionObjects = function(array1, array2, comparison) { var res, _this = this; if (comparison == null) { compariso...
src/components/DataPicker/Calender.js
Jguardado/ComponentBase
import React, { Component } from 'react'; import MonthHeader from './MonthHeader'; import WeekHeader from './WeekHeader'; import Weeks, { moveTo } from './Weeks'; // import Weeks from './Weeks'; export default class Calendar extends Component { onMove(view, isForward) { Weeks.prototype.moveTo(view, isForward); ...
src/components/content/Music/MusicRelatedArtists.js
dreamyguy/sidhree-com
import React from 'react'; import { v4 as uuidv4 } from 'uuid'; import { isNotEmptyArray } from '../../../utils/isEmptyUtil'; import './MusicRelatedArtists.scss'; const renderRelatedArtists = relatedArtists => { const output = []; relatedArtists.map((a, i) => { const separator = () => { let separator = '...
js/components/Results/Astronaut.js
jvalen/nth-days-old
import React from 'react'; const Astronaut = () => { return ( <div className="astronaut"> <div className="astronaut__place-wrapper"> <div className="place__img"></div> </div> </div> ); }; export default Astronaut;
App/Containers/RootContainer.js
okmttdhr/YoutuVote
// @flow import React, { Component } from 'react'; import { View, StatusBar } from 'react-native'; import { connect } from 'react-redux'; import NavigationRouter from '../Navigation/NavigationRouter'; import StartupActions from '../Redux/StartupRedux'; import ReduxPersist from '../Config/ReduxPersist'; import styles...
ajax/libs/legojs/0.0.1/lego.min.js
pcarrier/cdnjs
/* * __ _ * / /__ ____ ____ (_)____ * / / _ \/ __ `/ __ \ / / ___/ * / / __/ /_/ / /_/ / / (__ ) * /_/\___/\__, /\____(_)_/ /____/ * /____/ /___/ * * * https://github.com/tybenz/legojs * * made in 2013 * by * Tyler Benziger * -...
src/routes/profile/Profile.js
devcharleneg/twitter-react-app
import React from 'react'; import Twit from 'twit'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './Profile.css'; import AppConstants from '../../constants/AppConstants'; import request from 'superagent'; import Tweet from 'react-tweet' import {Row,C...
app/javascript/mastodon/features/compose/components/character_counter.js
mstdn-jp/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { length } from 'stringz'; export default class CharacterCounter extends React.PureComponent { static propTypes = { text: PropTypes.string.isRequired, max: PropTypes.number.isRequired, }; checkRemainingText (diff) { if (diff < 0)...
themes/genius/Genius 2.3.1 Bootstrap 4/React_Full_Project/src/index.js
davidchristie/kaenga-housing-calculator
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, hashHistory } from 'react-router'; import routes from './routes'; ReactDOM.render( <Router routes={routes} history={hashHistory} />, document.getElementById('root') );
src/renderers/dom/shared/eventPlugins/__tests__/SelectEventPlugin-test.js
eoin/react
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react...
blueocean-material-icons/src/js/components/svg-icons/navigation/arrow-drop-down.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const NavigationArrowDropDown = (props) => ( <SvgIcon {...props}> <path d="M7 10l5 5 5-5z"/> </SvgIcon> ); NavigationArrowDropDown.displayName = 'NavigationArrowDropDown'; NavigationArrowDropDown.muiName = 'SvgIcon'; export default NavigationArro...
docs/app/Examples/behaviors/Visibility/Types/index.js
aabustamante/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const VisibilityExample = () => ( <ExampleSection title='Types'> <ComponentExample title='Default' description='An e...
ajax/libs/vue/1.0.26/vue.js
tholu/cdnjs
/*! * Vue.js v1.0.26 * (c) 2016 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, function () {...
src/shared/title.js
bschneier/credit-cards-front-end
import React from 'react'; import { Row } from 'react-bootstrap'; export default class Title extends React.Component { render() { return ( <Row bsClass="row credit-cards-title">Credit Card Rewards</Row> ); } }
app/components/main.js
gap91/byu-ride-board
var React = require("react"); var ReactDOM = require('react-dom'); var ReactRouter = require("react-router"); var Router = ReactRouter.Router; var Route = ReactRouter.Route; var IndexRoute = ReactRouter.IndexRoute; var New = require("./ride_board.js"); var Home = require("./home.js"); var Login = require("./login.js"...
src/frontend/components/notfound.js
PiTeam/garage-pi
import React from 'react'; export const PageNotFound = () => ( <h1>{'Page not Found '}</h1> );
docs/app/Examples/collections/Table/Variations/TableExampleLarge.js
shengnian/shengnian-ui-react
import React from 'react' import { Table } from 'shengnian-ui-react' const TableExampleLarge = () => ( <Table size='large'> <Table.Header> <Table.Row> <Table.HeaderCell>Name</Table.HeaderCell> <Table.HeaderCell>Status</Table.HeaderCell> <Table.HeaderCell>Notes</Table.HeaderCell> ...
app/components/DragAndDropComponents/ElementDragPreview.js
voyagr/voyagr
import React, { Component } from 'react'; import whatTypeElementToRender from '../utils/whatTypeElementToRender' const styles = { display: 'inline-block', boxShadow: '10px 10px 5px #888888', }; export default class ElementDragPreview extends Component { render() { return ( <div style={styles}> ...
components/frontend/src/measurement/MeasurementSources.js
ICTU/quality-time
import React from 'react'; import { SourceStatus } from './SourceStatus'; export function MeasurementSources({ metric }) { const sources = metric.latest_measurement?.sources ?? []; return sources.map( (source, index) => [index > 0 && ", ", <SourceStatus key={source.source_uuid} metric={metric} measurem...
src/components/svg/ChevronSvg.js
contor-cloud/contor-cloud.github.io
import React from 'react' const ChevronSvg = ({size = 10, cssProps = {}}: { size: number, cssProps: Object, }) => ( <svg x="0px" y="0px" viewBox="0 0 926.23699 573.74994" width={size} height={size} css={cssProps} version="1.1"> <g transform="translate(904.92214,-879.1482)"> ...
files/rxjs/2.3.2/rx.all.js
petkaantonov/jsdelivr
// 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 }; v...
src/components/Clock.js
matheuscorreia/podomoro
import React from 'react'; import { Circle } from 'rc-progress'; import {formatTimer} from '../helpers/'; import '../main.css'; export default class Clock extends React.Component { render(){ let label = formatTimer(this.props.secondsLeft); let percentage = this.props.secondsLeft / this.props.secondsOnSta...
examples/optimistic-updates.js
lelandrichardson/react-flux-store-mixin
// Actions.js // ========== var Flux = require('react-flux'); var $http = require('$http'); var Constants = Flux.createConstants([ "LIKE", "UNLIKE" ], "ACTIONS"); var Actions = Flux.createActions({ like: [Constants.LIKE, function ( entityId ) { return $http.post(`/entity/${entityId}/like`); ...
lib/yuilib/2in3/2.9.0/build/yui2-container/yui2-container-debug.js
merrill-oakland/moodle
YUI.add('yui2-containercore', function(Y) { Y.use('yui2-container'); }, '3.3.0' ,{"requires": ["yui2-yahoo", "yui2-dom", "yui2-event"]}); YUI.add('yui2-container', function(Y) { var YAHOO = Y.YUI2; /* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.y...
examples/huge-apps/app.js
skevy/react-router
import React from 'react'; import { Router } from 'react-router'; import stubbedCourses from './stubs/COURSES'; var rootRoute = { component: 'div', childRoutes: [{ path: '/', component: require('./components/App'), childRoutes: [ require('./routes/Calendar'), require('./routes/Course'), ...
ajax/libs/jquery/1.11.0-beta3/jquery.min.js
Piicksarn/cdnjs
/*! jQuery v1.11.0-beta3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}(this,function(a){var ...
ajax/libs/6to5/3.0.1/browser-polyfill.js
davidbau/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/jsx/ExerciseConfiguration.js
vkaravir/js-parsons-editor
import React from 'react'; const ExerciseConfiguration = (props) => { var _ = props._; var config = Object.assign({}, props.config); var codelines = config.codelines; delete config.codelines; var configStr = 'var options = ' + JSON.stringify(config, null, 2) + ';\n' + 'var codelines = "' + ...
components/com_jhotelreservation/assets/js/jquery.min.js
mssnaveensharma/mjejaneriver-jaqui
/*! 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...
NavigationReactMobile/sample/twitter/Twitter.js
grahammendick/navigation
import React from 'react'; import {NavigationMotion, Scene} from 'navigation-react-mobile'; import PhotoZoom from './PhotoZoom'; import Home from './Home'; import Tweet from './Tweet'; import Timeline from './Timeline'; import Photo from './Photo'; export default () => ( <NavigationMotion unmountedStyle={(state,...
ajax/libs/react-dom/16.0.0-alpha.11/umd/react-dom-server.development.js
sashberd/cdnjs
/** * react-dom-server.development.js v16.0.0-alpha.11 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) : typeof define === 'function' && define.amd ? define(['react'], factory) : (global.ReactDOMServer = factory(global.Reac...
dist/react-google-calendar-events-list.es.js
VinSpee/react-gcal-events-list
import React from 'react'; var classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; var createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { ...
src/components/NewFolderSetup.js
robshox/boostv1
import React from 'react'; import ReactDOM from 'react-dom'; import { addFolder } from '../actions'; import { connect } from 'react-redux'; const mapStateToProps = ({ addingFolder, folders }) => ({ folders, addingFolder }); const mapDispatchToProps = dispatch => ({ addFolder: name => dispatch(addFolder(name)) }...
go-betz/src/components/AuthenticatedRoute/index.js
FabioFischer/go-betz
import React from 'react'; import { Route, Redirect } from 'react-router-dom' import { ls } from './../../services'; const AuthenticatedRoute = ({ component: Component, ...rest }) => { const renderMethod = props => { const currentUser = ls.get('current_user'); if (!currentUser) { alert('Não autorizad...
node_modules/browser-sync/node_modules/bs-recipes/recipes/webpack.react-hot-loader/webpack.config.js
kaguillera/newspipeline
// For instructions about this file refer to // webpack and webpack-hot-middleware documentation var webpack = require('webpack'); var path = require('path'); module.exports = { debug: true, devtool: '#eval-source-map', context: path.join(__dirname, 'app', 'js'), entry: [ 'webpack/hot/dev-server', 'we...
frontend/jqwidgets/jqwidgets-react/react_jqxchart.js
liamray/nexl-js
/* jQWidgets v5.7.2 (2018-Apr) Copyright (c) 2011-2018 jQWidgets. License: https://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export const jqx = window.jqx; export default class JqxChart extends React.Component { componentDidMount() { let options = this.manageAt...
Realization/frontend/czechidm-acc/src/content/system/SystemSynchronizationLogDetail.js
bcvsolutions/CzechIdMng
import PropTypes from 'prop-types'; import React from 'react'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; // import { Basic, Domain, Managers, Utils, Advanced } from 'czechidm-core'; import { SynchronizationLogManager, SyncActionLogManager} from '../../redux'; import SynchronizationAction...
admin/products/ThumbnailField.js
romainquellec/cuistot
import React from 'react'; const ThumbnailField = ({ record }) => <img src={record.thumbnail} style={{ width: 25, maxWidth: 25, maxHeight: 25 }} role="presentation" />; ThumbnailField.defaultProps = { style: { padding: '0 0 0 16px' }, }; export default ThumbnailField;
ui/app/components/Link/Link.js
StamusNetworks/scirius
import React from 'react'; import PropTypes from 'prop-types'; import StyledLink from './StyledLink'; const Link = (props) => <StyledLink {...props}>{props.children}</StyledLink> Link.propTypes = { children: PropTypes.any, } export default Link;
packages/material-ui-icons/src/Timer3Rounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M11.61 12.97c-.16-.24-.36-.46-.62-.65-.25-.19-.56-.35-.93-.48.3-.14.57-.3.8-.5.23-.2.42-.41.57-.64.15-.23.27-.46.34-.71.08-.24.11-.49.11-.73 ...
node_modules/reactify/node_modules/react-tools/src/classic/class/__tests__/ReactBind-test.js
mjibson/moggio
/** * 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. * * @emails react-co...
src/components/UndoRemoveAlert.js
cagedtornado/centralconfig-ui
// React import React, { Component } from 'react'; // The API utils import CentralConfigAPIUtils from '../utils/CentralConfigAPIUtils'; // Actions import ConfigActions from '../actions/ConfigActions'; // The stores import RemovedConfigStore from '../stores/RemovedConfigStore'; class UndoRemoveAlert extends Compone...