path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
frontend/src/app/components/Footer.js
6a68/idea-town
import React from 'react'; export default class Footer extends React.Component { render() { return ( <footer id="main-footer" className="responsive-content-wrapper"> <div id="footer-links"> <div className="legal-links"> <a href="https://www.mozilla.org" className="mozilla-log...
packages/react-ui-components/src/Bar/index.story.js
dimaip/neos-ui
import React from 'react'; import {storiesOf} from '@kadira/storybook'; import {withKnobs, select} from '@kadira/storybook-addon-knobs'; import {StoryWrapper} from './../_lib/storyUtils.js'; import Bar from './index.js'; storiesOf('Bar', module) .addDecorator(withKnobs) .addWithInfo( 'default', ...
frontend/src/app/components/Footer/index.js
chuckharmston/testpilot
// @flow import { Localized } from "fluent-react/compat"; import React from "react"; import RetireConfirmationDialog from "../RetireConfirmationDialog"; import "./index.scss"; type FooterProps = { hasAddon: any, sendToGA: Function, uninstallAddon: Function } type FooterState = { showRetireDialog: boolean } ...
src/layouts/CoreLayout/CoreLayout.js
Mikosko/EimPanel
/** * @Author: Miloš Kolčák * @Date: 2017-01-04T11:00:20+01:00 * @Email: milos.kolcak@gmail.com * @Last modified by: Miloš Kolčák * @Last modified time: 2017-01-12T15:07:49+01:00 */ import React from 'react' import style from './style.scss' import '../../styles/core.scss' import TopPanel from '../../components/T...
src/components/ceylon/plain/CeylonPlain.js
fpoumian/react-devicon
import React from 'react' import PropTypes from 'prop-types' import SVGDeviconInline from '../../_base/SVGDeviconInline' import iconSVG from './CeylonPlain.svg' /** CeylonPlain */ function CeylonPlain({ width, height, className }) { return ( <SVGDeviconInline className={'CeylonPlain' + ' ' + className} ...
components/subscriptions/SubscriptionSelector.js
resource-watch/resource-watch
import React from 'react'; import PropTypes from 'prop-types'; // Components import SelectInput from 'components/form/SelectInput'; import Input from 'components/form/Input'; import Field from 'components/form/Field'; class SubscriptionSelector extends React.Component { render() { const { datasets, ...
test/CollapseSpec.js
glenjamin/react-bootstrap
import React from 'react'; import { mount } from 'enzyme'; import Collapse from '../src/Collapse'; describe('<Collapse>', () => { let Component, wrapper; beforeEach(() => { Component = class extends React.Component { render() { let { children, ...props } = this.props; return ( ...
packages/material-ui-icons/src/LaunchOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" /></React.Fr...
src/Alert.js
Sipree/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import bootstrapUtils, { bsStyles, bsClass } from './utils/bootstrapUtils'; import { State } from './styleMaps'; let Alert = React.createClass({ propTypes: { onDismiss: React.PropTypes.func, dismissAfter: React.PropTypes.number, closeLabel:...
src/views/pages/dashboard.js
bugra9/adminjs
import React, { Component } from 'react'; import { Segment, Grid, Header, Icon } from 'semantic-ui-react'; class Dashboard extends Component { render() { return ( <Segment color="violet" inverted basic> <Grid verticalAlign="middle" textAlign="center" style={{height: "100vh"}}> <Grid.Colum...
src/js/pages/Home.js
diegovilarinho/wp-react-portfolio-site
import React from 'react'; import { Link } from 'react-router'; export default class Home extends React.Component { render() { return ( <div className="ish-main-content ish-pflo-gal ish-scroll-anim ish-2col"> <div className="ish-item"> <div className="ish-item-container"> <di...
src/svg-icons/action/alarm-add.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAlarmAdd = (props) => ( <SvgIcon {...props}> <path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4....
client/test/containers/App-test.js
rmhowe/transport-app
import React from 'react'; import { expect } from 'chai'; import { shallow, mount, render } from 'enzyme'; import App from '../../src/js/containers/App'; import Immutable from 'immutable'; describe("App", () => { let app; before(() => { app = mount(<App/>); }); it("begins with no disruptions", () => { ...
src/challenges/react/React_25.js
bonham000/fcc-react-tests-module
/* eslint-disable */ import React from 'react' import assert from 'assert' import { transform } from 'babel-standalone' import Enzyme from '../Enzyme'; const shallow = Enzyme.shallow; const mount = Enzyme.mount; const render = Enzyme.render; export const QA = true; // ---------------------------- define challenge t...
src/Parser/Warlock/Affliction/Modules/Items/Legendaries/StretensSleeplessShackles.js
hasseboulen/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Enemies from 'Parser/Core/Modules/Enemies'; import Combatants from 'Parser/Core/Modules/Combatants'; import calculateEffectiveDamage from 'Parser/Core/calculateEffectiveDamage'; import ITEMS from 'common/ITEMS'; import ItemDamageDone from...
src/widgets/SwitchWidget.js
Timvdv/flexible-dashboard
import React, { Component } from 'react'; var Promise = require('es6-promise').Promise; import Data from '../model/Data'; require("../../css/widgets/switch.css"); /** * Really simple switch widget which turns something on / off */ export default class SwitchWidget extends Component { data = {}; constructor...
node_modules/react-bootstrap/src/CarouselItem.js
gitoneman/react-soc
import React from 'react'; import classSet from 'classnames'; import TransitionEvents from './utils/TransitionEvents'; const CarouselItem = React.createClass({ propTypes: { direction: React.PropTypes.oneOf(['prev', 'next']), onAnimateOutEnd: React.PropTypes.func, active: React.PropTypes.bool, caption...
information/blendle-frontend-react-source/app/modules/issue/components/TilesIssue.js
BramscoChill/BlendleParser
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Tile from 'components/Tile'; import TilePane from 'components/TilePane'; import ItemTile from 'components/tiles/ItemTile'; import Measure from 'react-measure'; import BrowserEnvironment from 'instances/browser_environment'; import Popu...
reference/library/src/webapp/js/jquery/jquery-1.8.3.min.js
introp-software/sakai
/*! 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===...
ReactNativeApp/react-native-starter-app/src/components/__tests__/ui/list-test.js
jjhyu/hackthe6ix2017
/** * Test to check if the component renders correctly */ /* global it expect */ import 'react-native'; import React from 'react'; import renderer from 'react-test-renderer'; import { List, ListItem } from '@ui'; it('List renders correctly', () => { const tree = renderer.create( <List> <ListItem title={...
src/extensions/default/JavaScriptQuickEdit/unittest-files/jquery-ui/tests/jquery-1.7.1.js
iamchathu/brackets
/*! * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/Parser/Paladin/Holy/Modules/Items/ObsidianStoneSpaulders.js
hasseboulen/WoWAnalyzer
import React from 'react'; import ITEMS from 'common/ITEMS'; import SPELLS from 'common/SPELLS'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import ItemHealingDone from 'Main/ItemHealingDone'; class ObsidianStoneSpaulders extends Analyzer { static dependenci...
node_modules/react-router/es/MemoryRouter.js
kishigo/recipes-react-redux
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call &...
fields/components/DateInput__OLD.js
lastjune/keystone
import moment from 'moment'; import Pikaday from 'pikaday'; import React from 'react'; import { FormInput } from 'elemental'; module.exports = React.createClass({ displayName: 'DateInput', // set default properties getDefaultProps: function() { return { format: 'YYYY-MM-DD' }; }, getInitialState: fu...
ajax/libs/yui/3.10.0/event-custom-base/event-custom-base-coverage.js
jmusicc/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-custom-base/event-custom-base.js']) { __coverage__['build/event-custom-base/event-custom-base.js'] = {"path":"build/event-custom-base/event-custom-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,...
src/components/logout.js
joopand/presensi
import React from 'react' import { connect } from 'react-redux' import Router from 'react-router' let Logout; Logout = class extends React.Component { contextTypes: { router: React.PropTypes.object.isRequired } componentWillMount () { // this.props.dispatch(authenticationActionCreator.logout(...
app/javascript/mastodon/features/favourited_statuses/index.js
kirakiratter/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchFavouritedStatuses, expandFavouritedStatuses } from '../../actions/favourites'; import Column from '../ui/components/column'; import ColumnHeade...
src/components/Project.js
GuoYongfeng/react-resume
import React from 'react' import { Timeline, Modal } from 'antd' import TimelineItem from './TimelineItem' import { getGithubRepos } from '../utils/fetchHelper' export default class Project extends React.Component { constructor(props) { super(props) this.state = { visible: false, ...
src/Irinamaps/EditButtons.js
guitarbeard/Irinamaps
import React, { Component } from 'react'; import './EditButtons.scss'; export default class EditButtons extends Component { render() { return ( <div> <button onClick={() => this.props.onMoreInfoClick()} id="more-info" className="edit-button mdl-button mdl-js-button mdl-button--fab" type="button"> ...
docs/src/NavMain.js
JimiHFord/react-bootstrap
import React from 'react'; import { Link } from 'react-router'; import Navbar from '../../src/Navbar'; import Nav from '../../src/Nav'; const NAV_LINKS = { 'introduction': { link: 'introduction', title: 'Introduction' }, 'getting-started': { link: 'getting-started', title: 'Getting started' }, ...
client/src/components/streamButtons.js
TeamDreamStream/GigRTC
import React from 'react'; const StreamButtons = (props) => { return ( <div className="streamButtons"> {(props.currentPrivelege && !props.watchMode) ? <button onClick={props.startBroadcast} className="startBroadcast fa fa-youtube-play">Start Stream</button> : ""} {props.watchMode ? <button onClick={...
src/components/FilterBar/FilterBar.stories.js
InsideSalesOfficial/insidesales-components
import React from "react"; import styled from "styled-components"; import { storiesOf, action } from "@storybook/react"; import FilterBar from "./"; import { renderThemeIfPresentOrDefault, wrapComponentWithContainerAndTheme, colors } from "../styles"; const genericOptions = [ { value: "1", label: "Neural Sco...
packages/material-ui-icons/src/SentimentVeryDissatisfiedRounded.js
allanalexandre/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="M12 13.5c-2.03 0-3.8 1.11-4.75 2.75-.19.33.06.75.44.75h8.62c.38 0 .63-.42.44-.75-.95-1.64-2.72-2.75-4.75-2.75zM8.35 11.47l.53-.53.53.53c.29.2...
src/assets/js/react/components/FontManager/FontManagerHeader.js
GravityPDF/gravity-forms-pdf-extended
/* Dependencies */ import React from 'react' import PropTypes from 'prop-types' /* Components */ import CloseDialog from '../Modal/CloseDialog' /** * @package Gravity PDF * @copyright Copyright (c) 2021, Blue Liquid Designs * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since...
test/componets-test.js
Trivardy/Trivardy
import React from 'react'; import { expect } from 'chai'; import { shallow, mount, render } from 'enzyme'; import sinon from 'sinon'; import configureStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import { Provider } from 'react-redux'; import TestUtils from 'react-addons-test-utils'; import FetchBar ...
src/components/TabContent.js
CaiFanglin/react-redux-tabs
import React, { Component } from 'react'; import './TabContent.css'; export default class TabContent extends Component { render() { const { start, defaultValue } = this.props; let value = ''; if (typeof defaultValue === 'object') { value = defaultValue.name; } else { ...
Examples/UIExplorer/CameraRollView.ios.js
popovsh6/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, ...
client/src/components/pages/contact-page.js
hah-nan/papabear2
import React, { Component } from 'react'; import { reduxForm } from 'redux-form'; import { sendContactForm } from '../../actions/index'; class ContactPage extends Component { handleFormSubmit({ firstName, lastName, emailAddress, subject, message }) { this.props.sendContactForm({ firstName, lastName, emailAddress...
src/Songrow.js
rweekers/voornameninliedjes-frontend
import React, { Component } from 'react'; import { Link } from "react-router-dom"; import './Songrow.css'; class Songrow extends Component { render() { const song = this.props; return ( <div className="Songrow"> <Link to={'/song/' + song.id}><p>{song.artist} - {song.title}</p></Link>{' '} ...
src/views/components/config/config.js
michaelBenin/react-ssr-spa
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import clone from 'lodash/clone'; import serialize from 'serialize-javascript'; class Config extends Component { shouldComponentUpdate() { return false; } render() { const clonedState = clone(this.props.state); const { ini...
src/components/prototype/Record.js
arayi/SLions
/** * Practice Scene */ import React from 'react'; import PropTypes from 'prop-types'; import { View, Button, Alert } from 'react-native'; import { Actions } from 'react-native-router-flux'; // Consts and Libs import { AppStyles } from '@theme/'; import { DefaultSongs } from '@constants/'; import Sound from 'react-n...
imports/ui/components/ResultsCount/ResultsCount.js
muhammadsasmito/meteor-solr
/* eslint-disable react/prefer-es6-class */ import React from 'react'; import ResultCount from '../../../api/search/result_count'; const ResultsCount = React.createClass({ propTypes: { searchMetadata: React.PropTypes.object.isRequired, searchParams: React.PropTypes.object.isRequired, }, totalResultsL...
modules/dreamview/frontend/src/components/TeleopMonitor/AudioControl.js
ycool/apollo
import React from 'react'; import CheckboxItem from 'components/common/CheckboxItem'; import MonitorSection from 'components/TeleopMonitor/MonitorSection'; import itemIcon from 'assets/images/icons/teleop_item.png'; function MicIcon(props) { const color = props.isOn ? '#30A5FF' : '#999999'; return ( <svg...
ajax/libs/6to5/2.4.6/browser-polyfill.js
BobbieBel/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...
componentes/Header.js
yomi-network/app
import React, { Component } from 'react'; import nativeImageSource from 'nativeImageSource'; import { StyleSheet, Text, View, ToolbarAndroid } from 'react-native'; class Header extends Component { render() { return ( <View title="ToolbarAndroid"> <ToolbarAndroid ...
sites/all/modules/contrib/jquery_update/replace/jquery/1.10/jquery.min.js
zrayev/dupal-test
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/icons/font/DateRangeIcon.js
skystebnicki/chamel
import React from 'react'; import PropTypes from 'prop-types'; import FontIcon from '../../FontIcon'; import ThemeService from '../../styles/ChamelThemeService'; /** * DateRange button * * @param props * @param context * @returns {ReactDOM} * @constructor */ const DateRangeIcon = (props, context) => { let the...
src/svg-icons/image/timer-off.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTimerOff = (props) => ( <SvgIcon {...props}> <path d="M19.04 4.55l-1.42 1.42C16.07 4.74 14.12 4 12 4c-1.83 0-3.53.55-4.95 1.48l1.46 1.46C9.53 6.35 10.73 6 12 6c3.87 0 7 3.13 7 7 0 1.27-.35 2.47-.94 3.49l1....
src/createInputField.js
nikordaris/redux-form-jsonschema-reactstrap
// @flow import React, { Component } from 'react'; import { Field } from 'redux-form'; import { Input } from 'reactstrap'; import FormField from './components/FormField'; import { injectSheet } from './Jss'; import validate from './validator'; class InputComponent extends Component { static defaultProps = { sc...
files/wordpress/3.4/js/jquery/jquery.js
cedricbousmanne/jsdelivr
/*! jQuery v1.7.2 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 cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBord...
examples/RoutedMultistepWizard.js
jaredpalmer/formik
import React from 'react'; import { BrowserRouter as Router, Route, withRouter } from 'react-router-dom'; import { Formik, Field, ErrorMessage } from 'formik'; import { Debug } from './Debug'; // the root path. locations should extend from this const formRootPath = '/step'; // the specific path for each page const lo...
ParseParty/webTech/dist/bower_components/jquery-color/test/jquery-1.6.3.js
zakdances/ParseParty
/*! * jQuery JavaScript Library v1.6.3 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
tests/layouts/CoreLayout.spec.js
cvetanov/EventsClient
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
ajax/libs/react-router/0.11.0/react-router.js
owcc/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.ReactRouter=e()}}(function(){var define,module,export...
src/js/methodOption.js
majofeechiou/drawing-board
'use strict'; /* *** 這部份用 ReactJs + redux 做 *** */ import ReactGroup from 'ReactGroup'; import React from 'react'; import ReactDOM from 'react-dom'; import Settings from './Settings'; import MethodSettings from './MethodSettings'; import ReactGroupSetting from './../../lib/react-group/js/Setting'; export default cla...
src/routes/App/components/EmptyNobtPlaceholder/EmptyNobtPlaceholder.js
nobt-io/frontend
import React from 'react'; import styles from './EmptyNobtPlaceholder.scss'; import SafeBox from './safebox.png'; import { useHistory } from 'react-router-dom'; export const EmptyNobtPlaceholder = props => { const history = useHistory(); return ( <div className={styles.container}> <div style={{ ...
app/modules/humnos/components/Detail.js
arizto/humnos-mobile
'use strict'; import React, { Component } from 'react'; import { InteractionManager, View, ScrollView, Text, TouchableHighlight, BackHandler, StyleSheet } from 'react-native'; import Icon from 'react-native-vector-icons/MaterialIcons'; import { Divider, Grid, Row, Col } from 'react-native-elements' import immutable fr...
src/js/components/questions/OtherQuestionsBanner.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import translate from '../../i18n/Translate'; @translate('OtherQuestionsBanner') export default class OtherQuestionsBanner extends Component { static contextTypes = { router: PropTypes.object.isRequired }; static propTy...
test/integration/css/fixtures/multi-page/pages/_app.js
BlancheXu/test
import React from 'react' import App from 'next/app' import '../styles/global1.css' import '../styles/global2.css' class MyApp extends App { render () { const { Component, pageProps } = this.props return <Component {...pageProps} /> } } export default MyApp
node_modules/react-native/local-cli/templates/HelloWorld/__tests__/index.android.js
aksharora/ReactNativeDemoBasic
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
ajax/libs/rxjs/2.3.22/rx.js
CosmicWebServices/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/app.js
amyrbrown/slideshow
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD * Build: http://www.modernizr.com/download/#-iepp */ ;window.Modernizr=function(a,b,c){function w(a,b){return!!~(""+a).indexOf(b)}function v(a,b){return typeof a===b}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function t(a){j.cssText=a}var d="2.0.6",e={},f=b.do...
app/assets/javascripts/src/components/sharedComponents/IceCreamCone5.js
talum/creamery
import React from 'react' const IceCreamCone5 = () => ( <div className="button button--circle button--has-icon button--color-lavender"> <div className="button__icon"> <svg viewBox="800 -600 400 320"> <g transform="matrix(1,0,0,-1,0,1)" id="g10"> <g tran...
src/svg-icons/notification/sync.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationSync = (props) => ( <SvgIcon {...props}> <path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25...
ajax/libs/react-redux/4.4.0/react-redux.js
dhenson02/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("redux")); else if(typeof define === 'function' && define.amd) define(["react", "redux"], factory); else if(typeof exports === 'object') e...
client/components/menu/bank.js
bnjbvr/kresus
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { get } from '../../store'; import { displayLabel, translate as $t } from '../../helpers'; import AccountListItem from './account'; class BankListItemComponent extends React.Component { constructor(props)...
src/components/Session/context.js
b1oki/b1oki.github.io
import React from 'react'; const AuthUserContext = React.createContext(null); export default AuthUserContext;
client/node_modules/redux-form/lib/createReduxForm.js
ronniehedrick/scapeshift
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _merge4 = require('lodash/merge'); var _merge5 = _interopRequireDefault(_merge4); var _mapValues2 = require('lodash/mapValues'); var _mapValues3 = _interopRequireDefault(_mapValues2); var _createClass = function () { function defin...
ajax/libs/mobx/5.5.1/mobx.js
cdnjs/cdnjs
/** MobX - (c) Michel Weststrate 2015 - 2018 - MIT Licensed */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, V...
src/containers/app/vouchers/voucher_original.js
w280561543/financial
import React from 'react'; class VoucherOriginal extends React.Component { render() { return(<div>VoucherOriginal</div>); } } export default VoucherOriginal;
src/components/Map.js
JoeScho/ClusterBomb
import React, { Component } from 'react'; import { StyleSheet, ScrollView, View, FlatList, Text, TouchableOpacity } from 'react-native'; import MapView from 'react-native-maps'; export class MapScreen extends Component { constructor(props) { super(props) } componentWillMount () { const heada...
src/components/home.js
erik-sn/mslt
import '../sass/home.scss'; import React, { Component } from 'react'; import { Card, CardTitle, CardMedia, CardText, CardHeader } from 'material-ui/Card'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; export default class Navbar extends Component { constructor(props) { super(props); ...
src/components/ColorSwatchGrid.js
sparkdesignsystem/spark-design-system
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; const SwatchGrid = ({ children, additionalClasses }) => { return ( <div className={classnames('docs-o-ColorSwatchGrid', additionalClasses)}> {children} </div> ); }; SwatchGrid.propTypes = { children...
src/components/RecipeType.js
ataylorme/hazels-heritage-frontend
import React from 'react'; import axios from 'axios'; import Recipe from './Recipe'; import Config from '../Config'; import GoHomeButton from './GoHomeButton'; class RecipeType extends React.Component { constructor() { super(); // Set initial state this.state = { data: {} ...
client/src/components/Explorer/index.js
takeflight/wagtail
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, combineReducers, applyMiddleware, compose } from 'redux'; import thunkMiddleware from 'redux-thunk'; // import { perfMiddleware } from '../../utils/performance'; import Explorer from './Explorer';...
src/components/case-study/single/templates/tnt/proof.js
adrienhobbs/redux-glow
import React from 'react'; import BaseTemplate from '../base-study-template'; import AboutSection from '../../../content-modules/about.js'; export class Proof extends BaseTemplate { static propTypes = { data: React.PropTypes.object }; constructor (props) { super(props); } render () { const copySt...
new-lamassu-admin/src/pages/Machines/MachineComponents/Details.js
naconner/lamassu-server
import { makeStyles } from '@material-ui/core/styles' import React from 'react' import { Label3, P } from 'src/components/typography' import { modelPrettifier } from 'src/utils/machine' import { formatDate } from 'src/utils/timezones' import styles from '../Machines.styles' const useStyles = makeStyles(styles) const...
backend/web/assets/eb2217f2/yii.gridView.js
constant0924/yii2-project
/** * Yii GridView widget. * * This is the JavaScript widget used by the yii\grid\GridView widget. * * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ (function ($) { ...
ajax/libs/forerunnerdb/1.3.757/fdb-core+persist.js
nolsherry/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...
ajax/libs/rxjs/2.3.24/rx.lite.compat.js
dryajov/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
website/src/pages/Packages/v2/types/sections.js
pshrmn/curi
import React from "react"; import { About, Paragraph, CodeBlock } from "../../../../components/package/common"; export default { about: ( <About> <Paragraph> This package is for TypeScript users. It provides the common Curi types used by the various packages. </Paragraph> ...
src/App.js
TalesM/taskblob
import React from 'react'; import MainView from './ui/MainView'; import SettingsView from './ui/SettingsView'; import ProjectController from './control/ProjectController'; import SettingsController from './control/SettingsController'; import './App.css'; import Project from './model/Project'; class App extends React.C...
docs/src/templates/page.js
tapjs/node-tap
import React from 'react'; import Layout from '../components/layout'; import {graphql} from 'gatsby'; import SEO from '../components/seo'; const Page = ({data}) => { const pageData = data.markdownRemark; const showSidebar = !pageData.fields.slug.indexOf('/docs/'); return ( <> <SEO title={pag...
files/jquery/1.11.2/jquery.min.js
gswalden/jsdelivr
/*! jQuery v1.11.2 | (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...
ajax/libs/angular.js/0.9.14/angular-scenario.js
caitp/cdnjs
/*! * 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. ...
files/cleditor/1.3.0/jquery.cleditor.js
oller/jsdelivr
/** @preserve CLEditor WYSIWYG HTML Editor v1.3.0 http://premiumsoftware.net/cleditor requires jQuery v1.4.2 or later Copyright 2010, Chris Landowski, Premium Software, LLC Dual licensed under the MIT or GPL Version 2 licenses. */ // ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS // @...
packages/material-ui/src/FormGroup/FormGroup.js
allanalexandre/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; export const styles = { /* Styles applied to the root element. */ root: { display: 'flex', flexDirection: 'column', flexWrap: 'wrap', }, /* Styles applied to the ro...
app/containers/App.js
azlyth/redub
// @flow import React, { Component } from 'react'; import type { Children } from 'react'; export default class App extends Component { props: { children: Children }; render() { return ( <div> {this.props.children} </div> ); } }
src/svg-icons/av/library-add.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvLibraryAdd = (props) => ( <SvgIcon {...props}> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"/> </S...
packages/vx-hierarchy/src/hierarchies/Tree.js
Flaque/vx
import React from 'react'; import cx from 'classnames'; import { Group } from '@vx/group'; import { tree as d3tree } from 'd3-hierarchy'; export default function Tree({ top, left, className, root, size, nodeSize, separation, linkComponent, nodeComponent, ...restProps }) { const tree = d3tree(); ...
src/components/SkillSet/SkillSet.js
IanChuckYin/IanChuckYin.github.io
import React, { Component } from 'react'; import styles from './SkillSet.module.scss'; import { connect } from 'react-redux'; import PageTitle from '../PageTitle/PageTitle'; import ContentContainer from '../ContentContainer/ContentContainer' import Grid from '../Grid/Grid'; import SkillSetPanel from '../SkillSetPanel/...
ajax/libs/rxjs/2.3.14/rx.all.js
anshulverma/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
ajax/libs/yui/3.4.0pr3/simpleyui/simpleyui-debug.js
perfect-pixell/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 name...
react-music-player/app/playmusic/Root.js
zhongshanxian/SUM
import React from 'react'; import Progress from './components/progress'; class Root extends React.Component { constructor(props) { super(props); this.state={ progress: 0 }; //函数需要绑定,否则报错'setState'undefined //this.changeProgress = this.changeProgress.bind(this); } componentDidMount() { $("#play...
js/src/views/Status/components/AutoComplete/AutoComplete.spec.js
immartian/musicoin
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any la...
Docker/KlusterKiteMonitoring/klusterkite-web/src/components/Loading/story.js
KlusterKite/KlusterKite
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; // import StubContainer from 'react-storybooks-relay-container'; import Loading from './index'; storiesOf('Loading') .add('loading indicator', () => { return <Loading />; }) ;
fixtures/devtools/regression/shared.js
chicoxyzzy/react
/* eslint-disable no-fallthrough, react/react-in-jsx-scope, react/jsx-no-undef */ /* global React ReactCache ReactDOM SchedulerTracing ScheduleTracing */ const apps = []; const pieces = React.version.split('.'); const major = pieces[0] === '0' ? parseInt(pieces[1], 10) : parseInt(pieces[0], 10); const minor = pi...
examples/js/manipulation/multi-search-table.js
dana2208/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; const fruits = [ 'banana', 'apple', 'orange', 'tomato', 'strawberries', 'cherries' ]; for (let i =...
app/components/Modal.js
DeividasK/click-or-be-clicked
import React from 'react'; import { ModalHeader } from './Modal/ModalHeader'; export function Modal(props) { return ( <div className={ (props.show) ? "modal fade in" : "modal fade" } tabIndex="-1" role="dialog" style={ (props.show) ? { display: 'block' } : { display: 'none' } }> <div className="modal-dialo...
src/parser/druid/restoration/modules/items/azeritetraits/LaserMatrixRestoDruid.js
FaideWW/WoWAnalyzer
import React from 'react'; import LaserMatrix from 'parser/shared/modules/spells/bfa/azeritetraits/LaserMatrix'; import SpellLink from 'common/SpellLink'; import { formatNumber, formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/oth...