target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
src/icons/IosMicOff.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosMicOff extends React.Component { render() { if(this.props.bare) { return <g> <g> <rect x="264.2" y="1.1" transform="matrix(0.8629 -0.5053 0.5053 0.8629 -92.0515 172.66)" width="16" height="509.8"></rect> ...
src/utils/childUtils.js
matthewoates/material-ui
import React from 'react'; import createFragment from 'react-addons-create-fragment'; export function createChildFragment(fragments) { const newFragments = {}; let validChildrenCount = 0; let firstKey; // Only create non-empty key fragments for (const key in fragments) { const currentChild = fragments[k...
examples/simple/render/client.js
dlmr/react-router-redial
import { useRedial } from 'react-router-redial'; import React from 'react'; import { render } from 'react-dom'; import { Router, browserHistory, applyRouterMiddleware } from 'react-router'; // Render the app client-side to a given container element: export default (container, routes) => { const forcePageReloadOnErr...
wrappers/toml.js
Cspeisman/cspeisman.github.io
import React from 'react' import toml from 'toml-js' import DocumentTitle from 'react-document-title' import { config } from 'config' module.exports = React.createClass({ propTypes () { return { route: React.PropTypes.object, } }, render () { const data = this.props.route.page.data return (...
administrator/components/com_sigpro/js/elfinder/js/i18n/elfinder.nl.js
tessak22/arm-of-mn
/** * Dutch translation * @author Barry vd. Heuvel <barry@fruitcakestudio.nl> * @version 2012-04-02 */ if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') { elFinder.prototype.i18.nl = { translator : 'Barry vd. Heuvel &lt;barry@fruitcakestudio.nl&gt;', language : 'Nederlands', ...
powerauth-webflow/src/main/js/components/securityOverride.js
lime-company/lime-security-powerauth-webauth
/* * Copyright 2019 Wultra s.r.o. * * 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...
index.android.js
athoof/odi
import React from 'react'; import { AppRegistry, StyleSheet, View, } from 'react-native'; import Main from './components/Main'; class odi extends React.Component { render() { return ( <View style={styles.container}> <Main /> </View> ); } } const styles = StyleSheet.create({ con...
client/extensions/woocommerce/woocommerce-services/components/number-field/number-input.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; /** * Internal dependencies */ import FormTextInput from 'components/forms/form-text-input'; export default class NumberInput extends Component { static propTypes = { onChange: PropTypes...
app/javascript/mastodon/features/standalone/hashtag_timeline/index.js
sylph-sin-tyaku/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { expandHashtagTimeline } from 'mastodon/actions/timelines'; import Masonry from 'react-masonry-infinite'; import { List as ImmutableList } from 'immut...
webapp-src/src/callback.js
babelouest/glewlwyd
/** * * Glewlwyd login application * * Web application for users to login to Glewlwyd * Handle password and schemes authentication * * Copyright 2019 Nicolas Mora <mail@babelouest.org> * */ import React from 'react'; import ReactDOM from 'react-dom'; import i18next from 'i18next'; import Backend from 'i18...
scripts/apps/contacts/directives/ContactList.js
mugurrus/superdesk-client-core
/* eslint-disable react/no-render-return-value */ import React from 'react'; import ReactDOM from 'react-dom'; import {ItemList as ItemListComponent} from 'apps/contacts/components'; ContactList.$inject = [ '$timeout', '$filter', 'search', 'datetime', 'Keys', 'gettextCatalog', '$rootScope...
React_Redux/blog/src/index.js
awg3/LearnCodeImprove
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; // broweserHistory: whenever the URL updates, react-router is going to interpret everything after the browse protocol (the root URL). import { Router, browserHistor...
node_modules/react-bootstrap/es/SplitToggle.js
chenjic215/search-doctor
import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import React from 'react'; import DropdownToggle fr...
Examples/UIExplorer/TextInputExample.ios.js
ericvera/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
public/js/components/app.js
gonzochic/inox
import React from 'react'; import Overview from 'public/js/components/overview'; import Feed from 'public/js/components/feed'; import Navbar from 'public/js/components/navbar'; import Profile from 'public/js/components/profile'; import profileData from 'public/js/helper/profiledata' import { Router, Route, Link } from...
web-project/node_modules/jquery-ui/external/jquery-1.8.2/jquery.js
oavasquez/ingeneria_software
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
trim-interview-26092019/src/components/navBar.js
balaSpyrus/code
import React from 'react'; import { Link } from 'react-router-dom'; class NavBar extends React.Component { constructor(props) { super(props); this.state = { }; } render() { return ( <nav className="navbar navbar-expand-lg navbar-light bg-light"> ...
frontend/src/components/common/Routes/AdminRoute.js
VladimirAnaniev/LoggIt
import React from 'react' import { Route, Redirect } from 'react-router-dom' import { connect } from 'react-redux' function AdminRoute ({component: Component, isAdmin, ...rest}) { return ( <Route {...rest} render={props => ( isAdmin ? ( <Component {...props} /> ) : ( <Redirect to={{ ...
packages/material-ui-icons/src/HdSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M21 3H3v18h18V3zM11 15H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm2-6h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-4V9zm1.5 4.5h2v-3h-2v3z" /></React.Fragment> ,...
src/components/ResultSubtyping.js
superphy/reactapp
import React, { Component } from 'react'; import { connect } from 'react-refetch' // progress bar import CircularProgress from 'react-md/lib/Progress/CircularProgress'; // requests import { API_ROOT } from '../middleware/api' // Table import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const sid...
src/Main/SelectorBase.js
enragednuke/WoWAnalyzer
import React from 'react'; import ReactTooltip from 'react-tooltip'; class SelectorBase extends React.PureComponent { static propTypes = { }; constructor(props) { super(props); this.state = { show: false, }; this.handleClick = this.handleClick.bind(this); this.handleDocumentClick = thi...
packages/mineral-ui-icons/src/IconFilterCenterFocus.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 IconFilterCenterFocus(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {......
src/pages/linda-de-morrer.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='Linda De Morrer' /> )
src/components/ListView/ListView.js
redux-saga/redux-saga-devtools
import PropTypes from 'prop-types'; import React from 'react'; import styled, { css } from 'styled-components' const outline = '1px dotted rgb(33,33,33)' const bgHover = css`background-color: rgba(56, 121, 217, 0.1)` const ListViewContainer = styled.div` outline: none; cursor: default; user-select: none; ` con...
src/common/components/Icon/index.js
jimboslicethat/rpi-home-dashboard
import React from 'react' import CssModules from 'react-css-modules' const { oneOf, func } = React.PropTypes import AccountCircle from './account-circle.svg' import ArrowDropDown from './arrow-drop-down.svg' import ArrowDropUp from './arrow-drop-up.svg' import Close from './close.svg' import Cloud from './cloud.svg' ...
ajax/libs/vkui/4.25.0/cssm/components/UsersStack/UsersStack.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/extends";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["photos","visibleCount","size","layout","children"];import{createScopedElement}from"../../lib/jsxRuntime";import*as React from"react";import{getClassName}from"../../he...
ajax/libs/inferno/1.0.0-beta15/inferno-redux.js
jdh8/cdnjs
/*! * inferno-redux v1.0.0-beta15 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./inferno-component'), require('./inferno-create-element')) : typeof define === 'functio...
ajax/libs/material-ui/4.11.3-deprecations.1/es/ExpansionPanelDetails/ExpansionPanelDetails.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";export const styles=e=>({root:{dis...
app/javascript/flavours/glitch/features/compose/components/upload_form.js
Kirishima21/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import UploadProgressContainer from '../containers/upload_progress_container'; import ImmutablePureComponent from 'react-immutable-pure-component'; import UploadContainer from '../containers/upload_container'; import SensitiveButtonC...
app/javascript/mastodon/features/ui/components/actions_modal.js
maa123/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import StatusContent from '../../../components/status_content'; import Avatar from '../../../components/avatar'; import Relative...
src/components/icons/LinkedinAlternate.js
lmammino/loige.co
import React from 'react' const LinkedinAlternate = props => ( <svg aria-hidden="true" data-prefix="fab" data-icon="linkedin-in" className="svg-inline--fa fa-linkedin-in fa-w-14" viewBox="0 0 448 512" width="1em" height="1em" {...props} > <path fill="currentColor" d=...
app/scripts/components/kuchyne/kitchen_g.js
kroupaTomass/Rondo-kuchyne
import React from 'react'; import { Link } from 'react-router'; class Kitchen_g extends React.Component { constructor(props, context) { super(props); } render() { return ( <div className="col-md-4 no_padding"> <div className="single_image"> <a id="kitchen_g" href="#animatedModal_...
packages/vue-styleguidist/src/client/rsg-components/Usage/Usage.spec.js
vue-styleguidist/vue-styleguidist
import React from 'react' import Usage from './Usage' const props = [ { name: 'children', type: { name: 'string' }, required: true, description: 'Button label.' } ] const methods = [ { name: 'set', params: [ { name: 'newValue', description: 'New value for the counter.', type: { name: 'Num...
src/js/components/Widget.js
holderdeord/hdo-cards
import React, { Component } from 'react'; import VoteWidget from './VoteWidget'; import PromisesWidget from './PromisesWidget'; export default class Widget extends Component { render() { let content = null; switch (this.props.type) { case 'vote': content = <VoteWidget {...
ajax/libs/analytics.js/1.5.9/analytics.min.js
ruo91/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...
Public/js/jquery.js
ksyydream/llx_admin
/*! jQuery v1.11.1 | (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...
renderer-react/src/main.js
kiranml1/blog-framework
/** * Architecture Notes: * =================== * Component - React View Renderer, which must be reusable - this section is intended to * go in blogging framework after a stable version with tests, so this should not be * intended to be built in process of mix and match, this should be reusable components * which...
src/components/SearchBook/SearchBook.js
DDDDDanica/react-udacity-myReads
/** * Created by zhao.shen on 15/09/2017. */ import React from 'react'; import PropTypes from 'prop-types'; import BookShelf from '../BookShelf/BookShelf'; import Loader from '../../utility/Loader'; import BookAPI from '../../utility/BookAPI'; import _ from 'lodash'; import './SearchBook.scss'; export default class ...
frontend/src/components/siteComponents/OnBoarding/index.js
webrecorder/webrecorder
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import { onboardingLink } from 'config'; import Modal from 'components/Modal'; class OnBoarding extends PureComponent { static propTypes = { open: PropTypes.bool }; static defaultProps = { open: false }; static get...
node_modules/react-icons/io/social-sass.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoSocialSass = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m40 25.7v0.6c-0.1 0.7-0.5 1.4-1.2 1.7s-0.9 0.4-1 0.3 0.1-0.3 0.3-0.4c1-0.6 1.4-1.6 0.8-2.6-0.4-0.8-1.2-1.2-2-1.5-1.9-0.7-3.8-0.6-5.6 0 0.3 0.9 0.5 1.7-0.2 2.6-0.8 ...
examples/src/components/Head.js
kenfehling/react-router-nested-history
import React from 'react' import Helmet from 'react-helmet' import {WhenActive} from 'react-router-nested-history' const Head = ({title}) => ( <WhenActive> <Helmet title={title} /> </WhenActive> ) export default Head
ajax/libs/material-ui/4.9.3/esm/ExpansionPanelSummary/ExpansionPanelSummary.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; /* eslint-disable jsx-a11y/aria-role */ import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import ButtonBase from '../ButtonBase'; i...
src/index.js
dundalek/react-blessed-contrib
import React, { Component } from 'react'; import upperFirst from 'lodash.upperfirst'; import blessed from 'blessed'; import contrib from 'blessed-contrib'; // Patch blessed so that react-blessed picks up our wrapper blessed.__BLESSED_WRAPPER__ = function(props) { return props.__BLESSED_WIDGET__(props); } const bla...
ajax/libs/preact-compat/1.0.0/preact-compat.js
dakshshah96/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('proptypes'), require('preact')) : typeof define === 'function' && define.amd ? define(['exports', 'proptypes', 'preact'], factory) : (factory((global.preactCompat = global.preactCompat || {}),global...
packages/material-ui-icons/src/CastRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M21 3H3c-1.1 0-2 .9-2 2v2c0 .55.45 1 1 1s1-.45 1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1h-5c-.55 0-1 .45-1 1s.45 1 1 1h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM2.14 14.09c-....
app/javascript/mastodon/features/getting_started/index.js
Craftodon/Craftodon
import React from 'react'; import Column from '../ui/components/column'; import ColumnLink from '../ui/components/column_link'; import ColumnSubheading from '../ui/components/column_subheading'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import Prop...
app/javascript/flavours/glitch/features/report/statuses.js
glitch-soc/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { connect } from 'react-redux'; import StatusCheckBox from 'flavours/glitch/features/report/containers/status_check_box_container'; import { OrderedSet } from 'immutable'; import { Formatted...
src/ActiveBets.js
Ethbet/ethbet
import React, { Component } from 'react'; class ActiveBets extends Component { render() { return ( <div className="col-lg-4"> <div className="well"> <legend>Active Bets</legend> {/*<div className="bet"> ...
src/components/pages/NotFoundPage.js
mm-taigarevolution/tas_web_app
import React from 'react'; import { Link } from 'react-router-dom'; const NotFoundPage = () => { return ( <div> <h4> 404 Page Not Found </h4> <Link to="/"> Go back to homepage </Link> </div> ); }; export default NotFoundPage;
src/components/Game/Game.js
murrayjbrown/react-redux-rxjs-stampit-babylon-universal
import React from 'react'; import classes from './Game.scss'; export const Game = (props) => ( <div> <div className={classes.gameContainer}> <canvas className={classes['game']} ref={(c) => props.refCanvas(c)} /> </div> <button className="btn btn-default" onClick={props.bgColourize}> Colourize...
ajax/libs/angular-google-maps/1.0.16/angular-google-maps.js
barcadictni/cdnjs
/*! angular-google-maps 1.0.16 2014-03-26 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ (function() { angular.element(document).ready(function() { if (!(google || (typeof google !== "undefined" && google !== null ? google.maps : void 0) || (google.maps....
ajax/libs/formsy-react/0.13.1/formsy-react.js
menuka94/cdnjs
!function(t,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(require("react")):"function"==typeof define&&define.amd?define(["react"],i):"object"==typeof exports?exports.Formsy=i(require("react")):t.Formsy=i(t.react)}(this,function(t){return function(t){function i(r){if(e[r])return e[r].exports;var...
app/javascript/mastodon/features/compose/containers/warning_container.js
koba-lab/mastodon
import React from 'react'; import { connect } from 'react-redux'; import Warning from '../components/warning'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { me } from '../../../initial_state'; const buildHashtagRE = () => { try { const HASHTAG_SEPARATORS = '_\\u00b7\...
app/javascript/mastodon/features/compose/components/upload.js
salvadorpla/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import Motion from '../../ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { defineMessages, injec...
client/tests/documentComponents/documentRole.spec.js
FlevianK/cp2-document-management-system
import expect from 'expect'; import React from 'react'; import { DocumentRole } from '../../src/components/document/DocumentRole'; import { shallow } from 'enzyme'; describe('role documents component', () => { const props = { actions: { loadDoc: () => Promise.resolve(), loadRoleDocuments: () => Promi...
node_modules/react/lib/ReactCSSTransitionGroupChild.js
meetdheeraj/NewsAggregator
/** * 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 directory. * * @providesModu...
docs/src/app/components/pages/components/Table/ExampleSimple.js
igorbt/material-ui
import React from 'react'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn, } from 'material-ui/Table'; /** * A simple table demonstrating the hierarchy of the `Table` component and its sub-components. */ const TableExampleSimple = () => ( <Table> <TableHeader> ...
node_modules/react/node_modules/fbjs/node_modules/core-js/library/modules/es6.promise.js
maxdobeck/meteor-simple-todos
'use strict'; var $ = require('./$') , LIBRARY = require('./$.library') , global = require('./$.global') , ctx = require('./$.ctx') , classof = require('./$.classof') , $export = require('./$.export') , isObject = require('./$.is-object') , anObject = require('./$.an-objec...
ajax/libs/rxjs/2.2.20/rx.compat.js
BobbieBel/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
src/index.js
illuminos/SOLitude
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; // ES6 import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import ReduxPromise from 'redux-promise'; import reducers from './reducers'; import { BrowserRouter as Router, Rout...
examples/src/components/ValuesAsNumbersField.js
pdrko/react-select
import React from 'react'; import Select from 'react-select'; function logChange() { console.log.apply(console, [].concat(['Select value changed:'], Array.prototype.slice.apply(arguments))); } var ValuesAsNumbersField = React.createClass({ displayName: 'ValuesAsNumbersField', propTypes: { label: React.PropTypes....
src/svg-icons/av/volume-mute.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvVolumeMute = (props) => ( <SvgIcon {...props}> <path d="M7 9v6h4l5 5V4l-5 5H7z"/> </SvgIcon> ); AvVolumeMute = pure(AvVolumeMute); AvVolumeMute.displayName = 'AvVolumeMute'; AvVolumeMute.muiName = 'SvgIcon'...
ajax/libs/react-is/0.0.0-experimental-a44a7a2a3-20211111/cjs/react-is.development.js
cdnjs/cdnjs
/** @license React vundefined * react-is.development.js * * 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. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (function() ...
client/components/bulk-select/test/index.js
allendav/wp-calypso
/** * External dependencies */ import { assert } from 'chai'; import React from 'react'; import { shallow } from 'enzyme'; import noop from 'lodash/noop'; /** * Internal dependencies */ import BulkSelect from '../index'; describe( 'index', function() { require( 'test/helpers/use-fake-dom' )(); it( 'should have ...
ajax/libs/rxjs/2.2.22/rx.lite.js
cloudrifles/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/components/App.js
muiradams/plantogo
import React, { Component } from 'react'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import injectTapEventPlugin from 'react-tap-event-plugin'; import LoadingSpinner from './LoadingSpinner'; // Required for material-ui buttons injectTap...
composites/Plugin/Shared/components/LanguageNotice.js
Yoast/yoast-components
/* External dependencies */ import React, { PureComponent } from "react"; import PropTypes from "prop-types"; import styled from "styled-components"; import { __, sprintf } from "@wordpress/i18n"; import interpolateComponents from "interpolate-components"; /* Internal dependencies */ import { makeOutboundLink } from "...
src/app/components/content-blocks/ProjectTeaser.js
honzachalupa/portfolio2017
import React, { Component } from 'react'; import Button from './../Button'; export default class ProjectTeaser extends Component { render() { const { id, name, description, url, previewImage, previewImageMobile, gallery, livePreviewAllowed, developmentStage, type, company, addedDate, tags } = t...
ajax/libs/yui/3.5.1/event-focus/event-focus-debug.js
mikaelbr/cdnjs
YUI.add('event-focus', function(Y) { /** * 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 = YLang.isFunction( Y...
packages/web/examples/ssr/pages/querystring.js
appbaseio/reactivesearch
import React, { Component } from 'react'; import { ReactiveBase, SingleRange, SelectedFilters, ReactiveList, } from '@appbaseio/reactivesearch'; import PropTypes from 'prop-types'; import initReactivesearch from '@appbaseio/reactivesearch/lib/server'; import Layout from '../components/Layout'; import BookCard fro...
client/modules/App/components/DevTools.js
Parinaaz/TempApplication17
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-w" > <LogMonitor /> ...
client/src/components/City.js
kanissimov/meteo-demo
import React from 'react'; export default ({ city, onRemove, onSelect, selected }) => { const { id } = city; const classes = selected ? 'blue-grey active' : 'blue-grey lighten-3'; return ( <div className={`card ${classes}`}> <div className="card-content white-text" onClick={() => onSelect(id)}> ...
src/svg-icons/av/replay-5.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvReplay5 = (props) => ( <SvgIcon {...props}> <path d="M12 5V1L7 6l5 5V7c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6H4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8zm-1.3 8.9l.2-2.2h2.4v.7h-1.7l-.1.9s.1 0 .1-.1.1 0 .1-.1.1 0 .2...
packages/mineral-ui-icons/src/IconMarkunreadMailbox.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 IconMarkunreadMailbox(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {......
0010-lifecycle/app/src/index.js
davidwparker/programmingtil-react
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
packages/idyll-components/src/select.js
idyll-lang/idyll
import React from 'react'; const ReactDOM = require('react-dom'); class Select extends React.PureComponent { constructor(props) { super(props); this.onChange = this.onChange.bind(this); } onChange(e) { this.props.updateProps({ value: e.target.value }); } render() { const { idyll, hasError, ...
blueprints/dumb/files/__root__/components/__name__/__name__.js
cluk3/SkyProgrammingTest
import React from 'react' type Props = { }; export class <%= pascalEntityName %> extends React.Component { props: Props; render () { return ( <div></div> ) } } export default <%= pascalEntityName %>
ajax/libs/forerunnerdb/1.3.578/fdb-core+views.js
sufuf3/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...
src/pages/Application/ApplicationToggle.js
BoilerMake/frontend
import React from 'react'; import { changeApplicationFieldValue } from '../../actions/application'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; const ApplicationToggle = ({changeApplicationFieldValue, field, applicationForm, disabled, isLoading, styles}) => <span className="c...
Console/app/node_modules/antd/es/carousel/index.js
RisenEsports/RisenEsports.github.io
import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/i...
chrome/extension/todoapp.js
altany/react-new-tab-chrome-extension
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import Root from '../../app/containers/Root'; import createStore from '../../app/store/configureStore'; import './todoapp.css'; chrome.storage.sync.get('state', (obj) => { const { state } = obj; const initialState ...
app/javascript/mastodon/components/status.js
corzntin/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import Avatar from './avatar'; import AvatarOverlay from './avatar_overlay'; import RelativeTimestamp from './relative_timestamp'; import DisplayName from './display_name'; import StatusContent fro...
Tools/Mirrorator/index.ios.js
Estimote/iOS-Mirror-SDK
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import _ from 'lodash' import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, TextInput, View, Button, NativeModules, SectionList, FlatList, Dimensions, Slider, NativeEventEmitter ...
src/svg-icons/image/brightness-2.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBrightness2 = (props) => ( <SvgIcon {...props}> <path d="M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2z"/> </SvgIcon> ); I...
src/svg-icons/hardware/speaker-group.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareSpeakerGroup = (props) => ( <SvgIcon {...props}> <path d="M18.2 1H9.8C8.81 1 8 1.81 8 2.8v14.4c0 .99.81 1.79 1.8 1.79l8.4.01c.99 0 1.8-.81 1.8-1.8V2.8c0-.99-.81-1.8-1.8-1.8zM14 3c1.1 0 2 .89 2 2s-.9 2-2...
ajax/libs/F2/1.3.3/f2.min.js
bsquochoaidownloadfolders/cdnjs
/*! F2 - v1.3.3 - 04-07-2014 - See below for copyright and license */ !function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! 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 obt...
modules/react-router-2.5.2/examples/dynamic-segments/app.js
nanyou-environment/enBackEnd
import React from 'react' import { render } from 'react-dom' import { browserHistory, Router, Route, Link, Redirect } from 'react-router' const App = ({ children }) => ( <div> <ul> <li><Link to="/user/123" activeClassName="active">Bob</Link></li> <li><Link to="/user/abc" activeClassName="active">Sall...
src/svg-icons/communication/ring-volume.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationRingVolume = (props) => ( <SvgIcon {...props}> <path d="M23.71 16.67C20.66 13.78 16.54 12 12 12 7.46 12 3.34 13.78.29 16.67c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l2.48 2.48c.18.18.43.29.71.29.27 0...
examples/flux-chat/js/app.js
mandaltapesh/flux
/** * 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...
packages/material-ui-icons/src/SystemUpdateAltSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 16l4-4h-3V3h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V4.99h6V3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 13l4-4h-3V3h-2v9H8l4 4zM23 3h-8v1.99h6v14.03H3V4.99h6V3H1v18h22V3z...
ajax/libs/yasqe/1.3.0/yasqe.min.js
taydakov/cdnjs
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,i,r){function n(s,a){if(!i[s]){if(!...
vendor/jquery/jquery.min.js
ludwigwittgenstein2/ludwigwittgenstein2.github.io
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fu...
examples/piechart/index.js
joshblack/react-d3
import React from 'react'; import App from './components/App'; window.React = React; React.render( <App />, document.getElementById('root') );
App/ui/components/Grid/components/Row.js
CaipiLabs/caipi
/* * Copyright (c) 2018. Wise Wild Web * * This File is part of Caipi and under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License * Full license at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode * * @author : Nathanael Braun * @contact : caipilabs@gmail.com...
ui/jq.ui.js
jekey/appframework
(function ($) { var cache = []; var objId=function(obj){ if(!obj.jqmCSS3AnimateId) obj.jqmCSS3AnimateId=$.uuid(); return obj.jqmCSS3AnimateId; } var getEl=function(elID){ if (typeof elID == "string" || elID instanceof String) { return document.getElementById(e...
client/components/App.js
nb256/kanbanello
import React from 'react'; import NavigationBar from '../pages/NavigationBar'; import Content from '../pages/Content'; class App extends React.Component { render() { return ( <div className="w3-container"> <NavigationBar /> <Content /> </div> ); } } export default App;
ajax/libs/asynquence-contrib/0.5.2-c/contrib.js
jonobr1/cdnjs
/*! asynquence-contrib v0.5.2-c (c) Kyle Simpson MIT License: http://getify.mit-license.org */ !function(n,e){"undefined"!=typeof module&&module.exports?(module.exports=function t(n){if("string"==typeof n)try{n=require(n)}catch(r){return t}return e(n)},"string"==typeof n&&(module.exports=module.exports(require(...
fields/types/localfiles/LocalFilesField.js
dhiles/keystuff
var _ = require('underscore'), $ = require('jquery'), bytes = require('bytes'), React = require('react'), Field = require('../Field'); var ICON_EXTS = [ 'aac', 'ai', 'aiff', 'avi', 'bmp', 'c', 'cpp', 'css', 'dat', 'dmg', 'doc', 'dotx', 'dwg', 'dxf', 'eps', 'exe', 'flv', 'gif', 'h', 'hpp', 'html', 'ics', ...
node_modules/@material-ui/core/es/internal/svg-icons/IndeterminateCheckBox.js
pcclarke/civ-techs
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon(React.createElement("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z" }), 'IndeterminateCheckBox');
src/ModalBody.js
reactstrap/reactstrap
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules, tagPropType } from './utils'; const propTypes = { tag: tagPropType, className: PropTypes.string, cssModule: PropTypes.object, }; const defaultProps = { tag: 'div', }; const ModalBody ...