path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
pages/api/checkbox.js
allanalexandre/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './checkbox.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;
include/javascript/yui/build/container/container.js
KhyberPass/SuiteCRM
/* 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...
server/sonar-web/src/main/js/apps/background-tasks/app.js
KoushikdMS/sonarqube
import React from 'react'; import Main from './main'; export default { start (options) { var el = document.querySelector(options.el); React.render(<Main/>, el); } };
ajax/libs/react-native-web/0.11.5/exports/KeyboardAvoidingView/index.js
cdnjs/cdnjs
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return O...
node_modules/react-router/es/RouterContext.js
NickingMeSpace/questionnaire
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 _typeof = typeof Symbol === "function" && typeof Symbol.i...
demo/app/components/QRScannerView.js
MarnoDev/AC-QRCode-RN
import React, { Component } from 'react'; import { StyleSheet, View, Animated, Easing, Text, Image, AppState, } from 'react-native'; import PropTypes from 'prop-types'; import { RNCamera } from 'react-native-camera'; const defaultRectStyle = { height: 300, width: 300, borderWidth: 0, borderColor: '#00000...
ajax/libs/flocks.js/0.14.2/flocks.min.js
sajochiu/cdnjs
if("undefined"==typeof React)var React=require("react");!function(){"use strict";function j(a,b){"string"==typeof a?s(a,["warn","debug","error","log","info","exception","assert"])?console[a]("Flocks2 ["+a+"] "+b.toString()):console.log("Flocks2 [Unknown level] "+b.toString()):void 0===h.flocks_config?console.log("Flock...
ajax/libs/6to5/1.12.5/browser-polyfill.js
ram-nadella/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...
test/bigtest/helpers/DummyComponent.js
folio-org/ui-users
import React, { Component } from 'react'; export default class DummyApp extends Component { render() { return (<h1>Future of libraries is open!!</h1>); } }
src/svg-icons/action/euro-symbol.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionEuroSymbol = (props) => ( <SvgIcon {...props}> <path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 ...
docs/static/js/17.dd26d8c0.chunk.js
yurizhang/ishow
webpackJsonp([17],{201:function(n,e,t){var o=t(215);"string"===typeof o&&(o=[[n.i,o,""]]);var i={hmr:!1};i.transform=void 0;t(193)(o,i);o.locals&&(n.exports=o.locals)},202:function(n,e,t){"use strict";function o(n){p=n}function i(n,e){for(var t=n.split("."),o=p,i=0,a=t.length;i<a;i++){var r=t[i],l=o[r];if(i===a-1)retur...
ajax/libs/muse-ui/3.0.0-rc.3/muse-ui.common.js
cdnjs/cdnjs
/* muse-ui myron.liu version 3.0.0-rc.3 */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var Vue = _interopDefault(require('vue')); var red50 = '#ffebee'; var red100 = '#ffcdd2'; var red200 = '#ef9a9a'; var red300 = '#e57373'; var red...
blueocean-material-icons/src/js/components/svg-icons/notification/folder-special.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const NotificationFolderSpecial = (props) => ( <SvgIcon {...props}> <path d="M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24...
local-cli/templates/HelloNavigation/components/ListItem.js
Ehesp/react-native
'use strict'; import React, { Component } from 'react'; import { Platform, StyleSheet, Text, TouchableHighlight, TouchableNativeFeedback, View, } from 'react-native'; /** * Renders the right type of Touchable for the list item, based on platform. */ const Touchable = ({onPress, children}) => { const c...
js/components/home/index.js
d3ming/kronos
import React, { Component } from 'react'; import { TouchableOpacity } from 'react-native'; import { connect } from 'react-redux'; import { Actions } from 'react-native-router-flux'; import { Container, Header, Title, Content, Text, Button, Icon, Left, Body } from 'native-base'; import { Grid, Row } from 'react-native-...
src/client/components/profile/ProfileInput.component.js
DBCDK/content-first
import React from 'react'; import T from '../base/T'; export class ProfileInput extends React.Component { render() { const handleChange = e => { this.props.onInputChange(e.target.value); }; return ( <input className="form-control mb3 profile__mobileinputfield" type="text" ...
pages/contact/index.js
pcm-ca/pcm-ca.github.io
import React from 'react' import { Link } from 'react-router' import Helmet from 'react-helmet' import { config } from 'config' import { prefixLink } from 'gatsby-helpers' export default class Index extends React.Component { render() { return ( <div> <Helmet title={config.siteTitle + ' | contact'}...
ajax/libs/vuetify/1.1.0-alpha.6/vuetify.min.js
seogi1004/cdnjs
/*! * Vuetify v1.1.0-alpha.6 * Forged by John Leider * Released under the MIT License. */ !(function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.Vuetify=e(require("vue")):t.Vuetify=e...
stories/Badge.js
Talend/react-talend-components
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import { Badge, IconsProvider } from '../src/'; const style = { maxWidth: '260px' }; storiesOf('Badge', module) .addWithInfo('default', () => ( <section> <IconsProvider /> <div id="default"> <Badge label="Option 1" tcStyle...
src/browser/components/Title.js
sikhote/davidsinclair
// @flow import Helmet from 'react-helmet'; import React from 'react'; import { injectIntl } from 'react-intl'; type TitleProps = {| intl: $IntlShape, message: string | Object, values?: Object, |}; const Title = ({ intl, message, values }: TitleProps) => ( typeof message === 'string' ? <Helmet title={mess...
node_modules/bs-recipes/recipes/gulp.pug/gulpfile.js
TheRealVira/Angular2_Example
var gulp = require('gulp'); var browserSync = require('browser-sync'); var sass = require('gulp-sass'); var pug = require('gulp-pug'); var reload = browserSync.reload; /** * Compile pug files into HTML */ gulp.task('templates', function() { var YOUR_LOCALS = { "message": "This...
src/layouts/CoreLayout/CoreLayout.js
atomdmac/roc-game-dev-gallery
import React from 'react' import Header from '../../components/Header' import './CoreLayout.scss' import '../../styles/core.scss' export const CoreLayout = ({ children }) => ( <div className='container'> <Header /> <div className='core-layout__viewport'> {children} </div> </div> ) CoreLayout.pro...
ajax/libs/react-motion-ui-pack/0.2.2/react-motion-ui-pack.js
BenjaminVanRyseghem/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("React"), require("ReactMotion"), require("Measure")); else if(typeof define === 'function' && define.amd) define(["React", "ReactMotion", "Measure"], factory)...
node_modules/@material-ui/core/es/GridListTileBar/GridListTileBar.js
pcclarke/civ-techs
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; export const styles = theme => ({...
src/app.js
dhis2/datim-data-export-log
if (process.env.NODE_ENV !== 'production') { jQuery.ajaxSetup({ headers: { Authorization: 'Basic ' + btoa('admin:district'), }, }); } import 'babel-polyfill'; import 'd2-ui/scss/DataTable.scss'; import React from 'react'; import {render, findDOMNode} from 'react-dom'; import HeaderB...
newclient/scripts/components/editor/editor-button/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your ...
react/src/ProtectedRoute.js
gschrader/ratpack-react-boilerplate
import React from 'react'; import {Route, Redirect} from 'react-router-dom'; import {AuthConsumer} from './AuthContext'; const ProtectedRoute = ({component: Component, ...rest}) => ( <AuthConsumer> {({isAuth}) => ( <Route render={props => isAuth ? <Component {...props} /> : <Red...
js/libs/jquery/jquery-1.8.2.min.js
nitram509/teamwall
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d===...
ajax/libs/clappr/0.0.8/clappr.js
boneskull/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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
shared/tests/components.spec.js
kizzlebot/music_dev
import expect from 'expect'; import TestUtils from 'react-addons-test-utils'; import PostListItem from '../components/Posts/PostListItem'; import PostCreateView from '../components/Posts/PostCreateView'; import React from 'react'; import expectJSX from 'expect-jsx'; import { Link } from 'react-router'; expect.extend(e...
web/demo/client/src/layout/components/header/index.js
yinweiwen/study
/** * Created by liu.xinyi * on 2016/3/31. */ 'use strict'; import React from 'react'; import { Menu, Icon, Badge, Row, Col } from 'antd'; import { Link } from 'react-router'; export default class Header extends React.Component { constructor(props) { super(props); } render() { const...
tests/components/Header/Header.spec.js
aurel-tackoen/spencer.io
import React from 'react' import { Header } from 'components/Header/Header' import classes from 'components/Header/Header.scss' import { IndexLink, Link } from 'react-router' import { shallow } from 'enzyme' describe('(Component) Header', () => { let _wrapper beforeEach(() => { _wrapper = shallow(<Header/>) ...
src/media/js/addon/components/subnav.js
mozilla/marketplace-content-tools
import React from 'react'; import {Subnav} from '../../site/components/subnav'; import {SubnavItem} from '../../site/components/subnavItem'; import {ADDON_REVIEW} from '../../site/constants/login'; export default class AddonSubnav extends React.Component { static propTypes = { user: React.PropTypes.object, }...
packages/material-ui/src/internal/svg-icons/Cancel.js
Kagami/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; /** * @ignore - internal component. */ let Cancel = props => ( <SvgIcon {...props}> <path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7...
static/js/message_list_view.js
timabbott/zulip
const util = require("./util"); const rendered_markdown = require('./rendered_markdown'); const render_bookend = require('../templates/bookend.hbs'); const render_message_group = require('../templates/message_group.hbs'); const render_recipient_row = require('../templates/recipient_row.hbs'); const render_single_messag...
components/time_picker/TimePicker.js
rubenmoya/react-toolbox
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { themr } from 'react-css-themr'; import { TIME_PICKER } from '../identifiers'; import events from '../utils/events'; import time from '../utils/time'; import InjectDialog from '../dialog/Dialog'; i...
src/index.js
dennisdijkstra/tic-tac-toe
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
app/routes.js
ADI-Labs/calendar-web
import React from 'react' import { Route, Redirect, IndexRoute } from 'react-router' /* Pages */ import Home from 'pages/Home' import NotFound from 'pages/NotFound' // Needs to be reactified in order to be used as a prop for othe things. export default ( <Route path="/"> <IndexRoute component={ Home } /> <R...
ajax/libs/material-ui/5.0.0-alpha.37/modern/SwipeableDrawer/SwipeableDrawer.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["BackdropProps"], _excluded2 = ["anchor", "disableBackdropTransition", "disableDiscovery", "disableSwipeToOpen", "hideBackdrop", "hyste...
src/svg-icons/action/view-stream.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionViewStream = (props) => ( <SvgIcon {...props}> <path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z"/> </SvgIcon> ); ActionViewStream = pure(ActionViewStream); ActionViewStream.displayName = 'ActionViewStream'; Acti...
fields/types/localfiles/LocalFilesField.js
michaelerobertsjr/keystone
import _ from 'lodash'; import bytes from 'bytes'; import Field from '../Field'; import React from 'react'; import { Button, FormField, FormInput, FormNote } from 'elemental'; const ICON_EXTS = [ 'aac', 'ai', 'aiff', 'avi', 'bmp', 'c', 'cpp', 'css', 'dat', 'dmg', 'doc', 'dotx', 'dwg', 'dxf', 'eps', 'exe', 'flv', 'gif...
js/reducers/appnav.js
ldarren/CookIdeas
import {NavigationActions} from 'react-navigation' import createReducer from '../lib/createReducer' import * as types from '../actions/types' import {AppNav} from '../containers/App' export const tab= createReducer({ index:0, routes:[ {key:'search', routeName:'Search'}, {key:'favorites', routeName:'Favorites'}, ...
client/src/components/ContactUs.js
francoabaroa/happi
import React from 'react'; import { Link, withRouter } from 'react-router'; import $ from 'jquery'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import CircularProgress from 'material-ui/CircularProgress'; import LinearProgress from 'mater...
src/svg-icons/image/brightness-4.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBrightness4 = (props) => ( <SvgIcon {...props}> <path d="M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13...
packages/material-ui-icons/src/MenuRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z" ...
app/javascript/mastodon/components/dropdown_menu.js
RobertRence/Mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Dropdown, { DropdownTrigger, DropdownContent } from 'react-simple-dropdown'; import PropTypes from 'prop-types'; export default class DropdownMenu extends React.PureComponent { static contextTypes = { router: PropTypes...
react/features/base/dialog/components/DialogContent.js
jitsi/jitsi-meet
// @flow import React, { Component } from 'react'; import { Container, Text } from '../../react'; import { type StyleType } from '../../styles'; import styles from './styles'; type Props = { /** * Children of the component. */ children: string | React$Node, style: ?StyleType }; /** * Gener...
src/components/cards/assets/card-tooltip.js
vFujin/HearthLounge
import React from 'react'; import PropTypes from 'prop-types'; import {uniqueCards} from "../../../utils/deck/calculate/index"; const CardTooltip = ({card, deck}) => { const cardRarity = card.rarity; let maxAmount = cardRarity !== "Legendary" ? 2 : 1; return ( <div className="tooltip-count"> <span> ...
fields/types/select/SelectField.js
developer-prosenjit/keystone
import _ from 'underscore'; import Field from '../Field'; import React from 'react'; import Select from 'react-select'; import { FormInput } from 'elemental'; /** * TODO: * - Remove dependency on underscore * - Custom path support */ module.exports = Field.create({ displayName: 'SelectField', valueChanged (ne...
src/svg-icons/device/signal-wifi-0-bar.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalWifi0Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z"/> </SvgIcon> ); DeviceSignalWifi...
app/components/listItem/App.js
Artur93gev/React-lists
import React from 'react'; import styles from './sass/app.scss'; import { connect } from 'react-redux'; import { addToList } from '../../actions/add'; import { removeFromList } from '../../actions/remove'; import { updateListItemValue } from '../../actions/update'; import { ITEMTYPES as itemTypes } from './constants/in...
ajax/libs/rxjs/2.3.3/rx.lite.js
j0k3r/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...
client/node_modules/uu5g03/dist-node/common/vuc-mixin.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import Loading from '../bricks/loading.js'; import Lsi from '../bricks/lsi.js'; import Error from '../bricks/error.js'; import Tools from './tools.js'; import Environment from '../environment/environment.js'; export const VucMixin = { //@@viewOn:mixins mixins: [], //@@viewOff:mixins ...
src/components/authors/AuthorsPage.js
alxeg/flibooks-web-react
import React from 'react'; import PropTypes from 'prop-types'; import { withRouter } from 'react-router-dom'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import * as flibooksActions from '../../actions/flibooksActions'; import Highlight from 'react-highlighter'; import Avatar from ...
ajax/libs/material-ui/5.0.0-beta.5/SwipeableDrawer/SwipeArea.min.js
cdnjs/cdnjs
import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import _extends from"@babel/runtime/helpers/esm/extends";const _excluded=["anchor","classes","className","width","style"];import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import styled ...
js/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js
BSDStudios/parity
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any lat...
src/components/DeveloperMenu.android.js
apoi/kahvi
import React from 'react'; import * as snapshot from '../utils/snapshot'; import * as auth0 from '../services/auth0'; import { View, Text, TouchableOpacity, StyleSheet } from 'react-native'; /** * Simple developer menu, which allows e.g. to clear the app state. * It can be accessed through a tiny button in ...
react/features/recording/components/Recording/web/StartRecordingDialog.js
bgrozev/jitsi-meet
// @flow import React from 'react'; import { translate } from '../../../../base/i18n'; import { Dialog } from '../../../../base/dialog'; import { connect } from '../../../../base/redux'; import AbstractStartRecordingDialog, { mapStateToProps } from '../AbstractStartRecordingDialog'; import StartRecordingDialogCo...
src/DataGrid.js
jpdevries/a11y-datagrid
import React, { Component } from 'react'; import store from './model/store'; import * as actions from './model/actions'; import DataGridRow from './DataGridRow'; export default class DataGrid extends Component { constructor(props) { super(props); /*this.state = { checkedSettings: [] }*/ } c...
app/javascript/mastodon/containers/mastodon.js
anon5r/mastonon
import React from 'react'; import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { showOnboardingOnce } from '../actions/onboarding'; import { BrowserRouter, Route } from 'react-router-dom'; import { ScrollContext } from 'react-router-sc...
ajax/libs/video.js/5.0.0-rc.92/alt/video.novtt.js
Teino1978-Corp/Teino1978-Corp-cdnjs
/** * @license * Video.js 5.0.0-rc.92 <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> */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports...
actor-apps/app-web/src/app/components/sidebar/RecentSection.react.js
supertanglang/actor-platform
import _ from 'lodash'; import React from 'react'; import { Styles, RaisedButton } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import DialogActionCreators from 'actions/DialogActionCreators'; import DialogStore from 'stores/DialogStore'; import CreateGroupActionCreators from 'actions/CreateGro...
docs/app/client.js
tercenya/compendium
import CodeMirror from 'codemirror'; import 'codemirror/addon/runmode/runmode'; import 'codemirror/mode/jsx/jsx'; import { browserHistory } from 'react-router' import React from 'react'; import ReactDOM from 'react-dom'; import {Router} from 'react-router'; import Root from './src/Root'; import routes from './src/Rou...
client/extensions/woocommerce/components/order-status/test/index.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React from 'react'; import { expect } from 'chai'; import { identity } from 'lodash'; import { shallow } from 'enzyme'; /** * Internal dependencies */ import { OrderStatus } from '../'; describe( 'OrderStatus', () => { test( 'should render a label with shipp...
classic/src/scenes/wbfa/generated/FARStar.pro.js
wavebox/waveboxapp
import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faStar } from '@fortawesome/pro-regular-svg-icons/faStar' export default class FARStar extends React.Component { render () { return (<FontAwesomeIcon {...this.props} icon={faStar} />) } }
ajax/libs/mobx-react/7.0.6/mobxreact.esm.development.js
cdnjs/cdnjs
import { Reaction, _allowStateChanges, _allowStateReadsStart, _allowStateReadsEnd, $mobx, createAtom, untracked, isObservableMap, isObservableObject, isObservableArray, observable } from 'mobx'; import React__default, { PureComponent, Component, forwardRef, memo, createElement } from 'react'; import { isUsingStaticRend...
packages/material-ui-icons/src/AddAlarmRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15 12h-2v-2c0-.55-.45-1-1-1s-1 .45-1 1v2H9c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1zm6.18-6.99L18.1 2.45c-.42-.35-1.05-.3-1.41.13-.35.42-.29 1.05.13 1.4...
codes/chapter05/react-router-v4/basic/demo03/app/index.js
atlantis1024/react-step-by-step
import React from 'react'; import ReactDOM from 'react-dom'; import Routes from './routes'; ReactDOM.render((<Routes/>), document.getElementById("root"));
client/src/containers/MainTextContainer.js
Subzidion/riveter
import React, { Component } from 'react' import { connect } from 'react-redux' import { evaluateText } from '../actions' import TextArea from '../components/TextArea' import RaisedButton from 'material-ui/RaisedButton' import * as styles from '../components/styles' const mapStateToProps = function(state) { return { ...
src/components/Link/Link.js
0xcdc/rfb-client-app
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
ajax/libs/react-dom/16.3.0-rc.0/umd/react-dom-server.browser.production.min.js
holtkamp/cdnjs
/** @license React v16.3.0-rc.0 * react-dom-server.browser.production.min.js * * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';(function(u,t){"object"===typeof exports&&"unde...
webpack/scenes/RedHatRepositories/components/EnabledRepository/EnabledRepositoryContent.js
mccun934/katello
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { Spinner, OverlayTrigger, Tooltip } from 'patternfly-react'; import { translate as __ } from 'foremanReact/common/I18n'; const EnabledRepositoryContent = ({ loading, disableTooltipId, disableRepository }) => ( <Spinne...
src/RandomizeNodePositions.js
dunnock/react-sigma
// @flow import React from 'react' import { embedProps } from './tools' const randomSeed = Math.random() * 10001 type Props = { children?: mixed, sigma?: sigma, seed?: number } /** RandomizeNodePositions component, sets random positions to all nodes. Can be used within Sigma component with predefined graph o...
src/svg-icons/device/gps-fixed.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceGpsFixed = (props) => ( <SvgIcon {...props}> <path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.1...
client/containers/App.spec.js
karuppiah7890/Mail-for-Good
import React from 'react'; import { shallow } from 'enzyme'; import { expect } from 'chai'; import { AppComponent } from './App'; const mockProps = ( overrides) => ({ // eslint-disable-line no-unused-vars children: <div />, user: {}, ws_notification: [], isGettingActivePermissions: true, activePermissionsEm...
ajax/libs/algoliasearch/3.26.0/algoliasearch.js
seogi1004/cdnjs
/*! algoliasearch 3.26.0 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ (function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o...
src/containers/Asians/TabControls/AdjudicatorTest/ViewAdjudicatorTest/1_AdjudicatorTestMotion/ViewAdjudicatorTestMotion.js
westoncolemanl/tabbr-web
import React from 'react' import { connect } from 'react-redux' import Card, { CardContent, CardActions } from 'material-ui/Card' import Button from 'material-ui/Button' export default connect(mapStateToProps)(({ adjudicatorTest, onChangeEdit }) => <Card> <CardContent> {`Theme: ${adjudicatorTest[0...
src/clincoded/static/components/experimental_curation.js
ClinGen/clincoded
'use strict'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; import _ from 'underscore'; import moment from 'moment'; import url from 'url'; import { curator_page, content_views, history_views, queryKeyValue, dbxref_prefix_map, external_u...
website-prototyping-tools/playground.js
xuorig/relay
/** * 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. */ import 'ba...
ajax/libs/formsy-react/0.10.1/formsy-react.js
kiwi89/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/components/ui/loader.js
WHCIBoys/nitpik-web
import React from 'react'; import { centerContainer, red } from '../../constants/styles'; const Loader = () => { return ( <div className="qa-loader" style={centerContainer}> <i style={styles.base} className="fa fa-2x fa-spinner fa-pulse"/> </div> ); }; const styles = { base: { color: red...
examples/universal/server/server.js
ggerrietts/redux
/* eslint-disable no-console, no-use-before-define */ import path from 'path'; import Express from 'express'; import qs from 'qs'; import React from 'react'; import { Provider } from 'react-redux'; import configureStore from '../common/store/configureStore'; import App from '../common/containers/App'; import { fetch...
entry_types/scrolled/package/src/frontend/AudioPlayerControls.js
codevise/pageflow
import React from 'react'; import {MediaPlayerControls} from './MediaPlayerControls'; export function AudioPlayerControls({audioFile, ...props}) { return ( <MediaPlayerControls {...props} file={audioFile} /> ); }
client/src/components/dashboard/Profile/Public/FCCTables.js
no-stack-dub-sack/alumni-network
import { hoverTransition } from '../../../../styles/style-utils'; import { Popup } from 'semantic-ui-react'; import propTypes from 'prop-types'; import React from 'react'; import styled from 'styled-components'; import Table from './Table'; import TableRow from './TableRow'; const URL = "https://freecodecamp.org/"; c...
ajax/libs/js-data/0.2.0/js-data.js
Dervisevic/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file js-data.js * @version 0.2.0 - 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"!=typeof ...
src/components/Blog.js
slkjse9/slkjse9.github.io
import React from 'react'; import { Route } from 'react-router-dom'; import BlogLink from './forms/blog/BlogLink'; import BlogRoute from './forms/blog/BlogRoute'; class Blog extends React.Component { render() { return ( <div className="content-blog"> <Route exact path="/posts" component={BlogLink}...
ajax/libs/forerunnerdb/1.3.60/fdb-core+views.min.js
bootcdn/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...
app/javascript/mastodon/features/ui/index.js
pointlessone/mastodon
import classNames from 'classnames'; import React from 'react'; import { HotKeys } from 'react-hotkeys'; import { defineMessages, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import { Redirect, withRouter } from 'react-router-dom'; import PropTypes from 'prop-types'; import NotificationsContai...
src/components/AboutBlock/AboutBlock.js
Zoomdata/nhtsa-dashboard-2.2
import styles from './AboutBlock.css'; import React from 'react'; import AboutHeader from '../AboutHeader/AboutHeader'; import AboutDescription from '../AboutDescription/AboutDescription'; import ZDWebsiteButton from '../ZDWebsiteButton/ZDWebsiteButton'; import CloseAboutButton from '../CloseAboutButton/CloseAboutButt...
tests/routes/Counter/components/Counter.spec.js
Lukkub/knip-task
import React from 'react' import { bindActionCreators } from 'redux' import { Counter } from 'routes/Counter/components/Counter' import { shallow } from 'enzyme' describe('(Component) Counter', () => { let _props, _spies, _wrapper beforeEach(() => { _spies = {} _props = { counter : 5, ...bindA...
js/controls/KendoTimePicker.js
wingspan/wingspan-forms
import React from 'react' import DateWidgetMixin from '../mixins/DateWidgetMixin' /** * value interface is ISO-8601, with the date portion omitted. * HH:MM:SS */ const KendoTimePicker = React.createClass({ mixins: [DateWidgetMixin('kendoTimePicker')], statics: { fieldClass: function () { return 'fo...
src/interface/icons/Statistics.js
sMteX/WoWAnalyzer
import React from 'react'; // https://thenounproject.com/term/stats/1348932/ // Stats by Barracuda from the Noun Project const Icon = ({ ...other }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" className="icon" {...other}> <g transform="translate(0,-952.36218)"> <path d="m 7.0000001...
client/src/components/Draftail/blocks/MediaBlock.js
mixxorz/wagtail
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { Icon } from 'draftail'; import Tooltip from '../Tooltip/Tooltip'; import Portal from '../../Portal/Portal'; import { SelectionState, EditorState } from 'draft-js'; // Constraints the maximum size of the tooltip. const OPTIONS_MAX_W...
examples/server-side-rendering/src/browser.js
algolia/react-instantsearch
import React from 'react'; import { hydrate } from 'react-dom'; import { createApp } from './createApp'; const { App, props } = createApp(); const __APP_INITIAL_STATE__ = window.__APP_INITIAL_STATE__; delete window.__APP_INITIAL_STATE__; hydrate( <App {...props} {...__APP_INITIAL_STATE__} />, document.getElemen...
src/Parser/Warlock/Demonology/Modules/Items/Legendaries/WakenersLoyalty.js
enragednuke/WoWAnalyzer
import React from 'react'; import ITEMS from 'common/ITEMS'; import SPELLS from 'common/SPELLS'; import { formatNumber } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import AbilityTracker from 'Parser/Core/Modules/AbilityTracker'; import It...
src/components/todo/screens/TodoAdd/views/TodoAddView.js
yasavbrain/yasav
import React from 'react'; import { Container, Content, Text, Form, Item, Input, Label, Button, Icon } from 'native-base'; import { View, TextInput } from 'react-native'; import I18n from 'yasav/locales/i18n'; import Style from '../styles/style.js'; import { GenericHeader } from 'yasav/src/viewElements/shared/Header';...
sites/all/modules/contrib/jquery_update/replace/jquery/1.7/jquery.js
henrikenji/caroneiros
/*! * 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/Footer.js
ltoddy/ltoddy.github.io
import React from 'react' import ReactTooltip from 'react-tooltip' import LazyLoad from 'react-lazyload' import { StyleRoot } from 'radium' import qq from '../assets/qq.jpg' import { rubberBandOption } from './animation-config' import css from './Footer.css' const Footer = () => ( <div className={css.footer}> <...
lib/widgets/AccessRulesEditor/views/PermissionRow.js
ExtPoint/yii2-gii
import React from 'react'; import PropTypes from 'prop-types'; import Collapse from 'react-bootstrap/lib/Collapse'; import {connect} from 'react-redux'; import {Field, formValueSelector} from 'redux-form'; import {html} from 'components'; import PermissionCheckbox from './PermissionCheckbox'; import './PermissionRow....
packages/material-ui-icons/src/PlusOneOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M10 8H8v4H4v2h4v4h2v-4h4v-2h-4V8zm4.5-1.92V7.9l2.5-.5V18h2V5l-4.5 1.08z" /></g></React.Fragment> , 'PlusOneOutlined');