path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
packages/material-ui-icons/src/TableChartOutlined.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="M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z" /...
public/controllers/management/components/management/groups/utils/columns-files.js
wazuh/wazuh-kibana-app
import React from 'react'; import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; import GroupsHandler from '../utils/groups-handler'; import beautifier from '../../../../../../utils/json-beautifier'; import { WzButtonPermissions } from '../../../../../../components/common/permissions/button'; export default class ...
app/packs/src/admin/text_templates/ActionRowBtn.js
ComPlat/chemotion_ELN
import PropTypes from 'prop-types'; import React from 'react'; import { Button } from 'react-bootstrap'; const RemoveRowBtn = ({ removeRow, node }) => { const { data, gridOptionsWrapper } = node; const btnClick = () => { gridOptionsWrapper.gridOptions.suppressRowClickSelection = true; removeRow(data.name)...
examples/reagent/js/app.js
sammcgrail/todomvc
if(typeof Math.imul == "undefined" || (Math.imul(0xffffffff,5) == 0)) { Math.imul = function (a, b) { var ah = (a >>> 16) & 0xffff; var al = a & 0xffff; var bh = (b >>> 16) & 0xffff; var bl = b & 0xffff; // the shift by 0 fixes the sign on the high part // the final...
src/components/slider/Slider.js
djErock/Telemed-Website
import React, { Component } from 'react'; import { connect } from "react-redux"; import './slider.css'; import { ImportAll } from '../../util/helpers' const SliderImages = ImportAll(require.context('../../img/slides', false, /\.(png|jpe?g|svg)$/)); import { getSlideshow } from "../../actions/actions" @connect((stor...
ajax/libs/onsen/1.3.5/js/onsenui_all.min.js
tonytomov/cdnjs
/*! onsenui - v1.3.5 - 2015-07-22 */ !function(){function getAttributes(element){return Node_get_attributes.call(element)}function setAttribute(element,attribute,value){try{Element_setAttribute.call(element,attribute,value)}catch(e){}}function removeAttribute(element,attribute){Element_removeAttribute.call(element,attr...
Examples/UIExplorer/TransformExample.js
dubert/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, ...
packages/material-ui-icons/src/BorderTopOutlined.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="M7 21h2v-2H7v2zm0-8h2v-2H7v2zm4 0h2v-2h-2v2zm0 8h2v-2h-2v2zm-8-4h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2v-2H3v2zm0-4h2V7H3v2zm8 8h2v-2h-2v2zm8-8h2V7h-2...
Example/index.ios.js
rpopovici/react-native-camera
import React from 'react'; import { AppRegistry } from 'react-native'; import Example from './Example'; AppRegistry.registerComponent('Example', () => Example);
react/features/base/react/components/AbstractContainer.js
bickelj/jitsi-meet
import React, { Component } from 'react'; /** * Abstract (base) class for container of React Component children with a style. * * @extends Component */ export default class AbstractContainer extends Component { /** * Renders this AbstractContainer as a React Component of a specific type. * * @p...
docs/src/pages/demos/selection-controls/CheckboxLabels.js
cherniavskii/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import green from 'material-ui/colors/green'; import { FormGroup, FormControlLabel } from 'material-ui/Form'; import Checkbox from 'material-ui/Checkbox'; import CheckBoxOutlineBlankIcon from '@material-ui/ic...
src/js/utils/reduxFormValidators.js
knowncitizen/tripleo-ui
/** * Copyright 2017 Red Hat Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
client/app/components/RestaurantPage/Business/RestaurantCreateForm.js
maekks/menu-plus
import React from 'react'; import PropTypes from 'prop-types'; import TextField from 'material-ui/TextField'; const propTypes = { registerRes: PropTypes.func.isRequired, closeModal: PropTypes.func.isRequired, }; class RestaurantCreateForm extends React.PureComponent { constructor(props) { super(props); ...
src/components/home.js
Peterrkang/Locals
import React, { Component } from 'react'; import SignUp from './auth/signup'; import SignIn from './auth/signin'; import NavBarSignIn from './auth/navbarsignin' import { connect } from 'react-redux'; import * as actions from '../actions'; import { browserHistory } from 'react-router'; import Events from './events' impo...
src/media/js/routes.js
diox/marketplace-content-tools
import React from 'react'; import {Redirect, Route} from 'react-router'; import AddonDashboard from './addon/containers/dashboard'; import AddonDashboardDetail from './addon/containers/dashboardDetail'; import AddonReview from './addon/containers/review'; import AddonReviewDetail from './addon/containers/reviewDetail'...
ajax/libs/mediaelement/2.16.2/jquery.js
StoneCypher/cdnjs
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
app/javascript/mastodon/features/account_timeline/index.js
imomix/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { fetchAccount } from '../../actions/accounts'; import { refreshAccountTimeline, expandAccountTimeline } from '../../actions/timelines'; import StatusL...
sites/all/modules/contrib/devel/jquery-1.4.4-uncompressed.js
pbonnefoi/tetraedre
/*! * jQuery JavaScript Library v1.4.4 * 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/ContentPage/ContentPage.js
yanivefraim/mobile-device-manager
/* * React.js Starter Kit * Copyright (c) 2014 Konstantin Tarkus (@koistya), KriaSoft LLC. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ 'use strict'; import React from 'react'; import DeviceStore from '../../stores/DeviceSto...
modules/__tests__/createRoutesFromReactChildren-test.js
emmenko/react-router
import expect from 'expect'; import React from 'react'; import { createRoutesFromReactChildren } from '../RouteUtils'; import Route from '../Route'; describe('createRoutesFromReactChildren', function () { var Parent = React.createClass({ render() { return ( <div> <h1>Parent</h1> ...
Study/Udemy Docker and Kubernetes/Section14/kub-network-06-added-frontend/frontend/src/index.js
tarsoqueiroz/Docker
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
components/LoginArea.js
pigflymoon/geo-app
import React from 'react'; import {FormErrors} from './FormErrors'; export default class LoginArea extends React.Component { constructor(props) { super(props); this.state = { username: '', email: '', password: '', formErrors: {email: '', username: ''...
ajax/libs/analytics.js/2.2.2/analytics.min.js
AlexisArce/cdnjs
(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n...
ajax/libs/jquery-localScroll/1.3.3/jquery.localScroll.js
wmkcc/cdnjs
/*! * jQuery.localScroll * Copyright (c) 2007-2014 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Licensed under MIT * http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html * @author Ariel Flesler * @version 1.3.3 */ ;(function(plugin) { // AMD Support if (typeof define =...
ajax/libs/react/15.5.4/react-with-addons.js
pvnr0082t/cdnjs
/** * React (with addons) v15.5.4 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undef...
src/components/panel/__tests__/index.js
KleeGroup/focus-components
import TestUtils from 'react-dom/test-utils'; import React from 'react'; import ReactDOM from 'react-dom'; import Panel from '../'; import { init, translate } from 'focus-core/translation'; const i18nConfig = { resources: {}, lng: 'fr-FR'///langOpts.i18nCulture }; const { findRenderedDOMComponentWithClass,...
app/assets/javascripts/components/Editor.js
rnplay/rnplay-web
'use strict'; import React from 'react'; import CodeMirror from 'codemirror'; import assign from 'lodash/object/assign'; import EditorHeader from './EditorHeader'; import TabBar from './TabBar'; import Logger from './Logger'; const DEFAULT_CODEMIRROR_OPTIONS = { autofocus: true, indentUnit: 2, indentWithTabs: ...
ajax/libs/raven.js/3.25.1/console/raven.js
ahocevar/cdnjs
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */ /* * Includes TraceKit * https://github.com/getsentry/TraceKit * * Copyright 2018 Matt Robenolt and other contributors * Released under the BSD license * https://github.com/getsentry/raven-js/blob/master/LICENSE * */ (function(f){if(typeof expor...
src/svg-icons/action/delete.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDelete = (props) => ( <SvgIcon {...props}> <path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/> </SvgIcon> ); ActionDelete = pure(ActionDelete); ActionDelete.display...
src/svg-icons/av/album.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvAlbum = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 14.5c-2.49 0-4.5-2.01-4.5-4.5S9.51 7.5 12 7.5s4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-5.5c-...
docs/pages/system/api.js
kybarg/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/system/api', false, /\.(md|js|tsx)$/); const reqSource = require.context('!raw-loader!../../src/pages/system/api', false, /\.(js|tsx)$/); const reqPrefix = 'pages/system/api'; ex...
src/routes/Home/components/Home/Home-About.js
Ryana513/ccproject
import React from 'react' import Theme from '../../../../theme' // import {Card, CardTitle, CardPanel, Row, Col} from 'react-materialize'; const style = { margin: 80, textAlign: 'center', display: 'block' } export const HomeAbout = () => { return ( <div style={style}> <h5 id="About">About "Get Me A ...
scripts/VideoItem.js
ButenkoT/react-practice-
import moment from 'moment'; import url from 'url'; import path from 'path'; import querystring from 'querystring'; import React from 'react'; import AppActions from './actions/AppActions'; import styles from './VideoItem.less'; function videoImage(videoUrl) { let id; let urlObject = url.parse(videoUrl); if (u...
src/layout-v2/header/facebook-logo.js
bblassingame/at-home-climate-website
import React from 'react' import ReactGA from 'react-ga' import FBLogo from './FB-f-Logo__blue_50.png' const FacebookLogo = () => { return ( <div className='social-img-container'> <ReactGA.OutboundLink eventLabel='Click To Facebook' to='https://www.facebook.com/AtHomeClimateStorage/'> <img classNa...
ajax/libs/nuclear-js/1.1.2/nuclear.js
quba/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["Nuclear"] = factory(); else root["Nucle...
ajax/libs/forerunnerdb/1.3.395/fdb-core+persist.min.js
bootcdn/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/ember-data.js/1.0.0-beta.5/ember-data.prod.js
Sneezry/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.5 */ (function() { var define, requireModule; (function() { var registry = {}, seen...
dist/1.8.3/jquery-ajax-css-deprecated-effects-offset.js
michaelBenin/jquery-builder
/*! * jQuery JavaScript Library v1.8.3 -deprecated,-css,-ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-effects,-offset,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/licen...
ajax/libs/inferno/0.7.26/inferno-router.js
tonytomov/cdnjs
/*! * inferno-router v0.7.25 * (c) 2016 Dominic Gannaway * 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.InfernoRouter = factory())...
builds/build_ver-2015_08_20-13_15_53/static/js/main.min.js
dumperize/fm
function sendForm(form_DOM,successHandler,errorHandler){jQuery.ajax({url:form_DOM.attr("action"),type:form_DOM.attr("method"),dataType:"json",data:form_DOM.serialize(),success:function(response){if(response.success)form_DOM.find(".error-summary").remove(),successHandler(response);else{form_DOM.find(".error-summary").re...
tests/views/HomeView.spec.js
ecocitybuilders/urbinsight
import React from 'react' import TestUtils from 'react-addons-test-utils' import { bindActionCreators } from 'redux' import { HomeView } from 'views/HomeView/HomeView' import { mount } from 'enzyme' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) retur...
frontend/components/Navbar.js
tahosalodge/camping-guide
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { Link } from 'react-router-dom'; import Container from './Container'; const NavbarStyled = styled.div` width: 100%; height: 80px; background-color: #c1363f; color: #fff; h3 a { text-decoration:...
app/javascript/mastodon/features/account_timeline/index.js
clworld/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { fetchAccount } from '../../actions/accounts'; import { expandAccountFeaturedTimeline, expandAccountTimeline } from '../../actions/timelines'; import ...
src/pages/Indeed.js
dunika/job-admin
import React from 'react'; import { Search } from 'client/modules/indeed'; import { withReduxSaga } from 'client/store'; import { Main } from './layout'; const Indeed = () => ( <Main> <Search /> </Main> ); export default withReduxSaga(Indeed);
packages/material-ui-icons/src/ExposurePlus2Sharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M16.05 16.29l2.86-3.07c.38-.39.72-.79 1.04-1.18.32-.39.59-.78.82-1.17s.41-.78.54-1.17c.13-.39.19-.79.19-1.18 0-.53-.09-1.02-.27-1.46s-.44-.81-.78-1.11c-.34-.31-.77-.54-1.26-.71-.51-.16-1.08-.24-1.72-....
src/components/screens/gameResultScreen/index.js
jiriKuba/Calculatic
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Button, View, Text, StyleSheet, KeyboardAvoidingView } from 'react-native'; import * as actions from '../../../containers/gameResultScreen/actions'; i...
client/app/containers/Representatives/repCard.js
KamillaKhabibrakhmanova/postcardsforchange-api
import React from 'react'; import Img from 'components/Img'; import styled from 'styled-components'; import { Control, Form, actions } from 'react-redux-form'; const RepCardBox = styled.div` margin: 1rem auto; text-align: left; height: 12rem; .circle-img { overflow: hidden; top: 0; left: 0; he...
client/app/components/ContentEditor/customPlugins/latex-plugin/components/InsertTeXButton.js
bryanph/Geist
import React from 'react'; import {insertTeXBlock} from '../modifiers/insertTeXBlock'; export class InsertTeXButton extends React.Component { constructor(props) { super(props) this.insertTeX = this.insertTeX.bind(this) } insertTeX() { this.props.setEditorState(insertTeXBlock(this...
ajax/libs/handsontable/0.10.1/jquery.handsontable.full.js
wallin/cdnjs
/** * Handsontable 0.10.1 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright 2012, Marcin Warpechowski * Licensed under the MIT license. * http://handsontable.com/ * * Date: Sun Jan 12 2014 13:55:41 GMT+0100 (Central European...
components/DaySlot.js
dominiktilp/congestion-charge-app
import React from 'react'; import { browserHistory } from 'react-router'; class DaySlot extends React.Component { render() { return ( <div className="input-line"> <input type="radio" name="daySlot" onChange={this.props.onChange} value={this.props.value} ...
ajax/libs/react-native-web/0.15.3/modules/useMergeRefs/index.min.js
cdnjs/cdnjs
import*as React from"react";import mergeRefs from"../mergeRefs";export default function useMergeRefs(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return React.useMemo(function(){return mergeRefs.apply(void 0,r)},[].concat(r))};
ajax/libs/clappr/0.0.97/clappr.js
gaearon/cdnjs
require=(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)...
frontend/src/Components/Table/Cells/TableSelectCell.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import CheckInput from 'Components/Form/CheckInput'; import TableRowCell from './TableRowCell'; import styles from './TableSelectCell.css'; class TableSelectCell extends Component { // // Lifecycle componentDidMount() { const { ...
app/javascript/mastodon/components/permalink.js
tri-star/mastodon
import React from 'react'; import PropTypes from 'prop-types'; export default class Permalink extends React.PureComponent { static contextTypes = { router: PropTypes.object, }; static propTypes = { className: PropTypes.string, href: PropTypes.string.isRequired, to: PropTypes.string.isRequired, ...
packages/strapi-generate-plugin/files/admin/src/containers/HomePage/index.js
skelpook/strapi
/* * * HomePage * */ import React from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { injectIntl } from 'react-intl'; import { pluginId, pluginName, pluginDescription } from 'app'; import Button from 'components/Button'; import styles from './styles.s...
packages/wix-style-react/src/Avatar/docs/index.story.js
wix/wix-style-react
import React from 'react'; import * as icons from 'wix-ui-icons-common'; import Avatar from '..'; import { storySettings } from './storySettings'; import { avatarColorList } from '../constants'; import { api, example, description, divider, header, importExample, playground, tab, tabs, testkit, ...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/SvgInclusion.js
andrewmaudsley/create-react-app
/** * 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...
src/svg-icons/file/cloud-download.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileCloudDownload = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-...
src/parser/shared/modules/features/SelfHealTimingGraph.js
fyruna/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import { FlexibleWidthXYPlot as XYPlot, XAxis, YAxis, LineSeries, AreaSeries, MarkSeries, DiscreteColorLegend, Hint, } from 'react-vis'; import VerticalLine from 'interface/others/charts/VerticalLine'; import Analyzer from 'parser/core/Analy...
src/svg-icons/av/not-interested.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvNotInterested = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12...
src/components/Empty.js
janimattiellonen/fgr
import React from 'react'; import styles from './Empty.pcss'; const Empty = props => { const { empty } = props; return ( <div className={styles.root}> </div> ); }; Empty.propTypes = { }; Empty.defaultProps = { }; export default Empty;
webpack/scenes/Subscriptions/Details/SubscriptionDetailInfo.js
tstrachota/katello
import React from 'react'; import PropTypes from 'prop-types'; import { Table } from 'react-bootstrap'; import subscriptionAttributes from './SubscriptionAttributes'; const SubscriptionDetailInfo = ({ subscriptionDetails }) => { const subscriptionLimits = (subDetails) => { const limits = []; if (subDetails.s...
files/parsleyjs/2.1.0-rc9/parsley.remote.js
royswastik/jsdelivr
// `window.ParsleyExtend`, like `ParsleyAbstract`, is inherited by `ParsleyField` and `ParsleyForm` // That way, we could add new methods or redefine some for these both classes. In particular case // We are adding async validation methods that returns promises, bind them properly to triggered // Events like onkeyup wh...
ajax/libs/x-editable/1.5.0/jquery-editable/js/jquery-editable-poshytip.js
rwjblue/cdnjs
/*! X-editable - v1.5.0 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to form ...
tests/routes/Home/components/HomeView.spec.js
sdurighello/react-github-issues
import React from 'react' import { HomeView } from 'routes/Home/components/HomeView' import { render } from 'enzyme' describe('(View) Home', () => { let _component beforeEach(() => { _component = render(<HomeView />) }) it('Renders a welcome message', () => { const welcome = _component.find('h4') ...
src/index.js
ConnectHealth/ch-app
// @flow import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; /* import injectTapEventPlugin from 'react-tap-event-plugin';*/ import { useStrict } from 'mobx'; /* import DevTools from 'mobx-react-devtools';*/ import App from 'app/App'; // Needed for React Developer Tools window.React...
packages/material-ui-icons/src/BurstMode.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let BurstMode = props => <SvgIcon {...props}> <path d="M1 5h2v14H1zm4 0h2v14H5zm17 0H10c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM11 17l2.5-3.15L15.29 16l2.5-3.22L21 17H11z" /> ...
src/main.js
markwang2764/react-ant
import 'antd/lib/style/index.less'; import 'antd/lib/style/components.less'; import './style.less'; import React from 'react'; import ReactDOM from 'react-dom'; import Routes from './routes/index'; ReactDOM.render(<Routes />, document.getElementById('app'));
test/integration/List/selectableList.spec.js
IsenrichO/mui-with-arrows
import React from 'react'; import {assert} from 'chai'; import {shallow} from 'enzyme'; import List from 'src/List/List'; import ListItem from 'src/List/ListItem'; import makeSelectable from 'src/List/makeSelectable'; import injectTheme from '../fixtures/inject-theme'; import getMuiTheme from 'src/styles/getMuiTheme'; ...
selfservice-frontend/src/components/App/index.js
zanetworker/son-selfservice
import React, { Component } from 'react'; import {Link} from 'react-router'; // import sonataLogo from './sonata.png'; import './App.css'; class App extends Component { render() { return ( <div className="container-fluid"> <nav className="navbar navbar-toggleable-md navbar-inverse bg-inverse fixed...
src/svg-icons/av/playlist-add.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPlaylistAdd = (props) => ( <SvgIcon {...props}> <path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z"/> </SvgIcon> ); AvPlaylistAdd = pure(AvPlaylistAdd); AvPlaylistAdd...
src/Aldor/GalleryBundle/Resources/public/js/jquery-1.9.1.min.js
Aldor007/mkaciuba.pl
 /*! 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...
src/icons/IosRewindOutline.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosRewindOutline extends React.Component { render() { if(this.props.bare) { return <g> <path d="M464,155v201.9L280.5,256L464,155 M240,156v77.7v27.1v95.6L64,256l176-100.2 M256,128L32,256l224,128V260.8L480,384V...
lib/main.js
OpenFn/ui
import "bootstrap/css/bootstrap.css!" import React from 'react'; import { RouterMixin, navigate } from 'react-mini-router'; import { Navbar,Nav,NavItem,NavDropdown,MenuItem,Button,Table } from 'react-bootstrap'; import Menu from "./components/Menu"; import MappingView from "./components/MappingView"; import MappingSu...
app/components/home.js
oneillci/egghead-react-app
import React from 'react'; export default class Home extends React.Component { render() { return <h2 className="text-center">Search by es6</h2> } } // var React = require("react"); // var Home = React.createClass({ // render: function() { // return( // <h2 className="text-center"> // Search by github u...
assets/js/DollarInput.js
codeforgoodconf/sisters-of-the-road-admin
import React, { Component } from 'react'; class DollarInput extends Component { constructor () { super(); this.state = { amount: '' }; } onAmountChange (amount) { this.setState({amount: amount}); this.props.updateAmount(amount); } render () { ...
admin/client/App/elemental/Modal/body.js
andrewlinfoot/keystone
import React from 'react'; import { css } from 'glamor'; import theme from '../../../theme'; function ModalBody ({ className, ...props }) { return ( <div className={css(classes.body, className)} {...props} /> ); }; const classes = { body: { paddingBottom: theme.modal.padding.body.vertical, paddingL...
example/__tests__/Example-test.js
ClearScholar/react-native-htmlview
import React from 'react'; import renderer from 'react-test-renderer'; import Example from '../Example'; describe('<Example/>', () => { it('should render', () => { expect( renderer.create(<Example />).toJSON() ).toMatchSnapshot(); }); });
ajax/libs/chimee/0.8.4/index.browser.js
cdnjs/cdnjs
/** * chimee v0.8.4 * (c) 2017-2018 toxic-johann * Released under MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Chimee = factory()); }(this, (function () { '...
ajax/libs/backbone-react-component/0.6.4/backbone-react-component.js
jakubfiala/cdnjs
// Backbone React Component // ======================== // // Backbone.React.Component v0.6.2 // // (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com> // Backbone.React.Component can be freely distributed under the MIT license. // // // `Backbone.React.Component` is a React.Component wrapper that serve...
ajax/libs/yui/3.6.0pr1/simpleyui/simpleyui.js
jonobr1/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
app/src/Frontend/libs/weui/components/icon/icon.js
ptphp/ptphp
/** * Created by jf on 15/11/3. */ import React from 'react'; import classNames from 'classnames'; class Icon extends React.Component { static propTypes = { value: React.PropTypes.string, size: React.PropTypes.string }; static defaultProps = { value: 'success', size: 's...
src/components/common/HeaderLogo.js
varmais/profitti
import React from 'react'; import { Image } from 'react-native'; export default () => ( <Image source={require('../../assets/images/trol-logo-full.png')} style={{height: 35}} resizeMode="contain" /> );
src/svg-icons/action/restore-page.js
pradel/material-ui
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....
docs/app/Examples/modules/Dropdown/Types/DropdownExampleInline.js
mohammed88/Semantic-UI-React
import React from 'react' import { Dropdown } from 'semantic-ui-react' import { friendOptions } from '../common' // friendOptions = [ // { // text: 'Jenny Hess', // value: 'Jenny Hess', // image: { avatar: true, src: '/assets/images/avatar/small/jenny.jpg' }, // }, // ... // ] const DropdownExampleI...
vendor/bower-asset/jquery/src/sizzle/test/jquery.js
ybanezmi/brds
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
ajax/libs/6to5/3.4.0/browser.js
quba/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...
blueprints/dumb/files/__test__/components/__name__.spec.js
DonHansDampf/movierange
import React from 'react' import <%= pascalEntityName %> from 'components/<%= pascalEntityName %>/<%= pascalEntityName %>' describe('(Component) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
packages/material-ui-icons/src/VisibilityOff.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="m0 0h24v24H0z" /><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74...
services/ui/src/pages/stories/deployment.stories.js
amazeeio/lagoon
import React from 'react'; import { PageDeployment as Deployment } from '../deployment'; export default { component: Deployment, title: 'Pages/Deployment', } export const Default = () => ( <Deployment router={{ query: { openshiftProjectName: 'Example', deploymentName: 'example', ...
client/test/components/authentication/SignUpForm.spec.js
andela-pessien/libre-dms
/* eslint-disable react/jsx-filename-extension */ import React from 'react'; import { shallow, mount } from 'enzyme'; import sinon from 'sinon'; import { SignUpFormComponent } from '../../../components/authentication/SignUpForm'; import { getValidUser } from '../../../../scripts/data-generator'; describe('SignUpForm c...
ajax/libs/js-data/1.0.0-alpha.5-6/js-data.js
MMore/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file js-data.js * @version 1.0.0-alpha.5-6 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined...
contrib/webui/src/components/dropdown/split.js
roscopecoltran/papernet
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import listensToClickOutside from 'react-onclickoutside'; import classNames from 'classnames'; import './dropdown.scss'; class SplitDropdown extends Component { static propTypes = { btnStyle: PropTypes.string, className: PropTyp...
node_modules/react-bootstrap/es/Jumbotron.js
mohammed52/door-quote-automator
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 ...
ajax/libs/preact/7.0.2/preact.dev.js
pvnr0082t/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.preact = global.preact || {}))); }(this, function (exports) { function VNode(nodeName, attributes, childr...
src/components/post/page.js
plastical/react-theme
/* global PlasticalSettings */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { injectIntl } from 'react-intl'; import classNames from 'classnames'; import DocumentMeta from 'react-document-meta'; import ScrollIntoView from 'scroll-compon...
test/containers/CounterPage.spec.js
linuxing3/electron-react
import { expect } from 'chai'; import React from 'react'; import { renderIntoDocument, scryRenderedDOMComponentsWithTag, findRenderedDOMComponentWithClass, Simulate } from 'react-addons-test-utils'; import { Provider } from 'react-redux'; import CounterPage from '../../app/containers/CounterPage'; import config...
analysis/warriorarms/src/modules/talents/AngerManagement.js
anom0ly/WoWAnalyzer
import { formatDuration } from 'common/format'; import SPELLS from 'common/SPELLS'; import RESOURCE_TYPES from 'game/RESOURCE_TYPES'; import { SpellLink } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import SpellUsable from 'parser/shared/m...
src/components/InfoText.js
aalselius/Test
import React from 'react'; const InfoText = (props) => { return ( <div className="infoText"> <p> {props.infoText} </p> </div> ); } export default InfoText;
src/components/List/AddMemberItem.js
nobt-io/frontend
import PropTypes from 'prop-types'; import React from 'react'; import inputTheme from './AddMemberItemInputTheme.scss'; import itemTheme from './AddMemberItemTheme.scss'; import { connect } from 'react-redux'; import { Input } from 'react-toolbox-legacy/lib/input/index'; import { IconButton } from 'react-toolbox-legacy...