path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/encoded/static/components/static-pages/components/Announcements.js
hms-dbmi/fourfront
'use strict'; import React from 'react'; import _ from 'underscore'; import { console, ajax, valueTransforms } from '@hms-dbmi-bgm/shared-portal-components/es/components/util'; import { LocalizedTime } from '@hms-dbmi-bgm/shared-portal-components/es/components/ui/LocalizedTime'; import { PartialList } from '@hms-dbmi-...
src/App/components/AddToFav/index.js
hajjiTarik/SolarNews
import React, { Component } from 'react'; import { StyleSheet, TouchableOpacity, View } from 'react-native'; import { Icon } from 'react-native-elements'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { omit } from 'lodash'; import { getFromStorage, setInStorage } from '../....
lib/components/UserList.js
sljohnson32/shoot-the-breeze
import React from 'react'; import UserDetail from './UserDetail'; const _ = require('lodash'); export default class UserList extends React.Component { render() { const { activeUsers, user, selectUser, selectedUser } = this.props; const userList = _.uniqBy(activeUsers, 'email'); return ( <div clas...
demo/component/BrushDemo.js
sdoomz/recharts
import React from 'react'; import { Surface, Brush } from 'recharts'; export default React.createClass({ render () { let data = [ '2015-10-01', '2015-10-02', '2015-10-03', '2015-10-04', '2015-10-05', '2015-10-06', '2015-10-07', '2015-10-08', ...
src/docs/examples/ProgressBar/Example70Percent.js
vonZ/rc-vvz
import React from 'react'; import ProgressBar from 'ps-react/ProgressBar'; /** 70% progress */ export default function Example70Percent() { return <ProgressBar percent={70} width={150} /> }
html.js
ANich/writing
import React from 'react' import DocumentTitle from 'react-document-title' import { prefixLink } from 'gatsby-helpers' const BUILD_TIME = new Date().getTime() module.exports = React.createClass({ displayName: 'HTML', propTypes: { body: React.PropTypes.string, }, render() { const {body,...
src/ModalDialog.js
bvasko/react-bootstrap
/* eslint-disable react/prop-types */ import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const ModalDialog = React.createClass({ mixins: [BootstrapMixin], propTypes: { /** * A Callback fired when the header closeButton or non-static backdrop is ...
app/components/home.js
svtizg/svtizg.github.io
import React from 'react'; const Home = React.createClass({ render: function() { return ( <div className="home-page"> <p> Для пользования нашим сервисом, пожалуйста, заполните информацию о себе. </p> <p> </p> </div> ); } }); export default Home;
examples/webpack-example/src/app/app.js
rojobuffalo/formsy-material-ui
import React from 'react'; import ReactDOM from 'react-dom'; import injectTapEventPlugin from 'react-tap-event-plugin'; import Main from './Main'; // Our custom react component //Needed for onTouchTap //Can go away when react 1.0 release //Check this repo: //https://github.com/zilverline/react-tap-event-plugin injectT...
test/regressions/tests/Tooltip/PositionedTooltips.js
allanalexandre/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Grid from '@material-ui/core/Grid'; import Button from '@material-ui/core/Button'; import Tooltip from '@material-ui/core/Tooltip'; const styles = { root: { width: 400, height: 400, ...
src/svg-icons/social/notifications-active.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialNotificationsActive = (props) => ( <SvgIcon {...props}> <path d="M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02...
modules/imaging_browser/jsx/CandidateScanQCSummaryWidget.js
aces/Loris
import '../../../node_modules/c3/c3.css'; import c3 from 'c3'; import React, {useEffect} from 'react'; /** * A CandidateScanQCSummaryWidget is a type of React widget * used to summarize a candidate's imaging scans QC status * on the candidate profile. * * @param {object} props - React props * * @return {*} - re...
src/routes/home/index.js
momomods/momomods
/** * 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 TimetablePage from './Ti...
webapp-src/src/Hutch/ProfileView.js
babelouest/hutch
import React, { Component } from 'react'; import i18next from 'i18next'; import messageDispatcher from '../lib/MessageDispatcher'; class ProfileView extends Component { constructor(props) { super(props); this.state = { config: props.config, profile: props.profile, hutchProfile: props.hut...
src/__tests__/InputWithPopup-test.js
hellojwilde/react-pick
var InputWithPopup = require('../InputWithPopup'); var React = require('react/addons'); var {TestUtils} = React.addons; var {Simulate} = React.addons.TestUtils; var expect = require('expect'); var emptyFunction = require('../helpers/emptyFunction'); describe('InputWithPopup', function() { it('should decorate <inp...
src/parser/shared/modules/items/bfa/dungeons/GalecallersBoon.js
FaideWW/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS/index'; import ITEMS from 'common/ITEMS/index'; import Analyzer from 'parser/core/Analyzer'; import { formatPercentage, formatNumber } from 'common/format'; import { calculateSecondaryStatDefault } from 'common/stats'; import Abilities from 'parser/core/modu...
src/applications/static-pages/health-care-manage-benefits/get-medical-records-page/components/UnauthContent/index.unit.spec.js
department-of-veterans-affairs/vets-website
// Dependencies. import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; // Relative imports. import UnauthContent from '.'; describe('Get Medical Records Page <UnauthContent>', () => { it('renders what we expect', () => { const wrapper = shallow(<UnauthContent />); const...
app/js/components/ui/components/spinner/index.js
blockstack/blockstack-browser
import React from 'react' import PropTypes from 'prop-types' import styled, { css } from 'styled-components' const Spinner = ({ size = 18, stroke = 4, ...rest }) => ( <StyledSpinner size={size} viewBox="0 0 50 50" {...rest}> <circle className="path" cx="25" cy="25" r="20" fill="none...
ajax/libs/angular.js/1.0.0rc7/angular-scenario.js
rwjblue/cdnjs
/*! * jQuery JavaScript Library v1.7.2 * 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. ...
front/www/node_modules/@angular/forms/src/form_providers.js
venizeng/gchc-front
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { NgModule } from '@angular/core'; import { InternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES, TEMPLATE_DR...
docs/src/app/components/pages/components/SvgIcon/ExampleSimple.js
pradel/material-ui
import React from 'react'; import {blue500, red500, greenA200} from 'material-ui/styles/colors'; import SvgIcon from 'material-ui/SvgIcon'; const iconStyles = { marginRight: 24, }; const HomeIcon = (props) => ( <SvgIcon {...props}> <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" /> </SvgIcon> ); const SvgIco...
src/containers/menu.js
suckak/vox
import React, { Component } from 'react'; import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import logo from '../../public/assets/logo_vf.png'; import start from '../../public/assets/inicio_icon.png'; import User from './user'; import { changeSection } from "../actions/index"; import { a...
app/react/containers/dashboard/index.js
NikaBuligini/whistleblower-server
// @flow /* eslint-disable react/no-unused-prop-types */ import React from 'react'; import Relay from 'react-relay'; import DocumentTitle from 'react-document-title'; import Layout from '../layouts/DefaultLayout'; import ProjectItem from './ProjectItem'; import type { Project } from '../../actions/types'; type Viewer...
src/Components/MapsIFrame/MapsIFrameComponent.js
fcgomes92/pousadacaminhodosventos
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class MapsIFrameComponent extends Component { static propTypes = { className: PropTypes.oneOfType([PropTypes.object, PropTypes.string]), title: PropTypes.string, id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), ...
src/svg-icons/editor/publish.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorPublish = (props) => ( <SvgIcon {...props}> <path d="M5 4v2h14V4H5zm0 10h4v6h6v-6h4l-7-7-7 7z"/> </SvgIcon> ); EditorPublish = pure(EditorPublish); EditorPublish.displayName = 'EditorPublish'; EditorPub...
files/rxjs/2.2.15/rx.lite.js
bfg-repo-cleaner-demos/jsdelivr-bfg-cleaned
// 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, 'u...
AcmeCursos/AcmeCursos/Scripts/jquery-1.10.2.min.js
alvarollmenezes/acmecursos
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
frontend/src/Navbar/NavBar.js
Jspsun/HackTheNorth2017
import React, { Component } from 'react'; import { StyleSheet, css } from 'aphrodite'; export class NavBar extends Component { onKeyPress = (e) => { if (e.key === 'Enter') { let reg = /(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i; if (e.target.value.matc...
ajax/libs/raven.js/3.25.1/angular,vue/raven.js
seogi1004/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/parser/priest/holy/modules/features/HolyPriestHealingEfficiencyDetails.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import Panel from 'interface/others/Panel'; import HealingEfficiencyTracker from './HolyPriestHealingEfficiencyTracker'; import HealingEfficiencyBreakdown from './HolyPriestHealingEfficiencyBreakdown'; class HolyPriestHealingEfficiencyDetails ext...
ajax/libs/forerunnerdb/1.3.907/fdb-core+persist.js
maruilian11/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...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ObjectDestructuring.js
timlogemann/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return [ { id: 1, name: '1' }, ...
src/parser/shared/modules/earlydotrefreshes/EarlyDotRefreshesSuggestionByCount.js
fyruna/WoWAnalyzer
import React from 'react'; import { formatPercentage } from 'common/format'; import SpellLink from 'common/SpellLink'; function suggest(when, suggestion) { when(suggestion).addSuggestion((suggest, actual, recommended) => { return suggest(<>You refreshed <SpellLink id={suggestion.spell.id} /> early {suggest...
packages/node_modules/@webex/react-component-adaptive-card/src/index.js
ciscospark/react-ciscospark
import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import classnames from 'classnames'; import {getAdaptiveCard, CARD_CONTAINS_IMAGE, replaceIndexWithBlobURL, API_ACTIVITY_VERB} from '@webex/react-component-utils'; import {connect} from 'react-redux'; import {bindActionCrea...
src/components/mobile/pages/main_page.js
Ruffeng/VERMELL_REDUX
import React from 'react'; import RenderPage from './render_page'; import extractContent from '../../../helpers/extract_content'; const MainPage = (props)=> { return( <div> <div className="main-separator"></div> <div className="extra-vermell">{extractContent(props.textExtra, "Vermell")}</div...
public/js/cat_source/es6/components/header/Header.js
Ostico/MateCat
import React from 'react' import TeamSelect from './TeamsSelect' import ProjectInfo from './HeaderProjectInfo' import FilterProjects from './manage/FilterProjects' import TeamConstants from '../../constants/TeamConstants' import CatToolConstants from '../../constants/CatToolConstants' import TeamsStore from '../../sto...
MobileApp/node_modules/react-native-elements/src/badge/__tests__/badge.js
VowelWeb/CoinTradePros.com
import React from 'react'; import { Text } from 'react-native'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import Badge from '../badge'; describe('Badge Component', () => { it('should render without issue', () => { const component = shallow(<Badge />); expect(component.length).to...
test/Dropdown.js
GetAmbassador/react-ions
import React from 'react' import WrappedDropdown, { Dropdown } from '../src/components/Dropdown' describe('Dropdown', () => { let wrapper, trigger it('should display a dropdown', () => { wrapper = shallow(<WrappedDropdown trigger='Test'>This is a test.</WrappedDropdown>) expect(wrapper.props().trigger).t...
src/components/FormError/FormError-story-legacy.js
wfp/ui
import React from 'react'; import { storiesOf } from '@storybook/react'; import { withKnobs, boolean, object } from '@storybook/addon-knobs'; import FormError from '../FormError'; const props = { formError: () => ({ className: 'some-class', message: object('Error message (message)', { generic: 'Somethi...
examples/02 Drag Around/Naive/index.js
wagonhq/react-dnd
import React, { Component } from 'react'; import Container from './Container'; import { Link } from 'react-router'; export default class DragAroundNaive extends Component { constructor(props) { super(props); this.handleHideSourceClick = this.handleHideSourceClick.bind(this); this.state = { hideSour...
ajax/libs/react-dom/15.0.3-alpha.1/react-dom.js
extend1994/cdnjs
/** * ReactDOM v15.0.3-alpha.1 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same...
src/svg-icons/editor/border-color.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderColor = (props) => ( <SvgIcon {...props}> <path d="M17.75 7L14 3.25l-10 10V17h3.75l10-10zm2.96-2.96c.39-.39.39-1.02 0-1.41L18.37.29c-.39-.39-1.02-.39-1.41 0L15 2.25 18.75 6l1.96-1.96z"/><path fillOp...
client/src/index.js
didju/didju
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './components/App'; import registerServiceWorker from './libraries/serviceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
src/index.js
nahkar/react_cms
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import { routes } from './routes'; import configureStore from './redux/store'; import App from './App'; const store = configureStore(); ReactDO...
react/features/base/sounds/components/SoundCollection.js
gpolitis/jitsi-meet
// @flow import React, { Component } from 'react'; import { Audio } from '../../media'; import type { AudioElement } from '../../media'; import { connect } from '../../redux'; import { _addAudioElement, _removeAudioElement } from '../actions'; import type { Sound } from '../reducer'; /** * {@link SoundCollection}'s...
src/RootScene.js
Wolox/react-native-renavigate
import React, { Component } from 'react'; import { Navigator } from 'react-native'; import { initActions, methodActions, actionCreators } from './actions'; import { propTypes as navigationPropTypes } from './reducer'; import navigationBarRouteMapper from './navigationBarRouteMapper'; export default class RootScene ex...
ajax/libs/flocks.js/0.17.0/flocks.min.js
senekis/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function f(a){return"[object Array]"===Object.prototype.toString.call(a)}function k(a){return"undefined"===typeof a}function u(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function c(a,b){if("string"===type...
app/routes.js
vietvd88/developer-crawler
// @flow import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import HomePage from './containers/HomePage'; import GithubPage from './containers/GithubPage'; import QiitaPage from './containers/QiitaPage'; import FacebookPage from './containers/FacebookPage'; ...
src/components/Login/Login.js
devgeniem/silverbullet-kitchensink
import React from 'react'; import { connect } from 'react-redux'; import { Grid } from 'react-bootstrap'; import { translate } from 'react-i18next'; import { LoginForm } from '../forms'; const mapStateToProps = state => ({ user: state.user, }); @connect(mapStateToProps) @translate(['login_register']) export default...
webapp/src/index.js
ArnaudBrousseau/blockbin
import 'raf/polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
fields/types/embedly/EmbedlyField.js
snowkeeper/keystone
import React from 'react'; import Field from '../Field'; import { FormField, FormInput } from 'elemental'; import ImageThumbnail from '../../components/ImageThumbnail'; import NestedFormField from '../../components/NestedFormField'; module.exports = Field.create({ displayName: 'EmbedlyField', statics: { type: 'Em...
src/components/WeddingParty/index.js
azoff/wedding
import React from 'react' import styles from './index.module.scss' import Link from 'gatsby-link' const groups = { "Bridesmaids": { "Kate Kingen": { "picture": "images/wedding-party/kate.jpg", "title": "Matron of Honor", "relationship": "Friend, High School", "description": `Katy (Kate) a...
ajax/libs/yui/3.10.1/event-focus/event-focus-min.js
schoren/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
docs/src/components/example-step.js
kwangkim/nuclear-js
import React from 'react' export default React.createClass({ render() { var className = 'example-step'; let push = this.props.push if (push === 'right') { className += ' example-step__push-right' } return <div className={className}> {this.props.children} </div> } })
packages/material-ui-shell/src/containers/ResponsiveMenu/ResponsiveMenu.js
TarikHuber/react-most-wanted
import React from 'react' import { SwipeableDrawer, styled } from '@mui/material' import { useMenu } from '../../providers/Menu' import { useTheme as useAppTheme } from '../../providers/Theme' import { useConfig } from 'base-shell/lib/providers/Config' //const iOS = process.browser && /iPad|iPhone|iPod/.test(navigator...
src/routes.js
transmute-industries/eth-faucet
import React from 'react' import { Route, IndexRoute, Redirect } from 'react-router' import { DEBUG_PATH as DebugRoute, CREATE_FAUCET_PATH as CreateFaucetRoute, NAME_FAUCET_PATH as FaucetRoute, AUTHORIZE_FAUCET_PATH as AuthorizeFaucetRoute } from './constants/paths' import CoreLayout from './layouts/CoreLayou...
public/app/components/DuckDapp.js
cesardeazevedo/duckdapp
import Home from './Home' import React from 'react' import { Link } from 'react-router' class DuckDapp extends React.Component { render() { return ( <div> <ul> <li> <Link to={`/home`}>Home</Link> </li> ...
packages/react-native-renderer/src/ReactNativeComponent.js
Simek/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ import type { MeasureInWindowOnSuccessCallback, MeasureLayoutOnSuccessCallback, MeasureOnSuccessCallb...
ajax/libs/react-slick/0.3.6/react-slick.js
steadiest/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Slider"] = factory(...
src/components/LayoutDashboard/LayoutDashboard.spec.js
Drathal/redux-playground
import React from 'react'; import { expect } from 'chai'; import { mount } from 'enzyme'; import { I18nextProvider } from 'react-i18next' import i18n from '../../../test/i18n' import LayoutDashboard from '../LayoutDashboard' import messages from './i18n/en.json' describe('component layout <LayoutDashboard />', () => ...
app/main/components/InventoryEditDialog.js
BitLooter/Stuffr-frontend
import React from 'react' import { connect } from 'react-redux' import { withFormik } from 'formik' import yup from 'yup' import log from 'loglevel' import Dialog from 'material-ui/Dialog' import FlatButton from 'material-ui/FlatButton' import RaisedButton from 'material-ui/RaisedButton' import TextField from 'material...
src/views/HomeView/HomeView.js
hbaughman/audible-temptations
import React from 'react'; import { Link } from 'react-router'; import RaisedButton from 'material-ui/lib/raised-button'; import { OAUTH_REQUEST } from '../../constants'; const Home = () => { //<Link to="/filterLibrary" style={{padding: "24px"}} > return ( <div> <img style={{marginTop: "64px"}} src="/in...
spec/javascripts/jsx/dashboard_card/DashboardCardReorderingSpec.js
djbender/canvas-lms
/* * Copyright (C) 2016 - 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...
docs/src/app/pages/components/Checkbox/ExampleCheckboxNative.js
GetAmbassador/react-ions
import React from 'react' import Checkbox from 'react-ions/lib/components/Checkbox' import style from './style.scss' class ExampleCheckboxNative extends React.Component { constructor(props) { super(props) } state = { defaultChecked: true, descriptionChecked: false } handleChange = event => { ...
files/rxjs/2.2.10/rx.compat.js
perosb/jsdelivr
// 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, 'u...
src/components/Main.js
kimochg/react-native-githubnote-app
/* * @Author: LIU CHENG * @Date: 2017-02-21 22:16:42 * @Last Modified by: LIU CHENG * @Last Modified time: 2017-03-05 11:46:44 */ import React from 'react'; import { StyleSheet, View, Text, TextInput, TouchableHighlight, ActivityIndicator } from 'react-native'; /** * props: * title: text title, ...
src/js/components/page1/ArticleList.js
artofcodelabs/front-end-boilerplate
import React from "react"; import PropTypes from "prop-types"; import ArticleModel from "models/Article"; import Link from "./Link"; import Article from "./Article"; import FetchError from "./FetchError"; const ArticleList = ({ articles, showLink, onLoadArticlesClick, onMarkAsReadClick, errorMsg }) => ( <...
ajax/libs/material-ui/4.9.3/esm/Stepper/Stepper.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Paper from '../Paper'; impor...
8.2.0/examples/asyncValidation/dist/bundle.js
erikras/redux-form-docs
!function(t){function n(e){if(r[e])return r[e].exports;var i=r[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var r={};n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__e...
src/components/App/routes.js
Cloudoki/hackforgood-paar
import React from 'react' import { Route, Switch } from 'react-router' import requireAuth from 'containers/Auth' import Login from 'containers/Auth/Login' import HomePage from 'containers/HomePage' import Filter from 'containers/Filter' import Protected from 'components/Protected' import NotFound from '../NotFound' ...
client/src/util/react-mousetrap.js
irskep/summertunes
import React from 'react'; export function mouseTrap(Base){ return class extends React.Component { constructor(props){ super(props); this.__mousetrapBindings = []; this.Mousetrap = require('mousetrap'); } bindShortcut (key, callback) { this....
test/test_helper.js
imee12/ReactTesting
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
packages/react-reconciler/src/ReactChildFiber.old.js
trueadm/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type {ReactElement} from 'shared/ReactElementType'; import type {ReactPortal} from 'shared/ReactTypes'; import ...
src/ui/components/generic/_dropoutButtonSensors.js
e-Ray/web_platform
import React, { Component } from 'react'; import MenuItem from 'material-ui/MenuItem'; import DropDownMenu from 'material-ui/DropDownMenu'; class DropoutButtonSensors extends Component { constructor(props) { super(props); this.state = { open: false, sensor: 'Performance', value: 1, };...
ajax/libs/jquery/1.4.3/jquery.js
ejb/cdnjs
/*! * jQuery JavaScript Library v1.4.3 * 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/pages/portfolio.js
dkonieczek/dkonieczek.github.io
import React from 'react'; import Link from 'gatsby-link'; import ttc_complaints from '../assets/ttc-complaints.jpg'; import drone from '../assets/drone.jpg'; import eatxpress from '../assets/eatxpress.jpg'; const PortfolioPage = () => ( <div className="portfolio"> <h2>Portfolio</h2> <div className="item">...
app/jsx/assignments_2/student/components/AttemptType/MoreOptions/CanvasFiles/TableFolders.js
djbender/canvas-lms
/* * Copyright (C) 2019 - 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...
ajax/libs/yui/3.0.0pr2/loader/loader.js
hasantayyar/cdnjs
/** * Loader dynamically loads script and css files. It includes the dependency * info for the version of the library in use, and will automatically pull in * dependencies for the modules requested. It supports rollup files and will * automatically use these when appropriate in order to minimize the number of * ...
src/PageItem.js
Sipree/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import SafeAnchor from './SafeAnchor'; const PageItem = React.createClass({ propTypes: { href: React.PropTypes.string, target: React.PropTypes.string, title: React.PropTypes.string, disabled: React.PropTypes.bool, previous: React.Pr...
example/src/screens/transitions/sharedElementTransitions/Masonry/Item.js
iotize/react-native-navigation
import React from 'react'; import {StyleSheet, View, Text, Image} from 'react-native'; import {SharedElementTransition} from 'react-native-navigation'; const SHOW_DURATION = 240; const HIDE_DURATION = 200; class Item extends React.Component { static navigatorStyle = { navBarHidden: true, drawUnderNavBar: t...
ajax/libs/backbone.radio/0.2.0/backbone.radio.min.js
TerryMooreII/cdnjs
// Backbone.Radio v0.1.0 !function(a,b){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(a,c){return b(a,c)});else if("undefined"!=typeof exports){var c=require("backbone"),d=require("underscore");module.exports=b(c,d)}else b(a.Backbone,a._)}(this,function(a,b){"use strict";function c...
web/sites/all/modules/contrib/jquery_update/replace/jquery/1.6/jquery.min.js
TerraLudis/shop
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */ (function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cr(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"...
ajax/libs/react-instantsearch/4.1.1/Dom.js
wout/cdnjs
/*! ReactInstantSearch 4.1.1 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define....
js/components/transfers/ListTransfers.js
merodeadorNocturno/transfer
import React from 'react'; import DatePicker from '../common/DatePicker'; class Scheduler extends React.Component { constructor () { super(); this.state = { amount: "0.00" }; this.handleChange = this.handleChange.bind(this); } handleChange (value) { this...
ajax/libs/ember-data.js/2.4.2/ember-data.js
wout/cdnjs
(function(){ "use strict"; /*! * @overview Ember Data * @copyright Copyright 2011-2016 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version 2.4.2 */ var define, requireModule, require, requirejs; (function() ...
src/js/components/icons/base/Checkmark.js
odedre/grommet-final
/** * @description Checkmark SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. * @...
ajax/libs/angular.js/0.10.2/angular-scenario.js
fredericksilva/cdnjs
/*! * jQuery JavaScript Library v1.6.4 * 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/components/MenuButton/MenuButton.js
LemonsLab/Quiz
/** * Created by piotrandrzejewski on 21.10.2017. */ import React from 'react'; import { StyleSheet, Text, TouchableHighlight, View } from 'react-native'; class MenuButton extends React.Component { render(){ return( <TouchableHighlight style={styles.button} onPress={this.props...
packages/material-ui-icons/src/LocalCafeOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M16 5v8c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V5h10m4-2H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2zm-2 5V5h2v3h-2zm2 11H2v2h18v-2z" /> , 'LocalCafeOutlined');
public/js/jquery.js
saggiyogesh/nodeportal
/*! 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...
ajax/libs/F2/1.4.0/f2.no-bootstrap.js
Timbioz/cdnjs
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
static/eventos/js/jquery.js
timh52280/GestorDeMantenimiento
/*! * 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/components/Pagination/Pagination.Skeleton.js
joshblack/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { settings } from 'carbon-components'; import SkeletonText from '../SkeletonText'; const { prefix } = sett...
src/components/character.js
wantplus/pili-web
import React, { Component } from 'react'; import { render } from 'react-dom'; // import Feature from './feature'; import { PAGE_FEATURE_LIST } from '../constants/pageData'; class Character extends Component { render() { let pageFeatureArray = PAGE_FEATURE_LIST; let pageFeatureList = pageFeatureAr...
node_modules/material-ui/svg-icons/action/payment.js
knguyen1/kylecodes
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
generators/app/templates/app/scripts/index.js
linder0209/generator-webpack-react
import React from 'react'; import {render} from 'react-dom'; import {useRouterHistory} from 'react-router'; import createHashHistory from 'history/lib/createHashHistory'; import {syncHistoryWithStore} from 'react-router-redux'; import injectTapEventPlugin from 'react-tap-event-plugin'; import promise from 'es6-promise'...
ajax/libs/primereact/7.2.0/image/image.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { CSSTransition } from 'primereact/csstransition'; import { DomHandler, ZIndexUtils, classNames, ObjectUtils } from 'primereact/utils'; import { Portal } from 'primereact/portal'; import PrimeReact from 'primereact/api'; function _classCallCheck(instance, Constructor) {...
src/end/App.js
benmvp/react-workshop
import React from 'react' import useGiphy from './useGiphy' import Results from './Results' import SearchForm from './SearchForm' const App = () => { const [{ status, results, error }, setSearchParams] = useGiphy() return ( <main> <h1>Giphy Search!</h1> <SearchForm onChange={setSearchPara...
ajax/libs/forerunnerdb/1.3.821/fdb-legacy.min.js
seogi1004/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/core-js/1.2.2/library.js
bootcdn/cdnjs
/** * core-js 1.2.2 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...