path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
docs/src/sections/TreeBasicSection.js
yyssc/ssc-grid
import React from 'react'; import Anchor from '../Anchor'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function TreeBasicSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> <Anchor id="tree-description">Tree组件</...
frontend/src/application/home/index.js
saem/hairpiece
/** @flow */ import React from 'react'; import { Row, Col } from 'react-bootstrap'; export const Component = (state: Object): Function => props => (<h1>Message of the Day</h1>); export const initState = (initialState: any) => initialState || {};
test/core/gridView.spec.js
WellerQu/rongcapital-ui
/* global describe, it */ import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import { GridView } from '../../src'; import * as componentStyles from '../../src/styles/core/gridView.sass'; describe('core component gridView', () => { it('initialize by default', () => { ...
docs/src/app/components/pages/components/RadioButton/Page.js
matthewoates/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import radioButtonReadmeText from './README'; import RadioButtonExampleSimple fr...
app/javascript/mastodon/features/account_gallery/index.js
Chronister/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { fetchAccount } from '../../actions/accounts'; import { expandAccountMediaTimeline } from '../../actions/timelines'; import LoadingIndicator from '../...
src/svg-icons/action/dashboard.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDashboard = (props) => ( <SvgIcon {...props}> <path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"/> </SvgIcon> ); ActionDashboard = pure(ActionDashboard); ActionDashboard.displayName...
frontend/src/Components/Page/Sidebar/PageSidebarItem.js
Radarr/Radarr
import classNames from 'classnames'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Icon from 'Components/Icon'; import Link from 'Components/Link/Link'; import { map } from 'Helpers/elementChildren'; import styles from './PageSidebarItem.css'; class PageSidebarItem extends Compon...
src/components/Header/Header.js
treeforever/voice-recognition-photo-gallary
import React from 'react' // import { IndexLink, Link } from 'react-router' import { Router, Route, Link, browserHistory } from 'react-router' import OwlImage from '../../routes/Home/assets/owl.jpg' import HomeView from '../../routes/Home' import TagView from '../../routes/Tag' import './Header.scss' export const Head...
ajax/libs/angular.js/1.1.5/angular-scenario.js
ericelliott/cdnjs
/*! * 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(...
packages/material-ui-icons/src/SimCardSharp.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="M19.99 2H10L4 8v14h16l-.01-20zM9 19H7v-2h2v2zm8 0h-2v-2h2v2zm-8-4H7v-4h2v4zm4 4h-2v-4h2v4zm0-6h-2v-2h2v2zm4 2h-2v-4h2v4z" /></g></React.Fragm...
app/containers/TodoApp/mutations/RemoveTodoMutation.js
codazen/react-relay-graphql-starter-kit
/* @flow */ /* eslint class-methods-use-this: "off" */ import Relay from 'react-relay'; export default class RemoveTodoMutation extends Relay.Mutation { static fragments = { user: () => Relay.QL` fragment on User { id } `, }; getMutation() { return Relay.QL`mutation{ removeTodo ...
mxcube3/ui/containers/TaskContainer.js
mguijarr/mxcube3
import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import Characterisation from '../components/Tasks/Characterisation'; import DataCollection from '../components/Tasks/DataCollection'; import Helical from '../components/Tasks/Helical'; import AddSample from '.....
frontend/src/routers/Router.js
purocean/yii2-template
import React from 'react'; import { Router, Route, IndexRedirect, hashHistory } from 'react-router'; import Auth from '../auth/Auth'; import Err from '../pages/Err'; import User from '../pages/User'; import Login from '../pages/Login'; import Departments from '../pages/Departments'; class AppRouter extends React.Com...
source/views/sis/student-work-carls/job-row.js
carls-app/carls
// @flow import React from 'react' import {Column, Row} from '../../components/layout' import {ListRow, Title, Detail} from '../../components/list' import type {FullJobType} from './types' type Props = { onPress: FullJobType => any, job: FullJobType, } export class JobRow extends React.PureComponent<Props> { _onP...
source/client/components/MobilePaymentSuccess.js
NAlexandrov/yaw
import React from 'react'; import styled from 'react-emotion'; import PropTypes from 'prop-types'; import { Island } from './'; const MobilePaymentLayout = styled(Island)` width: 440px; background: #108051; position: relative; color: #fff; `; const SuccessIcon = styled.div` width: 48px; height: 48px; backgrou...
src/StoreInfo.js
camposa03/FormDemo
import React, { Component } from 'react'; import Validation from 'react-validation'; import Popup from './Popup'; class StoreInfo extends Component { constructor(props) { super(props); this.handleStoreNameChange = this.handleStoreNameChange.bind(this); this.checkErrors = this.checkErrors...
customView/node_modules/react-native/Libraries/Components/Navigation/NavigatorIOS.ios.js
TheKingOfNorway/React-Native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
newclient/scripts/components/admin/detail-view/rejection-confirmation/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 Lic...
ajax/libs/forerunnerdb/1.3.49/fdb-legacy.min.js
dakshshah96/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...
gatsby-strapi-tutorial/cms/plugins/content-manager/admin/src/components/SelectOne/index.js
strapi/strapi-examples
/** * * SelectOne * */ import React from 'react'; import Select from 'react-select'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import 'react-select/dist/react-select.css'; import { cloneDeep, map, includes, isArray, isNull, isUndefined, isFunction, get, findIndex } from 'lo...
ajax/libs/preact/2.0.0/preact.js
jonobr1/cdnjs
!function(e,n){if("function"==typeof define&&define.amd)define(["exports"],n);else if("undefined"!=typeof exports)n(exports);else{var t={exports:{}};n(t.exports),e.preact=t.exports}}(this,function(e){"use strict";function n(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function t(e,...
app/javascript/mastodon/features/standalone/hashtag_timeline/index.js
pso2club/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...
src/components/Account/ItemsRequests/AccountBalance/index.js
ndlib/usurper
import React from 'react' import PropTypes from 'prop-types' import Link from 'components/Interactive/Link' const AccountBalance = (props) => { if (!props.balance || props.balance >= 0) { return null } const balanceStr = '-$' + Math.abs(props.balance) return ( <div className='alert page lowPri'> ...
ajax/libs/material-ui/4.9.2/esm/Tabs/ScrollbarSize.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import debounce from '../utils/debounce'; var styles = { width: 99, height: 99, position: 'absolute',...
ajax/libs/babel-core/5.7.4/browser-polyfill.min.js
tjbp/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...
app/react-icons/fa/bell-slash-o.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaBellSlashO extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m20.2 35.5q0-0.3-0.3-0.3-1.2 0-2-0.8t-0.8-2q0-0.3-0.3-0.3t-0.3 0.3q0 1.4 ...
frontend/src/Settings/MediaManagement/RootFolder/EditRootFolderModalContentConnector.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { saveRootFolder, setRootFolderValue } from 'Store/Actions/settingsActions'; import createProviderSettingsSelector from 'Store/Selectors/createProviderSe...
course/format/amd/build/local/courseindex/section.min.js
mhughes2k/moodle
define("core_courseformat/local/courseindex/section",["exports","core_courseformat/local/courseindex/sectiontitle","core_courseformat/local/courseeditor/dndsection"],(function(_exports,_sectiontitle,_dndsection){function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}} /** * Course index sec...
ajax/libs/primereact/6.5.0/confirmpopup/confirmpopup.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { DomHandler, ConnectedOverlayScrollHandler, OverlayService, ZIndexUtils, classNames, ObjectUtils, CSSTransition, Portal } from 'primereact/core'; import { Button } from 'primereact/button'; import { localeOption } from 'primereact/api';...
src/main.js
lodelestra/SWClermont_2016
import React from 'react' import ReactDOM from 'react-dom' import createStore from './store/createStore' import AppContainer from './containers/AppContainer' // ======================================================== // Store Instantiation // ======================================================== const initialState...
server/server.js
kweestian/kwy
import Express from 'express'; import mongoose from 'mongoose'; import bodyParser from 'body-parser'; import cookieParser from 'cookie-parser'; import session from 'express-session'; import path from 'path'; import logger from 'morgan'; // Webpack Requirements import webpack from 'webpack'; import config from '../webp...
ajax/libs/yasr/1.1.3/yasr.min.js
pombredanne/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.YASR=e()}}(function(){var e;return function t(e,n,r){function i(a,s){if(!n[a]){if(!e...
app/jsx/grading/GradingPeriodSetCollection.js
venturehive/canvas-lms
/* * Copyright (C) 2016 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas 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, version 3 of the License. * * Canvas is distribut...
ajax/libs/jqwidgets/11.0.0/jqwidgets-react-tsx/jqxscheduler/react_jqxscheduler.umd.min.js
cdnjs/cdnjs
require("../../jqwidgets/jqxcore"),require("../../jqwidgets/jqxdata"),require("../../jqwidgets/jqxdata.export"),require("../../jqwidgets/jqxdate"),require("../../jqwidgets/jqxbuttons"),require("../../jqwidgets/jqxmenu"),require("../../jqwidgets/jqxtooltip"),require("../../jqwidgets/jqxscrollbar"),require("../../jqwidge...
app/routesConfig.js
ritishgumber/dashboard-ui
/** * Created by Darkstar on 11/30/2016. */ import React from 'react'; import {Route, IndexRoute} from 'react-router' // custom comps import App from './components/app'; import AppSelected from './components/appSelected'; import Dashboardproject from './components/dashboardproject/dashboardproject.jsx'; import Tabl...
src/scripts/UserLogin.js
lixmal/keepass4web
import React from 'react' import LoginForm from './LoginForm' import NavBar from './NavBar' import Alert from './Alert' import Info from './Info' import Classnames from 'classnames' export default class UserLogin extends LoginForm { constructor() { super() this.url = 'user_login' } render(...
node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx/src/core/linq/observable/never.js
tonyalaribe/kaku
/** * Returns a non-terminating observable sequence, which can be used to denote an infinite duration (e.g. when using reactive joins). * @returns {Observable} An observable sequence whose observers will never get called. */ var observableNever = Observable.never = function () { return new Anonym...
js/components/pages/NotFound.react.js
cameronolivier/reddit-sentiment
import React, { Component } from 'react'; import { Link } from 'react-router'; class NotFound extends Component { render() { return ( <article> <h1>Page not found.</h1> <Link to="/" className="btn">Home</Link> </article> ); } } export default NotFound;
packages/insights-web/src/scenes/explorer/pagination/index.js
mariusandra/insights
import React from 'react' import { useValues } from 'kea' import explorerLogic from 'scenes/explorer/logic' export default function Pagination () { const { count, visibleStart, visibleEnd } = useValues(explorerLogic) if (count === 0) { return <span /> } return ( <span> {count > 0 ? ( <...
example/src/pages/PositionChanged.js
ethanselzer/react-cursor-position
import React, { Component } from 'react'; import { Col, Grid, Jumbotron, Row } from 'react-bootstrap'; import Helmet from 'react-helmet'; import PositionChanged from '../components/PositionChanged'; import Header from '../components/Header'; import 'bootstrap/dist/css/bootstrap.css'; import '../styles...
src/components/formattedNumber/stories.js
LiskHQ/lisk-nano
import React from 'react'; import { storiesOf } from '@storybook/react'; import FormattedNumber from './'; storiesOf('FormattedNumber', module) .add('with val', () => ( <FormattedNumber val="-3.1415926535" /> ));
src/__tests__/PopoverHeader.spec.js
reactstrap/reactstrap
import React from 'react'; import { shallow } from 'enzyme'; import { PopoverHeader } from '../'; describe('PopoverHeader', () => { it('should render children', () => { const wrapper = shallow(<PopoverHeader>Ello world</PopoverHeader>); expect(wrapper.text()).toBe('Ello world'); expect(wrapper.hasClass(...
ajax/libs/mobx-react/4.4.0/index.js
sufuf3/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx'), require('react'), require('react-dom')) : typeof define === 'function' && define.amd ? define(['exports', 'mobx', 'react', 'react-dom'], factory) : (factory((global.mobxReact = {}),global.mo...
sites/all/themes/zen/zen-internals/js/jquery-1.9.1.min.js
amruta-webonise/OpenHelp
/*! 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){retu...
app/js/components/Completion.js
blockstack/blockstack-browser
import React from 'react' const Completion = () => ( <div className="tooltip tooltip-bottom" role="tooltip"> <div className="tooltip-inner"> Tooltip on the bottom </div> </div> ) export default Completion
ajax/libs/rxjs/2.2.17/rx.js
DSpeichert/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, 'u...
docs/app/Examples/elements/Icon/States/IconExampleDisabled.js
clemensw/stardust
import React from 'react' import { Icon } from 'semantic-ui-react' const IconExampleDisabled = () => ( <Icon disabled name='users' /> ) export default IconExampleDisabled
src/components/DataLassoUI/index.js
tumblr/data-lasso
'use strict'; var React = require('react'); var Uploader = require('../Uploader'); var AxisControls = require('../AxisControls'); var Hud = require('../Hud'); var ModeIndicator = require('../ModeIndicator'); var SelectionControls = require('../SelectionControls'); /** * # Data Lasso React component * * Wrapper c...
ajax/libs/material-ui/4.9.3/es/StepButton/StepButton.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import ButtonBase from '....
test/specs/component/ResponsiveContainerSpec.js
recharts/recharts
import React from 'react'; import chai, { expect } from 'chai'; import chaiEnzyme from 'chai-enzyme'; import { ResponsiveContainer } from 'recharts'; import { mount } from 'enzyme'; chai.use(chaiEnzyme()); describe('<ResponsiveContainer />', () => { it('Render a wrapper container in ResponsiveContainer', () => { ...
src/component/dashboard-container/index.js
saidmattar/cloud-life-frontend
import './_dashboard-container.scss'; import React from 'react'; import {connect} from 'react-redux'; import DocumentForm from '../document-form'; import DocumentContainer from '../document-container'; import GroupContainer from '../group-container'; import {groupFetchRequest} from '../../action/group-actions.js'; imp...
shared/app/Demo/Header/index.js
pebie/react-universally-node-config
import React from 'react'; import Logo from './Logo'; import Menu from './Menu'; function Header() { return ( <div style={{ textAlign: 'center', marginBottom: '1rem' }}> <Logo /> <h1>React, Universally</h1> <strong>A starter kit for universal react applications.</strong> <Menu /> </di...
assets/js/Components/LoginForm.js
symbios-zi/react-learning
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { login } from '../Actions/AuthActions'; class LoginForm extends Component { constructor(props) { super(props); this.state = { username: '', errors: {}, isLoading: false, ...
packages/bonde-admin-canary/src/components/Tourtip/components/Box.connected.js
ourcities/rebu-client
import React from 'react' import { connect } from 'services/redux' import * as actions from '../redux/actions' import Box from './Box' class BoxConnected extends React.Component { componentDidMount () { this.props.registerStep() } render () { return this.props.showTooltip ? ( <Box title...
src/decorators/withViewport.js
chytanya/microcredentials-client
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import EventEmitter from 'eventemitter3'; import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; let EE; let viewport = {width: 1366, height: 768}; // Default si...
src/pages/logOutPage.js
saf0911/dr-pat-demo1
import React from 'react'; import Link from 'next/link'; const name = 'Clayton'; function logOutPage() { return ( <div> <h3> See you later, {name} </h3> <Link href="/"> <button>Home</button> </Link> </div> ); } export default logOutPage;
client/components/menu/locale-selector.js
bnjbvr/kresus
import React from 'react'; import { connect } from 'react-redux'; import { get, actions } from '../../store'; const LocaleSelector = props => { let handleChange = e => { props.setLocale(e.target.value); }; return ( <select className="locale-selector" onChange={hand...
src/components/common/log/logWrapper.js
lleohao/meow-ui
import './log.css'; import React, { Component } from 'react'; import { LogSocketSubject } from '../../../services/logServices'; export class LogWrapper extends Component { constructor(props) { super(props); this.state = { logs: [] }; } componentDidMount() { const self = this; this.lo...
dkan/webroot/misc/jquery.js
angrycactus/dkan
/*! * jQuery JavaScript Library v1.4.4 * 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....
web/src/js/components/Logo/Logo.js
gladly-team/tab
import React from 'react' import PropTypes from 'prop-types' import tabLogoDefault from 'js/assets/logos/logo.svg' import tabLogoWhite from 'js/assets/logos/logo-white.svg' import tabLogoGrey from 'js/assets/logos/logo-grey.svg' import tabLogoWithText from 'js/assets/logos/logo-with-text.svg' import tabLogoWithTextWhit...
fixtures/packaging/systemjs-builder/prod/input.js
rricard/react
import React from 'react'; import ReactDOM from 'react-dom'; ReactDOM.render( React.createElement('h1', null, 'Hello World!'), document.getElementById('container') );
docs/src/examples/elements/Label/Types/LabelExamplePointingColored.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Divider, Form, Label } from 'semantic-ui-react' const LabelExamplePointing = () => ( <Form> <Form.Field> <input type='text' placeholder='First name' /> <Label basic color='red' pointing> Please enter a value </Label> </Form.Field> <Divider /> ...
src/containers/App.js
guatedude2/bunyan-remote-devtool
import React from 'react'; export class App extends React.Component { render() { return ( <div>Hello World</div> ); } }
ajax/libs/openlayers/2.11/lib/OpenLayers/Control/Panel.js
bspaulding/cdnjs
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * @requires OpenLayers/Control.js */ /** * Class: OpenLayers....
src/components/basic/Tile.js
dzwiedziu-nkg/books-collection-frontend
import React from 'react'; import PropTypes from 'prop-types'; import EditButton from './EditButton'; export default class Tile extends React.Component { static propTypes = { color: PropTypes.string, children: PropTypes.node, width: PropTypes.number, edit: PropTypes.bool, onEditClick: PropTypes.f...
files/vue/2.0.0-alpha.6/vue.common.js
khorep/jsdelivr
'use strict'; /** * Convert a value to a string that is actually rendered. */ function renderString(val) { return val == null ? '' : typeof val === 'object' ? JSON.stringify(val, null, 2) : String(val); } /** * Make a map and return a function for checking if a key * is in that map. */ function makeMap(str, ex...
ajax/libs/babel-core/5.3.0/browser-polyfill.js
perfect-pixell/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/legacy/Battery60Rounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33V11h10V5.33z" /><path d="M7 11v9.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1...
src/ctl/ui/src/pages/Namespace.js
m3db/m3db
// Copyright (c) 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, merge...
client/components/Dashbord/allRecipe.js
kenware/more-recipes
import React, { Component } from 'react'; import { BrowserRouter, Route, Switch, Redirect, Link } from 'react-router-dom'; import { PropTypes } from 'react'; import * as actions from '../../redux/Action/action.js'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import './dashbord.sc...
src/utils/prop-types.js
Saworieza/material-ui
let React = require('react'); module.exports = { corners: React.PropTypes.oneOf([ 'bottom-left', 'bottom-right', 'top-left', 'top-right', ]), cornersAndCenter: React.PropTypes.oneOf([ 'bottom-center', 'bottom-left', 'bottom-right', 'top-center', 'top-left', 'top-right', ...
admin/client/components/Popout/index.js
wmertens/keystone
import React from 'react'; import Portal from '../Portal'; import Transition from 'react-addons-css-transition-group'; const sizes = { arrowHeight: 12, }; var Popout = React.createClass({ displayName: 'Popout', propTypes: { isOpen: React.PropTypes.bool, onCancel: React.PropTypes.func, onSubmit: React.PropTyp...
react/features/reactions/components/web/ReactionButton.js
jitsi/jitsi-meet
/* @flow */ import React from 'react'; import { Tooltip } from '../../../base/tooltip'; import AbstractToolbarButton from '../../../toolbox/components/AbstractToolbarButton'; import type { Props as AbstractToolbarButtonProps } from '../../../toolbox/components/AbstractToolbarButton'; /** * The type of the React {@c...
site/pages/HomePage.js
wagonhq/react-dnd
import React from 'react'; import Header from '../components/Header'; import PageBody from '../components/PageBody'; import StaticHTMLBlock from '../components/StaticHTMLBlock'; import IndexHTML from '../../docs/index.md'; export default class HomePage { render() { return ( <div> <Header showCover ...
modules/react-router-2.5.2/modules/RouteUtils.js
nanyou-environment/enBackEnd
import React from 'react' function isValidChild(object) { return object == null || React.isValidElement(object) } export function isReactChildren(object) { return isValidChild(object) || (Array.isArray(object) && object.every(isValidChild)) } function createRoute(defaultProps, props) { return { ...defaultProps...
ajax/libs/forerunnerdb/1.3.881/fdb-core+views.min.js
jdh8/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...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
18514253911/new-myAdmin
import React from 'react'; // 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'; React.render(<HelloWorld />, document.getElementById('react-root'));
ajax/libs/webshim/1.14.3-RC2/dev/shims/moxie/js/moxie.js
calebmer/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 ...
spec/javascripts/components/projects/side_bar/side_bar_spec.js
Codeminer42/cm42-central
import React from 'react'; import { shallow } from 'enzyme'; import SideBar from 'components/projects/SideBar'; describe('<SideBar />', () => { const render = props => { const defaultProps = { reverse: false, visibleColumns: { chillyBin: true, backlog: true, done: true, ...
resources/public/js/app.min.js
city41/reagent-breakout
if(typeof Math.imul == "undefined" || (Math.imul(0xffffffff,5) == 0)) { Math.imul = function (a, b) { var ah = (a >>> 16) & 0xffff; var al = a & 0xffff; var bh = (b >>> 16) & 0xffff; var bl = b & 0xffff; // the shift by 0 fixes the sign on the high part // the final...
Vue2.2.6源码阅读201711/vue/dist/vue.runtime.common.js
huang303513/SDWebImageStudy
/*! * Vue.js v2.2.6 * (c) 2014-2017 Evan You * Released under the MIT License. */ 'use strict'; /* */ // these helpers produces better vm code in JS engines due to their // explicitness and function inlining function isUndef (v) { return v === undefined || v === null } function isDef (v) { return v !== unde...
src/components/ReplEntryStatus.js
princejwesley/Mancy
import React from 'react'; export default class ReplEntryStatus extends React.Component { constructor(props) { super(props); } render() { return ( <div className='repl-entry-status' title="output options"> { this.props.message.status ? null : <i className="...
ajax/libs/kule.lazy/3.1.161102/js/kule.urbrowser.min.js
dada0423/cdnjs
!function(){"use strict";var a={root:document.documentElement,getUA:navigator.userAgent.toLowerCase(),getPF:navigator.platform.toLowerCase(),breakpoints:{xs:480,sm:768,md:992,lg:1200},docSize:{width:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},height:function(){r...
todomvc/test/components/Footer.spec.js
samlatif-uk/redux-tdd-hw
import expect from 'expect' import React from 'react' import TestUtils from 'react-addons-test-utils' import Footer from '../../components/Footer' import { SHOW_ALL, SHOW_ACTIVE } from '../../constants/TodoFilters' function setup(propOverrides) { const props = Object.assign({ completedCount: 0, activeCount: ...
src/SvgIcon/SvgIcon.spec.js
pancho111203/material-ui
/* eslint-env mocha */ import React from 'react'; import {spy} from 'sinon'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import SvgIcon from './SvgIcon'; import getMuiTheme from '../styles/getMuiTheme'; describe('<SvgIcon />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (nod...
src/views/Header/Header.react.js
ryym/web-keyboard-simulator
import React from 'react'; export default function Header() { return ( <header className="header"> <div className="header_brand"> Keyboard Simulator </div> <nav className="header_nav"> <ul className="header_nav-list"> <li className="header_nav-item link-github"> ...
src/server.js
cyberid41/simple-blog-react
import express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import config from './config'; import favicon from 'serve-favicon'; import compression from 'compression'; import httpProxy from 'http-proxy'; import path from 'path'; import createStore from './redux/create'; import ApiC...
app/index.js
futuun/verbose-winner
import React from 'react' import { render } from 'react-dom' import injectTapEventPlugin from 'react-tap-event-plugin' import { AppContainer } from 'react-hot-loader' import configureStore from './store' import Root from './root' import './root.raw.sass' injectTapEventPlugin() const store = configureStore() const root...
packages/material-ui-icons/src/VideogameAssetRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-11 7H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H4c-.55 0-1-.45-1-1s.45-1 1-1h2V9c0-.55.45-1 1-1s1 .45 1 1v2h2c.55 0 ...
ajax/libs/yui/3.7.1/simpleyui/simpleyui.js
smcguinness/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @main yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI gl...
src/components/slider/Slider.js
isogon/styled-mdl
import { compose, setDisplayName, setPropTypes } from 'recompose' import PropTypes from 'prop-types' import React from 'react' import { Input } from '../../input' import { SliderInput, SliderContainer, SliderBackground } from './Slider.style' import { proxyStyledStatics } from '../../hocs' export class SliderBase ext...
src/components/HeaderClearButton.js
alphasp/pxview
import React from 'react'; import { StyleSheet } from 'react-native'; import Icon from 'react-native-vector-icons/FontAwesome'; import PXTouchable from './PXTouchable'; const styles = StyleSheet.create({ icon: { padding: 10, }, }); const HeaderClearButton = ({ onPress, color, ...restProps }) => ( <PXTouchab...
src/mobile/lib/global_react_modules.js
eessex/force
export * from "desktop/components/react/stitch_components"
client/src/App.js
hwclass/oddunrtcweb
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import ReduxPromise from 'redux-promise'; import ReduxThunk from 'redux-thunk'; import { Router, Route, IndexRoute, browserHistory } from 'react-route...
src/app/settings/General.js
mailvelope/mailvelope
/** * Copyright (C) 2012-2019 Mailvelope GmbH * Licensed under the GNU Affero General Public License version 3 */ import React from 'react'; import {port, AppOptions} from '../app'; import * as l10n from '../../lib/l10n'; import Trans from '../../components/util/Trans'; l10n.register([ 'form_cancel', 'form_sav...
docs/src/app/components/pages/components/AutoComplete/ExampleSimple.js
matthewoates/material-ui
import React from 'react'; import AutoComplete from 'material-ui/AutoComplete'; export default class AutoCompleteExampleSimple extends React.Component { constructor(props) { super(props); this.state = { dataSource: [], }; } handleUpdateInput = (value) => { this.setState({ dataSourc...
src/Parser/Warlock/Demonology/Modules/Talents/Shadowflame.js
enragednuke/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import Enemies from 'Parser/Core/Modules/Enemies'; import SPELLS from 'common/SPELLS'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import SpellIcon from 'common/Spell...
packages/vulcan-lib/lib/modules/dynamic_loader.js
VulcanJS/Vulcan
import React from 'react'; import loadable from 'react-loadable'; import isFunction from 'lodash/isFunction'; import { delayedComponent } from './components'; /** * @callback dynamicLoader~importComponent * @return {Promise<React.Component>} */ /** * Returns a component that will perform the given dynamic import ...
geonode/contrib/monitoring/frontend/src/components/cels/errors-rate/index.js
simod/geonode
import React from 'react'; import PropTypes from 'prop-types'; import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend } from 'recharts'; import styles from './styles'; class ErrorsRate extends React.Component { static propTypes = { data: PropTypes.array.isRequired, } render() { let tota...
src/icons/NotificationsNoneIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class NotificationsNoneIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="#010101" d="M24 44c2.21 0 4-1.79 4-4h-8c0 2.21 1.79 4 4 4zm12-12V22c0-6.15-3.27-11.28-9-12.64...