path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
Examples/UIExplorer/js/ActivityIndicatorExample.js
Andreyco/react-native
/** * Copyright (c) 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 directory. * * The examp...
src/components/friends-list/friend.js
WHCIBoys/nitpik-web
import React from 'react'; import * as UserUtil from '../../utils/user'; import * as C from '../../constants'; import * as I from 'immutable'; function Friend({ userInfo, onProfileClick }) { return ( <div className="flex items-center mt2 mx1 bg-gray rounded" style={{ width: '30%', cu...
docs/app/Examples/elements/Loader/Types/LoaderExampleTextShorthand.js
ben174/Semantic-UI-React
import React from 'react' import { Dimmer, Loader, Image, Segment } from 'semantic-ui-react' const LoaderExampleTextShorthand = () => ( <div> <Segment> <Dimmer active> <Loader content='Loading' /> </Dimmer> <Image src='http://semantic-ui.com/images/wireframe/short-paragraph.png' /> ...
web/src/app/Triggers.js
artpi/SmartPi
import React, { Component } from 'react'; import { List, ListItem } from 'material-ui/List'; import EditIcon from 'material-ui/svg-icons/editor/mode-edit'; import { Link } from 'react-router'; class Triggers extends Component { constructor( props, context ) { super( props, context ); this.state = { triggers: [...
src/routes/index.js
amiuhle/kasisto
import React from 'react' import { HashRouter, Route, Switch } from 'react-router-dom' import AppLayout from '../views/layouts' import Dashboard from '../containers/dashboard' import Payments from './payments' import Settings from '../containers/settings' export default () => ( <HashRouter> <AppLayout> ...
src/components/menu/modals/leaderboard.js
aautem/aa
import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import * as friendsActions from '../../../store/actions/friends'; import * as messagesActions from '../../../store/actions/messages'; import * as leaderboardActions from '../...
src/parser/priest/discipline/modules/features/Checklist/Module.js
FaideWW/WoWAnalyzer
import React from 'react'; import BaseChecklist from 'parser/shared/modules/features/Checklist2/Module'; import CastEfficiency from 'parser/shared/modules/CastEfficiency'; import Combatants from 'parser/shared/modules/Combatants'; import ManaValues from 'parser/shared/modules/ManaValues'; import PreparationRuleAnalyze...
src/parser/deathknight/blood/modules/features/BoneShield.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatDuration, formatPercentage } from 'common/format'; import { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import StatisticBox from 'interface/oth...
node_modules/react-bootstrap/es/Tabs.js
caughtclean/but-thats-wrong-blog
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 ...
blueocean-core-js/gulpfile.js
jenkinsci/blueocean-plugin
'use strict'; process.env.SKIP_BLUE_IMPORTS = 'YES'; /* Build file for Jenkins Blue Ocean Commons JavaScript. */ const gulp = require('gulp'); const gutil = require('gulp-util'); const sourcemaps = require('gulp-sourcemaps'); const babel = require('gulp-babel'); const less = require('gulp-less'); const rename = req...
frontend/test/components/dashboard/ending-projects/EndingProjects.spec.js
leapfrogtechnology/vyaguta-resource
import React from 'react'; import expect from 'expect'; import {shallow, mount} from 'enzyme'; import jsdom from 'jsdom'; import _ from 'lodash'; //components import EndingProjects from '../../../../src/js/components/dashboard/ending-projects/EndingProjects'; import EndingProjectRow from '../../../../src/js/components...
imports/plugins/included/social/client/templates/apps/googleplus.js
together-web-pj/together-web-pj
/* eslint-disable */ // // TODO google social templates need review to ensure proper use of reaction layouts // Template.googleplus.onRendered(function () { let ref; if (this.data.placement === "footer" && (((ref = this.data.apps.googleplus) !== null ? ref.profilePage : void 0) !== null)) { // eslint-disable-line ...
ajax/libs/yui/3.12.0/event-focus/event-focus.js
liubo404/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
src/routes/long_range/log/Filter.js
china2008qyj/DVA-DEMO
import React from 'react' import PropTypes from 'prop-types' import moment from 'moment' import { FilterItem } from 'components' import { Form, Button, Row, Col, DatePicker, Input} from 'antd' const Search = Input.Search; const { RangePicker } = DatePicker; const ColProps = { xs: 24, sm: 12, style: { margin...
static/suit/js/jquery-1.8.3.min.js
liuasliy/rdstourcms
/*! 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===...
src/Grid/Row.js
kmees/react-fabric
import React from 'react' import fabricComponent from '../fabricComponent' import style from './Grid.scss' const Row = ({ children, ...props }) => ( <div {...props} styleName="ms-Grid-row"> { children } </div> ) Row.propTypes = { children: React.PropTypes.node } export default fabricComponent(Row, style)
frontend/src/components/on_boarding/OnBoardingHeader.js
OpenCollective/opencollective-website
import React from 'react'; export default class OnBoardingHeader extends React.Component { constructor(props) { super(props); } render() { const { active, username } = this.props; const headerStyles = active ? {background: '#3d3d3d', padding: '20px 30px'} : {}; return ( <div className=...
components/BasicFormFields.js
formalfiction/ff-react
import React from 'react'; import _ from 'underscore'; import ValidTextInput from './ValidTextInput'; import ValidTextareaInput from './ValidTextareaInput'; import AddressInput from './AddressInput'; import PercentageInput from './PercentageInput'; import PriceInput from './PriceInput'; /* * ** NOT A COMPONENT ** * ...
packages/components/src/RatioBar/RatioBarComposition.component.js
Talend/ui
import React from 'react'; import PropTypes from 'prop-types'; import keycode from 'keycode'; import TooltipTrigger from '../TooltipTrigger'; import { getTheme } from '../theme'; import ratioBarTheme from './RatioBar.scss'; const theme = getTheme(ratioBarTheme); const minPercentage = 5; export function RatioBarLine({...
react-client/src/components/SF.js
francoabaroa/escape-reality
import 'aframe'; import 'aframe-animation-component'; import 'aframe-text-component'; import 'babel-polyfill'; import {Entity, Scene} from 'aframe-react'; import React from 'react'; import ReactDOM from 'react-dom'; import { Link, withRouter } from 'react-router'; import Camera from './Camera'; import Text from './Tex...
src/components/List/List.js
wundery/wundery-ui-react
import React from 'react'; import classnames from 'classnames'; function List({ children, title, embedded, inline, className }) { return ( <div className={classnames('ui-list', { 'ui-list-embedded': embedded }, className)}> {title && <div className="ui-list-title">{title}</div>} <div className={class...
src/svg-icons/device/access-alarms.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAccessAlarms = (props) => ( <SvgIcon {...props}> <path d="M22 5.7l-4.6-3.9-1.3 1.5 4.6 3.9L22 5.7zM7.9 3.4L6.6 1.9 2 5.7l1.3 1.5 4.6-3.8zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4V8zM12 4c-5 0-9 4-9 9s4 9 9 9 9-4 9...
public/js/jquery-confirm.min.js
masmike/accu
/*! * jquery-confirm v3.1.1 (http://craftpip.github.io/jquery-confirm/) * Author: Boniface Pereira * Website: www.craftpip.com * Contact: hey@craftpip.com * * Copyright 2013-2017 jquery-confirm * Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE) */ if(typeof jQuery==="undefined...
src/components/tags-cloud/tags-cloud.js
manu-garcia/react-pwa-from-scratch
import React, { Component } from 'react'; class TagsCloud extends Component { constructor (props) { super(props); } onClick(tag) { if (this.props.onTagClick) { this.props.onTagClick(tag); } } renderTags () { let list = []; if (this.props.tags) { Object.ke...
NinjectConstructorInjectionWeb/Scripts/jquery-1.5.1.js
keke78ui9/NinjectConstructorInjectionWeb
/*! * Note: While Microsoft is not the author of this file, Microsoft is * offering you a license subject to the terms of the Microsoft Software * License Terms for Microsoft ASP.NET Model View Controller 3. * Microsoft reserves all other rights. The notices below are provided * for informational purposes only and are ...
packages/material-ui-icons/legacy/SignalWifi3BarLockSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M15.5 14.5c0-2.8 2.2-5 5-5 .36 0 .71.04 1.05.11L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7L12 21.5l3.5-4.36V14.5z" /><path d="M23 16v-1.34c0-1.47-1.2-2.75-2....
client/public/src/components/Router.js
openview2017/openview
import React from 'react' import { render } from 'react-dom' import { Router, Route, IndexRoute, useRouterHistory } from 'react-router' import { createHashHistory } from 'history' import MainLayout, { ContentWithHeader, ContentWithSideBar } from './Layouts' import Home from '../views/Home/Home' import Signin ...
ajax/libs/angular.js/0.9.8/angular-scenario.js
theironcook/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/components/headerbar.js
rosiene/growup-game
import React from 'react'; import Ranking from '../containers/ranking'; import _ from 'lodash'; class HeaderBar extends React.Component{ constructor(){ super(); this.baseStyle = ({ backgroundColor: "#583F7E", color: "#FAFAFA", position: "center", width: "180px", height: "600px...
react/Apps/forecast-app/src/components/app.js
rcapde/reactjs-Apps
import React from 'react'; import { Component } from 'react'; import Navbar from './navbar.js' import SecondBar from '../components/second_bar'; import WeatherIndex from '../containers/weather_index'; import { Router, browserHistory } from 'react-router'; import routes from '.././routes'; export default class App exte...
node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx/dist/rx.js
zwllwz/xiongji
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
node_modules/react-dom/lib/accumulate.js
Ayaz2589/Ayaz2589.github.io
/** * 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. * * */ 'use strict'; var _prodInvariant = require('./reactProdInvariant'); var invariant = require('fbjs/lib/invariant'); /** * Accu...
src/js/components/icons/base/FormEdit.js
linde12/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/React/Widgets/SelectionEditorWidget/rule/OperatorRender.js
Kitware/paraviewweb
import React from 'react'; import PropTypes from 'prop-types'; import style from 'PVWStyle/ReactWidgets/SelectionEditorWidget.mcss'; import And from '../../../../../svg/Operations/And.svg'; import Or from '../../../../../svg/Operations/Or.svg'; import RuleRender from './RuleRender'; import SvgIconWidget from '../../S...
node_modules/react/lib/DOMPropertyOperations.js
fernando-jascovich/vagrant-manager
/** * Copyright 2013-2015, 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. * * @providesModule ...
src/server.js
zsu13579/whatsgoinontonight
import path from 'path'; import Promise from 'bluebird'; import express from 'express'; import cookieParser from 'cookie-parser'; import bodyParser from 'body-parser'; import expressJwt from 'express-jwt'; import expressGraphQL from 'express-graphql'; import jwt from 'jsonwebtoken'; import React from 'react'; import R...
ajax/libs/6to5/1.12.4/browser.js
perdona/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
code/workspaces/web-app/src/components/app/SideBarNavigation.spec.js
NERC-CEH/datalab
import React from 'react'; import { render } from '@testing-library/react'; import SideBarNavigation from './SideBarNavigation'; describe('ProjectNavigation', () => { const SideBar = () => (<div>SideBar mock</div>); it('renders the correct snapshot', () => { const wrapper = render( <SideBarNavigation si...
src/svg-icons/maps/local-movies.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalMovies = (props) => ( <SvgIcon {...props}> <path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"/> </Svg...
src/mui/field/RichTextField.spec.js
azureReact/AzureReact
import React from 'react'; import assert from 'assert'; import { render } from 'enzyme'; import RichTextField, { removeTags } from './RichTextField'; describe('stripTags', () => { it('should strip HTML tags from input', () => { assert.equal(removeTags('<h1>Hello world!</h1>'), 'Hello world!'); asse...
js/tests/vendor/jquery.min.js
quinonez/bootstrap
/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
client/components/App.js
jacquesuys/HireOrbit
import React from 'react'; import { Link } from 'react-router'; import NavLink from './NavLink'; import Home from '../components/Home'; import Auth from '../utils/Auth'; import DragTarget from './DragTarget' import Utils from '../utils/Utils'; import isURL from 'validator/lib/isURL'; import Modal from 'react-awesome-mo...
App/Components/FullButton.js
tk1cntt/KanjiMaster
import React from 'react' import { TouchableOpacity, Text } from 'react-native' import styles from './Styles/FullButtonStyle' import ExamplesRegistry from '../Services/ExamplesRegistry' // Example ExamplesRegistry.add('Full Button', () => <FullButton text='Hey there' onPress={() => window.alert('Full Button ...
Hebrides/SmartHome/Home/Home.js
HarrisLee/React-Native-Express
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { StyleSheet, Text, View, ListView, Navigator, Platform, Image, } from 'react-native'; import NavigationBar from 'react-native-navbar'; export default class Home exte...
packages/react-scripts/template/src/index.js
amido/create-react-app
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
app/components/ItemNavbar/index.js
GuiaLa/guiala-web-app
/** * * ItemNavbar * */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { push } from 'react-router-redux'; import { Link } from 'react-router'; import Menu from 'Menu'; import { openAuthModal, openPlaceModal, logout, cleanLocalDB } f...
ajax/libs/yui/3.15.0/datatable-core/datatable-core.js
masimakopoulos/cdnjs
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
examples/flux-chat/js/components/MessageListItem.react.js
kohei-takata/nagare
/** * This file is provided by Facebook for testing and evaluation purposes * only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICUL...
views/status_line.js
noikiy/black-screen
import React from 'react'; export default React.createClass({ render() { return ( <div className="status-line"> <CurrentDirectory currentWorkingDirectory={this.props.currentWorkingDirectory}/> <VcsData data={this.props.vcsData}/> </div> ) ...
src/svg-icons/maps/local-phone.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalPhone = (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-17-...
www/src/components/LinkedHeading.js
glenjamin/react-bootstrap
import React from 'react'; import Anchor from './Anchor'; import Heading from './Heading'; function LinkedHeading({ h, id, children }) { return ( <Heading h={h} id={id} title={children}> <Anchor target={id}>{children}</Anchor> </Heading> ); } export default LinkedHeading;
src/components/Timeline.js
vrunjeti/muserino
import React from 'react' import { render } from 'react-dom' import { utils } from './../utils' const { range } = utils export default class Timeline extends React.Component { constructor(props) { super(props) } render() { const NUM_MEASURES = 6 const TIME_INTERVAL = 2 return ( <div> ...
src/svg-icons/image/movie-creation.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageMovieCreation = (props) => ( <SvgIcon {...props}> <path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"/> </SvgIcon> ); ImageMovieCreati...
src/layout/footer.js
bokuweb/re-bulma
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styles from '../../build/styles'; import { getCallbacks } from '../helper/helper'; export default class Footer extends Component { static propTypes = { children: PropTypes.any, style: PropTypes.object, className: PropTyp...
scripts/jquery-1.11.2.min.js
ralph327/soundboard
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
npm-scripts/modules/__tests__/History-test.js
zipongo/react-router
import expect from 'expect' import React from 'react' import { render, unmountComponentAtNode } from 'react-dom' import History from '../History' import Router from '../Router' import Route from '../Route' import createHistory from 'history/lib/createMemoryHistory' describe('History Mixin', function () { let node ...
ajax/libs/victory/0.10.1/victory.min.js
kiwi89/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Victory=t(require("react")):e.Victory=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;v...
test/Reduxible.spec.js
reduxible/reduxible
import chai, { expect } from 'chai'; import { spy } from 'sinon'; import sinonChai from 'sinon-chai'; import React from 'react'; import { combineRouteReducers } from '../src/utils'; import Reduxible from '../src/Reduxible'; import { createReducer } from '../src/utils'; import httpMocks from 'node-mocks-http'; chai.use...
ajax/libs/core-js/0.4.7/core.js
zhangbg/cdnjs
/** * Core.js 0.4.7 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(global, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
shorten_my_link/client/main.js
cristianobento/udemy-meteor-react
import React from 'react'; import ReactDOM from 'react-dom'; import Header from './components/header'; import LinkCreate from './components/link_create'; import { Links } from '../imports/collections/links'; const App = () => { return( <div> <Header /> <LinkCreate /> </div> ); }; Meteo...
src/component/UserProfile/index.js
dlennox24/ricro-app-template
import DialogContent from '@material-ui/core/DialogContent'; import PropTypes from 'prop-types'; import React from 'react'; import ProfileStructure from '../../core/UserProfileStructure'; import CloseableDialog from '../CloseableDialog'; const UserProfile = ({ onClose, open, user, variant = 'default' }) => { return ...
src/components/FooterBar/Responses/Upvote.js
welovekpop/uwave-web-welovekpop.club
import React from 'react'; import PropTypes from 'prop-types'; import { translate } from 'react-i18next'; import UpvoteIcon from '@material-ui/icons/ThumbUp'; import Button from './Button'; const enhance = translate(); const Upvote = ({ t, disabled, active, count, onUpvote, }) => ( <Button disabled={d...
assets/javascripts/kitten/components/graphics/icons/search-icon/test.js
KissKissBankBank/kitten
import React from 'react' import renderer from 'react-test-renderer' import { SearchIcon } from './index' describe('<SearchIcon />', () => { describe('default', () => { it('matches the snapshot', () => { const component = renderer .create(<SearchIcon width="12" height="10" />) .toJSON() ...
src/server/render.js
jacobkeaton1/fdi-app
import { renderToString } from 'react-dom/server'; import React from 'react'; export default (renderMe) => `<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <title>Fontaine D...
client/vendor/scripts/jquery-1.7.1.js
cozy/todos
/*! * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/svg-icons/notification/do-not-disturb.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationDoNotDisturb = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13...
ajax/libs/ember-data.js/2.5.0-beta.1/ember-data.js
hare1039/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.5.0-beta.1 */ var define, requireModule, require, requirejs; (func...
ajax/libs/js-data/2.10.0/js-data-debug.js
sashberd/cdnjs
/*! * js-data * @version 2.10.0 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2016 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModu...
ajax/libs/material-ui/4.12.4/esm/styles/useTheme.js
cdnjs/cdnjs
import { useTheme as useThemeWithoutDefault } from '@material-ui/styles'; import React from 'react'; import defaultTheme from './defaultTheme'; export default function useTheme() { var theme = useThemeWithoutDefault() || defaultTheme; if (process.env.NODE_ENV !== 'production') { // eslint-disable-next-line rea...
docs/src/app/components/pages/components/Avatar/ExampleSimple.js
spiermar/material-ui
import React from 'react'; import Avatar from 'material-ui/Avatar'; import FileFolder from 'material-ui/svg-icons/file/folder'; import FontIcon from 'material-ui/FontIcon'; import List from 'material-ui/List/List'; import ListItem from 'material-ui/List/ListItem'; import { blue300, indigo900, orange200, deepOrange300,...
src/components/scenes/HomeScene.js
kjirou/battle-reversi
import React from 'react'; import { EVENTS } from '../../consts'; import NavigationBar from './NavigationBar'; import Scene from './Scene'; export default class HomeScene extends Scene { _onClickStartBattle() { this.dispatch(EVENTS.TOUCH_START_BATTLE); } render() { return ( <div className="scene...
src/js/components/ui/TagInput.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Chip from './Chip'; export default class TagInput extends Component { static propTypes = { value : PropTypes.string, tags : PropTypes.array.isRequired, placeholder : PropTypes.s...
ajax/libs/angular-google-maps/2.1.0-X.1/angular-google-maps.js
kentcdodds/cdnjs
/*! angular-google-maps 2.1.0-X.1 2015-03-09 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby grante...
ajax/libs/flocks.js/0.15.5/flocks.js
ramda/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint-env node,browser */ /** * The Flocks library module. * * @module Flocks * @main Flocks * @class Flocks */ // if it's in a <script> it's defined already // otherwise assume commonjs if (typeof React =...
site/IndexPage.js
ntdb/react-dnd
import './base.less'; import Constants, { APIPages, ExamplePages, Pages } from './Constants'; import HomePage from './pages/HomePage'; import APIPage from './pages/APIPage'; import ExamplePage from './pages/ExamplePage'; import React, { Component } from 'react'; const APIDocs = { OVERVIEW: require('../docs/00 Quick ...
example/src/screens/transitions/SharedElementTransitions.js
iotize/react-native-navigation
import React from 'react'; import {StyleSheet, ScrollView, Text} from 'react-native'; import Row from '../../components/Row'; class Transitions extends React.Component { showCardsExample = () => { this.props.navigator.showModal({ title: 'Cards', screen: 'example.Transitions.SharedElementTransitions....
public/src/admin/metrics/Metrics.react.js
SLedunois/personal-website
import React, { Component } from 'react'; class Metrics extends Component { render() { return <h1>Metrics</h1>; } } export default Metrics;
app.js
harsh-a1/XLImport
/** * Created by harsh on 15/12/16. */ import React from 'react'; import ReactDOM from 'react-dom'; import $ from 'jquery'; import XLSX from 'xlsx'; import * as CONSTANTS from './#/constants'; import tagParser from './#/tag-parser'; import {importHandler} from './#/import-handler'; import {UploadFile} from './comp...
ajax/libs/forerunnerdb/1.3.751/fdb-legacy.min.js
tholu/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...
client/modules/core/components/postlist.js
Entropy03/jianwei
import React from 'react'; const PostList = ({posts}) => ( <div className='postlist'> <ul> {posts.map(post => ( <li key={post._id}> <a href={`/post/${post._id}`}>{post.title}</a> </li> ))} </ul> </div> ); export default PostList;
ajax/libs/fixed-data-table/0.1.0/fixed-data-table.min.js
Amomo/cdnjs
/** * FixedDataTable v0.1.0 * * Copyright (c) 2015, 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 direc...
canvas/src/component/progressbar/ProgressBar.js
google/actions-on-google-pq2-template-sdk
// Copyright 2020, Google, 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 ...
ajax/libs/js-data/2.0.0-beta.10/js-data.js
iamJoeTaylor/cdnjs
/*! * js-data * @version 2.0.0-beta.10 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniver...
src/components/CollapseTreeZoom.js
ysaaron/react-collapse-tree
import React from 'react'; import d3 from 'd3'; import { DragDropContext } from 'react-dnd'; import MouseEventBackend from 'react-dnd-mouse-backend'; import { walkThroughTree } from '../utils/walkThroughTree'; import SvgChart from './SvgChart'; import Links from './Links'; import Nodes from './Nodes'; class Collapse...
packages/mui-icons-material/lib/esm/ToysTwoTone.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M18 12H6c-1.1 0-2 .9-2 2 0 .51.2.97.51 1.32C5.05 14.53 5.97 14 7 14c1.3 0 2.4.84 2.82 2h4.37c.41-1.16 1.51-2 2.82-2 1.03 0 1.95.53 2.49 1.32.3-.35.5-.81.5-1...
techCurriculum/ui/solutions/4.8/src/components/Title.js
tadas412/EngineeringEssentials
/** * 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...
src/components/Root.js
jhkmjnhamster/vcash-electron
import React from 'react' import { HashRouter, Route } from 'react-router-dom' import { inject, observer, Provider } from 'mobx-react' import { message, notification } from 'antd' /** Required components. */ import Addresses from './Addresses' import Console from './Console' import Footer from './Footer' import Header...
src/svg-icons/device/battery-charging-50.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryCharging50 = (props) => ( <SvgIcon {...props}> <path d="M14.47 13.5L11 20v-5.5H9l.53-1H7v7.17C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V13.5h-2.53z"/><path fillOpacity=".3" d="M15.67 4H14V...
app/javascript/mastodon/components/video_player.js
haleyashleypraesent/ProjectPrionosuchus
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import { isIOS } from '../is_mobile'; const messages = defineMessages({ toggle_...
examples/js/keyboard-nav/custom-style-nav-table.js
echaouchna/react-bootstrap-tab
/* eslint max-len: 0 */ /* eslint no-unused-vars: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; ...
packages/material-ui-icons/src/FormatSize.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let FormatSize = props => <SvgIcon {...props}> <path d="M9 4v3h5v12h3V7h5V4H9zm-6 8h3v7h3v-7h3V9H3v3z" /> </SvgIcon>; FormatSize = pure(FormatSize); FormatSize.muiName = 'SvgIcon'; export default FormatSi...
src/components/RadioList/Radio.js
InsideSalesOfficial/insidesales-components
import PropTypes from 'prop-types'; import { transparentize } from 'polished'; import React from 'react'; import styled, { css } from 'styled-components'; import _ from 'lodash'; import { colors, typography, renderThemeIfPresentOrDefault, ifThemeInPropsIsPresentUse } from '../styles'; const size = 16; functi...
ajax/libs/6to5/1.14.11/browser-polyfill.js
quba/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/mineral-ui-icons/src/IconGavel.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconGavel(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps}> ...
docs/src/app/components/pages/components/Stepper/GranularControlStepper.js
ngbrown/material-ui
import React from 'react'; import { Step, Stepper, StepButton, } from 'material-ui/Stepper'; import RaisedButton from 'material-ui/RaisedButton'; import FlatButton from 'material-ui/FlatButton'; const getStyles = () => { return { root: { width: '100%', maxWidth: 700, margin: 'auto', }...
ajax/libs/analytics.js/1.5.3/analytics.min.js
dlueth/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
server/static/lib/pygal/pygal-tooltips.min.js
Cal-CS-61A-Staff/ok
/*! pygal.js 2015-10-30 */ (function(){var a,b,c,d,e,f,g,h,i,j,k;i="http://www.w3.org/2000/svg",k="http://www.w3.org/1999/xlink",a=function(a,b){return null==b&&(b=null),b=b||document,Array.prototype.slice.call(b.querySelectorAll(a),0).filter(function(a){return a!==b})},e=function(a,b){return(a.matches||a.mat...
admin/client/components/Popout/PopoutBody.js
andreufirefly/keystone
import React from 'react'; import blacklist from 'blacklist'; import classnames from 'classnames'; var PopoutBody = React.createClass({ displayName: 'PopoutBody', propTypes: { children: React.PropTypes.node.isRequired, className: React.PropTypes.string, scrollable: React.PropTypes.bool, }, render () { cons...
reactNative/f8app-master/js/tabs/schedule/FilterHeader.js
huxinmin/PracticeMakesPerfect
/** * Copyright 2016 Facebook, Inc. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary * form for use in connection with the web services and APIs provided by * Facebook. * * As with any software that integrat...
assets/node_modules/recompose/withState.js
janta-devs/nyumbani
'use strict'; exports.__esModule = true; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _react = requi...