path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/admin/components/Profesori.js
zeljkoX/e-learning
import React from 'react'; import {State, History} from 'react-router'; import { Menu, Mixins, Styles } from 'material-ui'; import Content from '../../components/layout/Content'; import ContentHeader from '../../components/layout/ContentHeader'; import Tabela from '../../components/Tabela'; class Profesori extends Rea...
fields/types/localfile/LocalFileField.js
stosorio/keystone
import Field from '../Field'; import React from 'react'; import { Button, FormField, FormInput, FormNote } from 'elemental'; module.exports = Field.create({ shouldCollapse () { return this.props.collapse && !this.hasExisting(); }, fileFieldNode () { return this.refs.fileField.getDOMNode(); }, changeFile ()...
src/icons/font/NoteIcon.js
skystebnicki/chamel
import React from 'react'; import PropTypes from 'prop-types'; import FontIcon from '../../FontIcon'; import ThemeService from '../../styles/ChamelThemeService'; /** * Note button * * @param props * @param context * @returns {ReactDOM} * @constructor */ const NoteIcon = (props, context) => { let theme = c...
node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/app.js
prashant-andani/detectbrowser.github.io
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD * Build: http://www.modernizr.com/download/#-iepp */ ;window.Modernizr=function(a,b,c){function w(a,b){return!!~(""+a).indexOf(b)}function v(a,b){return typeof a===b}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function t(a){j.cssText=a}var d="2.0.6",e={},f=b.do...
ui/src/js/password/resetPassword/SendRequest.js
Dica-Developer/weplantaforest
import axios from 'axios'; import counterpart from 'counterpart'; import he from 'he'; import React, { Component } from 'react'; import IconButton from '../../common/components/IconButton'; import InputText from '../../common/components/InputText'; import Notification from '../../common/components/Notification'; expor...
src/react/installation/pages/Step7.component.js
formtools/core
import React, { Component } from 'react'; import { withRouter } from 'react-router-dom'; import styles from '../Layout/Layout.scss'; import Button from '../../components/Buttons'; import { NotificationPanel } from '../../components'; class Step7 extends Component { constructor (props) { super(props); this.notifi...
admin/client/App/components/Navigation/Mobile/SectionItem.js
andrewlinfoot/keystone
/** * A mobile section */ import React from 'react'; import MobileListItem from './ListItem'; import { Link } from 'react-router'; const MobileSectionItem = React.createClass({ displayName: 'MobileSectionItem', propTypes: { children: React.PropTypes.node.isRequired, className: React.PropTypes.string, curren...
wrappers/toml.js
rileyjshaw/crypto.christmas
import React from 'react' import toml from 'toml-js' import Helmet from 'react-helmet' import {config} from 'config' module.exports = React.createClass({ propTypes () { return { route: React.PropTypes.object, } }, render () { const data = this.props.route.page.data return ( <div> <Helmet tit...
src/js/components/icons/base/DocumentPowerpoint.js
codeswan/grommet
import React from 'react'; import DocumentPpt from './DocumentPpt'; export default (props) => { console.warn( 'DocumentPowerpoint has been renamed to DocumentPpt.' + ' Plese update your import statement.' ); return <DocumentPpt {...props} />; };
stories/BottomNavBar.stories.js
nekuno/client
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links' import BottomNavBar from '../src/js/components/BottomNavBar/BottomNavBar.js'; storiesOf('BottomNavBar', module) .add('with proposals as current...
src/svg-icons/device/battery-std.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryStd = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/> </SvgIcon> ); D...
app/javascript/mastodon/components/__tests__/avatar-test.js
cybrespace/mastodon
import React from 'react'; import renderer from 'react-test-renderer'; import { fromJS } from 'immutable'; import Avatar from '../avatar'; describe('<Avatar />', () => { const account = fromJS({ username: 'alice', acct: 'alice', display_name: 'Alice', avatar: '/animated/alice.gif', avatar_static:...
files/react/0.13.1/JSXTransformer.js
unpete/jsdelivr
/** * JSXTransformer v0.13.1 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g...
index.es6.js
hemanth/react-mui-base
'use strict'; import React from 'react'; import {Styles} from 'material-ui'; import injectTapEventPlugin from 'react-tap-event-plugin'; injectTapEventPlugin(); let ThemeManager = new Styles.ThemeManager(); export default class BaseComponent extends React.Component { constructor () { super(); } getChildConte...
src/containers/RefreshContainer.js
TorinoMeteo/tm-realtime-map
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import RealtimeApi from 'api/realtime' import moment from 'moment' class Refresh extends React.Component { static propTypes = { onRefresh: PropTypes.func.isRequired } constructor () { super() this.inte...
src/svg-icons/toggle/radio-button-unchecked.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleRadioButtonUnchecked = (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-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/> </SvgIco...
ajax/libs/elfinder/2.1.6/js/i18n/elfinder.nl.js
dada0423/cdnjs
/** * Dutch translation * @author Barry vd. Heuvel <barry@fruitcakestudio.nl> * @version 2015-12-01 */ if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') { elFinder.prototype.i18.nl = { translator : 'Barry vd. Heuvel &lt;barry@fruitcakestudio.nl&gt;', language : 'Nederlands', ...
packages/accounts-base/accounts_client.js
esteedqueen/meteor
// @summary Constructor for AccountsClient instances. Available only on // the client for now, though server code might also want to // create a client connection to an accounts server. // @locus Client // @param options {Object} an object with fields: // - connection {Object} Optional DDP connection ...
src/svg-icons/editor/border-clear.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderClear = (props) => ( <SvgIcon {...props}> <path d="M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v...
src/views/letterhead.js
planigan/resource-center
import _ from 'lodash' import React from 'react' import LetterheadCard from '../components/letterheadCard' import { letterheadData } from '../data/letterheadData' import { Helmet } from 'react-helmet' const Letterhead = () => { return ( <div className='container'> <Helmet> <title>Letterhead | Resou...
app/js/components/FormFrameModal.js
niksoc/srmconnect
import React from 'react'; import GenericModal from './common/GenericModal'; import FormFrame from './common/FormFrame'; const FormFrameModal = (props) => { const formFrame = <FormFrame src={props.src} />; const tagForm = <FormFrame height="200px" src="/api/create/tag" />; const form = <div>{formFrame}<hr...
src/routes/Search/components/EmptyResultCard.js
SurfaceW/connectify_client
import React from 'react' import { Card, CardHeader, CardText } from 'material-ui/Card' export default () => ( <Card> <CardHeader title='no result' /> <CardText> There is no result for the current state, you can click back button and keep on searching with some other words. </CardTe...
web/bundles/app/js/jquery.cleditor.min.js
mail2nisam/superApp
/* CLEditor WYSIWYG HTML Editor v1.3.0 http://premiumsoftware.net/cleditor requires jQuery v1.4.2 or later Copyright 2010, Chris Landowski, Premium Software, LLC Dual licensed under the MIT or GPL Version 2 licenses. */ (function(e){function aa(a){var b=this,c=a.target,d=e.data(c,x),h=s[d],f=h.popupName,i=p[f];if...
ReactJS/class-2017-12-03/my-app/src/header/Header.js
tahashahid/cloud-computing-2017
import React from 'react'; class Header extends React.Component { render() { return ( <div className="Header"> { this.props.data } { this.props.data1 } <br/> { this.props.data2.a + this.props.data2.b } </div> ); } } export default Header;
ajax/libs/react-native-web/0.12.2/exports/TouchableOpacity/index.min.js
cdnjs/cdnjs
"use strict";function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t}).apply(this,arguments)}function ownKeys(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Obje...
ui/src/pages/PeopleManagePage/IdentifiersViewer/SavedRow.js
LearningLocker/learninglocker
import React from 'react'; import { compose, withProps } from 'recompose'; import styled from 'styled-components'; import { withModel } from 'ui/utils/hocs'; import { identifierTypeDisplays } from '../constants'; import IfiViewer from '../IfiViewer'; import { tableDataStyle } from './tableDataStyle'; const TableData =...
node_modules/react-tools/src/core/__tests__/ReactIdentity-test.js
wongherlung/react-resizable-component
/** * 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. * * @emails react-co...
packages/react-noop-renderer/src/ReactNoopFlightServer.js
Simek/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ /** * This is a renderer of React that doesn't have a render target output. * It is useful to demonstrate the intern...
src/index.js
react-hack-night/reactSocial
// Import NPM dependencies like this: import React from 'react'; import ReactDOM from 'react-dom'; import {Grid} from 'react-bootstrap'; // Import styles like this: import './styles/main.scss'; import Main from './components/main'; import Insta from './components/instagram'; // Import dependencies like this: import G...
node_modules/react-native/Libraries/CameraRoll/CameraRoll.js
15chrjef/mobileHackerNews
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
src/views/Card/CardContent.js
aabustamante/Semantic-UI-React
import cx from 'classnames' import _ from 'lodash' import PropTypes from 'prop-types' import React from 'react' import { createShorthand, customPropTypes, getElementType, getUnhandledProps, META, useKeyOnly, } from '../../lib' import CardDescription from './CardDescription' import CardHeader from './CardHe...
src/pages/AssetsDepreciation.js
azedo/freelancer-calculator
// components/AssetsFixed.js // main imports import React, { Component } from 'react'; import { Link } from 'react-router'; // components import import AssetForm from '../components/AssetForm'; import AssetTable from '../components/AssetTable'; class AssetsFixed extends Component { render() { return ( <di...
ajax/libs/elfinder/2.1.4/js/i18n/elfinder.nl.js
BenjaminVanRyseghem/cdnjs
/** * Dutch translation * @author Barry vd. Heuvel <barry@fruitcakestudio.nl> * @version 2015-12-01 */ if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') { elFinder.prototype.i18.nl = { translator : 'Barry vd. Heuvel &lt;barry@fruitcakestudio.nl&gt;', language : 'Nederlands', ...
vgdb-frontend/src/components/grid/GridLayout.js
mattruston/idb
import React, { Component } from 'react'; import GridItem from './GridItem'; import './GridLayout.css'; /* Multiline flexible column layout for griditems */ class GridLayout extends Component { static defaultProps = { aspect: "cover" }; constructor(props) { super(props); } render(...
admin/frontend/pages/roles/list.js
latteware/marble-seed
import React from 'react' import Link from '~base/router/link' import moment from 'moment' import env from '~base/env-variables' import ListPageComponent from '~base/list-page-component' import { loggedIn } from '~base/middlewares/' import CreateRole from './create' class RoleList extends ListPageComponent { finish...
src/components/locator/components/presentational/ToggleButton.js
mgoodenough/estimator
'use strict'; /* * Module Definition * */ import React from 'react'; import Button from './Button'; /* * Class Definition * */ class ToggleButton extends React.Component { constructor(props) { super(props); this.state = { isPosition: true }; this.onClick = this.onClick.bind(this); ...
ajax/libs/rxjs/2.3.9/rx.all.js
dada0423/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...
components/press/index.js
blockstack/blockstack-site
import React from 'react' import { Box, Flex } from 'blockstack-ui' import { useHover } from 'use-events' import { transition } from '@common/theme' import { Title, Text } from '@components/section/index' import { useSectionVariant } from '@common/hooks' import ChevronRightIcon from 'mdi-react/ChevronRightIcon' import ...
src/components/app/QuickActions.js
metasfresh/metasfresh-webui-frontend
import counterpart from 'counterpart'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import Queue from 'simple-promise-queue'; import cx from 'classnames'; import { quickActionsRequest } from '../../api'; import { openModal, fetchedQuickActions...
client/src/containers/Login.js
HoussamOtarid/fb-photos-downloader
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Field, reduxForm } from 'redux-form'; import { Link } from 'react-router-dom'; import { loginUser } from '../actions/authActions'; class Login extends Component { componentWillMount() { const { authenticated } = this.props...
docs-ui/components/idBadge.stories.js
ifduyue/sentry
import React from 'react'; import {storiesOf} from '@storybook/react'; import {withInfo} from '@storybook/addon-info'; import styled from 'react-emotion'; import IdBadge from 'app/components/idBadge'; const Item = styled('div')` padding: 8px; background-color: white; border: 1px dashed #fcfcfc; margin-bottom:...
packages/material-ui-icons/src/AcUnitTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M22 11h-4.17l3.24-3.24-1.41-1.42L15 11h-2V9l4.66-4.66-1.42-1.41L13 6.17V2h-2v4.17L7.76 2.93 6.34 4.34 11 9v2H9L4.34 6.34 2.93 7.76 6.17 11H2v2h4.17l-3.24 3.24 1.41 1.42L9 13h2v2l-4.66 4.66 1.42 1.41L1...
ajax/libs/jquery/1.7.2/jquery.min.js
jish/cdnjs
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
src/components/Section.js
dtjv/dtjv.github.io
import React from 'react' import { Link } from 'gatsby' import { Container } from './Container' import { H1 } from './Headings' export const Section = ({ title, link, children, ...props }) => ( <Container {...props}> <div className="flex items-baseline justify-between"> <H1>{title}</H1> {link?.to &&...
src/index.js
soyguijarro/magic-web
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, browserHistory } from 'react-router'; import routes from './routes'; import './styles/index.css'; const router = ( <Router history={browserHistory}> {routes} </Router> ); ReactDOM.render( router, document.getElementById('root') ...
packages/react-router/modules/withRouter.js
justjavac/react-router-CN
import React from 'react' import Route from './Route' /** * A public higher-order component to access the imperative API */ const withRouter = (Component) => { const C = (props) => ( <Route render={routeComponentProps => ( <Component {...props} {...routeComponentProps}/> )}/> ) C.displayName = `...
ajax/libs/radium/0.18.4/radium.min.js
nolsherry/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.Radium=t(require("react")):e.Radium=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var...
packages/mineral-ui-icons/src/IconSentimentSatisfied.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 IconSentimentSatisfied(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {.....
ajax/libs/mediaelement/2.15.0/jquery.js
callumacrae/cdnjs
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
lib/yuilib/2in3/2.9.0/build/yui2-container/yui2-container-debug.js
deraadt/moodle
YUI.add('yui2-containercore', function(Y) { Y.use('yui2-container'); }, '3.3.0' ,{"requires": ["yui2-yahoo", "yui2-dom", "yui2-event"]}); YUI.add('yui2-container', function(Y) { var YAHOO = Y.YUI2; /* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.y...
app/node_modules/morgan/node_modules/debug/src/browser.js
DanielRasta/AB-Landing-page
/** * This is the web browser implementation of `debug()`. * * Expose `debug()` as the module. */ exports = module.exports = require('./debug'); exports.log = log; exports.formatArgs = formatArgs; exports.save = save; exports.load = load; exports.useColors = useColors; exports.storage = 'undefined' != typeof chrom...
packages/material-ui-icons/src/LocalParkingTwoTone.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="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm.2 8H10V7h3.2c1.1 0 2 .9 2 2s-.9 2-2 2z" /></React.Fragment> , 'LocalParkingTwoTone');
__tests__/components/SearchInput-test.js
odedre/grommet-final
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import SearchInput from '../../src/js/components/SearchInput'; // needed because this: // https://github.com/facebook/jest/issues/1353 jest.mock('react-dom'); describe('SearchI...
src/components/TextInput/TextInput-test.js
jzhang300/carbon-components-react
import React from 'react'; import TextInput from '../TextInput'; import { mount, shallow } from 'enzyme'; describe('TextInput', () => { describe('renders as expected', () => { const wrapper = mount( <TextInput id="test" className="extra-class" labelText="testlabel" /> ); const textInput = () => wr...
packages/playground/stories/SpaceTypeIcon.story.js
appearhere/bloom
import React from 'react'; import { storiesOf } from '@storybook/react'; import { SpaceTypeIcon } from '@appearhere/bloom'; const story = storiesOf('SpaceTypeIcon', module); const icons = [ 'shopShare', 'event', 'barRestaurant', 'market', 'retail', 'unique', 'shoppingCentre', ]; icons.forEach(icon =...
src/js/expansionpanel/index.js
HBM/md-components
import React from 'react' import classnames from 'classnames' import {ChevronRight} from '../icon/' export default class ExpansionPanel extends React.Component { state = { isOpen: false } toggle = () => { this.setState({ isOpen: !this.state.isOpen }) } render () { return ( <div...
packages/showcase/misc/2d-dragable-plot.js
uber/react-vis
// Copyright (c) 2016 - 2017 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify...
js/components/newItem/index.js
gectorat/react-native-app
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { View, List, ListItem, InputGroup, Input, Button } from 'native-base'; import { openDrawer } from '../../actions/drawer'; import { popRoute } from '../../actions/route'; import { createPost } from '../../actions/post'; import sty...
src/main/resources/web/js/jquery.js
blackducksoftware/vulnerability-collector
/*! 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...
node_modules/react-icons/md/query-builder.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdQueryBuilder = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20.9 11.6v8.8l7.5 4.4-1.3 2.2-8.7-5.4v-10h2.5z m-0.9 21.8q5.5 0 9.4-4t4-9.4-4-9.4-9.4-4-9.4 4-4 9.4 4 9.4 9.4 4z m0-30q6.9 0 11.8 4.8t4.8 11.8-4.8 11.8-11.8 4.8...
sites/all/modules/jquery_update/replace/jquery/1.9/jquery.min.js
mjlavin80/digital_london
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
ajax/libs/6to5/1.12.5/browser.js
mzdani/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...
ui/src/plugins/epl-dashboard/components/Dashboard.js
mkacper/erlangpl
// @flow import React, { Component } from 'react'; import { Grid } from 'react-bootstrap'; import { Link, Route, Redirect } from 'react-router-dom'; import SystemInfo from './SystemInfo'; import SystemOverview from './SystemOverview'; import './Dashboard.css'; class Dashboard extends Component { state: { tab: numb...
test/es6-module-exports-spec.js
tomrosier/material-ui
import React from 'react'; import TestUtils from 'react-addons-test-utils'; const Divider = require('divider'); const ActionAccessibility = require('svg-icons').ActionAccessibility; import ImportGetMuiTheme from 'styles/getMuiTheme'; const RequireGetMuiTheme = require('styles/getMuiTheme'); import ImportColorManipul...
packages/material-ui-icons/src/Spa.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0zm13.97 21.49c-.63.23-1.29.4-1.97.51.68-.12 1.33-.29 1.97-.51zM12 22z" /><path fill="#607D8B" d="M8.55 12c-1.07-.71-2.25-1.27-3.53-1.61 1.28.34 2.46.9 3.53 1....
node_modules/material-ui/Stepper/StepLabel.js
andrycodestuffs/atom-sync-packages
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _inte...
src/App.js
leonpapazianis/react-boilerplate
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; import { TodoForm } from './components/todo/TodoForm'; import { TodoList } from './components/todo/TodoList'; import { addTodo, generateId, findById, toggleTodo, updateTodo } from './lib/TodoHelpers'; class App extends Componen...
build/umd/ReactRouter.js
elpete/react-router
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactRouter"] = fac...
ajax/libs/jquery/1.4.3/jquery.min.js
yahyaKacem/cdnjs
/*! * jQuery JavaScript Library v1.4.3 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/material-ui/5.0.0-alpha.12/internal/svg-icons/CheckBox.min.js
cdnjs/cdnjs
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var React=_interopRequireWildcard(require("react")),_createSvgIco...
src/app/common/UserInterface/components/Swipeable.js
toxzilla/app
import React from 'react'; import ReactDOM from 'react-dom'; import {classNames, combine as combineStyle, compose as composeStyle, ease} from 'react-dom-stylesheet'; import Control from './Control'; export default class Swipeable extends Control { static displayName = 'Swipeable' static props = { ...Control...
app/javascript/mastodon/features/direct_timeline/index.js
TheInventrix/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import Column from '../../components/column'; import ColumnHeader from '../../components/column_header'; import { mountConversations, unmountConversations, expandConversations } from '../../actions/conversations'; impo...
frontend/component/Login.js
wangmuming/node-forum
import React from 'react'; import jQuery from 'jquery'; import {Link} from 'react-router'; import {login} from '../lib/client'; import {redirectURL} from '../lib/utils'; export default class Login extends React.Component{ constructor(pros){ super(pros); this.state = {}; } // 输入‘用户名’‘密码’检测 handleChang...
internals/templates/containers/HomePage/index.js
likesalmon/likesalmon-react-boilerplate
/* * HomePage * * This is the first thing users see of our App, at the '/' route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it and remove * the l...
ajax/libs/graphiql/0.11.3/graphiql.min.js
tholu/cdnjs
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).GraphiQL=f()}}(function(){return function e(t,n,r){function s(o...
ajax/libs/react-native-web/0.0.0-d48f63060/exports/AppRegistry/renderApplication.js
cdnjs/cdnjs
function _extends() { _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; }; return _extends.apply(this, arguments); } /...
ajax/libs/6to5/3.1.1/browser-polyfill.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...
packages/material-ui-icons/src/DirectionsBoatRounded.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="M20 21c-1.29 0-2.58-.41-3.74-1.14-.16-.1-.37-.1-.53 0-2.31 1.47-5.16 1.47-7.47 0-.16-.1-.37-.1-.53 0C6.58 20.59 5.29 21 4 21H3c-.55 0-1 .45-1 1s...
src/Grid/Grid.spec.js
dsslimshaddy/material-ui
// @flow import React from 'react'; import { assert } from 'chai'; import forOwn from 'lodash/forOwn'; import { createShallow, getClasses } from '../test-utils'; import Hidden from '../Hidden'; import Grid from './Grid'; describe('<Grid />', () => { let shallow; let classes; before(() => { const shallowInn...
src/esm/components/navigation/header-nav/components/button.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["a11yText", "icon", "backgroundColor", "backgroundColorHover", "color", "colorHover", "text", "href", "type", "hiddenText", "as", "style", "className",...
ajax/libs/rxjs/2.2.22/rx.js
coupang/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...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
medaymenourabi/HikingZoneFront
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
threeforce/node_modules/react-bootstrap/es/utils/ValidComponentChildren.js
wolfiex/VisACC
// TODO: This module should be ElementChildren, and should use named exports. import React from 'react'; /** * Iterates through children that are typically specified as `props.children`, * but only maps over children that are "valid components". * * The mapFunction provided index will be normalised to the compone...
fields/types/boolean/BooleanFilter.js
qwales1/keystone
import React from 'react'; import { SegmentedControl } from 'elemental'; const VALUE_OPTIONS = [ { label: 'Is Checked', value: true }, { label: 'Is NOT Checked', value: false }, ]; function getDefaultValue () { return { value: true, }; } var BooleanFilter = React.createClass({ propTypes: { filter: React.Pro...
ajax/libs/forerunnerdb/1.3.435/fdb-core+views.min.js
dada0423/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...
src/demos/building-a-geospatial-app/1-starting-with-map/src/app.js
uber-common/vis-academy
/* global window */ import React, { Component } from 'react'; import MapGL from 'react-map-gl'; import {MapStylePicker} from './controls'; export default class App extends Component { state = { style: 'mapbox://styles/mapbox/light-v9', viewport: { width: window.innerWidth, height: window.innerHei...
client/src/components/Explorer/ExplorerPanel.js
mikedingjan/wagtail
import PropTypes from 'prop-types'; import React from 'react'; import FocusTrap from 'focus-trap-react'; import { STRINGS, MAX_EXPLORER_PAGES } from '../../config/wagtailConfig'; import Button from '../Button/Button'; import LoadingSpinner from '../LoadingSpinner/LoadingSpinner'; import Transition, { PUSH, POP } from...
src/ElementPortal.js
zapier/react-element-portal
import PropTypes from 'prop-types'; import React from 'react'; import ReactDOM from 'react-dom'; import createReactClass from 'create-react-class'; const { push, slice } = Array.prototype; const noop = () => {}; const toNodesArray = (x) => ( x instanceof NodeList ? slice.call(x) : Array.isArray(x) ? ...
node_modules/cordova-windows/node_modules/winjs/js/ui.min.js
luismpsilva/spl-invent
/*! Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ !function(){var a="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{};!function(b){"function"==typeof define&&d...
demo15/index.js
bjtqti/how_to_use_webpack
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
app/containers/LogInPage/index.js
Frizi/amciu
/* * * LogInPage * */ import React from 'react'; import { connect } from 'react-redux'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; import styles from './styles.scss'; export class LogInPage extends React.Component { // eslint-disable-line r...
src/components/__tests__/Calendar-test.js
mxenabled/mx-react-components
import React from 'react'; // eslint-disable-line no-unused-vars import { mount } from 'enzyme'; import moment from 'moment'; import { getNewDateStateChange } from '../Calendar'; import Calendar from '../Calendar'; describe('Calendar', () => { let wrapper; beforeEach(() => { const theme = { Colors: {}...
ajax/libs/mobx-react/3.5.0/custom.min.js
seogi1004/cdnjs
!function(){function e(e,t,o){function r(e){return o?o.findDOMNode(e):null}function n(e){var t=r(e);t&&h&&h.set(t,e),m.emit({event:"render",renderTime:e.__$mobRenderEnd-e.__$mobRenderStart,totalTime:Date.now()-e.__$mobRenderStart,component:e,node:t})}function i(){if("undefined"==typeof WeakMap)throw new Error("[mobx-re...
ajax/libs/webshim/1.15.1-RC1/dev/shims/moxie/js/moxie-html4.js
Amomo/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
server/sonar-web/src/main/js/apps/permission-templates/components/__tests__/ActionsCell-test.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
jspm_packages/npm/babel-core@5.8.35/browser.min.js
bitfly-p2p/bitfly-client
/* */ "format amd";  !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,r...
actor-apps/app-web/src/app/components/ActivitySection.react.js
webwlsong/actor-platform
import React from 'react'; import classNames from 'classnames'; import { ActivityTypes } from 'constants/ActorAppConstants'; //import ActivityActionCreators from 'actions/ActivityActionCreators'; import ActivityStore from 'stores/ActivityStore'; import UserProfile from 'components/activity/UserProfile.react'; import...
packages/material-ui-icons/src/DirectionsRunSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2...
node_modules/core-js/library/modules/es6.promise.js
akh000/YoutubeApp
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
js/jqwidgets/demos/react/app/tabs/collapsible/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxTabs from '../../../jqwidgets-react/react_jqxtabs.js'; class App extends React.Component { render () { let tabsHTML = ` <ul> <li style="margin-left: 30px;">Node.js</li> <li>JavaServer Pages</li> ...