path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
server/sonar-web/src/main/js/apps/account/components/UserCard.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...
packages/material-ui-icons/src/Lock.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Lock = props => <SvgIcon {...props}> <path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-...
spec/javascripts/jsx/external_apps/components/DuplicateConfirmationFormSpec.js
djbender/canvas-lms
/* * Copyright (C) 2017 - 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...
src/components/shared/header/Header.js
juandjara/open-crono
import React from 'react' import IconButton from 'react-toolbox/lib/button/IconButton' import ShowOnMedia from '../ShowOnMedia' import './Header.css' class Header extends React.Component { onToggleMenu = () => this.props.toggleSidenav() render() { return ( <header className="Header"> <ShowOnMedia...
src/routes/About/components/AboutView.js
MityaDSCH/MityaDSCH.github.io
import React from 'react' import RandomText from '../../../components/RandomText' import View from '../../../components/ViewWrapper' import classes from '../AboutView.scss' const p = React.PropTypes const titleAnimationDuration = 2000 const paragraphs = [ `I'm a giant nerd currently working as an apprentice develo...
src/parser/priest/discipline/modules/spells/LuminousBarrier.js
fyruna/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatNumber, formatPercentage } from 'common/format'; import { TooltipElement } from 'common/Tooltip'; import Analyzer from 'parser/core/Analyzer'; import Stat...
src/svg-icons/image/exposure-neg-1.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageExposureNeg1 = (props) => ( <SvgIcon {...props}> <path d="M4 11v2h8v-2H4zm15 7h-2V7.38L14 8.4V6.7L18.7 5h.3v13z"/> </SvgIcon> ); ImageExposureNeg1 = pure(ImageExposureNeg1); ImageExposureNeg1.displayName...
frontend/app_v2/src/components/Search/SearchPresentation.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' import { useLocation, Link } from 'react-router-dom' import DictionaryList from 'components/DictionaryList' import DictionaryGrid from 'components/DictionaryGrid' import SearchInput from 'components/SearchInput' import useIcon from 'common/useIcon' function...
src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/swagger-ui-standalone-preset.js
soyuka/core
/*! For license information please see swagger-ui-standalone-preset.js.LICENSE.txt */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(function(){try{return require("esprima")}catch(t){}}()):"function"==typeof define&&define.amd?define(["esprima"],e):"object"==typeof exports?exports.Swa...
ajax/libs/react-instantsearch/4.0.0-beta.1/Dom.js
tholu/cdnjs
/*! ReactInstantSearch 4.0.0-beta.1 | © Algolia, inc. | https://community.algolia.com/instantsearch.js/react/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof ...
example/__tests__/App-test.js
caiosba/react-native-share-menu
/** * @format */ import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { renderer.create(<App />); });
src/parser/druid/feral/modules/talents/SavageRoarUptime.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox';...
ajax/libs/oojs-ui/0.12.12/oojs-ui.js
hare1039/cdnjs
/*! * OOjs UI v0.12.12 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2015 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2015-10-13T20:38:18Z */ ( function ( OO ) { 'use strict'; /** * Namespace for all classes, static methods and ...
app/javascript/mastodon/features/status/containers/detailed_status_container.js
pso2club/mastodon
import React from 'react'; import { connect } from 'react-redux'; import DetailedStatus from '../components/detailed_status'; import { makeGetStatus } from '../../../selectors'; import { replyCompose, mentionCompose, directCompose, } from '../../../actions/compose'; import { reblog, favourite, unreblog, u...
clients/components/DocSearch/Components/ToggleVisible.js
CalderaWP/Caldera-Forms
import React from 'react'; import {Glyphicon} from 'react-bootstrap'; export class ToggleVisible extends React.Component { title() { if (this.props.isOpen) { return 'Close Search Panel'; } return 'Open Search Panel'; } supportUrl() { return `https://calderafor...
docs/src/app/components/pages/components/Tabs/ExampleIcon.js
frnk94/material-ui
import React from 'react'; import {Tabs, Tab} from 'material-ui/Tabs'; import FontIcon from 'material-ui/FontIcon'; import ActionFlightTakeoff from 'material-ui/svg-icons/action/flight-takeoff'; const TabsExampleIcon = () => ( <Tabs> <Tab icon={<FontIcon className="muidocs-icon-action-home" />} /> <Tab icon=...
examples/shopping-cart/test/components/ProductItem.spec.js
joshwreford/idle-game
import expect from 'expect' import React from 'react' import { shallow } from 'enzyme' import Product from '../../components/Product' import ProductItem from '../../components/ProductItem' function setup(product) { const actions = { onAddToCartClicked: expect.createSpy() } const component = shallow( <Pr...
examples/transitions/app.js
yongxu/react-router
import React from 'react'; import { Router, Route, Link, Navigation, Lifecycle } from 'react-router'; var App = React.createClass({ render() { return ( <div> <ul> <li><Link to="/dashboard">Dashboard</Link></li> <li><Link to="/form">Form</Link></li> </ul> {this.pr...
client/src/index.js
g3f4-xyz/lifeapp
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; // import registerAssetsCacheWorker from './registerAssetsCacheWorker'; import './registerPushWorker'; ReactDOM.render(<App />, document.getElementById('root')); // #TODO ogarnąć jak się z tego korzysta i dopier...
app/containers/HomePage/Albums/album-images.js
romy/personal-imgur-gallery
import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { GridList } from 'material-ui/GridList'; import IconButton from 'material-ui/IconButton'; import PhotoAlbum from 'material-ui/svg-icons/image/photo-album'; import React from 'react'; import R from 'ramda'; import { setDisplayName...
actor-apps/app-web/src/app/components/common/AvatarItem.react.js
jiguoling/actor-platform
import React from 'react'; import classNames from 'classnames'; class AvatarItem extends React.Component { static propTypes = { image: React.PropTypes.string, placeholder: React.PropTypes.string.isRequired, size: React.PropTypes.string, title: React.PropTypes.string.isRequired }; constructor(pro...
seeds/src/routes.js
Vincent-yz/react-creater
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/App'; import Home from './components/Home'; import NotFound from './components/NotFound'; export default ( <Route path="/" component={App}> <IndexRoute component={Home} /> <Route path="*" component={NotFound...
node_modules/react-bootstrap/es/Alert.js
geng890518/editor-ui
import _Object$values from 'babel-runtime/core-js/object/values'; import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-...
ajax/libs/forerunnerdb/1.3.745/fdb-core.min.js
joeyparrish/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/components/Main.js
taylord65/taylord65.github.io
import React from 'react' import { Switch, Route } from 'react-router-dom' import ThreeScene from './ThreeScene' import Soccer1 from './../pages/soccer1' import FifthLight from './../pages/fifthlight' import Saildrone from './../pages/saildrone' import TeaBot from './../pages/teabot' import SunLife from './.....
ajax/libs/react-bootstrap-typeahead/0.10.2/react-bootstrap-typeahead.js
hare1039/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
Example/index.ios.js
LinqVicky/react-native-camera-yx
import React from 'react'; import { AppRegistry } from 'react-native'; import Example from './Example'; AppRegistry.registerComponent('Example', () => Example);
public/js/cat_source/es6/components/segments/utils/DraftMatecatUtils/TagMenu/TagBox.js
matecat/MateCat
import React from 'react' import TagSuggestion from './TagSuggestion' class TagBox extends React.Component { tagBox = React.createRef() childRefs = [] componentDidUpdate(prevProps, prevState, snapshot) { this.scrollElementIntoViewIfNeeded(prevProps) } render() { const { popoverPosition, ...
src/js/containers/RelatedPanel/index.js
waagsociety/ams.datahub.client
import React from 'react' import { ItemRelated } from '../../components' export default function RelatedPanel({ props }) { const { related } = props.store.dataset return <div className='container floating secondary panel'> <header className='menu'> <h1>Related</h1> </header> <sec...
graph_ui/__tests__/Graph-test.js
rwhite226/Graphalyzer
'use strict'; jest.unmock('../js/Graph'); import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import Graph from '../js/Graph'; describe('Graph', () => { it('renders the graph area', () => { const graph = TestUtils.renderIntoDocument( <Graph ...
test/ButtonToolbarSpec.js
tannewt/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ButtonToolbar from '../src/ButtonToolbar'; import ButtonGroup from '../src/ButtonGroup'; import Button from '../src/Button'; describe('ButtonToolbar', function () { it('Should output a button toolbar', function () { let inst...
examples/js/complex/app.js
neelvadgama-hailo/react-bootstrap-table
/* eslint no-unused-vars: 0 */ /* eslint no-console: 0 */ /* eslint space-infix-ops: 0 */ /* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const jobs = []; function addJobs(quantity) { const startId = jobs.length; for (let i = 0; i < qu...
Ejercicio13/decimotercerejercicio/Scripts/jquery-1.10.2.js
DanielEcheverry96/Ejercicios-C-
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
app/javascript/mastodon/components/icon_button.js
summoners-riftodon/mastodon
import React from 'react'; import Motion from '../features/ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class IconButton extends React.PureComponent { static propTypes = { className: PropTypes.stri...
app/javascript/mastodon/features/standalone/compose/index.js
blackle/mastodon
import React from 'react'; import ComposeFormContainer from '../../compose/containers/compose_form_container'; import NotificationsContainer from '../../ui/containers/notifications_container'; import LoadingBarContainer from '../../ui/containers/loading_bar_container'; import ModalContainer from '../../ui/containers/mo...
src/svg-icons/action/reorder.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionReorder = (props) => ( <SvgIcon {...props}> <path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"/> </SvgIcon> ); ActionReorder = pure(ActionReorder); ActionReorder.displayName = 'Action...
src/js/static-views/NotFoundView/NotFoundView.js
Chandransh/music-player
import React, { Component } from 'react'; import { Link } from 'react-router'; export default class NotFoundView extends Component { render () { return ( <div className='container text-center'> <br/> <br/> <h1>404</h1> <hr/> <Link to='/'>Back To Home page</Link> ...
ajax/libs/rxjs/2.2.17/rx.compat.js
idleberg/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...
src/assets/jquery.min.js
kiranbandi/HCI-MultiTouchStudy
/*! jQuery v1.11.3 | (c) 2005, 2015 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...
src/svg-icons/image/leak-add.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLeakAdd = (props) => ( <SvgIcon {...props}> <path d="M6 3H3v3c1.66 0 3-1.34 3-3zm8 0h-2c0 4.97-4.03 9-9 9v2c6.08 0 11-4.93 11-11zm-4 0H8c0 2.76-2.24 5-5 5v2c3.87 0 7-3.13 7-7zm0 18h2c0-4.97 4.03-9 9-9v-2c-...
app/javascript/components/collections/CollectionCardThumbnail.js
avalonmediasystem/avalon
/* * Copyright 2011-2022, The Trustees of Indiana University and Northwestern * University. Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
src/svg-icons/notification/phone-missed.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationPhoneMissed = (props) => ( <SvgIcon {...props}> <path d="M6.5 5.5L12 11l7-7-1-1-6 6-4.5-4.5H11V3H5v6h1.5V5.5zm17.21 11.17C20.66 13.78 16.54 12 12 12 7.46 12 3.34 13.78.29 16.67c-.18.18-.29.43-.29.71...
src/server.js
terios/playMe
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 'babel-core/polyfill'; import path from 'path'; imp...
src/client/assets/javascripts/features/canvas/components/svg/Circle.js
tlodge/uibuilder
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import {camelise} from 'utils'; import { actionCreators as canvasActions, selector } from '../..'; import { connect } from 'react-redux'; @connect(selector, (dispatch) => { return{ actions: bindActionCreators(canvasActions, di...
src/propTypes.es6.js
curioussavage/reddit-mobile
import React from 'react'; let { array, string, number, bool, shape, oneOfType, arrayOf } = React.PropTypes; var _listingSource = shape({ url: string.isRequired, }); var _listingResolutions = arrayOf(shape({ width: number.isRequired, height: number.isRequired, url: string.isRequired, })); var _listingVarian...
ajax/libs/vue/1.0.13-csp/vue.common.js
ahocevar/cdnjs
/*! * Vue.js v1.0.13-csp * (c) 2015 Evan You * Released under the MIT License. */ 'use strict'; var __commonjs_global = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : this; function set(obj, key, val) { if (hasOwn(obj, key)) { obj[key] = val; return; } if (obj._isVu...
site/pages/HomePage.js
craigklem/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 ...
src/components/rfp_favorite_list.js
santhoshml/Bookbild-UI
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Link } from 'react-router-dom'; import DisplayRFPList from './display_RFP_list'; import { fetchFavoriteRFPListAction, fetchCompanyRFPListAction } from '../actions/index'; import * as act...
ajax/libs/draft-js/0.9.1/Draft.js
menuka94/cdnjs
/** * Draft v0.9.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...
client/extensions/woocommerce/woocommerce-services/views/shipping-label/label-purchase-modal/customs-step/item-row.js
Automattic/woocommerce-connect-client
/** * External dependencies */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { localize } from 'i18n-calypso'; /** * Internal dependencies */ import TextField from 'woocommerce/woocommerce-services/components/text-field'; import { setCustomsItemDescri...
packages/material-ui-icons/src/Info.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" /></React.Fragment> , 'Info');
tests/baselines/reference/reactNamespaceMissingDeclaration.js
synaptek/TypeScript
//// [reactNamespaceMissingDeclaration.tsx] // Error myReactLib not declared <foo data/> //// [reactNamespaceMissingDeclaration.js] // Error myReactLib not declared myReactLib.createElement("foo", { data: true });
src/components/navbar.js
daphnevisser/Upnotes
import React from 'react'; import { Link, IndexLink } from 'react-router'; import FontAwesome from 'react-fontawesome'; const Navbar = () => { return ( <nav> <ul> <li> <IndexLink to="/" activeClassName="selected"> <FontAwesome name="music" size="2x" className="nav-icon" />Tracks...
ajax/libs/mobile-angular-ui/1.2.0-rc.3/js/mobile-angular-ui.gestures.js
cdnjs/cdnjs
/** @module mobile-angular-ui.gestures.drag @description `mobile-angular-ui.gestures.drag` module exposes the `$drag` service that is used to handle drag gestures. `$drag` service wraps [$touch](../module:touch) service adding CSS transforms reacting to `touchmove` events. ## Usage ``` js angular.module('myApp', ['...
ajax/libs/x-editable/1.4.4/bootstrap-editable/js/bootstrap-editable.js
tresni/cdnjs
/*! X-editable - v1.4.4 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
js/actions/Login.js
httpdeveloper/AdsManager
/** * Copyright (c) 2017 Dinesh Maharjan <httpdeveloper@gmail.com> * * 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 * ...
packages/wix-style-react/src/AddItem/AddItem.spec.js
wix/wix-style-react
import React from 'react'; import { createRendererWithDriver, createRendererWithUniDriver, cleanup, } from '../../test/utils/react'; import { addItemPrivateDriverFactory } from './test/AddItem.private.driver'; import { addItemPrivateUniDriverFactory } from './test/AddItem.private.uni.driver'; import AddItem fro...
blueocean-material-icons/src/js/components/svg-icons/action/flip-to-back.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionFlipToBack = (props) => ( <SvgIcon {...props}> <path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8c1.1 0 2-.9 ...
src/components/Bookmarks.js
aryalprakash/aryalprakash.github.io
/** * Created by prakash on 8/29/2016. */ import React, { Component } from 'react'; import { Link } from 'react-router'; import Header from './Header' import Footer from './Footer' import Filter from './Filter' import Deals from './Deals' export default class Bookmarks extends Component { constructor() { ...
src/components/common/cover/Cover/Cover.js
CtrHellenicStudies/Commentary
import React from 'react'; import CoverBackground from '../CoverBackground'; import './Cover.css'; class Cover extends React.Component { constructor(props) { super(props); this.state = { width: window.innerWidth, }; } componentDidMount() { window.addEventListener('resize', () => { this.handleResi...
packages/material-ui-icons/src/SettingsInputSvideoOutlined.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="M8 11.5c0-.83-.67-1.5-1.5-1.5S5 10.67 5 11.5 5.67 13 6.5 13 8 12.33 8 11.5zm7-5c0-.83-.67-1.5-1.5-1.5h-3C9.67 5 9 5.67 9 6.5S9.67 8 10.5 8h3c.83...
src/routes/User/RegisterResult.js
wu-sheng/sky-walking-ui
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
src/parser/warrior/arms/modules/core/TacticianProc.js
fyruna/WoWAnalyzer
import React from 'react'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import SpellIcon from 'common/SpellIcon'; import SPELLS from 'common/SPELLS'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; class TacticianProc extends ...
client/src/header/Github.js
ziel5122/autograde
import React from 'react'; import github from '../images/mark-github.svg'; const anchorStyle = { alignItems: 'center', display: 'flex', height: '40px', justifyContent: 'center', textDecoration: 'none', width: '40px', }; const Github = () => ( <div> <a className="github" href="http://git...
src/components/board.js
NoSkillCorp/game-of-life
import React from 'react'; import PropTypes from 'prop-types'; import CellRow from './row'; import Navigation from './navigation'; class Board extends React.Component { constructor(props) { super(props); const { size } = this.props; this.state = { play: false, size: size ? parseInt(size, 10) ...
src/routes/error/index.js
vincentdd/crm
import React from 'react' import { Icon } from 'antd' import styles from './index.less' const Error = () => (<div className="content-inner"> <div className={styles.error}> <Icon type="frown-o" /> <h1>404 Not Found</h1> </div> </div>) export default Error
ajax/libs/react/0.13.1/react-with-addons.min.js
ruo91/cdnjs
/** * React (with addons) v0.13.1 * * 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...
src/svg-icons/action/accessible.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAccessible = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="4" r="2"/><path d="M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19...
examples/with-polka/src/server.js
jaredpalmer/react-production-starter
import App from './App'; import React from 'react'; import polka from 'polka'; import serve from 'serve-static'; import { renderToString } from 'react-dom/server'; const assets = require(process.env.RAZZLE_ASSETS_MANIFEST); export default polka() .use(serve(process.env.RAZZLE_PUBLIC_DIR)) .get('/*', (req, res) =>...
test/diff_fis3_smarty/product_code/hao123_fis3_smarty/common/widget/ui/jquery/1.8.3/jquery.js
Brother-Simon/fis3
/*! * jQuery JavaScript Library v1.8.3 * 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: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
ajax/libs/angular-google-maps/2.0.13/angular-google-maps.js
owcc/cdnjs
/*! angular-google-maps 2.0.13 2015-02-25 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, ...
src/main.js
obfk/buildmaster
import React from 'react' import ReactDOM from 'react-dom' import { useRouterHistory } from 'react-router' import { createHistory } from 'history' import makeRoutes from './routes' import Root from './containers/Root' import configureStore from './redux/configureStore' import * as actions from './actions/actions' cons...
frontend/src/screens/survey-report/survey-viewer/survey-viewer.js
linea-it/qlf
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import TableCell from '@material-ui/core/TableCell'; import TableHead from '@material-ui/core/TableHead'...
src/components/Sections/SectionMarkdown.js
demisto/sane-reports
/* eslint-disable react/prop-types */ import './SectionMarkdown.less'; import '../../../assets/styles/railscasts.css'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { mdReact } from 'react-markdown-demisto'; import Highlight from 'react-highlight'; import isString from 'lodash/isS...
packages/material-ui-icons/src/Train.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 2c-4 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h2.23l2-2H14l2 2h2v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4zM7.5 17c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1...
src/desktop/apps/editorial_features/components/gucci/client.js
kanaabe/force
import React from 'react' import ReactDOM from 'react-dom' import App from 'desktop/apps/editorial_features/components/gucci/components/App.jsx' import { data as sd } from 'sharify' export default () => { ReactDOM.render( <App activeSection={sd.VIDEO_INDEX} curation={sd.CURATION} isMobile={sd.I...
ajax/libs/zingchart-react/1.0.7/zingchart-react.js
sufuf3/cdnjs
import zingchart from 'zingchart'; import React, { Component } from 'react'; class Core extends Component{ render() { return ( React.createElement("div", {id: this.props.id}) ); } //Called after the render function. componentDidMount(){ zingchart.render({ ...
src/components/ToolbarAccordionContent.js
dominic-blain/viper-visualizer
import React from 'react'; class ToolbarAccordionContent extends React.Component { constructor(props) { super(props); this.state = { inited: false }; } componentDidMount() { this.setState({inited: true}); const initialHeight = this.div.offsetHeight; this.div.style.height = initialHeight+'px'; } r...
packages/playground/stories/Animate.story.js
appearhere/bloom
import React, { Component } from 'react'; import keyMirror from 'key-mirror'; import { storiesOf } from '@storybook/react'; import { linkTo } from '@storybook/addon-links'; import { withKnobs, select } from '@storybook/addon-knobs'; import { Animate, Btn, Modifiers as m } from '@appearhere/bloom'; const sunrisePanels...
ajax/libs/6to5/3.4.0/browser-polyfill.js
codfish/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/components/topic/snapshots/foci/ManageFocalSetsContainer.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { connect } from 'react-redux'; import { injectIntl, FormattedMessage, FormattedHTMLMessage } from 'react-intl'; import { Grid, Row, Col } from 'react-flexbox-grid/lib'; import withAsyncData from '../../../common/hocs/AsyncDataContainer'; import AppB...
packages/material-ui-icons/src/RecentActors.js
lgollut/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 5v14h2V5h-2zm-4 14h2V5h-2v14zM14 5H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM8 7.75c1.24 0 2.25 1.01 2.25 2.25S9.24 12.25 8 12.25 5.75 11.24 5.75 10 6.76 7.75...
ajax/libs/react-bootstrap/0.28.1/react-bootstrap.js
sashberd/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
ajax/libs/6to5/1.14.11/browser-polyfill.js
Sneezry/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...
node_modules/react-icons/md/call.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdCall = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m11 18q3.8 7.2 11 11l3.7-3.7q0.8-0.8 1.7-0.4 2.8 1 6 1 0.7 0 1.1 0.4t0.5 1.2v5.9q0 0.7-0.5 1.1t-1.1 0.5q-11.8 0-20.1-8.3t-8.3-20.1q0-0.7 0.5-1.1t1.1-0.5h5.9q0.7 0 1.2 0....
tests/components/Navigation/Navigation.spec.js
successkrisz/fx-rates-right
import React from 'react' import { shallow } from 'enzyme' import { IndexLink, Link } from 'react-router' import Navigation from 'components/Navigation' describe('(Component) Navigation', () => { let wrapper beforeEach(() => { wrapper = shallow(<Navigation />) }) it('Should render as a <div>', () => { ...
ajax/libs/react/0.5.2/react.min.js
HealthIndicators/cdnjs
/** * React v0.5.2 * * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
src/components/article/Image.js
garfieldduck/twreporter-react
/*eslint no-unused-vars: [2, { "args": "none" }]*/ 'use strict' import { replaceStorageUrlPrefix } from '../../utils/index' import cx from 'classnames' import commonStyles from './Common.scss' import FitwidthMixin from './mixins/FitwidthMixin' import { getScreenType } from '../../utils/index' import BlockAlignmentWrapp...
src/svg-icons/editor/merge-type.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorMergeType = (props) => ( <SvgIcon {...props}> <path d="M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"/> </SvgIcon> ); EditorMergeType = pure(Editor...
packages/material-ui-icons/src/AirportShuttleSharp.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M17 5H1v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-6-6zM3 11V7h4v4H3zm3 6.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25...
playground/playground.js
gabrielbull/react-aim
import React, { Component } from 'react'; import Zone from '../examples/zone/zone'; import Menu from '../examples/menu/menu'; import Target from '../examples/target/target'; import Tooltip from '../examples/tooltip/tooltip'; const style = { zIndex: '1000', position: 'fixed', top: '0px', left: '0px', padding:...
client/modules/Search/__tests__/components/PostList.spec.js
sethkaufee/TherapyApp
import React from 'react'; import test from 'ava'; import { shallow } from 'enzyme'; import PostList from '../../components/PostList'; const posts = [ { name: 'Prashant', title: 'Hello Mern', slug: 'hello-mern', cuid: 'f34gb2bh24b24b2', content: "All cats meow 'mern!'" }, { name: 'Mayank', title: 'Hi Mern', slug: ...
ajax/libs/yui/3.15.0/event-focus/event-focus-min.js
Flo-Schield-Bobby/cdnjs
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,fu...
src/shared/handlers/sport/football/match.js
namroodinc/contentful-react-mobx-post
import React from 'react'; import { observer } from 'mobx-react'; import { observable } from "mobx"; import dataActions from '../../../actions/dataActions'; import dataStore from '../../../stores/dataStore'; import Loading from '../../../components/loading'; import { Grid, GridItem } from '../../../components/grid'; ...
ajax/libs/6to5/3.0.10/browser-polyfill.js
owcc/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/svg-icons/social/group-add.js
manchesergit/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....
ajax/libs/oojs-ui/0.17.7/oojs-ui-windows.js
menuka94/cdnjs
/*! * OOjs UI v0.17.7 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2016-08-03T16:38:22Z */ ( function ( OO ) { 'use strict'; /** * An ActionWidget is a {@link OO.ui.ButtonWidget ...
scripts/demos2Stories.js
isogon/styled-mdl
#!/usr/bin/env node /* eslint-disable no-console */ const fs = require('fs'); const path = require('path'); const glob = require('glob'); const startCase = require('lodash/startCase'); const dest = path.resolve(__dirname, '../stories'); const source = path.resolve(__dirname, '../src'); const components = glob.sync('...
js/jquery.js
marcioa1/marcioa1.github.io
/*! 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...
src/svg-icons/action/settings-brightness.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsBrightness = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1...