path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/material-ui/5.0.0-alpha.15/legacy/FormHelperText/FormHelperText.min.js
cdnjs/cdnjs
import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import _extends from"@babel/runtime/helpers/esm/extends";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import formControlState from"../FormControl/formControlState";import useFormControl from"...
react-flux-mui/js/material-ui/src/svg-icons/action/assignment-late.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssignmentLate = (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-6 15h-2v-2h2v2zm0...
source/patterns/01-molecules/popover/docs/popover.example.js
apparena/patterns
import React from 'react'; import {Button, Popover} from 'apparena-patterns-react'; export default function PopoverExample() { return ( <Popover title="OverPop" content={<p>Suprise, you opened the Popover, to close it just press the button again</p>} positioning="top" ...
web/src/components/NavMenu.js
blinard/better-bookmarks
import './NavMenu.css'; import React from 'react'; import { Collapse, Container, Navbar, NavbarBrand, NavbarToggler, NavItem, NavLink } from 'reactstrap'; import { Link } from 'react-router-dom'; export default class NavMenu extends React.Component { constructor (props) { super(props); this.toggl...
src/frame/rePCUI/tabs/base-tabs/SwipeableTabContent.js
gejialun8888/shop-react
import TabContent from './TabContent'; import React from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; import Hammer from 'rc-hammerjs'; import ReactDOM from 'react-dom'; import { isVertical, getActiveIndex, getTransformByIndex, setTransform, getActiveKey, t...
src/js/Containers/AppContainer.js
RoyalSix/myBiolaApp
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Image, TextInput, StatusBar } from 'react-native'; import * as reducers from '../Reducers'; import thunk from 'redux-thunk'; import { createStore, applyMiddleware, combineReducers } from 'redu...
src/entypo/GooglePlay.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--GooglePlay'; let EntypoGooglePlay = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M4.942627,18.0508423l7.6660156-4.3273926l-1.6452026-1.8234253L4.942627,18.0508423z M2.1422119...
ajax/libs/forerunnerdb/1.3.62/fdb-core+persist.min.js
CyrusSUEN/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...
ajax/libs/recharts/1.0.0-alpha.4/Recharts.min.js
ahocevar/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-transition-group"],t):"object"==typeof exports?exports.Recharts=t(require("prop-types"),re...
ajax/libs/react-swipe/1.0.0/swipe.min.js
ahocevar/cdnjs
var React=require("react"),Swipe=require("./vendor/swipe"),styles={container:{overflow:"hidden",visibility:"hidden",position:"relative"},wrapper:{overflow:"hidden",position:"relative"},child:{"float":"left",width:"100%",position:"relative"}};module.exports=React.createClass({displayName:"Swipe",propTypes:{startSlide:Re...
ajax/libs/yui/3.2.0/event-custom/event-custom-base-debug.js
fredericksilva/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...
src/app/modules/Preferences/components/forms/NetworkForm.js
toxzilla/app
import React from 'react'; import {connect} from 'cerebral-view-react'; import isValidForm from 'cerebral-module-forms/helpers/isValidForm'; import {CHROMIUM_NACL_MIN_PORT, CHROMIUM_NACL_MAX_PORT} from './../../../../../shared/chrome'; import {Button, ButtonGroup, Checkbox, Fieldset, Form, Text, TextField} from './../....
ref_docs/Controller — Stem 1.4.1 documentation_files/jquery.js
du5t/puccinia
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/components/Footer/Footer.js
devonzuegel/cosmocat
import React from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './Footer.css'; import Link from '../Link'; function Footer() { return ( <div className={s.root}> <div className={s.container}> <span className={s.text}>© Your Company</span> <span clas...
src/giraffe-ui/petition/share.js
MoveOnOrg/mop-frontend
import React from 'react' import { Link } from 'react-router' import PropTypes from 'prop-types' import MailSvg from '../svgs/mail.svg' import FacebookSvg from '../svgs/facebook.svg' import TwitterSvg from '../svgs/twitter.svg' import LinkSvg from '../svgs/link.svg' import cx from 'classnames' export const Share = ({ ...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
DSFaresConsultingTeam/JustLetip
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
node_modules/react-bootstrap/es/SafeAnchor.js
NathanBWaters/jb_club
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/decorators/withViewport.js
grantgeorge/react-app
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import EventEmitter from 'eventemitter3'; import { canUseDOM } from '../../node_modules/react/lib/ExecutionEnvironment'; let EE; let viewport = {width: 1366, height:...
src/app/components/featured-image.js
mantagen/living-mathematics
import React from 'react' const FeaturedImage = () => { return ( <div className='featured-image'> <img src='/assets/img/home.jpg' /> </div> ) } export default FeaturedImage
imports/plugins/core/ui/client/components/list/list.js
bradleywiebe2/somnium
import React, { Component, PropTypes } from "react"; import classnames from "classnames"; class List extends Component { static propTypes = { children: PropTypes.node, isAdmin: PropTypes.bool } render() { const listClassName = classnames({ "rui": true, "admin": this.props.isAdmin, ...
node_modules/enzyme/src/Utils.js
Kgiberson/welp
/* eslint no-use-before-define:0 */ import isEqual from 'lodash/isEqual'; import React from 'react'; import is from 'object-is'; import { isDOMComponent, findDOMNode, childrenToArray, } from './react-compat'; import { REACT013, REACT15, } from './version'; export const ITERATOR_SYMBOL = typeof Symbol === 'fu...
app/src/index.js
oramics/synth-kit
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
ajax/libs/6to5/1.14.6/browser-polyfill.js
sashberd/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...
frontend/src/Factura/FacturaTable.js
GAumala/Facturacion
import React from 'react'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table'; import TextField from 'material-ui/TextField'; import IconButton from 'material-ui/IconButton'; import Delete from 'material-ui/svg-icons/action/delete'; import Math fro...
client/modules/App/components/Buttons/LoginButton.js
caleb272/PollIt
import React from 'react' import FlatButton from 'material-ui/FlatButton' function LoginButton() { function login() { window.location.href = '/auth/github' } return ( <FlatButton label="Login with Github" onClick={login} /> ) } export default LoginButton
src/Components/CharacterSeriesList.js
jefferydutra/TestableModularReactTalk
import React from 'react'; import LabelWithAdd from './LabelWithAdd'; require('./CharacterSeriesList.css'); function setFavoriteSeriesForCharacter(setAsFavoriteSeries, character, name) { return () => setAsFavoriteSeries(character.id, name); } function renderSeries(series, character, setAsFavoriteSeries) { ret...
components/react-draft-wysiwyg/util/Html.js
andresin87/wysiwyg
/** * Created by alucas on 6/12/16. */ import React, { Component } from 'react'; class Html extends Component { constructor() { super(); this.setValue = this.setValue.bind(this); } setValue(value) { this.setState({ value }); } componentWillmount() { // this.state.value = this.props.value ? ...
app-course-sync/views/WellcomeView.js
globant-ui-rosario/progress-tracker
import React, { Component } from 'react'; class BootcampWellcomeView extends Component { render () { return <div>Wellcome view</div>; } }; export default BootcampWellcomeView;
frontWeb/main/react/react-router/basic/dev/app8.js
skycolor/study
import React from 'react'; import ReactDOM from 'react-dom'; import App from './paramsExample.js'; ReactDOM.render(<App /> , document.getElementById('app') );
saga/seata-saga-statemachine-designer/src/components/EditorContextMenu/MenuItem.js
seata/seata
import React from 'react'; import { Command } from 'gg-editor'; import upperFirst from 'lodash/upperFirst'; import IconFont from '../../common/IconFont'; import styles from './index.less'; const MenuItem = (props) => { const { command, icon, text } = props; return ( <Command name={command}> <div classNa...
src/popup/components/FuzzFooter.js
herrfugbaum/FuzzTabs
import React from 'react' import { Container, Icon } from 'semantic-ui-react' const FuzzFooter = () => { return ( <Container textAlign='right'> <Icon name='heart' /> Slamcode </Container> ) } export default FuzzFooter
pages/components/container.js
allanalexandre/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/components/container', false, /\.(md|js|tsx)$/); const reqSource = require.context( '!raw-loader!../....
admin/client/App/screens/Item/components/EditForm.js
frontyard/keystone
import React from 'react'; import moment from 'moment'; import assign from 'object-assign'; import { Form, FormField, FormInput, Grid, ResponsiveText, } from '../../../elemental'; import { Fields } from 'FieldTypes'; import { fade } from '../../../../utils/color'; import theme from '../../../../theme'; import { ...
src/svg-icons/hardware/phone-iphone.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwarePhoneIphone = (props) => ( <SvgIcon {...props}> <path d="M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1...
Examples/UIExplorer/NetInfoExample.js
imWildCat/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
catalogsite/app/scripts/app.js
yofret/testrepo
//-------------------------------------------------------------- // Dependecies //-------------------------------------------------------------- import React, { Component } from 'react'; //-------------------------------------------------------------- // Class definition //-------------------------------------------...
packages/mineral-ui-icons/src/IconAddAlert.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconAddAlert(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps...
ajax/libs/ag-grid/12.0.2/lib/utils.js
ahocevar/cdnjs
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v12.0.2 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var FUNCTION_STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/...
files/rxjs/2.4.4/rx.lite.extras.compat.js
sancospi/jsdelivr
// 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, 'unde...
ajax/libs/vkui/4.28.0/cssm/components/DateRangeInput/DateRangeInput.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/extends";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["shouldDisableDate","disableFuture","disablePast","value","onChange","calendarPlacement","style","className","closeOnChange","disablePickers","getRootRef","name","auto...
src/components/common/controlled-slider.js
mikechabot/game-of-life
import React from 'react'; import Slider from 'material-ui/lib/slider'; import Colors from 'material-ui/lib/styles/colors'; /** Author: Mike Chabot * Description: Simple controlled slider * Default Element: See render() * Props: See PropTypes */ class ControlledSlider extends React.Compon...
packages/material-ui-icons/src/TransitEnterexitRounded.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="M14.5 18H8c-1.1 0-2-.9-2-2V9.5C6 8.67 6.67 8 7.5 8S9 8.67 9 9.5v3.27L14.95 7c.57-.55 1.48-.54 2.04.02s.56 1.47.01 2.04L11.15 15h3.35c.83 0 1.5.6...
node_modules/react-router/es/withRouter.js
ivanhristov92/bookingCalendar
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; import invariant from 'invariant'; import React from 'react';...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/CssInclusion.js
RobzDoom/frame_trap
/** * 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. */ import Rea...
cmd/gqlgen/sample/app.js
mhamrah/gql
import React from 'react'; import ReactDOM from 'react-dom'; import GraphiQL from 'graphiql'; import fetch from 'isomorphic-fetch'; function graphQLFetcher(graphQLParams) { return fetch(window.location.origin + '/graphql', { method: 'post', headers: { 'Content-Type': 'application/json' }, body: graphQLPa...
src/components/ClickOutside/__tests__/ClickOutside.spec.js
propertybase/react-lds
import React from 'react'; import { render } from 'react-dom'; import { ClickOutside } from '..'; const $mockApp = document.createElement('div'); $mockApp.id = 'container'; document.body.appendChild($mockApp); const evt = document.createEvent('HTMLEvents'); evt.initEvent('click', true, true); const getComponent = ...
src/App/Link/index.js
mikearnaldi/react-starter
import React from 'react' import {connect} from 'react-redux' import {linkActions} from './module' import styled from 'styled-components' import {materialBlueGrey} from '../styles/colors' const Wrapper = styled.div` display: inline-block; padding: 5px; cursor: default; user-select: none; border: 1px solid ${...
ajax/libs/yui/3.14.1/event-focus/event-focus-coverage.js
dc-js/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-focus/event-focus.js']) { __coverage__['build/event-focus/event-focus.js'] = {"path":"build/event-focus/event-focus.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":0,"13":0,"14":0,"15":0,"...
app/javascript/mastodon/components/logo.js
tootcafe/mastodon
import React from 'react'; const Logo = () => ( <svg viewBox='0 0 216.4144 232.00976' className='logo'> <use xlinkHref='#mastodon-svg-logo' /> </svg> ); export default Logo;
ajax/libs/fluentui-react/8.57.1/fluentui-react.umd.min.js
cdnjs/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.FluentUIReact=t(require("React"),require("ReactDOM")):e.FluentUIReact=t(e.React,e.ReactDOM)}(self,...
files/yui/3.17.2/datatable-body/datatable-body-coverage.js
cake654326/jsdelivr
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-body/datatable-body.js']) { __coverage__['build/datatable-body/datatable-...
TextField/TextField.spec.js
mmellado/airtame-gooey-react
import React from 'react'; import { render, shallow, mount } from 'enzyme'; import { spy } from 'sinon'; import TextField from './TextField'; describe('<TextField />', () => { it('should render the text field', () => { const wrapper = shallow(<TextField />); expect(wrapper).toHaveTagName('div'); }); it(...
ajax/libs/quickblox/1.0.2/quickblox.min.js
yukinying/cdnjs
!function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var l=n[s]={exports:{}};t[s][0].call(l.exports,function(e){var n=t[s][1][e];return o(n?n:e)},l,l.exports,e,t,n,r)}return n[s].exports...
ajax/libs/es6-shim/0.20.4/es6-shim.js
RizkyAdiSaputra/cdnjs
/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.20.4 * see https://github.com/paulmillr/es6-shim/blob/master/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-...
src/components/auth/require_auth.js
SRosenshein/react-auth-client
import React, { Component } from 'react'; import { connect } from 'react-redux'; export default function(ComposedComponent) { class Authentication extends Component { static contextTypes = { router: React.PropTypes.object } componentWillMount() { if (!this.props.authenticated) { this.context.router.p...
frontend/test/components/dashboard/overdue-projects/OverdueProjects.spec.js
leapfrogtechnology/vyaguta-resource
import React from 'react'; import expect from 'expect'; import {shallow, mount} from 'enzyme'; //components import OverdueProjects from '../../../../src/js/components/dashboard/overdue-projects/OverdueProjects'; import OverdueProjectRow from '../../../../src/js/components/dashboard/overdue-projects/OverdueProjectRow';...
packages/accounts-base/accounts_client.js
johnthepink/meteor
/** * @summary Constructor for the `Accounts` object on the client. * @locus Client * @class * @extends AccountsCommon * @instancename accountsClient * @param {Object} options an object with fields: * @param {Object} options.connection Optional DDP connection to reuse. * @param {String} options.ddpUrl Optional ...
test/components/Price/Price.js
bluetidepro/react-styleguidist
import React from 'react'; import PropTypes from 'prop-types'; const unitSymbols = { USD: '$', EUR: '€', }; /** * Price component that renders a price and a unit. */ export default function Price(props) { let Host = 'span'; if (props.emphasize) { Host = 'em'; } return ( <Host> {props.value} {!props....
app/components/AddNewAgent/index.js
medevelopment/UMA
import React, { Component } from 'react'; import { browserHistory } from 'react-router'; import * as toastify from '../../functions/Toastify'; import styled from 'styled-components'; import axios from 'axios'; import Drawer from 'material-ui/Drawer'; import TextField from 'material-ui/TextField'; import RaisedButton fr...
ajax/libs/6to5/3.0.6/browser.js
andrepiske/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
src/@ui/inputs/Picker/Picker.tests.js
NewSpring/Apollos
import React from 'react'; import renderer from 'react-test-renderer'; import Providers from '@ui/TestProviders'; import Picker, { Item } from './'; describe('The Picker Input component', () => { it('should render correctly', () => { const tree = renderer.create( <Providers> <Picker plac...
customView/index.ios.js
TheKingOfNorway/React-Native
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import { PeripheralListView } from './BluetoothView/PeripheralListView'; // import { ServiceListView } from './BluetoothView/ServiceListView'; // import { CharacteristicListView } from './BluetoothView/CharacteristicListView'; // ...
src/web/components/CreateList.js
faalsh/LamaDesktop
import React from 'react'; import { connect } from 'react-redux' import * as LamaActions from '../../common/actions' import { bindActionCreators } from 'redux' import { StyleSheet, css } from 'aphrodite' class CreateList extends React.Component { constructor(props) { super(props); this.state = { ...
test/tests/Quiz-spec.js
DailyCheckup/DailyCheckup
import React from 'react'; import { expect } from 'chai'; import { shallow, mount, render } from 'enzyme'; import Quiz from './../../src/Components/Quiz/Quiz.jsx'; import Answers from './../../src/Components/Quiz/Answers.jsx'; const testQuestions = [{ a:"A) severe joint pain", answer:"A", b:"B) marked joint spac...
web/src/layout/leftpanel/faqpanel.js
corradio/electricitymap
import React from 'react'; import { connect } from 'react-redux'; import { Link, Redirect, useLocation } from 'react-router-dom'; import { useTranslation } from '../../helpers/translation'; import FAQ from '../../components/faq'; const mapStateToProps = state => ({ isMobile: state.application.isMobile, }); const F...
test/specs/collections/Breadcrumb/BreadcrumbSection-test.js
ben174/Semantic-UI-React
import React from 'react' import BreadcrumbSection from 'src/collections/Breadcrumb/BreadcrumbSection' import * as common from 'test/specs/commonTests' import { sandbox } from 'test/utils' describe('BreadcrumbSection', () => { common.isConformant(BreadcrumbSection) common.rendersChildren(BreadcrumbSection) commo...
src/articles/custom-html5-video-player-with-css3-and-jquery/jquery-1.4.2.min.js
andreasbovens/devopera
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/views/layouts/RightSidebar.js
bugra9/adminjs
import React, { Component } from 'react'; import { Sidebar, Segment, Button, Menu, Icon, Header, Form } from 'semantic-ui-react'; class RightSidebar extends Component { constructor(props) { super(props); this.state = {visible: false}; } handleItemClick = () => this.setState({ visible: !this.state.visibl...
src/helpers/__tests__/makeRouteHooksSafe-test.js
ThatCheck/ReactProjectRaspberrySchool
import { expect } from 'chai'; import React from 'react'; import { IndexRoute, Route } from 'react-router'; import makeRouteHooksSafe from '../makeRouteHooksSafe'; describe('makeRouteHooksSafe', () => { it('should work with JSX routes', () => { const onEnter = () => { throw new Error('Shouldn\'t call onE...
packages/material-ui-icons/src/ViewColumnSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z" /> , 'ViewColumnSharp');
v8/development/node_modules/eslint-config-airbnb/test/test-react-order.js
BigBoss424/portfolio
import test from 'tape'; import { CLIEngine } from 'eslint'; import eslintrc from '..'; import reactRules from '../rules/react'; import reactA11yRules from '../rules/react-a11y'; const cli = new CLIEngine({ useEslintrc: false, baseConfig: eslintrc, rules: { // It is okay to import devDependencies in tests. ...
lib/yui-3.7.3.js
devildeveloper/canjs
/** * @documentjs-ignore */ /* YUI 3.7.3 (build 5687) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ /** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple q...
src/parser/hunter/survival/modules/features/SpellsAndTalents.js
fyruna/WoWAnalyzer
import React from 'react'; import StatisticsListBox from 'interface/others/StatisticsListBox'; import STATISTIC_ORDER from 'interface/others/STATISTIC_ORDER'; import Analyzer from 'parser/core/Analyzer'; import SerpentSting from '../spells/SerpentSting'; import CoordinatedAssault from '../spells/CoordinatedAssault'; ...
src/components/sales.js
AdinoyiSadiq/back-office-tool
import React from 'react'; import Sale from './sale'; class Sales extends React.Component { render() { return ( <div className="content container"> <div className="row"> <section className="col-md-12 order-data"> <header>SALES</header> <div className="panel-group" id="accordion" role="tablis...
js/FooTable/demos/js/jquery-1.9.1.min.js
beppenapo/rmv
/*! 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...
packages/test-studio/src/components/BrandLogo.js
VegaPublish/vega-studio
/* eslint-disable max-len */ import React from 'react' const BrandLogo = props => '🔭 Lyra' export default BrandLogo
ajax/libs/mobx-react/4.3.0-rc.1/custom.min.js
extend1994/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("mobx"),require("react")):"function"==typeof define&&define.amd?define(["exports","mobx","react"],t):t(e.mobxReact=e.mobxReact||{},e.mobx,e.React)}(this,function(e,t,n){"use strict";function r(e){function n(n,r,o,i,a,s){for(var c=argu...
packages/material-ui-icons/src/EuroSymbol.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7...
interface/components/RequestAccount.js
ethereum/mist
import React from 'react'; class RequestAccount extends React.Component { constructor(props) { super(props); this.state = { creating: false, passwordInputType: 'text', pw: '', pwRepeat: '', showPassword: false, showRepeat: false }; } resetForm() { this.setSta...
mypiano/node_modules/@angular/cli/node_modules/zone.js/dist/zone.js
ezequielfreire007/proyectoIonic
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory() : typeof define ==...
public/_admin/assets/plugins/jcrop/js/jquery.min.js
dwoodard/MediaCloud
/*! 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...
src/js/views/schedule/item.js
npirotte/catchapp
var classnames = require('classnames'); var Blink = require('react-blink'); var moment = require('moment'); var React = require('react'); var { Link } = require('../../touchstone'); module.exports = React.createClass({ displayName: 'ScheduleItem', contextTypes: { dataStore: React.PropTypes.object.isRequired }, ...
ajax/libs/jplayer/2.2.0/extras/jquery.jplayer.combo.min.js
aendrew/cdnjs
/*! jQuery v1.8.2 -deprecated,-ajax,-ajax/jsonp,-ajax/script,-ajax/xhr 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...
examples/with-custom-babel-config/pages/index.js
kevmannn/next.js
import React from 'react' export default class MyLuckNo extends React.Component { constructor (...args) { super(...args) this.state = { randomNo: null } } componentDidMount () { this.recalculate() } recalculate () { this.setState({ randomNo: Math.ceil(Math.random() * 100) }) } ...
Js/Core/Lib/Core/ModalComponent.js
Webiny/Webiny
import React from 'react'; import _ from 'lodash'; import Webiny from 'webiny'; import Component from './Component'; // Need to import this file directly because at this point `Webiny` is not fully populated class ModalComponent extends Component { constructor(props) { super(props); this.bindMetho...
techCurriculum/ui/solutions/4.5/src/App.js
AnxChow/EngineeringEssentials-group
/** * Copyright 2017 Goldman Sachs. * 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 agreed to in writ...
ajax/libs/react-highcharts/8.3.0/ReactHighstock.js
dlueth/cdnjs
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("highcharts/highstock")):"function"==typeof define&&define.amd?define(["react","highcharts/highstock"],r):"object"==typeof exports?exports.ReactHighstock=r(require("react"),require("highcharts/highstock")):t.React...
test/test_helper.js
hisarkaya/tvmaze
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
ajax/libs/onsen/2.0.0-alpha.13/js/angular-onsenui.js
seogi1004/cdnjs
/*! angular-onsenui.js for onsenui - v2.0.0-alpha.13 - 2015-11-10 */ (function(module) { try { module = angular.module('templates-main'); } catch(err) { module = angular.module('templates-main', []); } module.run(['$templateCache', function($templateCache) { 'use strict'; $templateCache.put('templates/sliding_menu....
docs/app/Examples/collections/Grid/Types/GridExampleDividedVertically.js
koenvg/Semantic-UI-React
import React from 'react' import { Grid, Image } from 'semantic-ui-react' const GridExampleVerticallyDivided = () => ( <Grid divided='vertically'> <Grid.Row columns={2}> <Grid.Column> <Image src='http://semantic-ui.com/images/wireframe/paragraph.png' /> </Grid.Column> <Grid.Column> ...
examples/huge-apps/components/GlobalNav.js
pheadra/react-router
import React from 'react' import { Link } from 'react-router' const dark = 'hsl(200, 20%, 20%)' const light = '#fff' const styles = {} styles.wrapper = { padding: '10px 20px', overflow: 'hidden', background: dark, color: light } styles.link = { padding: 11, color: light, fontWeight: 200 } styles.activ...
Realization/frontend/czechidm-acc/src/content/system/SystemProvisioningBreakConfigDetail.js
bcvsolutions/CzechIdMng
import PropTypes from 'prop-types'; import React from 'react'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; // import { Basic, Managers, Utils, Advanced } from 'czechidm-core'; import { ProvisioningBreakConfigManager, ProvisioningBreakRecipientManager } from '../../redux'; import Provisioni...
src/containers/FeatureAnalysisPage/FeatureAnalysisPage.js
armaniExchange/work-genius
import React, { Component } from 'react'; class FeatureAnalysisPage extends Component { render() { return ( <div className="feature-analysis-page"> { this.props.children } </div> ); } } export default FeatureAnalysisPage;
views/main.js
cyrixhero/black-screen
import React from 'react'; import _ from 'lodash'; import Rx from 'rx'; import {TerminalLayout} from './compiled/src/views/TerminalLayout.js'; var keys = { goUp: event => (event.ctrlKey && event.keyCode === 80) || event.keyCode === 38, goDown: event => (event.ctrlKey && event.keyCode === 78) || event.keyCode ...
packages/ringcentral-widgets/components/ContactSourceFilter/index.js
ringcentral/ringcentral-js-widget
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import i18n from './i18n'; import styles from './styles.scss'; import ContactFilterIcon from '../../assets/images/ContactFilter.svg'; import ContactFilterSolidIcon from '../../assets/images/ContactFilterS...
ajax/libs/react-intl/1.2.0/react-intl-with-locales.min.js
zhangbg/cdnjs
(function(){"use strict";function a(a){var b,c,d,e,f=Array.prototype.slice.call(arguments,1);for(b=0,c=f.length;c>b;b+=1)if(d=f[b])for(e in d)o.call(d,e)&&(a[e]=d[e]);return a}function b(a,b,c){this.locales=a,this.formats=b,this.pluralFn=c}function c(a){this.id=a}function d(a,b,c,d,e){this.id=a,this.useOrdinal=b,this.o...
ajax/libs/react-native-web/0.11.4/cjs/vendor/react-native/ListView/index.min.js
cdnjs/cdnjs
"use strict";exports.__esModule=!0,exports.default=void 0;var _ListViewDataSource=_interopRequireDefault(require("./ListViewDataSource")),_Platform=_interopRequireDefault(require("../../../exports/Platform")),_react=_interopRequireDefault(require("react")),_propTypes=_interopRequireDefault(require("prop-types")),_findN...
packages/material-ui/src/internal/svg-icons/CheckBoxOutlineBlank.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon( <path d="M19 5v14H5V5h14m0-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-2z" />, 'CheckBoxOutlineBlank', );
src/js/components/docker/partial/DeveloperTools.js
ajainsyn/project
import React from 'react'; import javaIcon from '../../../../assets/images/java_icon.png'; import azureIcon from '../../../../assets/images/azure_icon.png'; import dockerIcon from '../../../../assets/images/docker.png'; import cfIcon from '../../../../assets/images/cf_icon.png'; import synbaasLogo from '../../.....
app/pages/reservation/PaymentSuccess.js
fastmonkeys/respa-ui
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { injectIntl } from 'react-intl'; import flow from 'lodash/flow'; import get from 'lodash/get'; import isPlainObject from 'lodash/isPlainObject'; import { currentUserSelector } from '../../state/selectors/authS...