target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
src/Components/ListTodo.js
jeanbauer/react-todo-playground-es6-hr-sass
import React from 'react'; import Todo from './Todo.js'; const ListTodo = (props) => ( <div className="group"> {props.data.length ? props.data.map((e,key) => <Todo key={key} time={e.time} description={e.description} />) : 0} </div> ); export default ListTodo;
websrc/components/dashboard/DashboardConfigTab.js
Ricky-Nz/react-relay-example
import React from 'react'; import Relay from 'react-relay'; import { Row, Col, Button, Input } from 'react-bootstrap'; import { LabelEditor, ProgressIndicator } from '../'; import { UpdateAppMutation } from '../../mutations'; class DashboardConfigTab extends React.Component { constructor(props) { super(props); th...
client/src/StudentsPhase.story.js
mit-teaching-systems-lab/swipe-right-for-cs
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import {withFrameSwitcher} from './util/storybookFrames.js'; import {storybookStudents} from './util/fixtures.js'; import StudentsPhase from './StudentsPhase.js'; storiesOf('StudentsPhase', modul...
app/webroot/js/theme/lib/formwizard/js/jquery-1.4.2.min.js
LINUXADDICT/cakecrud
/*! * 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/widgets/containers/PetitionWidget.js
iris-dni/iris-frontend
import React from 'react'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; import { fetchPetition } from 'actions/PetitionActions'; import getPetitionSchema from 'selectors/petitionSchema'; import getPetitionMetaData from 'helpers/getPetitionMetaData'; import PetitionWidget from 'widgets/compo...
src/components/footer.js
ahmadabugosh/client-react
//class based component import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; class Footer extends Component { render() { return ( <footer className="footer"> <span className="text-muted">Need help? Send us a message a...
src/index.js
Theadd/endless-chartist
import React from 'react' import App from './app' React.render(<App />, document.getElementById('root'))
ajax/libs/babel-core/4.6.1/browser.js
yinghunglai/cdnjs
(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!=="undefined"){g=self}else{g=this}g.babel=f()}})(f...
react/gameday2/components/NoWebcasts.js
jaredhasenklein/the-blue-alliance
import React from 'react' import RaisedButton from 'material-ui/RaisedButton' export default () => ( <div className="no-webcasts-container"> <h1>No webcasts found</h1> <p>Looks like there aren&apos;t any events with webcasts this week. Check on The Blue Alliance for upcoming events!</p> <RaisedButton ...
app/react-icons/fa/xing.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaXing extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m17.8 14.9q-0.2 0.4-5.7 10.2-0.6 1-1.5 1h-5.3q-0.5 0-0.7-0.4t0-0.8l5.7-10q0 0 0...
src/components/FullCalendar.js
jacobmischka/ics-merger
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { render } from 'react-dom'; import Color from 'color'; import $ from 'jquery'; import 'fullcalendar'; import 'fullcalendar/dist/gcal.js'; import 'fullcalendar/dist/fullcalendar.css'; import uniqueId from 'lodash/uniqueId'; import Ca...
app/components/HotelPolicies/index.js
seanng/web-server
import React from 'react'; import { Editor, EditorState } from 'draft-js'; // import styled from 'styled-components'; import { Glyphicon, FormControl } from 'react-bootstrap'; import { createStructuredSelector } from 'reselect'; import { toggleHotelPoliciesMode } from 'containers/HotelProfile/actions' import { Formatt...
src/pages/espaco-virtual.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='Espaco Virtual' /> )
src/components/A.js
lol-russo/designsystems.email
import React from 'react'; function A(props) { return ( <a href={props.href} className="link dim blue fw5"> {props.children} </a> ); } export default A;
docs/pages/components/hidden.js
lgollut/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'components/hidden'; const requireDemo = require.context('docs/src/pages/components/hidden', false, /\.(js|tsx)$/); const requireR...
ajax/libs/forerunnerdb/1.3.611/fdb-all.min.js
dakshshah96/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...
index.js
joelburget/d4
import React from 'react'; import ReactDOM from 'react-dom'; import {RadioGroup, Radio} from 'react-radio-group' import BarChart from './demo/bar'; import Delaunay from './demo/delaunay-color-mesh'; import DynamicBarChart from './demo/dynamic-bar'; import DynamicHexbin from './demo/dynamic-hexbin'; import PopulationCh...
code/web/node_modules/react-bootstrap/es/NavbarHeader.js
zyxcambridge/RecordExistence
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 ...
client2/src/components/react-burger-menu/test/stack.spec.js
ibulmer/Board
'use strict'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import { expect } from 'chai'; import createShallowComponent from './utils/createShallowComponent'; import BurgerMenu from '../lib/BurgerMenu'; const Menu = BurgerMenu.stack; describe('stack', () => { let component, menuWrap,...
src/svg-icons/action/face.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFace = (props) => ( <SvgIcon {...props}> <path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-...
ajax/libs/6to5/3.3.4/browser-polyfill.js
sympmarc/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/zxcvbn/1.0.7/zxcvbn.js
dakshshah96/cdnjs
(function(){var x,p,s,y,J,K,L,M,N,O,P,Q,z,q,A,R,S,T,U,V,W;P=function(b){var a,c;c=[];for(a in b)c.push(a);return 0===c.length};z=function(b,a){return b.push.apply(b,a)};V=function(b,a){var c,e,f,d,g;d=b.split("");g=[];e=0;for(f=d.length;e<f;e++)c=d[e],g.push(a[c]||c);return g.join("")};R=function(b,a){var c,e,f,d;d=[];...
packages/cf-component-icon/src/reactsvgs/List.js
jroyal/cf-ui
import React from 'react'; import PropTypes from 'prop-types'; const List = ({ className, label }) => ( <svg className={className} aria-label={label} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" > <rect x="1.589" y="2.539" width="1.98" height="1.98" /> <rect x="5.425" y="2.539" wi...
packages/material-ui-icons/custom/Telegram.js
lgollut/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.2...
packages/components/src/VirtualizedList/CellTitle/CellTitle.component.js
Talend/ui
import PropTypes from 'prop-types'; import React from 'react'; import isEqual from 'lodash/isEqual'; import classNames from 'classnames'; import Icon from '../../Icon'; import TooltipTrigger from '../../TooltipTrigger'; import CellTitleSelector from './CellTitleSelector.component'; import CellTitleActions from './CellT...
src/containers/pages/decks/deck-selection/right-container/decklist/topbar/topbar-item.js
vFujin/HearthLounge
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; const TopbarItem = ({title, className}) => { return ( <li className={`decks__decklist--snippet-${className || title}`}>{_.startCase(title)}</li> ) }; TopbarItem.propTypes = { title: PropTypes.string.isRequired, classN...
src/svg-icons/device/screen-rotation.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceScreenRotation = (props) => ( <SvgIcon {...props}> <path d="M16.48 2.52c3.27 1.55 5.61 4.72 5.97 8.48h1.5C23.44 4.84 18.29 0 12 0l-.66.03 3.81 3.81 1.33-1.32zm-6.25-.77c-.59-.59-1.54-.59-2.12 0L1.75 8.11c...
src/svg-icons/action/settings-overscan.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsOverscan = (props) => ( <SvgIcon {...props}> <path d="M12.01 5.5L10 8h4l-1.99-2.5zM18 10v4l2.5-1.99L18 10zM6 10l-2.5 2.01L6 14v-4zm8 6h-4l2.01 2.5L14 16zm7-13H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18...
src/admin/components/media/media.js
ccetc/platform
import React from 'react' import { connect } from 'react-redux' import * as actions from './actions' import Image from './image' import Video from './video' class Media extends React.Component { render() { const { mode } = this.props if(mode === 'image') { return <Image /> } else if(mode === 'vide...
media/jui/js/jquery.min.js
tstahl-git/joomla-cms
/*! jQuery v1.12.4-joomla | (c) jQuery Foundation | jquery.org/license */ !function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:...
src/messages/MessageGroup.js
Sekhmet/busy
import React from 'react'; import { FormattedTime } from 'react-intl'; import { Link } from 'react-router'; import Body from '../post/Body'; import Avatar from '../widgets/Avatar'; import { ProfileTooltipOrigin } from '../widgets/tooltip/ProfileTooltip'; const MessageGroup = (props) => { const { model } = props; c...
plugins/react/frontend/components/form/Grid/Row/index.js
pure-ui/styleguide
import React from 'react'; import styles from './styles.css'; const Row = ({ children, ...otherProps }) => ( <div {...otherProps} className={styles.root}> {children} <div className={styles.clearfix} /> </div> ); export default Row;
frontend/src/Album/Details/AlbumDetailsMedium.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Icon from 'Components/Icon'; import Label from 'Components/Label'; import IconButton from 'Components/Link/IconButton'; import Link from 'Components/Link/Link'; import Table from 'Components/Table/Table'; import TableBody from 'Compone...
src/Divider/Divider.spec.js
xmityaz/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Divider from './Divider'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Divider />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node) => shallow(node, {contex...
client/pages/Home/Title/Title.js
b3j0f/lechangement
import './Title.css'; import React, { Component } from 'react'; class Home extends Component { render() { return ( <div className="title center"> <h1>Le changement</h1> <h5>Réapproprions-nous la politique</h5> </div> ); } } export default Home;
src/views/app/index.js
bogdan-dumitru/padkontrol
import React, { Component } from 'react'; import Controls from '../controls'; import Grid from '../grid'; import Sequencer from '../sequencer'; import _style from './index.css'; export default class App extends Component { render() { return ( <div className="App clearfix"> <div className="Controls-...
ajax/libs/autonumeric/2.0.9/autoNumeric.js
dakshshah96/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("jquery")); else if(typeof define === 'function' && define.amd) define(["jquery"], factory); else if(typeof exports === 'object') exports["autonumeric"] = f...
app/react-icons/fa/check.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaCheck extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m37.3 12.6q0 0.9-0.6 1.6l-19.2 19.1q-0.6 0.7-1.5 0.7t-1.6-0.7l-11.1-11.1q-0.6-...
src/routes/login/index.js
mlem8/dev-challenge
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Login from './Login'; e...
ajax/libs/react/15.5.2/react-with-addons.min.js
holtkamp/cdnjs
/** * React (with addons) v15.5.2 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the s...
components/menu/index.js
react-material-design/react-material-design
import '@material/menu/dist/mdc.menu.css'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { MDCSimpleMenu } from '@material/menu'; // TODO: Dynamically set selectMenu /** Menu */ class Menu extends Component { static propTypes = { c...
src/routes/home/components/Home.hero.js
jackinf/skynda.me
/** * Created by jevgenir on 18/09/2016. */ import React from 'react'; import withStyle from 'isomorphic-style-loader/lib/withStyles'; import s from './Home.hero.css'; import RaisedButton from 'material-ui/RaisedButton'; import heroImageUrl from './../../../public/images/standard/hero-01-2.jpg'; /** * Main jumbo...
src/propTypes/ViewStylePropTypes.js
omeid/react-native-mock
/** * https://github.com/facebook/react-native/blob/master/Libraries/Components/View/ViewStylePropTypes.js */ import React from 'react'; import ColorPropType from './ColorPropType'; import LayoutPropTypes from './LayoutPropTypes'; import ShadowPropTypesIOS from './ShadowPropTypesIOS'; import TransformPropTypes from '...
sites/default/files/js/js_sGMYHUidD5LYrJp_HvVwUpXWa8fIH-NwJJ_26fQg1UI.js
balad7/d8training
/*! jQuery v2.2.3 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fun...
src/svg-icons/image/brightness-2.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBrightness2 = (props) => ( <SvgIcon {...props}> <path d="M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2z"/> </SvgIcon> ); I...
6.4.3/examples/wizard/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}([function(e,t,n){n(280),e.exports=n(279)},function(e,t,n){var r=n(4),o=n(37),i=n(20),a=n(21),u=n(38),s="prototype",...
packages/generator-fluxible/app/templates/components/Html.js
localnerve/fluxible
import React from 'react'; import ApplicationStore from '../stores/ApplicationStore'; class Html extends React.Component { render() { return ( <html> <head> <meta charSet="utf-8" /> <title>{this.props.context.getStore(ApplicationStore).getPageTitle()}...
ajax/libs/flocks.js/1.5.1/flocks.js
tresni/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */ /* eslint-env node,browser */ /** * The Flocks library module. Load this module and use either the * flocks <tt>flocks.createClass</tt> wrapper or the <tt>flocks plumbing<...
frontend/src/Settings/General/LoggingSettings.js
geogolem/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import FieldSet from 'Components/FieldSet'; import FormGroup from 'Components/Form/FormGroup'; import FormInputGroup from 'Components/Form/FormInputGroup'; import FormLabel from 'Components/Form/FormLabel'; import { inputTypes } from 'Helpers/Props'; import...
ajax/libs/material-ui/4.12.0/internal/svg-icons/ArrowDownward.js
cdnjs/cdnjs
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
src/icons/MoveToInboxIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class MoveToInboxIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M38 6H9.98c-2.21 0-3.96 1.79-3.96 4L6 38c0 2.21 1.77 4 3.98 4H38c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-...
imports/ui/components/AuthenticatedNavigation.js
themeteorchef/base
import React from 'react'; import { browserHistory } from 'react-router'; import { LinkContainer } from 'react-router-bootstrap'; import { Nav, NavItem, NavDropdown, MenuItem } from 'react-bootstrap'; import { Meteor } from 'meteor/meteor'; const handleLogout = () => Meteor.logout(() => browserHistory.push('/login'));...
ajax/libs/bla/1.4.0/bla.js
holtkamp/cdnjs
/** * @module vow * @author Filatov Dmitry <dfilatov@yandex-team.ru> * @version 0.4.9 * @license * Dual licensed under the MIT and GPL licenses: * * http://www.opensource.org/licenses/mit-license.php * * http://www.gnu.org/licenses/gpl.html */ (function(global) { var undef, nextTick = (function() { ...
src/svg-icons/action/done.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDone = (props) => ( <SvgIcon {...props}> <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/> </SvgIcon> ); ActionDone = pure(ActionDone); ActionDone.displayName = 'ActionDone'; ActionDone.mui...
ajax/libs/zingchart-react/1.0.6/zingchart-react.js
holtkamp/cdnjs
import zingchart from 'zingchart'; import React, { Component } from 'react'; class Core extends Component{ render() { return ( React.createElement("div", {id: this.props.id}) ); } //Called after the render function. componentDidMount(){ zingchart.render({ ...
ajax/libs/yui/3.4.1/loader/loader-debug.js
nesk/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ if (!YUI.Env[Y.version]) { (function() { var VERSION = Y.version, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSI...
ajax/libs/react/16.1.0-beta.1/umd/react.development.js
sufuf3/cdnjs
/** @license React v16.1.0-beta.1 * react.development.js * * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ (function (global, factory) { typeof exports === 'object' && typeof module !==...
web/src/containers/Home/index.js
shiyangzhaoa/call-club
import React from 'react'; import { Route, Switch, } from 'react-router-dom'; import NavBar from './../../components/NavBar'; import CategoryList from './../CategoryList'; const Home = (pros) => { return ( <NavBar> <Switch> <Route path="/" exact component={CategoryList} /> <Route path=...
node_modules/react-router/modules/Route.js
Zach417/churchetto-web
import React from 'react' import invariant from 'invariant' import { createRouteFromReactElement } from './RouteUtils' import { component, components } from './PropTypes' const { string, func } = React.PropTypes /** * A <Route> is used to declare which components are rendered to the * page when the URL matches a gi...
ajax/libs/falcor/0.0.13/falcor.browser.js
redmunds/cdnjs
/*! * Copyright 2014 Netflix, 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 in...
website/Application.js
bvaughn/react-highlight-words
import React from 'react' import HighlighterExample from '../src/Highlighter.example' import styles from './Application.css' export default function Application () { return ( <div> <div className={styles.headerRow}> <img className={styles.logo} width='482' height='278'...
examples/webpack/src/index.js
bluetidepro/react-styleguidist
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render(<App />, document.getElementById('root'));
example/index.js
thedgbrt/react-native-masonry
/** * Masonry demo app * @flow */ import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import Masonry from '../lib/Masonry'; const data = [ { text: "Hello" }, { text: "GoodBye" }, { text: "How are you doing today? I'm fine thank you" }, { text: "Who's a good boy?" } ]; let lot...
src/components/heroName.js
narcolepticsnowman/snow87site
import React, { Component } from 'react'; import './heroName.css'; import LinearAnimator from '../linearAnimator'; class HeroName extends Component { constructor(){ super(); new LinearAnimator( ()=> document.getElementsByClassName('hero-name')[0], ()=> {return { ...
lodash/node_modules/core-js/modules/es6.promise.js
PerezYuan/learn
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
fields/components/columns/ArrayColumn.js
rafmsou/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var ArrayColumn = React.createClass({ displayName: 'ArrayColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue () { ...
ajax/libs/gumby/2.6.0/js/libs/jquery-1.10.1.min.js
bergie/cdnjs
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.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.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
node_modules/react-icons/go/keyboard.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const GoKeyboard = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25 22.5h2.5v-5h-2.5v5z m5-12.5h-2.5v5h2.5v-5z m-5 0h-2.5v5h2.5v-5z m-5 12.5h2.5v-5h-2.5v5z m-5 7.5h12.5v-5h-12.5v5z m15-7.5h5v-12.5h-2.5v7.5h-2.5v5z m-20 7.5h2.5v-5...
cm19/ReactJS/your-first-react-app-exercises-master/exercise-12/App.js
Brandon-J-Campbell/codemash
import React, { Component } from 'react'; import { BrowserRouter, Route } from 'react-router-dom'; import Friends from './friends/Friends.entry'; import styles from './App.css'; class App extends Component { render() { return ( <BrowserRouter> <div className={styles.app}> <header classN...
frontend/src/Components/Form/HintedSelectInputSelectedValue.js
Radarr/Radarr
import _ from 'lodash'; import PropTypes from 'prop-types'; import React from 'react'; import Label from 'Components/Label'; import EnhancedSelectInputSelectedValue from './EnhancedSelectInputSelectedValue'; import styles from './HintedSelectInputSelectedValue.css'; function HintedSelectInputSelectedValue(props) { c...
ajax/libs/yui/3.7.3/datatable-body/datatable-body-coverage.js
jonobr1/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
ajax/libs/oojs-ui/0.13.2/oojs-ui.js
maruilian11/cdnjs
/*! * OOjs UI v0.13.2 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2015 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2015-11-10T23:32:59Z */ ( function ( OO ) { 'use strict'; /** * Namespace for all classes, static methods and s...
src/svg-icons/maps/local-grocery-store.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalGroceryStore = (props) => ( <SvgIcon {...props}> <path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-...
src/svg-icons/action/perm-identity.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermIdentity = (props) => ( <SvgIcon {...props}> <path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9...
_protected/vendor/bower/jquery/src/sizzle/test/jquery.js
VegovaSuper3/test2agen
/*! * 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...
src/svg-icons/maps/my-location.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsMyLocation = (props) => ( <SvgIcon {...props}> <path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.1...
demo/src/index.js
nafitzgerald/allennlp
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
app/routes/index.js
ryanyogan/redux-blog-example
import React from 'react'; import { Route } from 'react-router'; import App from './App'; import SignupRoute from './SignupRoute'; import LoginRoute from './LoginRoute'; import ProfileRoute from './ProfileRoute'; import NotFound from '../components/NotFound'; import redirectBackAfter from '../utils/redirectBackAfter'; ...
src/components/copy/addCopies/AddCopies.js
katima-g33k/blu-react-desktop
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Col, Panel, Row, } from 'react-bootstrap'; import i18n from '../../../lib/i18n'; import { Item } from '../../../lib/models'; import ActionPanel from '../../../containers/AddCopiesActionPanelContainer'; import AddedCopiesTable...
docs/src/examples/elements/Header/Content/HeaderExamplePlugIcon.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Header, Icon } from 'semantic-ui-react' const HeaderExamplePlugIcon = () => ( <Header as='h2'> <Icon name='plug' /> <Header.Content>Uptime Guarantee</Header.Content> </Header> ) export default HeaderExamplePlugIcon
src/js/components/icons/base/FormTrash.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
src/routes.js
sebacorrea33/todoinstitutos
import React from 'react'; import {IndexRoute, Route} from 'react-router'; import App from './containers/App'; import NotFoundPage from './containers/NotFoundPage'; import HomePage from './containers/HomePage'; import AboutPage from './containers/AboutPage'; import SearchPage from './containers/SearchPage'; import Pro...
Sources/ewsnodejs-server/node_modules/@material-ui/styles/es/styled/styled.js
nihospr01/OpenSpeechPlatform-UCSD
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import { chainPropTypes, getDisplayName } from '@material-ui/utils'; imp...
packages/material-ui-icons/lib/FormatItalicTwoTone.js
mbrookes/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
node_modules/react-icons/md/strikethrough-s.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdStrikethroughS = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m15.6 21.9c0 3 1.9 4.2 4.9 4.2 2 0 3.8-0.8 3.8-2.8 0-1.9-1-2.3-2.3-3-0.3-0.1-0.7-0.2-1-0.3h-16v-3.4h30v3.4h-6.5c0.1 0.2 0.3 0.4 0.3 0.5 0.3 0.8 0.6 1.8 0.6 2.8...
src/svg-icons/action/settings-voice.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsVoice = (props) => ( <SvgIcon {...props}> <path d="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm4-14h-1.7c0 3...
solutions/step8/client/index.js
colmarius/universal-react-workshop-app
import {render} from 'react-dom' import React from 'react' import Bootstrap from 'bootstrap/dist/css/bootstrap.css' import App from "./App.jsx" import {Provider} from 'react-redux' import {createStore, applyMiddleware} from 'redux' import reducers from './reducers' import thunk from 'redux-thunk' import {loadData} fr...
node_modules/react-router-ie8/lib/PropTypes.js
Hive-Team/venus
'use strict'; var assign = require('react/lib/Object.assign'); var ReactPropTypes = require('react').PropTypes; var Route = require('./Route'); var PropTypes = assign({}, ReactPropTypes, { /** * Indicates that a prop should be falsy. */ falsy: function falsy(props, propName, componentName) { if (props[...
ajax/libs/x-editable/1.5.0/bootstrap-editable/js/bootstrap-editable.js
gaearon/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 ...
admin/src/components/form/tests/inputtitle.spec.js
mparlak/mparlak.github.io
import React from 'react'; import expect from 'expect'; import { mount } from 'enzyme'; import InputTitle from '../InputTitle'; function setup(props = {title: 'GSoC'}) { let actions = { onChange: expect.createSpy() }; let component = mount( <InputTitle {...props} {...actions} /> ); return { co...
fields/types/cloudinaryimage/CloudinaryImageFilter.js
ONode/keystone
import React from 'react'; import { SegmentedControl } from '../../../admin/client/App/elemental'; const OPTIONS = [ { label: 'Is Set', value: true }, { label: 'Is NOT Set', value: false }, ]; function getDefaultValue () { return { exists: true, }; } var CloudinaryImageFilter = React.createClass({ propTypes:...
ajax/libs/aui/5.6.5/aui/js/aui-all.js
jdanyow/cdnjs
!function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(....
example/examples/CustomTiles.js
phantomlds/react-native-maps
import React from 'react'; import { StyleSheet, View, Text, Dimensions, } from 'react-native'; import MapView, { MAP_TYPES, PROVIDER_DEFAULT } from 'react-native-maps'; const { width, height } = Dimensions.get('window'); const ASPECT_RATIO = width / height; const LATITUDE = 37.78825; const LONGITUDE = -122.4...
src/applications/static-pages/medical-copays-cta/index.js
department-of-veterans-affairs/vets-website
// Node modules. import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; export default (store, widgetType) => { const root = document.querySelector(`[data-widget-type="${widgetType}"]`); if (root) { import(/* webpackChunkName: "medical-copays-cta" */ './compon...
app/jsx/permissions/components/DetailsToggle.js
djbender/canvas-lms
/* * Copyright (C) 2018 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
analysis/warlockdestruction/src/modules/talents/InternalCombustion.js
yajinni/WoWAnalyzer
import React from 'react'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import SPELLS from 'common/SPELLS'; import { formatThousands, formatNumber, formatPercentage } from 'common/format'; import Statistic from 'parser/ui/Statistic'; import BoringSpellVal...
src/index.js
eperiou/DeGreenFields
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render(<App />, document.getElementById('root'));
node_modules/react-google-maps/src/creators/CircleCreator.js
yomolify/cs-webserver
import { default as React, PropTypes, Component, } from "react"; import {default as CircleEventList} from "../eventLists/CircleEventList"; import {default as eventHandlerCreator} from "../utils/eventHandlerCreator"; import {default as defaultPropsCreator} from "../utils/defaultPropsCreator"; import {default as c...
src/index.js
quebez/react_todolist
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import update from 'immutability-helper'; import InputBar from './components/input_bar'; import List from './components/list'; import Messages from './components/messages'; let timeoutId; class App extends Component { state = { i...
components/logo.js
mars/heroku-nextjs
import React from 'react' // Circle Right icon designed by Hector (CC license): https://thenounproject.com/term/circle-right/557979 export default (props) => <svg viewBox="0 0 1150.9491 1151.219" {...props}><g transform="translate(1904.506,419.41757)"><path d="m -1354.6565,731.56083 c -20.4904,-1.2663 -41.6453,-3.3398...