path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
app/components/ListItem/index.js
simon-johansson/PB-labz
import React from 'react'; import styles from './styles.css'; function ListItem(props) { return ( <li className={props.isTips ? styles.tipsItem : styles.item}> <div className={styles.itemContent}> {props.item} </div> <hr className={styles.divider} /> </li> ); } ListItem.propType...
client/src/components/PriceChart/PriceChart.js
moxon6/html5-training
import React from 'react' import SectionHeader from 'components/shared/SectionHeader' import DepthGraph from 'resources/images/graph2.png' import './PriceChart.css' import CandleGraph from './ChartContainer' export default () => ( <div className='price-chart-area container'> <div className='flex-columns contain...
docs/src/app/components/pages/components/List/Page.js
hai-cea/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import listReadmeText from './README'; import listExampleSimpleCode from '!raw!....
jekyll-strapi-tutorial/api/plugins/settings-manager/admin/src/components/PopUpForm/index.js
strapi/strapi-examples
/** * * PopUpForm * */ import React from 'react'; import PropTypes from 'prop-types'; import { map } from 'lodash'; import WithFormSection from 'components/WithFormSection'; import styles from './styles.scss'; /* eslint-disable react/require-default-props */ class PopUpForm extends React.Component { // eslint-disabl...
example/index.js
umhan35/react-native-search-bar
import { AppRegistry } from 'react-native'; import App from './App'; import { name as appName } from './app.json'; AppRegistry.registerComponent(appName, () => App);
src/tools/BaseComponent.js
dacostafilipe/dzencoder
import React from 'react'; import Constants from '../Constants.js'; // // ES6 Helper class class BaseComponent extends React.Component { constructor(props) { super(props); // state helper function this.state = this.defaultState(); } // // Events that are triggered by React....
test/ft/fis-quickstart-demo/modules/backbone/backbone.js
angular-moon/fis
define('backbone', function(require, exports, module){ // Backbone.js 1.0.0 // (c) 2010-2013 Jeremy Ashkenas, DocumentCloud Inc. // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(){ // Initial Setup // ------...
src/js/data/actionCreators.js
hiddentao/heartnotes
import _ from 'lodash'; import Q from 'bluebird'; import $ from 'jquery'; import moment from 'moment'; import React from 'react'; import { Timer } from 'clockmaker'; import Actions from './actions'; import { instance as Storage } from './storage/index'; import { instance as Search } from './search/index'; import { ins...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ArrayDestructuring.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() { return [[1, '1'], [2, '2'], [3, '3'],...
web-server/v0.4/src/components/Table/index.js
k-rister/pbench
import React from 'react'; import { Table as AntdTable } from 'antd'; const Table = props => { const { dataSource, columns, loading, onRow, ...childProps } = props; return ( <AntdTable bordered bodyStyle={{ borderRadius: 4 }} columns={columns} dataSource={dataSource} loading={loa...
Classes/jquery-1.9.1.min.js
TYPO3-svn-archive/chrome_clearcache
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
Client/src/Examples/App.js
Attrash-Islam/react-input-validator
import React from 'react'; import ContactUsContainer from './ContactUs/ContactUsContainer'; const App = React.createClass({ render: function() { return ( <div id="app"> <ContactUsContainer /> </div> ) } }); export default App;
src/svg-icons/action/gif.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionGif = (props) => ( <SvgIcon {...props}> <path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"/> </Svg...
app/javascript/mastodon/features/ui/components/embed_modal.js
ikuradon/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { defineMessages, FormattedMessage, injectIntl } from 'react-intl'; import api from 'mastodon/api'; import IconButton from 'mastodon/components/icon_button'; const messages = defin...
src/svg-icons/action/speaker-notes.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSpeakerNotes = (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-2zM8 14H6v-2h2v2zm0-3H6V9h2v2zm0-3H6V6h2v2zm7 6h-5v-2h5v2zm3-3h-8V9h8v2zm0-...
src/index.js
EehMauro/dyscalculia-web
import 'whatwg-fetch'; import 'typeface-roboto'; import 'rc-slider/assets/index.css'; import 'react-circular-progressbar/docs/styles.css'; import React from 'react'; import ReactDOM from 'react-dom'; import { App } from './bootstrap'; import { registerServiceWorker } from './utils'; ReactDOM.render(<App />, document.g...
public/vendor/jquery/jquery-1.9.0.min.js
freynoso/proximo
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
ios/versioned-react-native/ABI11_0_0/Libraries/CustomComponents/Navigator/Navigator.js
jolicloud/exponent
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * Facebook,...
master-detail-0.13.x/src/app.js
knowbody/react-router-playground
import React from 'react' import ReactDOM from 'react-dom' import Router from 'react-router' import ContactStore from './ContactStore' var { Route, DefaultRoute, NotFoundRoute, RouteHandler, Link } = Router var App = React.createClass({ getInitialState() { return { contacts: ContactStore.getCont...
ajax/libs/angular-google-maps/1.1.10/angular-google-maps.js
shelsonjava/cdnjs
/*! angular-google-maps 1.1.10 2014-07-27 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
src/views/Pages/Page500/Page500.js
hungtruongquoc/shipper_front
import React, { Component } from 'react'; class Page500 extends Component { render() { return ( <div className="container"> <div className="row justify-content-center"> <div className="col-md-6"> <div className="clearfix"> <h1 className="float-left display-3 mr-2...
user_guide/_static/jquery.js
jtkencode/DatabaseAnggotaHimpunan
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
lib/kn_list_item_text.js
kanna-lab/kanna-lib-components
/** * @constructor KnListItemText */ "use strict"; 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; }; const ...
client/app/containers/RestaurantsList/index.js
maekks/menu-plus
import React from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import { getRestaurantsList } from 'actions/RestaurantsListActions'; import Subheader from 'material-ui/Subheader'; import Paper from 'material-ui/Paper'; import RestaurantCard from 'components/Card/RestaurantCard'; ...
Examples/UIExplorer/NavigationExperimental/NavigationCardStackExample.js
CntChen/react-native
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * The examp...
src/svg-icons/action/event.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionEvent = (props) => ( <SvgIcon {...props}> <path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"/> </SvgIcon> ...
js/src/dialogs/NewRevisionWrapper.js
syslo/file_publisher
import React from 'react' import {ControlLabel, Form, FormControl, FormGroup, InputGroup} from 'react-bootstrap' import {Button, Modal} from 'react-bootstrap' const validator = new RegExp('^[_a-zA-Z0-9]+$') export default class NewRevisionWrapper extends React.Component { hasSlug() { return this.props.state.ac...
src/components/Breadcrumb/BreadcrumbItem.js
wundery/wundery-ui-react
import React from 'react'; import classnames from 'classnames'; const BreadcrumbItem = (props) => { const { parent, active, label, link: linkBuilder } = props; const className = classnames('ui-breadcrumb-item', { 'ui-breadcrumb-item-active': active, 'ui-breadcrumb-item-parent': parent, }); const conten...
node_modules/jstransform/src/simple.js
TrishAllin/electron-quick-start
/** * 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. */ 'use strict'; ...
src/svg-icons/content/report.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentReport = (props) => ( <SvgIcon {...props}> <path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3...
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/jquery.js
themoor88/node-practice
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
ajax/libs/forerunnerdb/1.3.739/fdb-core+views.min.js
jonobr1/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/views/Home.js
aerian-studios/react-crud
import React from 'react' import Menu from '../components/Menu' const HomePage = () => ( <div> <Menu /> </div> ) export default HomePage
screens/login/Login.js
keuss/react-router-redux-sandbox
/** * Created by krelix on 12/04/2016. */ import React from 'react' import {connect} from 'react-redux' import {login, setUsername, setPassword} from './actions' class Login extends React.Component { constructor(props){ super(props) this.handleFormAction = this.handleFormAction.bind(this); } handleFo...
gatsby-strapi-tutorial/cms/plugins/content-type-builder/admin/src/components/PluginLeftMenuLink/index.js
strapi/strapi-examples
/** * * PluginLeftMenuLink * - Required props: * - {object} Link * * - Optionnal props: * - {function} renderCustomLink : overrides the behavior of the link * */ import React from 'react'; import PropTypes from 'prop-types'; import { NavLink } from 'react-router-dom'; import styles from './styles.scss'; c...
frontend/src/DiscoverMovie/Menus/DiscoverMovieSortMenu.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import MenuContent from 'Components/Menu/MenuContent'; import SortMenu from 'Components/Menu/SortMenu'; import SortMenuItem from 'Components/Menu/SortMenuItem'; import { align, sortDirections } from 'Helpers/Props'; import translate from 'Utilities/String/t...
node_modules/react-router/es/Route.js
rralian/steckball-react
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { component, components } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes, string = _React$PropTypes.string, func = _React$PropTypes.func; /** * A <Route> is use...
packages/material-ui-icons/src/AccountBalanceWalletRounded.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="M10 16V8c0-1.1.89-2 2-2h9V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-1h-9c-1.11 0-2-.9-2-2z" /><path d="M13 8c-...
src/constants/ActionTypes.js
sbassan/Kingsthorpe
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 keyMirror from 'fbjs/lib/keyMirror'; export defaul...
src/main/react-front-end/src/index.js
didclab/onedatashare
/** ##************************************************************** ## ## Copyright (C) 2018-2020, OneDataShare Team, ## Department of Computer Science and Engineering, ## University at Buffalo, Buffalo, NY, 14260. ## ## Licensed under the Apache License, Version 2.0 (the "License"); you ## may not use this ...
modules/dreamview/frontend/src/components/Scene/Geolocation.js
jinghaomiao/apollo
import React from 'react'; import { inject, observer } from 'mobx-react'; @inject('store') @observer export default class Geolocation extends React.Component { render() { const { geolocation } = this.props.store; const x = geolocation.x ? geolocation.x.toFixed(2) : '?'; const y = geolocation.y ? geoloca...
volunteer_planner/static/js/jquery1.11.3.min.js
juliabiro/volunteer_planner
/*! 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...
node_modules/react-icons/ti/eject-outline.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiEjectOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m26.7 14.3v-2.6c0-1.9-1.5-3.4-3.4-3.4h-16.6v16.7c0 1.8 1.5 3.3 3.3 3.3h1.8c1.5 4.8 6.1 8.4 11.3 8.4 6.5 0 11.8-5.1 11.8-11.5 0-5.3-3.5-9.6-8.2-10.9z m-13.4 3.1v5...
src/components/SvgIcon/CircleNon.js
sk-iv/iva-app
import React from 'react'; import SvgIcon from './SvgIcon'; import classNames from 'classnames'; /** * @ignore - internal component. */ let CircleNon = props => ( <SvgIcon {...props} className={classNames('icon--size24', props.className)}> <path d="M19.8,19.8c-4.3,4.3-11.3,4.3-15.6,0s-4.3-11.3,0-15.6s11.3-4.3,...
src/layouts/layout-3-6.js
nazaninreihani/binary-next-gen
import React from 'react'; export default (components, className, onClick) => ( <div className={className + ' horizontal'} onClick={onClick}> {components[0]} {components[1]} {components[2]} </div> );
src/component/About/Summary.js
dentemple/developer-portfolio
import React from 'react' import PropTypes from 'prop-types' const TextContainer = ({ children }) => { return <p>{children}</p> } const Summary = ({summary}) => { return ( <TextContainer> {summary} </TextContainer> ) } TextContainer.propTypes = { children: PropTypes.node.isRequired } Summary.pr...
src/containers/Sigmet/SigmetsContainer.spec.js
KNMI/GeoWeb-FrontEnd
import React from 'react'; import SigmetsContainer from './SigmetsContainer'; import { mount } from 'enzyme'; import moxios from 'moxios'; describe('(Container) Sigmet/SigmetsContainer', () => { beforeEach(() => { moxios.install(); }); afterEach(() => { moxios.uninstall(); }); it('renders a SigmetsCo...
ajax/libs/highmaps/1.0.2/highmaps.src.js
tonytomov/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highmaps JS v1.0.1 (2014-06-12) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout, ...
src/svg-icons/action/picture-in-picture-alt.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPictureInPictureAlt = (props) => ( <SvgIcon {...props}> <path d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z"/> </Svg...
ajax/libs/react/0.5.2/react.min.js
Amomo/cdnjs
/** * React v0.5.2 * * Copyright 2013 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 applicabl...
src/screens/Welcome.js
madox2/randomizerapp
import React from 'react' import PropTypes from 'prop-types' import {View} from 'react-native' import {SectionButton} from '../components/SectionButton' import {Coin, Matches, Bottle, Numbers, Dices, MagicBall} from './index' import {ResponsiveStyleSheet} from 'react-native-responsive-stylesheet' export const Welcome ...
examples/server/store.js
rackt/redux-simple-router
import React from 'react' import { createStore, combineReducers, compose, applyMiddleware } from 'redux' import { createDevTools } from 'redux-devtools' import LogMonitor from 'redux-devtools-log-monitor' import DockMonitor from 'redux-devtools-dock-monitor' import { routerReducer, routerMiddleware } from 'react-rout...
test/specs/collections/Table/TableRow-test.js
Rohanhacker/Semantic-UI-React
import React from 'react' import * as common from 'test/specs/commonTests' import TableRow from 'src/collections/Table/TableRow' describe('TableRow', () => { common.isConformant(TableRow) common.rendersChildren(TableRow) common.implementsCreateMethod(TableRow) common.implementsTextAlignProp(TableRow) commo...
src/containers/Home/CourseList.js
pmg1989/lms_mobile
import React from 'react' import PropTypes from 'prop-types' import Immutable from 'immutable' import classnames from 'classnames' import moment from 'moment' import { Icon, LinkToken, Empty } from 'components' import { renderBgImage } from 'utils/tools' import styles from './CourseList.less' const now = new Date().ge...
examples/react/src/components/NotFound.js
router5/router5
import React from 'react' export default function NotFound() { return <div className="not-found">Purposely Not found (not a bug)</div> }
src/interface/others/LazyLoadStatisticBox.js
FaideWW/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import StatisticBox from './StatisticBox'; export { STATISTIC_ORDER } from './StatisticBox'; class LazyLoadStatisticBox extends React.PureComponent { static propTypes = { loader: PropTypes.func.isRequired, value: PropTypes.node.isRequired, };...
spec/components/Signup.js
boldt/react-validation-mixin
import React from 'react'; import classnames from 'classnames'; import Joi from 'joi'; var Signup = React.createClass({ displayName: 'Signup', validatorTypes: { firstName: Joi.string().required().label('First Name'), lastName: Joi.string().allow(null).label('Last Name'), email: Joi.string().email().la...
src/components/language/Language.js
RaymondBuckman/Turkey
import React, { Component } from 'react'; import Lightbox from 'lightbox-react'; import pronounciation from '../../img/alphabet-1.png'; import harmony from '../../img/harmony-1.jpg'; import pronouns from '../../img/pronouns-1.jpg'; import adjectives from '../../img/adjectives-1.jpg'; import accusative from '../../img/...
ajax/libs/semantic-ui-react/0.56.1/semantic-ui-react.min.js
jonobr1/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.semanticUIReact=t(require("React"),require("ReactDOM")):e.semanticUIReact=t(e.React,e.ReactDOM)}(t...
node_modules/react-router/es6/Router.js
HK8383/react_project_imooc
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; }; function _objectWithoutProperties(obj, keys) { var target = {...
examples/with-jest-snapshots/src/server.js
jaredpalmer/razzle
import { StaticRouter } from 'react-router-dom'; import App from './App'; import React from 'react'; import express from 'express'; import { renderToString } from 'react-dom/server'; const assets = require(process.env.RAZZLE_ASSETS_MANIFEST); const cssLinksFromAssets = (assets, entrypoint) => { return assets[entry...
test/test-setup.js
drewen/react-cart
import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import 'jsdom-global/register'; configure({ adapter: new Adapter() });
ajax/libs/forerunnerdb/1.3.477/fdb-core+persist.js
tholu/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...
assets/js/src/main/_resetPassword.js
stechDevSP/stechDev
import React from 'react'; import ReactDOM from 'react-dom'; export class ResetPassword extends React.Component { constructor(props) { super(props); var self = this; this.goBackClick = this.goBackClick.bind(this); this.cleanClick = this.cleanClick.bind(this); this.finishCli...
src/components/onsen/ons-splitter/side.js
c58/onsenui-react
import React from 'react'; export default class OnsSplitterSide extends React.Component { render() { return ( <ons-splitter-side {...this.props}> {this.props.children} </ons-splitter-side> ); } }
js/setup.js
yasster/Divide-react-native
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import App from './App'; import configureStore from './configureStore'; function setup():React.Component { class Root extends Component { constructor() { super(); this.state = { isLoading: false, store...
ajax/libs/react/0.11.2/react.min.js
zimbatm/cdnjs
/** * React v0.11.2 * * 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 app...
examples/todomvc/containers/TodoApp.js
jack5241027/redux
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { Connector } from 'redux/react'; import Header from '../components/Header'; import MainSection from '../components/MainSection'; import * as TodoActions from '../actions/TodoActions'; export default class TodoApp extends Comp...
MuSprint/client/src/components/MuBoard.js
oracle/json-in-db
import React from 'react'; import { Redirect } from 'react-router-dom' import MuStoryPane from '../components/MuStoryPane' import MuSaveStoryModal from './MuSaveStoryModal'; import MuDeleteConfirmModal from './MuDeleteConfirmModal'; import * as MuConstants from '../exports/MuConstants' import { getStories, addStory, r...
app/routes.js
yianL/focus-group-tool
// @flow import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import HomePage from './containers/HomePage'; import CreateGroupPage from './containers/CreateGroupPage'; import CheckinPage from './containers/CheckinPage'; import ManageAttendees from './container...
ajax/libs/ionic/0.9.18-alpha/js/ionic.js
mrehayden1/cdnjs
/*! * Copyright 2013 Drifty Co. * http://drifty.com/ * * Ionic, v0.9.17 * A powerful HTML5 mobile app framework. * http://ionicframework.com/ * * By @maxlynch, @helloimben, @adamdbradley <3 * * Licensed under the MIT license. Please see LICENSE for more information. * */; // Create namespaces window.ionic...
stories/SingleDatePicker.js
airbnb/react-dates
import React from 'react'; import moment from 'moment'; import momentJalaali from 'moment-jalaali'; import { storiesOf } from '@storybook/react'; import { withInfo } from '@storybook/addon-info'; import DirectionProvider, { DIRECTIONS } from 'react-with-direction/dist/DirectionProvider'; import isInclusivelyBeforeDay f...
test/specs/collections/Form/FormFieldRadio-test.js
jcarbo/stardust
import React from 'react' import FormRadio from 'src/collections/Form/FormRadio' import Radio from 'src/addons/Radio/Radio' import * as common from 'test/specs/commonTests' describe('FormRadio', () => { common.isConformant(FormRadio) it('renders a FormField with a Radio control', () => { shallow(<FormRadio /...
actor-apps/app-web/src/app/components/modals/AddContact.react.js
jiguoling/actor-platform
import _ from 'lodash'; import React from 'react'; import Modal from 'react-modal'; import addons from 'react/addons'; import ReactMixin from 'react-mixin'; import { Styles, TextField, FlatButton } from 'material-ui'; import AddContactStore from 'stores/AddContactStore'; import AddContactActionCreators from 'actions...
openstack_dashboard/static/dashboard/js/jquery.min.js
yangleo/cloud-github
/*! jQuery v1.12.0 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fu...
app/components/ResumeSkillSection/index.js
yagneshmodh/personalApplication
import React from 'react'; import Title from '../Title/index'; import baseStyle from '../../common/Style/baseStyle.css'; import SwipeWrapper from '../../containers/SwipeWrapper/index'; import LinearProgressWrapper from '../../containers/LinearProgressWrapper/index'; const skillsSection = (() => <div id="skillsSecti...
react/src/index.js
jbadson/render_controller
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
src/@ui/Icon/icons/Dropdown.js
NewSpring/Apollos
import React from 'react'; import PropTypes from 'prop-types'; import { Svg } from '../../Svg'; import makeIcon from './makeIcon'; const Icon = makeIcon(({ size = 32, fill, ...otherProps } = {}) => ( <Svg width={size} height={size} viewBox="0 0 24 24" {...otherProps}> <Svg.Path d="M7 10l5 5 5-5z" fil...
ajax/libs/aui/5.2-m6/js/aui-all.min.js
Eunoia/cdnjs
!function(a2,aB){var w,af,o=a2.document,aI=a2.location,d=a2.navigator,bg=a2.jQuery,I=a2.$,am=Array.prototype.push,a4=Array.prototype.slice,aK=Array.prototype.indexOf,z=Object.prototype.toString,V=Object.prototype.hasOwnProperty,aO=String.prototype.trim,bG=function(e,bZ){return new bG.fn.init(e,bZ,w)},bx=/[\-+]?(?:\d*\....
sample/front-end/src/Common/Components/simple-content/simple-content.component.js
asmagin/sitecore-js-presentation
require('./simple-content.styles.sass'); import React from 'react'; import { Grid, Row, Col } from 'react-bootstrap' import logo from '../../static/images/sample.png'; class SimpleContent extends React.Component { render() { return ( <Grid className='simple-content'> <div style={{fontSize: '8px',...
ajax/libs/material-ui/4.9.4/es/ExpansionPanel/ExpansionPanelContext.js
cdnjs/cdnjs
import React from 'react'; /** * @ignore - internal component. * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>} */ const ExpansionPanelContext = React.createContext({}); if (process.env.NODE_ENV !== 'production') { ExpansionPanelContext.displayName = 'ExpansionPanelContext...
src/views/components/tracklist/index.js
zerubeus/sawt
import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import classNames from 'classnames'; import { List } from 'immutable'; import { getBrowserMedia, infiniteScroll } from '../../../core/browser'; import { audio, getPlayerIsPlaying, getPlayerTrackId, playerActions...
src/pages/About.js
Johj/cqdb
import React, { Component, } from 'react'; import { Col, Media, Panel, Row, } from 'react-bootstrap'; export default class About extends Component { render = () => { return ( <Row> <Col lg={12} md={12} sm={12} xs={12}> <Panel> <Media.Heading>Disclaimer</Media.Heading> ...
app/containers/Header/MainHeader.js
klpdotorg/tada-frontend
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { HeaderBar } from '../../components/Header'; import { logoutUser, openChangeUserInfoModal, openChangePasswordModal } from '../../actions'; class Header extends Component { componentDidMount() { window.onclick = (event) => { ...
ajax/libs/react-datepicker/0.26.0/react-datepicker.js
wout/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("moment"), require("react"), require("react-onclickoutside"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["moment", "rea...
ajax/libs/mobx/6.1.0/mobx.umd.development.js
cdnjs/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.mobx = {})); }(this, (function (exports) { 'use strict'; var niceErrors = ...
source/TransitionerGroupChild.js
CKPalk/Transitioner
/* eslint-disable react/no-unused-prop-types */ import React from 'react' import PropTypes from 'prop-types' import { findDOMNode } from 'react-dom' import { camelToDashString, STRING_TO_TIMING_FUNCTION } from './transitionHelpers' export default class TransitionerGroupChild extends React.Component { static propTy...
src/components/TodoTextInput.js
taggon/redux-example-todo
import React, { Component } from 'react'; class TodoTextInput extends Component { constructor(props, context) { super(props, context); this.state = { text: this.props.text || '' }; } handleChange(event) { this.setState( {text: event.target.value} ); } handleKeyUp(event) { if (even...
node_modules/react-bootstrap/es/Well.js
joekay/awebb
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 ...
modules/components/CheckedOut/CheckedOutBook/index.js
hmltnbrn/classroom-library
import React from 'react'; import Paper from 'material-ui/Paper'; import List from 'material-ui/List/List'; import ListItem from 'material-ui/List/ListItem'; import AccountCircle from 'material-ui/svg-icons/action/account-circle'; import * as libraryService from './../../../services/library-service'; class CheckedOut...
demo/src/index.js
moroshko/react-baseline
import React from 'react'; import { render } from 'react-dom'; import App from 'App'; render( <App />, document.getElementById('demo') );
react_template/index.js
kambi-sportsbook-widgets/widget-core-library
import React from 'react' import ReactDOM from 'react-dom' import { coreLibrary, widgetModule, offeringModule, } from 'kambi-widget-core-library' import EventWidget from './js/Components/EventWidget' import './scss/app.scss' import './index.html' // Initialize kambi's api // http://kambi-sportsbook-widgets.githu...
src/components/ContainerDetailsSubheader.react.js
stoumpos/kitematic
import _ from 'underscore'; import React from 'react'; import shell from 'shell'; import metrics from '../utils/MetricsUtil'; import ContainerUtil from '../utils/ContainerUtil'; import classNames from 'classnames'; import containerActions from '../actions/ContainerActions'; import dockerMachineUtil from '../utils/Docke...
node_modules/material-ui/svg-icons/device/signal-cellular-connected-no-internet-3-bar.js
smaccoun/wrapid-react-ts
'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/repository-section-title.component.js
Antoine38660/git-point
import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { StateBadge } from 'components'; import { colors, fonts } from 'config'; type Props = { text: string, openCount: number, closedCount: number, loading: boolean, }; const styles = StyleSheet.create({ title: { flexDi...
jqwidgets/jqwidgets-react/react_jqxslider.js
UCF/IKM-APIM
/* jQWidgets v5.6.0 (2018-Feb) Copyright (c) 2011-2017 jQWidgets. License: https://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export const jqx = window.jqx; export default class JqxSlider extends React.Component { componentDidMount() { let options = this.manageA...
ajax/libs/jquery-handsontable/0.10.2/jquery.handsontable.min.js
warpech/cdnjs
/** * Handsontable 0.10.2 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright 2012, Marcin Warpechowski * Licensed under the MIT license. * http://handsontable.com/ * * Date: Thu Jan 23 2014 23:06:23 GMT+0100 (CET) *//*jslint...
js/jquery.js
Ronyismanto/demo-web-papsi
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
09-hooks/src/NewTodo.js
dtanzer/react-basic-examples
import React from 'react'; export class NewTodo extends React.Component { constructor(props) { super(props); this.state = { input: "", }; } render() { return ( <div> <input type="text" value={this.state.input} onChange={e => this.setState({input: e.target.value})} /> <...
ajax/libs/ag-grid/5.0.5/lib/utils.js
dlueth/cdnjs
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.0.5 * @link http://www.ag-grid.com/ * @license MIT */ var FUNCTION_STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; var FUNCTION_ARGUMENT_NAMES = /([^\s,]+)/g; // util class, only used when ...