path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
node_modules/react-native/node_modules/react-tools/src/browser/ui/__tests__/ReactMountDestruction-test.js
haledeng/ReactNativeExample
/** * 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...
web/src/components/service.js
squaremo/ambergreen
import React from 'react'; import classnames from 'classnames'; import _ from 'lodash'; import Instance from './instance'; import InstanceGroup from './instance-group'; import { GROUP_OPTIONS } from '../constants/options'; import { plural } from '../utils/string-utils'; const NO_GROUPING = 'instance'; export default...
__tests__/share/date-range.js
mvolkmann/starter
import React from 'react'; import DateRange from '../../src/share/date-range'; import moment from 'moment'; import {shallow} from 'enzyme'; import TestUtils from 'react-addons-test-utils'; // This cannot be tested like "normal" create components because // it renders the date picker popup outside of the parent compone...
src/js/components/AboutPage.js
slavapavlutin/pavlutin-node
import React from 'react'; import { HashRouter as Router, Route, NavLink as Link, Switch, Redirect, } from 'react-router-dom'; import ExternalLink from './ExternalLink'; import { links } from './SocialLinks'; import { Navbar, Item, Section, Container } from './AboutPage.styled'; import { withPageTitle } from ...
ajax/libs/forerunnerdb/1.3.441/fdb-legacy.min.js
Amomo/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/renderers/dom/client/__tests__/ReactBrowserEventEmitter-test.js
popovsh6/react
/** * 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...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Base/Footer/Footer.js
dewmini/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
js/controls/KendoAutoComplete.js
wingspan/wingspan-forms
import React from 'react' import kendo from 'kendo' import { findWidget } from '../ReactCommon' const $ = kendo.jQuery; const PropTypes = React.PropTypes; function noResultsOnDataBound(e) { var widget = e.sender; var noItems = widget.list.find(".noResults"); if (!widget.dataSource.view()[0]) { no...
ajax/libs/ember-data.js/1.0.0-beta.15/ember-data.prod.js
ppoffice/cdnjs
(function() { "use strict"; /** @module ember-data */ var ember$data$lib$system$adapter$$get = Ember.get; var ember$data$lib$system$adapter$$errorProps = [ 'description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack' ]; /** ...
test/specs/modules/Modal/Modal-test.js
jcarbo/stardust
import _ from 'lodash' import React from 'react' import Portal from 'react-portal' import Modal from 'src/modules/Modal/Modal' import ModalHeader from 'src/modules/Modal/ModalHeader' import ModalContent from 'src/modules/Modal/ModalContent' import ModalActions from 'src/modules/Modal/ModalActions' import ModalDescript...
app/javascript/mastodon/features/list_editor/components/search.js
musashino205/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { defineMessages, injectIntl } from 'react-intl'; import { fetchListSuggestions, clearListSuggestions, changeListSuggestions } from '../../../actions/lists'; import classNames from 'classnames'; import Icon from...
fields/components/CollapsedFieldLabel.js
snowkeeper/keystone
import React from 'react'; import { Button } from 'elemental'; // NOTE marginBottom of 1px stops things jumping around // TODO find out why this is necessary function CollapsedFieldLabel ({ style, ...props }) { const __style__ = { marginBottom: 1, paddingLeft: 0, paddingRight: 0, ...style, }; return ( <...
src/components/apperror.js
Rabbit884/reactapp
import React from 'react' import { Link } from 'react-router'; export default class AppError extends React.Component { render () { return ( <div> <h1>System Error</h1> <br /> <br /> <Link to={'/'} >Home</Link> </div> ) } }
ajax/libs/yui/3.14.1/datatable-core/datatable-core.js
billybonz1/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
modules/dreamview/frontend/src/components/StatusBar/DrivingMode.js
ycool/apollo
import React from 'react'; import classNames from 'classnames'; import UTTERANCE from 'store/utterance'; export default class DrivingMode extends React.PureComponent { componentWillUpdate() { UTTERANCE.cancelAllInQueue(); } render() { const { drivingMode, isAutoMode } = this.props; UTTERANCE.speak...
src/svg-icons/social/pages.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialPages = (props) => ( <SvgIcon {...props}> <path d="M3 5v6h5L7 7l4 1V3H5c-1.1 0-2 .9-2 2zm5 8H3v6c0 1.1.9 2 2 2h6v-5l-4 1 1-4zm9 4l-4-1v5h6c1.1 0 2-.9 2-2v-6h-5l1 4zm2-14h-6v5l4-1-1 4h5V5c0-1.1-.9-2-2-2z"/...
app/components/solution1.js
Sanket-224/CRISPR-and-HIV
import React, { Component } from 'react'; import ReactDom from 'react-dom'; // import s from '../assets/mystyles.css'; class solution1 extends Component { render() { return ( <div> <h1> CRISPR Solution 1 </h1> <hr color="#665451" /> <br /> ...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/DestructuringAndAwait.js
matart15/create-react-app
/** * Copyright (c) 2015-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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; async function load() { return { users: [ { i...
src/svg-icons/social/group-add.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialGroupAdd = (props) => ( <SvgIcon {...props}> <path d="M8 10H5V7H3v3H0v2h3v3h2v-3h3v-2zm10 1c1.66 0 2.99-1.34 2.99-3S19.66 5 18 5c-.32 0-.63.05-.91.14.57.81.9 1.79.9 2.86s-.34 2.04-.9 2.86c.28.09.59.14.91....
packages/material-ui-icons/lib/esm/TextSnippet.js
mbrookes/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "m20.41 8.41-4.83-4.83c-.37-.37-.88-.58-1.41-.58H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.42zM7 7h7v2H7V7zm10 10H7v-2h1...
ajax/libs/yui/3.14.0/datatable-body/datatable-body.js
ramda/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = ...
app/containers/AddTodo.js
nickromney/devops-docker-ci
// --------------------------------------------------------------------------- // Modified from Redux Todo List Example // Source: http://redux.js.org/docs/basics/ExampleTodoList.html // --------------------------------------------------------------------------- import React from 'react' import { connect } from 'react...
app/imports/ui/layouts/shared/with-global-subscriptions.js
radgrad/radgrad
import { ReactiveVar } from 'meteor/reactive-var'; import { Template } from 'meteor/templating'; import { SubsManager } from 'meteor/meteorhacks:subs-manager'; import { AcademicPlans } from '../../../api/degree-plan/AcademicPlanCollection'; import { AdvisorProfiles } from '../../../api/user/AdvisorProfileCollection'; i...
templates/rubix/demo/src/routes/BarColSeries.js
jeffthemaximum/Teachers-Dont-Pay-Jeff
import React from 'react'; import { Row, Col, Panel, PanelBody, PanelContainer, } from '@sketchpixy/rubix'; class Chart extends React.Component { render() { return ( <PanelContainer> <Panel> <PanelBody style={{padding: 25}}> <div id={this.props.id}></div> ...
web/js/jquery.js
andibraeu/calcifer
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
Examples/UIExplorer/ScrollViewExample.js
zenlambda/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
5.2.4/src/routes.js
erikras/redux-form-docs
import React from 'react' import { Router, Route, hashHistory } from 'react-router' import markdownPage from 'components/markdownPage' import App from 'pages/App' import Home from 'pages/Home' import Simple from 'pages/examples/Simple' import ComplexValues from 'pages/examples/ComplexValues' import File from 'pages/exa...
admin/client/App/screens/Item/components/EditFormHeader.js
frontyard/keystone
import React from 'react'; import { findDOMNode } from 'react-dom'; import { connect } from 'react-redux'; import Toolbar from './Toolbar'; import ToolbarSection from './Toolbar/ToolbarSection'; import EditFormHeaderSearch from './EditFormHeaderSearch'; import { Link } from 'react-router'; import Drilldown from './Dr...
reflux-app/App.js
xiedidan/borgnix-web-ide
import React from 'react' import ReactDom from 'react-dom' import Editor from './components/Editor' import Terminal from './components/Terminal' import Toolbox from './components/Toolbox' class App extends React.Component { constructor(props) { super(props) this.state = { } } render() { return ...
ajax/libs/draft-js/0.8.1/Draft.js
sajochiu/cdnjs
/** * Draft v0.8.1 * * 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 directo...
src/containers/Profile.js
Seeingu/medium-demo
/* 用户信息 */ import React, { Component } from 'react'; import styled from 'styled-components'; import { Banner, MainContainer, media, RootContainer } from '../styles'; import { Header, Loading, FeedToggle, ArticlePreview } from '../components'; import { connect } from 'react-redux'; import { fetchArticles, ver...
client/app/Core/TopHeader/index.js
puja1234/DTA
import React from 'react'; import { Dropdown } from 'react-bootstrap'; import { smoothlyMenu } from './../../../utils/common'; class TopHeader extends React.Component { toggleNavigation(e) { e.preventDefault(); $("body").toggleClass("mini-navbar"); smoothlyMenu(); } render() { ...
client/src/login/root.js
Mailtrain-org/mailtrain
'use strict'; import React from 'react'; import Login from './Login'; import Reset from './Forgot'; import ResetLink from './Reset'; import mailtrainConfig from 'mailtrainConfig'; function getMenus(t) { const subPaths = {} if (mailtrainConfig.isAuthMethodLocal) { subPaths.forgot = { titl...
test/tracking-spec.js
pauljz/react-redux-form
import React from 'react'; import { assert } from 'chai'; import { createStore, applyMiddleware, combineReducers } from 'redux'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import TestUtils from 'react-addons-test-utils'; import { Field, Errors, formReducer, modelReducer, track } from '../...
src/components/app.js
nfcortega89/airtime
import React, { Component } from 'react'; import Header from './header' import Footer from './footer' export default class App extends Component { render() { return ( <div> <Header /> {this.props.children} <Footer /> </div> ); } }
docs/src/app/components/pages/components/TextField/ExampleDisabled.js
matthewoates/material-ui
import React from 'react'; import TextField from 'material-ui/TextField'; const TextFieldExampleDisabled = () => ( <div> <TextField disabled={true} hintText="Disabled Hint Text" /><br /> <TextField disabled={true} id="text-field-disabled" defaultValue="Disabled Value" />...
src/renderers/dom/client/wrappers/__tests__/ReactDOMOption-test.js
venkateshdaram434/react
/** * 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...
src/components/form/col.js
BryceHQ/form-designer
import React from 'react'; import classnames from 'classnames'; import _ from 'lodash'; import Colors from 'material-ui/lib/styles/colors'; import InkBar from 'material-ui/lib/ink-bar'; import Actions from '../../actions/actions'; import Store from '../../stores/store'; import {spacing} from '../../theme'; const ...
ajax/libs/rollbar.js/2.3.6/rollbar.js
seogi1004/cdnjs
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ retu...
app/assets/js/lib/react-0.13.3.min.js
supinf/reinvent-sessions-api
/** * React v0.13.3 * * 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. *...
react-router-tutorial/modules/About.js
Zyst/learning-react
import React from 'react'; export default React.createClass({ render() { return <div>About</div> } });
ajax/libs/flocks.js/0.14.6/flocks.js
pcarrier/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /** * The Flocks library module. * * @module Flocks * @main Flocks */ // if it's in a <script> it's defined already // otherwise assume commonjs if (typeof React === 'undefined') { var React = require('react'...
renderer/components/Icon/Qrcode.js
LN-Zap/zap-desktop
import React from 'react' const SvgQrcode = props => ( <svg height="1em" viewBox="0 0 16 16" width="1em" {...props}> <g fill="currentColor" fillRule="nonzero"> <path d="M.4 4.809a.4.4 0 0 1-.4-.4V.4A.4.4 0 0 1 .4 0h4.009a.4.4 0 1 1 0 .8H.8v3.609a.4.4 0 0 1-.4.4zM15.6 16h-4.01a.4.4 0 1 1 0-.8h3.61v-3.61a.4....
app/assets/flow/controllers/portfolio.js
aewing/portfolio
'use strict'; import React from 'react' export default class PortfolioController extends React.Component { constructor(props) { super(props); } render() { return ( <div/> ); } }
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ArrayDestructuring.js
ConnectedHomes/create-react-web-app
/** * Copyright (c) 2015-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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return [[1, '1'], [2, '2'], [3, '3'],...
docs/app/Examples/collections/Grid/Types/GridExampleCelled.js
shengnian/shengnian-ui-react
import React from 'react' import { Grid, Image } from 'shengnian-ui-react' const GridExampleCelled = () => ( <Grid celled> <Grid.Row> <Grid.Column width={3}> <Image src='/assets/images/wireframe/image.png' /> </Grid.Column> <Grid.Column width={13}> <Image src='/assets/images/wir...
ajax/libs/thorax/2.2.0/thorax-combined-mobile.js
amwmedia/cdnjs
/* Zepto v1.0 - polyfill zepto detect event ajax form fx - zeptojs.com/license */ ;(function(undefined){ if (String.prototype.trim === undefined) // fix for iOS 3.2 String.prototype.trim = function(){ return this.replace(/^\s+|\s+$/g, '') } // For iOS 3.x // from https://developer.mozilla.org/en/JavaScript/...
examples/pages/image.js
jasonslyvia/react-lazyload
import React, { Component } from 'react'; import Lazyload from '../../src/'; import Operation from '../components/Operation'; export default class Image extends Component { render() { return ( <div className="wrapper"> <Operation type="image" noExtra /> <div className="widget-list image-con...
client/modules/pages/components/.stories/about.js
kaibagoh/PitchSpot
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import { setComposerStub } from 'react-komposer'; import About from '../about.jsx'; storiesOf('pages.About', module) .add('default view', () => { return ( <About /> ); })
src/client/components/base/Belt/ListsBelt.container.js
DBCDK/content-first
import React from 'react'; import {connect} from 'react-redux'; import {get} from 'lodash'; import withIsVisible from '../../hoc/Scroll/withIsVisible.hoc'; import {withListAggregation} from '../../hoc/Aggregation'; import ListCard from '../../list/card/ListCard.component'; import {UPDATE_MOUNT} from '../../../redux/mou...
packages/forms/src/UIForm/fields/RadioOrSelect/RadioOrSelect.component.js
Talend/ui
import PropTypes from 'prop-types'; import React from 'react'; import Radio from '../Radios'; import Select from '../Select'; const MAX_TO_RADIO = 2; export default function RadioOrSelect(props) { if (props.schema.titleMap && props.schema.titleMap.length <= MAX_TO_RADIO) { return <Radio {...props} />; } return <...
public/js/components/activityfeed/activityContainer.react.js
IsuruDilhan/Coupley
import React from 'react'; import List from 'material-ui/lib/lists/list'; import ListItem from 'material-ui/lib/lists/list-item'; import RaisedButton from 'material-ui/lib/raised-button'; import ActivityfeedAction from '../../actions/ActivityFeed/ActivityfeedAction'; import StatusStore from '../../stores/StatusStore'; ...
12_ReactJS Fundamentals/04_routing/src/components/catalog/Post.js
akkirilov/SoftUniProject
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import observer from '../../infrastructure/observer'; class Post extends Component { constructor(props) { super(props); this.state = { isAuthorized: false } } componentDidMount() { ...
dispatch/static/manager/src/js/pages/Issues/IssueIndexPage.js
ubyssey/dispatch
import React from 'react' import { connect } from 'react-redux' import { replace } from 'react-router-redux' import ItemIndexPage from '../ItemIndexPage' import issuesActions from '../../actions/IssuesActions' const mapStateToProps = (state) => { return { token: state.app.auth.token, listItems: state.app.is...
src/routes/notFound/index.js
brian-kilpatrick/react-starter-kit
/** * 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 NotFound from './NotF...
packages/material-ui-icons/src/Queue.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z" /></g> , 'Queue');
src/components/Main.js
michaelbulid/gallery-by-react
require('normalize.css/normalize.css'); require('styles/App.css'); import React from 'react'; import ReactDOM from 'react-dom'; // 利用函数将图片名信息转成图片URL路径信息 import imageDatas from 'json-loader!../data/imageDatas.json'; function getImageURL(imageDataArr){ for (var i=0, j=imageDataArr.length; i<j; i++){ var singleImag...
frontend/src/components/Navigation/TooltipControlled.js
loicbaron/nutrition
import React from 'react'; import PropTypes from 'prop-types'; import Tooltip from '@mui/material/Tooltip'; import { Typography } from '@mui/material'; import { withStyles } from '@mui/styles'; import { anyNumberOfChildren } from '../miscellaneousProps'; export default function TooltipControlled({ children, title, tex...
src/routes/Login/components/Login.js
dima-bu/b2b.core
import React from 'react'; import LoginForm from './../../../components/form-login/form-login'; import style from './Login.less'; const Login = props => { const {LogIn, loggedIn, userName, errorMessage} = props; const onSubmitHandler = (credentials) => { LogIn(credentials); }; return ( <div className...
doc/src/theme/ReactLiveScope/index.js
mapillary/mapillary-js
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import React from 'react'; import * as three from 'three'; import * as mapillary from '../../mapillary-js/dist/mapil...
ajax/libs/primereact/7.0.0-rc.1/picklist/picklist.cjs.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/core"),n=require("primereact/button");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=o(e);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a fun...
src/svg-icons/communication/mail-outline.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationMailOutline = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"/> </SvgIcon> )...
react/features/shared-video/components/native/VideoManager.js
gpolitis/jitsi-meet
import Logger from '@jitsi/logger'; import React from 'react'; import Video from 'react-native-video'; import { connect } from '../../../base/redux'; import { PLAYBACK_STATUSES } from '../../constants'; import AbstractVideoManager, { _mapStateToProps, Props } from './AbstractVideoManager'; const logger = Log...
src/svg-icons/device/access-alarms.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAccessAlarms = (props) => ( <SvgIcon {...props}> <path d="M22 5.7l-4.6-3.9-1.3 1.5 4.6 3.9L22 5.7zM7.9 3.4L6.6 1.9 2 5.7l1.3 1.5 4.6-3.8zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4V8zM12 4c-5 0-9 4-9 9s4 9 9 9 9-4 9...
packages/mineral-ui-icons/src/IconSuccessSimple.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 IconSuccessSimple(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...icon...
packages/material-ui-icons/src/CardMembershipSharp.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="M22 2H2v15h6v5l4-2 4 2v-5h6V2zm-2 13H4v-2h16v2zm0-5H4V4h16v6z" /></g></React.Fragment> , 'CardMembershipSharp');
packages/legacy-events/PluginModuleType.js
flarnie/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 */ import type {Fiber} from 'react-reconciler/src/ReactFiber'; import type { DispatchConfig, ReactSyntheticEvent, } f...
examples/counter/index.js
cyhunter/redux-devtools
import React from 'react'; import App from './containers/App'; React.render( <App />, document.getElementById('root') );
ajax/libs/jquery/1.11.0-rc1/jquery.min.js
Assalaam/cdnjs
/*! jQuery v1.11.0-rc1 | (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 ...
src/main/resources/public/js/components/dropdown-menu.js
SICTIAM/ozwillo-portal
import React from 'react'; import PropTypes from 'prop-types'; class DropDownMenu extends React.Component { static propTypes = { header: PropTypes.node, footer: PropTypes.node, isOpen: PropTypes.bool, isAvailable: PropTypes.bool, dropDownChange: PropTypes.func, drop...
ajax/libs/rxjs/2.3.7/rx.js
francescoagati/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...
reactnative/__tests__/index.ios.js
b3j0f/debate
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/svg-icons/action/zoom-in.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionZoomIn = (props) => ( <SvgIcon {...props}> <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 1...
node_modules/material-ui/svg-icons/device/battery-charging-80.js
firdiansyah/crud-req
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
js/jqwidgets/demos/react/app/toolbar/toolevents/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxToolBar from '../../../jqwidgets-react/react_jqxtoolbar.js'; import JqxButton from '../../../jqwidgets-react/react_jqxbuttons.js'; import JqxDropDownList from '../../../jqwidgets-react/react_jqxdropdownlist.js'; import JqxNumberInput from '../../.....
node_modules/jsx-loader/node_modules/react-tools/src/addons/ReactFragment.js
chenbeitingting/reactjs-webpack-demo
/** * Copyright 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ReactF...
App.js
blakeface/namaste
import Expo, { Font, Contacts, Permissions } from 'expo'; import React, { Component } from 'react'; import { StyleSheet, Text, View, ListView, TouchableOpacity, Modal, Image } from 'react-native'; import { Button } from 'react-native-elements'; import ContactList from './components/contact_list'; export default class...
ajax/libs/reactive-coffee/0.0.4/reactive-coffee.js
fbender/cdnjs
(function() { var DepArray, DepCell, DepMap, DepMgr, Ev, MappedDepArray, ObsArray, ObsCell, ObsMap, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, bind, depMgr, ev, events, firstWhere, lagBind, maybe, mkMap, mktag, mkuid, nextUid, nthWhere, popKey, prop, propSet, props, recorder, rx, rxt, setProp, specialAttrs, tag, t...
grid-packages/ag-grid-docs/src/example-runner/chart-react-boilerplate/systemjs.prod.config.js
ceolter/angular-grid
(function (global) { // simplified version of Object.assign for es3 function assign() { var result = {}; for (var i = 0, len = arguments.length; i < len; i++) { var arg = arguments[i]; for (var prop in arg) { result[prop] = arg[prop]; } ...
src/docs/assets/scripts/urijs/jquery-1.8.2.min.js
njmube/mixerp
/*! 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===...
Libraries/Components/Touchable/TouchableHighlight.js
rebeccahughes/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...
docs/src/sections/PanelSection.js
Lucifier129/react-bootstrap
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function PanelSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> <Anc...
src/svg-icons/action/visibility-off.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionVisibilityOff = (props) => ( <SvgIcon {...props}> <path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.7...
src/components/Menu/__tests__/Menu.spec.js
propertybase/react-lds
import React from 'react'; import { mount } from 'enzyme'; import Menu from '../Menu'; import MenuItem from '../MenuItem'; import { Button, IconButton } from '../../Button'; const customButton = ( <IconButton icon="warning" sprite="utility" aria-haspopup="true" className="slds-button_icon-border-fil...
5.2.4/src/components/DevTools.js
erikras/redux-form-docs
import React from 'react' import { createDevTools } from 'redux-devtools' import LogMonitor from 'redux-devtools-log-monitor' import DockMonitor from 'redux-devtools-dock-monitor' import { toggleVisibilityKey, changePositionKey } from './devToolsConfig' export default createDevTools( <DockMonitor {...{ toggleVis...
ajax/libs/webshim/1.15.0/dev/shims/es6.js
maxklenk/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
src/svg-icons/image/filter-frames.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterFrames = (props) => ( <SvgIcon {...props}> <path d="M20 4h-4l-4-4-4 4H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H4V6h4.52l3.52-3.5L15.52 6H20v14zM18 8H6v10h12"/> </...
src/DropdownToggle.js
mxc/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import Button from './Button'; import CustomPropTypes from './utils/CustomPropTypes'; import SafeAnchor from './SafeAnchor'; const CARET = <span> <span className="caret" /></span>; export default class DropdownToggle extends React.Component { render() ...
node_modules/react-taco-table/site/src/components/SimpleExample.js
Sweetgrassbuffalo/ReactionSweeGrass-v2
import React from 'react'; import { TacoTable, DataType, SortDirection, Formatters, Summarizers, TdClassNames } from 'react-taco-table'; import data from '../data/spelling.json'; import './SimpleExample.scss'; const columns = [ { id: 'speller', type: DataType.String, header: 'Speller', renderer(c...
js/components/shared/LoadingIndicator.android.js
kort/kort-reloaded
import React from 'react'; import { ProgressBarAndroid, View, StyleSheet } from 'react-native'; const styles = StyleSheet.create({ overlayContainer: { flex: 1, justifyContent: 'center', position: 'absolute', top: 0, bottom: 0, left: 0, right: 0, backgroundColor: 'rgba(255,255,255,0)',...
client/src/js/lib/values.js
Dans-labs/dariah
import React from 'react' import Markdown from 'react-markdown' import { memoize } from 'memo' import { emptyS, emptyA, emptyO } from 'utils' import { applyTemplate } from 'templates' import { repr } from 'tables' import { compileActive } from 'workflow' import Input from 'Input' import Bool3 from 'Bool3' import Mar...
src/svg-icons/action/touch-app.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionTouchApp = (props) => ( <SvgIcon {...props}> <path d="M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4....
src/mobile/public/components/PersluLogo/index.js
Perslu/rerebrace
import React from 'react'; import "./styles.css"; import logo from '../../../assets/logo.png' const PersluLogo = (props) => <img src={logo} alt="logo" className="PersluLogo" />; export default PersluLogo
ajax/libs/react-instantsearch/4.1.0-beta.2/Core.js
jonobr1/cdnjs
/*! ReactInstantSearch 4.1.0-beta.2 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && ...
src/applications/personalization/dashboard/tests/components/cerner-widgets.unit.spec.js
department-of-veterans-affairs/vets-website
import React from 'react'; import { expect } from 'chai'; import { render } from '@testing-library/react'; import { getCernerURL } from 'platform/utilities/cerner'; import { CernerWidget } from '../../components/cerner-widgets'; describe('General Widget', () => { const facilityLocations = ['Facility Name']; let v...
files/rxjs/4.0.0/rx.lite.js
akkumar/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && expo...
static/programming-tutorials-backup/src/projects/frontend/lessons/HTMLClassesIDs.js
EdwardRees/EdwardRees.github.io
import React from "react"; const HTMLClassesIDs = () => ( <div> <h2>HTML5 Classes and IDs</h2> </div> ); export { HTMLClassesIDs };
examples/js/advance/auto-rowkey-table.js
AllenFang/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const jobs = []; const jobTypes = [ 'A', 'B', 'C', 'D' ]; function addJobs(quantity) { const startId = jobs.length; for (let i = 0; i < quantity; i++) { const id = startId + i; jo...
oatos_project/oatos_web/oatos_web/src/main/webapp/assets/js/lib/jquery-1.7.2.min.js
allanfish/facetime-demo
/*! 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...
test/specs/tabs/tab_button.spec.js
working-minds/realizejs
import React from 'react' import { TabButton } from 'components' import { assert } from 'chai'; import { shallow } from 'enzyme'; describe('<TabButton/>', () => { it('exists', () => { assert(TabButton); }); it('accepts an id prop', () => { const myId = 'my-id'; const wrapper = shallow(<TabButton id=...