path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
public/vendor/jquery/js/jquery.js
enqack/ht-nodebb
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function (window, undefined) { // ...
information/blendle-frontend-react-source/app/components/login/ResetPassword/index.js
BramscoChill/BlendleParser
import React from 'react'; import PropTypes from 'prop-types'; import BackboneView from 'components/shared/BackboneView'; import Link from 'components/Link'; import { translate } from 'instances/i18n'; import ResetTokenForm from 'views/forms/resettoken'; class ResetPassword extends React.Component { static propTypes...
ajax/libs/react-bootstrap-typeahead/0.2.3/react-bootstrap-typeahead.js
dlueth/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
src/js/components/header/demonotification.js
michaelatmender/gui
import React from 'react'; import { InfoOutlined as InfoIcon } from '@mui/icons-material'; import { MenderTooltipClickable } from '../common/mendertooltip'; const DemoNotification = ({ iconClassName, docsVersion = 'development/', sectionClassName }) => ( <MenderTooltipClickable className={`flexbox centered ${s...
actor-apps/app-web/src/app/components/JoinGroup.react.js
liruqi/actor-platform-v0.9
import React from 'react'; import requireAuth from 'utils/require-auth'; import DialogActionCreators from 'actions/DialogActionCreators'; import JoinGroupActions from 'actions/JoinGroupActions'; import JoinGroupStore from 'stores/JoinGroupStore'; // eslint-disable-line class JoinGroup extends React.Component { st...
examples/todomvc/index.js
timuric/redux
import 'babel-core/polyfill'; import React from 'react'; import Root from './containers/Root'; import 'todomvc-app-css/index.css'; React.render( <Root />, document.getElementById('root') );
src/components/Blog/Header/Header.js
taken1994/big-demo
import React from 'react'; import Search from './Search'; class Header extends React.Component { getStyles(){ return{ root:{ backgroundColor:'#00bcd4' } } } render () { const styles=this.getStyles(); return( <div style={styles.root}> <Search handleSearch={this.p...
ajax/libs/shopify-buy/0.6.0/shopify-buy.umd.polyfilled.js
tholu/cdnjs
/** * The MIT License (MIT) * * Copyright (c) 2016 Shopify Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy...
src-client/components/InputTextStateful.js
ipselon/structor
/* * Copyright 2017 Alexander Pustovalov * * 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 a...
ajax/libs/yui/2.9.0/container/container.js
ComputerWolf/cdnjs
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ (function () { /** * Config is a utility used within an Object to allow the implementer to * maintain a list of local configuration properties and liste...
lib/ui/components/RequestLogs/RequestRow.js
500tech/mimic
import React from 'react'; import styled from 'styled-components'; import find from 'lodash/find'; import isString from 'lodash/isString'; import isNull from 'lodash/isNull'; import isUndefined from 'lodash/isUndefined'; import get from 'lodash/get'; import API from 'api'; import UIState from 'ui/states/UIState'; impor...
ajax/libs/video.js/5.9.1/video.js
tonytomov/cdnjs
/** * @license * Video.js 5.9.1 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Versi...
src/containers/Hero/Hero.js
madeagency/reactivity
// @flow import React from 'react' import GithubButton from 'components/GithubButton/GithubButton' import style from './Hero.scss' import logo from './logo.svg' import github from './github.svg' const Hero = () => ( <div className={style.Hero}> <div className={style.Header}> <img src={logo} className={sty...
src/components/footer/stories.js
chuckharmston/testpilot-contribute
import React from 'react'; import { storiesOf } from '@kadira/storybook'; import { wrapper } from '../wrapper/decorator'; import Footer from './index'; storiesOf('Footer', module) .addDecorator(wrapper('dark')) .add('Footer', () => <Footer />);
node_modules/discord.js/docs/examples/ping.js
mlue/discordbridge
/* A ping pong bot, whenever you send "ping", it replies "pong". */ // import the discord.js module const Discord = require('discord.js'); // create an instance of a Discord Client, and call it bot const bot = new Discord.Client(); // the token of your bot - https://discordapp.com/developers/applications/me const ...
docs/app/Examples/elements/Reveal/Types/RevealExampleFadeSmall.js
vageeshb/Semantic-UI-React
import React from 'react' import { Image, Reveal } from 'semantic-ui-react' const RevealExampleFadeSmall = () => ( <Reveal animated='small fade'> <Reveal.Content visible> <Image src='http://semantic-ui.com/images/wireframe/square-image.png' size='small' /> </Reveal.Content> <Reveal.Content hidden> ...
challenge6/start/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/tests/jquery/scripts/jquery-1.5.2.js
kwhinnery/node-workshop
/*! * jQuery JavaScript Library v1.5.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. ...
code/workspaces/web-app/src/components/stacks/PaginationControlTextField.spec.js
NERC-CEH/datalab
import React from 'react'; import { render, fireEvent } from '@testing-library/react'; import PaginationControlTextField from './PaginationControlTextField'; describe('PaginationControlTextField', () => { function renderComponent(props) { return render(<PaginationControlTextField {...props} />); } function ...
src/components/need/BookingAgent/ResidentSign.js
lethecoa/work-order-pc
import React from 'react'; import {Form, DatePicker, Input, Radio} from 'antd'; import moment from 'moment'; import {config, fun} from '../../../common'; import CarryMaterial from '../../formItme/CarryMaterial/CarryMaterial'; import styles from './ResidentSign.less'; const RadioGroup = Radio.Group; const RangePicker =...
cpat-client/src/components/target-types/location/forms/LocationCreate.js
meddlin/CPAT
import React from 'react'; import { useHistory } from 'react-router-dom'; import { connect } from 'react-redux'; import { withFormik, Form, FieldArray } from 'formik'; import * as Yup from 'yup'; import { Button, TextInput, Heading } from 'evergreen-ui'; import { LocationDocumentRelationFormArray } from './form-arrays/...
src/js/components/Fields/AddTunabilityField.js
jaedb/Iris
import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import LinksSentence from '../LinksSentence'; import * as coreActions from '../../services/core/actions'; import * as uiActions from '../../services/ui/actions'; import * as spotifyActions from '../../ser...
src/index.js
kumarmrigendra/demo2
// var hello = document.getElementById("hello"); // hello.innerHTML = "Hello World!"; // console.log1("fdfd") import React from 'react'; import { Router, browserHistory } from 'react-router'; import { render } from 'react-dom'; import routes from './routes'; import { BrowserRouter, Route } from 'react-router-dom'; i...
index.ios.js
minifast/react-native-demo
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class ReactNativeDemo extends Component { constructor(props) { super(props) this.state ...
src/Parser/Druid/Restoration/Modules/Traits/SeedsOfTheWorldTree.js
enragednuke/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import calculateEffectiveHealing from 'Parser/Core/calculateEffectiveHealing'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/Sp...
docs/src/Routes.js
egauci/react-bootstrap
import React from 'react'; import {IndexRoute, Route} from 'react-router'; import ComponentsPage from './ComponentsPage'; import GettingStartedPage from './GettingStartedPage'; import HomePage from './HomePage'; import IntroductionPage from './IntroductionPage'; import NotFoundPage from './NotFoundPage'; import Root f...
packages/material-ui-icons/src/BatteryCharging30Rounded.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 fillOpacity=".3" d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33v9.17h2.83c-.38 0-.62-.4-.44-.74l2.67-5c.24-.45.9...
Libraries/Components/Touchable/TouchableHighlight.js
michaelchucoder/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
src/components/compact/Compact.js
casesandberg/react-color
import React from 'react' import PropTypes from 'prop-types' import reactCSS from 'reactcss' import map from 'lodash/map' import merge from 'lodash/merge' import * as color from '../../helpers/color' import { ColorWrap, Raised } from '../common' import CompactColor from './CompactColor' import CompactFields from './Co...
react-flux-mui/js/material-ui/src/svg-icons/communication/call.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCall = (props) => ( <SvgIcon {...props}> <path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-...
node_modules/react-icons/ti/at.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const TiAt = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 6.7c-7.4 0-13.3 6-13.3 13.3s6 13.3 13.3 13.3c2.7 0 5.3-0.8 7.5-2.3 0.8-0.5 1-1.5 0.4-2.3-0.5-0.8-1.5-0.9-2.3-0.4-1.6 1.1-3.6 1.7-5.6 1.7-5.5 0-10-4.5-10-10s4.5-10 10-1...
src/main/resources/public/js/components/tabs/admin-tab.js
SICTIAM/ozwillo-portal
import React from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {Link} from 'react-router-dom'; //Components import OrganizationForm from '../forms/organization-form'; //actions import {fetchCountries} from '../../actions/config'; import {updateOrganizationFormAction} from '...
src/App.js
akashrajkn/akashrajkn.github.io
import React from 'react'; import { ChakraProvider, Box, Text, Link, VStack, Code, Grid, theme, } from '@chakra-ui/react'; import { ColorModeSwitcher } from './ColorModeSwitcher'; import { Logo } from './Logo'; function App() { return ( <ChakraProvider theme={theme}> <Box textAlign="center"...
examples/Portal.js
BespokeInsights/react-overlays
import React from 'react'; import Button from 'react-bootstrap/lib/Button'; import Portal from 'react-overlays/Portal'; class PortalExample extends React.Component { constructor(...args){ super(...args); this.state = { show: false }; this.show = ()=> this.setState({ show: true }); } render() { ...
src/components/Summary/Summary.js
LeraSavchenko/Maysternia
import React from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './Summary.css'; import Link from '../Link'; const Links = [ { to: '/catalog', name: 'Каталог продукції', }, { to: '/', name: 'Про нас', }, { to: '/catalog', name: 'Наші роботи', ...
src/components/Page/Page.js
Aquellex/aquellexws
import React from 'react'; import PropTypes from 'prop-types'; import PageFooter from './PageFooter'; import styles from './Page.module.css'; const Page = ({ title, updated, children }) => ( <article> <div className={styles.pageTitle}> <h2>{title}</h2> </div> {children} {updated ? <PageFooter...
ajax/libs/vue-smart-table/2.6.0-beta4/vue-smart-table.min.js
ahocevar/cdnjs
!function(u,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("Vue")):"function"==typeof define&&define.amd?define(["Vue"],n):"object"==typeof exports?exports.SmartTable=n(require("Vue")):u.SmartTable=n(u.Vue)}(this,function(u){return function(u){function n(e){if(t[e])return t[e].exports;var...
ajax/libs/clappr/0.0.78/clappr.js
amoyeh/cdnjs
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)...
src/components/modal.js
RichardDorn/mastermind-clone
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; class Modal extends Component { static propTypes = { children: React.PropTypes.node, } componentDidMount() { this.modalTarget = document.createElement('div'); this.modalTarget.className = 'modal'; ...
node_modules/react-proxy/modules/index.js
leechuanjun/TLReactNativeProject
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.getForceUpdate = exports.createProxy = undefined; var _supportsProtoAssignment = require('./supportsProtoAssignment'); var _supportsProtoAssignment2 = _interopRequireDefault(_supportsProtoAssignment); var _createClassProxy = requ...
ajax/libs/reactive-coffee/0.0.2/reactive-coffee.js
zpao/cdnjs
(function() { var DepArray, DepCell, DepMgr, Depmap, Ev, MappedDepArray, ObsArray, ObsCell, ObsMap, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, bind, depMgr, ev, events, lagBind, mkMap, mktag, mkuid, nextUid, popKey, recorder, rx, rxt, specialAttrs, tag, tags, _fn, _i, _len, _ref, _ref1, _ref2, _ref3, __hasProp...
frontend/src/index.js
VladimirAnaniev/LoggIt
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { createStore, applyMiddleware } from 'redux' import reducers from './reducers' import { BrowserRouter } from 'react-router-dom' import App from './App' import registerServiceWorker from './registerServiceWorker' im...
__tests__/advanced.js
kentcdodds/glamorous-website
import React from 'react' import {mount} from 'enzyme' import Advanced from '../pages/advanced' test('renders', () => { expect(() => mount(<Advanced />)).not.toThrow() })
techCurriculum/ui/solutions/2.2/src/App.js
AnxChow/EngineeringEssentials-group
/** * Copyright 2017 Goldman Sachs. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
ajax/libs/redux-little-router/14.2.2/redux-little-router.min.js
jdh8/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxLittleRouter=e(require("react")):t.ReduxLittleRouter=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])r...
src/components/field/Field.js
nahody/biografia
import React from 'react'; import PropTypes from 'prop-types'; class Field extends React.Component { render() { return ( <div className="form__subset"> {this.props.label ?<label htmlFor="firstname" className="field__label">{this.props.label}</label> ...
ajax/libs/react-highcharts/8.0.2/ReactHighcharts.src.js
tonytomov/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts"], factory); else if(typeof exports === 'ob...
app/components/Player.js
BeAce/react-babel-webpack-eslint-boilerplate
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; const Player = (props) => { if (props.player) { return <div>Sorry, but the player was not found</div>; } return ( <div> player <Link to="/roster">Back</Link> </div> ); }; Player.prop...
packages/material-ui-icons/src/DirectionsTwoTone.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="M3.01 12l9 9L21 12l-9-9-8.99 9zM14 7.5l3.5 3.5-3.5 3.5V12h-4v3H8v-4c0-.55.45-1 1-1h5V7.5z" opacity=".3" /><path d="M13.42 1.58c-.75-.75-2.07-.76...
test/net/duplex-multiple-test.js
nodejitsu/godot
/* * duplex-test.js: Basic tests for duplex godot Client/Server communication. * * (C) 2012, Nodejitsu Inc. * */ var assert = require('assert'), vows = require('vows'), godot = require('../../lib/godot'), helpers = require('../helpers'), macros = require('../macros').net; vows.describe('godot/net...
src/helpers/universalRouter.js
LinInLiao/LinInLiaoLa
import React from 'react'; import Router from 'react-router'; import createRoutes from '../routes'; import {Provider} from 'react-redux'; const getFetchData = (component = {}) => { return component.WrappedComponent ? getFetchData(component.WrappedComponent) : component.fetchData; }; export function createTr...
ajax/libs/inferno-test-utils/3.4.3/inferno-test-utils.min.js
him2him2/cdnjs
!(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("inferno"),require("inferno-create-element")):"function"==typeof define&&define.amd?define(["exports","inferno","inferno-create-element"],t):t((e.Inferno=e.Inferno||{},e.Inferno.TestUtils=e.Inferno.TestUtils||{}),e.Inferno,e.Inferno....
lib/Sae.js
halilb/react-native-textinput-effects
import React from 'react'; import PropTypes from 'prop-types'; import { Animated, TextInput, TouchableWithoutFeedback, View, StyleSheet, } from 'react-native'; import BaseInput from './BaseInput'; export default class Sae extends BaseInput { static propTypes = { height: PropTypes.number, /* *...
packages/xo-web/src/xo-app/sr/action-bar.js
vatesfr/xo-web
import _ from 'intl' import ActionBar, { Action } from 'action-bar' import React from 'react' import { forgetSr, rescanSr, reconnectAllHostsSr, disconnectAllHostsSr } from 'xo' const SrActionBar = ({ sr }) => ( <ActionBar display='icon' handlerParam={sr}> <Action handler={rescanSr} label={_('srRescan')} icon='re...
files/rxjs/2.4.3/rx.lite.extras.js
Valve/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...
app/javascript/flavours/glitch/features/notifications/components/clear_column_button.js
glitch-soc/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import Icon from 'flavours/glitch/components/icon'; export default class ClearColumnButton extends React.Component { static propTypes = { onClick: PropTypes.func.isRequired, }; render () { retu...
src/components/Toolbar/inputs/link.js
crossfield/react-drafts
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import ReactDropzone from 'react-dropzone'; import { SUPPORTED_DOCUMENT_TYPES } from '../../../constants/file'; import Modal from '../../shared/modal'; import InputControls from './controls'; const ERROR_MSG = 'We\'re sorry, there was an upl...
client/src/components/Profile/Inbox/Inbox.js
wolnewitz/raptor-ads
import React, { Component } from 'react'; import { connect } from 'react-redux'; import moment from 'moment'; import { Container, Header, Loader } from 'semantic-ui-react'; import { getAllReceivedMessages } from '../../../actions/inboxActions'; import MessagesTable from './MessagesTable'; import { changeContactField, s...
app/react-icons/fa/500px.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class Fa500px extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m35.3 34.5l-0.2 0.2q-2.5 2.5-5.7 3.9-3.5 1.4-7.1 1.4-3.7 0-7.1-1.4-3.3-1.4-5.8...
files/wordpress/3.6/js/jquery/jquery.js
jtblin/jsdelivr
/*! 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...
test/recordings/cli.vm.extension_set-chef.nock.js
mamaso/azure-xplat-cli
// This file has been autogenerated. var profile = require('../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: 'db1ab6f0-4769-4b27-930e-01e2ef9c123c', managementCertificate: { key: 'moc...
src/components/HomeLink.js
santiagoarriaga/slide_viewer
import React from 'react' import { connect } from 'react-redux' /** * Link to the Home dir. */ class HomeLink extends React.Component { constructor( props ) { super( props ) this.showModules = this.showModules.bind( this ) } showModules() { if( this.props.view != 'modules' ) this.props...
app/components/messageViewItem.js
shiyunjie/scs
/** * Created by shiyunjie on 16/12/28. */ import React, { PropTypes, Component } from 'react'; import { StyleSheet, Text, View, PixelRatio, } from 'react-native'; import constants from '../constants/constant'; import Icon from 'react-native-vector-icons/Ionicons'; export default class ...
src/components/footer.js
liuyuanquan/kankan
import React from 'react'; import { footerlist } from '../constant'; class Footer extends React.Component { render() { return ( <footer id={this.props.id}> <div className='wrapper'> <section className='footerlinkbox'> { this.props.content.link.map((item, index, arr) => { return <dl ...
react-youtube-adaptive-loading/src/containers/Home/Home.js
GoogleChromeLabs/adaptive-loading
import React from 'react'; import {connect} from "react-redux"; import * as videoActions from "../../store/actions/video"; import './Home.scss'; import {SideBar} from '../SideBar/SideBar'; import HomeContent from './HomeContent/HomeContent'; import {bindActionCreators} from 'redux'; import {getYoutubeLibraryLoaded} fro...
src/index.js
JacksonBates/pair-frontend
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
src/components/Matrix.js
vibertthio/beact
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import uuid4 from 'uuid/v4'; import styles from '../styles/Matrix.css'; import idleDetection from '../utils/IdleDetection'; class Matrix extends Component { constructor() { super(); this.state = { idle: false, hover: { ...
code/workspaces/web-app/src/components/common/ConfirmDialog.js
NERC-CEH/datalab
import React from 'react'; import PropTypes from 'prop-types'; import Dialog from '@material-ui/core/Dialog'; import DialogTitle from '@material-ui/core/DialogTitle'; import DialogContent from '@material-ui/core/DialogContent'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContentText from '...
node_modules/react-icons/ti/arrow-left.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiArrowLeft = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.3 18.3h-12.6l3.8-3.8c0.7-0.6 0.7-1.7 0-2.3s-1.7-0.7-2.3 0l-7.9 7.8 7.9 7.8c0.3 0.4 0.7 0.5 1.1 0.5s0.9-0.1 1.2-0.5c0.7-0.6 0.7-1.7 0-2.3l-3.8-3.8h12.6c1 0 1.7-0...
ajax/libs/yui/3.13.0/event-focus/event-focus-min.js
hagabaka/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(...
pages/event/show.js
shinosakarb/tebukuro-client
// @flow import React from 'react' import EventView from '../../containers/EventView' import withLayout from '../../components/Layout' import withQueryString from '../../components/QueryString' type Props = { url: Object } const EventShowPage = (props: Props) => <EventView url={props.url} /> export default withLay...
src/components/Framework.react.js
luigiplr/netify-jump
import React from 'react'; import PureRenderMixin from 'react-addons-pure-render-mixin'; import { RouteContext } from 'react-router'; import _ from 'lodash'; import { mouseTrap } from 'react-mousetrap'; import { ipcRenderer } from 'electron'; import Header from './Header'; import NetworkActions from '../ac...
src/DropDownItem.js
loktar00/react-custom-dropdown
import React, {Component, PropTypes} from 'react'; import Radium from 'radium'; let styles = { menuItem: { cursor: 'pointer', fontSize: '13px', padding: '6px 0 6px 20px', ':hover' : { backgroundColor: '#52a6fa', color: '#fff' } } }; @Radium expor...
src/svg-icons/hardware/developer-board.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareDeveloperBoard = (props) => ( <SvgIcon {...props}> <path d="M22 9V7h-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2v-2h-2V9h2zm-4 10H4V5h14v14zM6 13h5v4H6zm6-6h4...
src/decorators/alignable.js
wundery/wundery-ui-react
import React from 'react'; // Utils import classnames from 'classnames'; const alignable = (Component) => { const AlignableComponent = (props) => { const align = props.align; if (align) { return ( <Component {...props}> <div className={classnames(`ui-align-${align}`)}> {p...
src/containers/editorialWorkflow/EntryPageHOC.js
radekzz/netlify-cms-test
import React from 'react'; import { connect } from 'react-redux'; import { EDITORIAL_WORKFLOW } from '../../constants/publishModes'; import { selectUnpublishedEntry, selectEntry } from '../../reducers'; import { loadUnpublishedEntry, persistUnpublishedEntry } from '../../actions/editorialWorkflow'; export default fun...
client/src/components/BookList.js
luckyadam/book
'use strict'; import React, { Component } from 'react'; import BookItem from './BookItem'; export default class BookList extends Component { render () { const bookList = this.props.bookList; return ( <table className='pure-table'> <thead> <tr> <th>#</th> <th>书...
ajax/libs/styled-components/4.1.3/styled-components.esm.min.js
extend1994/cdnjs
import Stylis from"stylis/stylis.min";import _insertRulePlugin from"stylis-rule-sheet";import React,{cloneElement,createContext,Component,createElement}from"react";import unitless from"@emotion/unitless";import{isElement,isValidElementType,ForwardRef}from"react-is";import memoize from"memoize-one";import stream from"st...
examples/counter/containers/App.js
jack5241027/redux
import React, { Component } from 'react'; import CounterApp from './CounterApp'; import { createRedux } from 'redux'; import { Provider } from 'redux/react'; import * as stores from '../stores'; const redux = createRedux(stores); export default class App extends Component { render() { return ( <Provider r...
app/javascript/mastodon/features/follow_requests/index.js
riku6460/chikuwagoddon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { debou...
react/features/welcome/components/WelcomePage.web.js
gpolitis/jitsi-meet
/* global interfaceConfig */ import React from 'react'; import { isMobileBrowser } from '../../base/environment/utils'; import { translate, translateToHTML } from '../../base/i18n'; import { Icon, IconWarning } from '../../base/icons'; import { Watermarks } from '../../base/react'; import { connect } from '../../base...
LearnDemo/index.ios.js
TonyTong1993/Learn-React-Native
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import Login from './Login'; import { AppRegistry, } from 'react-native'; AppRegistry.registerComponent('LearnDemo', () => Login);
node_modules/@material-ui/core/esm/CardContent/CardContent.js
pcclarke/civ-techs
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; export var styles = { /* Styles applied t...
one-time-examples/invoice-en/src/main/webapp/resources/js/jquery.js
plexiti/camunda-consulting
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function( window, undefined ) { // Use the correct document accordingly with window argument (sandbox) var document = window.document, navigator = window.navigator, location = window.location; var jQuery = (function() { // Define a local copy of jQuery var jQuer...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
nhasjim/worldcare2.0
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
ajax/libs/js-data/1.5.2/js-data.js
vuonghuuphuc/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file dist/js-data.js * @version 1.5.2 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined"!=ty...
src/Bundle/CoreBundle/Resources/public/slider/engine1/jquery.js
rshariffdeen/JobBank
/*! 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===...
node_modules/react/dist/react.js
jderiz/WebApp
/** * React v15.5.4 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}...
src/browser/fields/FieldsPage.js
TheoMer/este
// @flow import React from 'react'; import buttonsMessages from '../../common/app/buttonsMessages'; import linksMessages from '../../common/app/linksMessages'; import { Box, Button, Field, PageHeader } from '../../common/components'; import { Checkbox, Form, Radio, Title } from '../components'; import { FormattedMessag...
node_modules/babel-plugin-react-transform/test/fixtures/code-ignore/expected.js
jasonlarue/react-native-flashcards
import React from 'react'; const First = React.createNotClass({ displayName: 'First' }); class Second extends React.NotComponent {}
drupal/profiles/mal/libraries/jquery.timepicker/include/jquery-1.9.0.min.js
M1r1k/vuxenforvaltningens_informationsportal
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
zanata-editor/src/__tests__/components/ToggleSwitchTest.js
Halcom/zanata-server
jest.disableAutomock() import React from 'react' import ReactDOMServer from 'react-dom/server' import TestUtils from 'react-addons-test-utils' import ToggleSwitch from '../../app/components/ToggleSwitch' describe('ToggleSwitchTest', () => { it('ToggleSwitch markup', () => { const switchTheBlade = () => {} c...
src/svg-icons/hardware/cast.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareCast = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4...
app/javascript/mastodon/features/notifications/components/notifications_permission_banner.js
tootcafe/mastodon
import React from 'react'; import Icon from 'mastodon/components/icon'; import Button from 'mastodon/components/button'; import IconButton from 'mastodon/components/icon_button'; import { requestBrowserPermission } from 'mastodon/actions/notifications'; import { changeSetting } from 'mastodon/actions/settings'; import ...
actor-apps/app-web/src/app/components/activity/ActivityHeader.react.js
akingyin1987/actor-platform
import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; @ReactMixin.decorate(PureRenderMixin) class ActivityHeader extends React.Component { static propTypes = { close: React.PropTypes.func, title: React.PropTypes.stri...
codegen-web/view/src/App.js
networknt/light-codegen
import React, { Component } from 'react'; import {Switch, Route} from 'react-router-dom'; import { Router } from 'react-router'; import { createBrowserHistory } from 'history'; import Home from './components/Home'; import Document from './components/Document'; import GitHub from './components/GitHub'; import Responsive...
webapp/src/routes/app.js
templatetools/trace
/* global window */ import React from 'react' import NProgress from 'nprogress' import PropTypes from 'prop-types' import pathToRegexp from 'path-to-regexp' import { connect } from 'dva' import { Layout, Loader } from 'components' import { classnames, config } from 'utils' import { Helmet } from 'react-helmet' import '...
src/chat/ui/room/ReplyMessageView.js
elarasu/roverz-chat
import React from 'react'; import { Text, View, ActivityIndicator, TouchableOpacity, StyleSheet, StatusBar, Alert, Platform, Keyboard, ActionSheetIOS, ScrollView, Dimensions, } from 'react-native'; import PropTypes from 'prop-types'; import { Icon } from 'react-native-elements'; import { NavButt...
src/main/index.js
padcom/react-example-02
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; // Import application store import { store } from './store'; // Import main application component import App from './components/App'; // Render the application's root component to DOM element ReactDOM.render( <Prov...
node_modules/backbone.babysitter/public/javascripts/jquery.js
mchaperc/timekeeping
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
ajax/libs/material-ui/4.9.3/es/Stepper/Stepper.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Paper from '../Pap...