path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
app/javascript/flavours/glitch/containers/account_container.js
glitch-soc/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import { makeGetAccount } from 'flavours/glitch/selectors'; import Account from 'flavours/glitch/components/account'; import { followAccount, unfollowAccount, blockAccount, ...
public/js/jquery.min.js
inobrega/zf2_livraria
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
app/components/stations/StationValuesGrid.js
sheldhur/Vector
import { remote } from 'electron'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Icon, Popconfirm } from 'antd'; import moment from 'moment'; import resourcePath ...
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/src/CardBody.js
GoogleCloudPlatform/prometheus-engine
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules, tagPropType } from './utils'; const propTypes = { tag: tagPropType, className: PropTypes.string, cssModule: PropTypes.object, innerRef: PropTypes.oneOfType([ PropTypes.object, P...
app/components/calendar/Calendar.js
phoenixmusical/web-client
import React, { Component } from 'react'; import Relay from 'react-relay'; import IconButton from 'material-ui/IconButton'; import CalendarDay from './CalendarDay'; export default class Calendar extends Component { render () { const { events, startDate, onNextWeek, onPreviousWeek } = this.props; co...
packages/material-ui-icons/src/SimCard.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M19.99 4c0-1.1-.89-2-1.99-2h-8L4 8v12c0 1.1.9 2 2 2h12.01c1.1 0 1.99-.9 1.99-2l-.01-16zM9 19H7v-2h2v2zm8 0h-2v-2h2v2zm-8-4H7v-4h2v4zm4 4h-2v-4h2v4zm0-6h-2v-2h2v2zm4 2h-2v-4h2v4z" /></g> , 'SimCard'...
admin/client/views/list.js
riyadhalnur/keystone
'use strict'; import React from 'react'; import ReactDOM from 'react-dom'; import classnames from 'classnames'; import CurrentListStore from '../stores/CurrentListStore'; import Columns from '../columns'; import ConfirmationDialog from '../components/ConfirmationDialog'; import CreateForm from '../components/CreateFor...
ajax/libs/angular.js/0.10.1/angular.js
advancedpartnerships/cdnjs
/** * @license AngularJS v0.10.1 * (c) 2010-2011 AngularJS http://angularjs.org * License: MIT */ 'use strict'; (function(window, document, undefined){ //////////////////////////////////// if (typeof document.getAttribute == $undefined) document.getAttribute = function() {}; /** * @ngdoc function * @name ang...
src/routes/UIElement/iconfont/index.js
shaohuawang2015/goldbeans-admin
import React from 'react' import { Iconfont } from 'components' import { Table, Row, Col, Icon } from 'antd' import styles from './index.less' import './emoji.js' const colorfulIcons = ['boluo', 'baixiangguo', 'chengzi', 'boluomei', 'caomei', 'dayouzi', 'chelizi', 'fanqie', 'hamigua', 'ganlan', 'juzi', 'heimei', 'hu...
src/js/components/icons/base/DocumentUpload.js
odedre/grommet-final
/** * @description DocumentUpload SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor....
node_modules/react-bootstrap/es/ListGroupItem.js
lucketta/got-quote-generator
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-...
config/shims/assetInserter/schema.js
Kalcode/Gatsby-Boilerplate
import React from 'react' import config from 'config' export default function Schema(props) { return ( <script key='schema-script' type='application/ld+json' dangerouslySetInnerHTML={{__html: JSON.stringify({ '@context': 'http://schema.org', '@type': 'Organization', 'add...
node_modules/material-ui/svg-icons/image/camera-roll.js
SerendpityZOEY/Solr-Search-React-UI
'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...
ajax/libs/yui/2.9.0/container/container.js
ProfNandaa/cdnjs
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ (function () { /** * Config is a utility used within an Object to allow the implementer to * maintain a list of local configuration properties and liste...
ajax/libs/fluentui-react/8.42.2/fluentui-react.js
cdnjs/cdnjs
/*! For license information please see fluentui-react.js.LICENSE.txt */ var FluentUIReact;!function(){"use strict";var e={d:function(t,o){for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Functio...
test/PopoverSpec.js
pandoraui/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Popover from '../src/Popover'; describe('Popover', function () { it('Should output a popover title and content', function () { let instance = ReactTestUtils.renderIntoDocument( <Popover title="Popover title"> <...
src/core/tests/snapshot/mocks/pigment-store/react.js
JulienPradet/pigment-store
/* global describe it expect */ import React from 'react' import renderer from 'react-test-renderer' const runTest = (componentName, featureName, decorators, render, actions) => { describe(componentName, () => { it(featureName, () => { const finalRender = decorators.reduce( (finalRender, decorator)...
zanata-editor/src/__tests__/components/SuggestionSourceDetailsTest.js
Halcom/zanata-server
jest.disableAutomock() import React from 'react' import ReactDOMServer from 'react-dom/server' import Icon from '../../app/components/Icon' import SuggestionSourceDetails from '../../app/components/SuggestionSourceDetails' describe('SuggestionSourceDetailsTest', () => { it('SuggestionSourceDetails markup (imported)...
src/parser/demonhunter/havoc/modules/talents/Netherwalk.js
sMteX/WoWAnalyzer
import React from 'react'; import StatisticBox from 'interface/others/StatisticBox'; import { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import SPELLS from 'common/SPELLS/index'; import SpellIcon from 'common/SpellIcon'; import Events from 'parser/core/Events'; import Analyzer, { SELECTED_PLAYER } from 'pa...
ajax/libs/F2/1.3.2/f2.no-easyXDM.min.js
neveldo/cdnjs
/*! F2 - v1.3.2 - 11-18-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...
src/core/__tests__/ReactEventEmitter-test.js
jaredly/react
/** * 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 applicable law or agreed to ...
lavalab/html/node_modules/react-bootstrap/es/Nav.js
LavaLabUSC/usclavalab.org
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-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
ajax/libs/reactive-coffee/1.0.0/reactive-coffee.js
NMastracchio/cdnjs
(function() { var DepArray, DepCell, DepMap, DepMgr, Ev, FakeObsCell, FakeSrcCell, IndexedArray, IndexedDepArray, IndexedMappedDepArray, MappedDepArray, ObsArray, ObsCell, ObsMap, ObsMapEntryCell, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, SrcMapEntryCell, asyncBind, bind, depMgr, ev, events, firstWhere, flatten, ...
4-add-universal/src/client.js
chemoish/react-universal-tutorial
// This will emulate a full ES6 environment. import 'babel-polyfill'; import React from 'react'; import { createHistory } from 'history'; import { Provider } from 'react-redux'; import { render } from 'react-dom'; import { Router } from 'react-router'; import { syncReduxAndRouter } from 'redux-simple-router'; import...
src/svg-icons/av/equalizer.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvEqualizer = (props) => ( <SvgIcon {...props}> <path d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"/> </SvgIcon> ); AvEqualizer = pure(AvEqualizer); AvEqualizer.displayName = 'AvEqualizer'; AvEqualizer...
src/components/exercises/HasPhoneme.js
cognostics/serlo-abc
import React, { Component } from 'react'; import { View } from 'react-native'; import speakerImage from '../../assets/images/speaker.png'; import { PRIMARY } from '../../styles/colors'; import { RoundTextButton, RoundImageWithButton } from '../Components'; import { loadSound, play } from '../helpers/audio'; class Ha...
boilerplate/App/Containers/LaunchScreen.js
TelaClaims/ignite-tela-boilerplate
import React, { Component } from 'react' import { ScrollView, Text, Image, View } from 'react-native' import Images from 'images' // Styles import styles from './LaunchScreenStyles' export default class LaunchScreen extends Component { render () { return ( <View style={styles.mainContainer}> <Imag...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/RestAndDefault.js
viankakrisna/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'; function load({ id, ...rest } = { id: 0, user: { id: 42, ...
ajax/libs/react-native-web/0.15.2/exports/Modal/ModalAnimation.js
cdnjs/cdnjs
/** * Copyright (c) Nicolas Gallagher. * 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. * * */ import { useEffect, useCallback, useState, useRef } from 'react'; import StyleSheet from...
client/src/components/dashboard/Profile/Public/Table.js
FCC-Alumni/alumni-network
import { CenterAlignedWrapper } from '../../../../styles/style-utils'; import React from 'react'; const Table = ({ children, columnWidth }) => { return ( <div className={`${columnWidth} wide column`}> <CenterAlignedWrapper> <table className="ui very basic unstackable celled striped table"> ...
src/components/Main.js
bathpp/gallery_react
require('normalize.css/normalize.css'); require('styles/App.scss'); import React from 'react'; import ReactDOM from 'react-dom'; // url loader, return MD5 hash of the file content // let yeomanImage = require('../images/yeoman.png'); let imageData = require('../data/imageData.json'); // json object can use map? image...
app/containers/Root.js
AmazingHorse/ee-toolkit
// @flow import React from 'react'; import { Provider } from 'react-redux'; import { ConnectedRouter } from 'react-router-redux'; import Routes from '../routes'; type RootType = { store: {}, history: {} }; export default function Root({ store, history }: RootType) { return ( <Provider store={store}> <...
src/routes.js
apedyashev/react-calendar-app
import React from 'react'; import {Route, Redirect, IndexRedirect} from 'react-router'; import App from 'components/App'; import * as CalendarPage from 'components/Screens/Calendar'; import NotFoundView from 'components/Screens/NotFound'; export default [ <Redirect from="/" to="/calendar" />, <Route path="/" comp...
ajax/libs/react-bootstrap-table/2.4.1/react-bootstrap-table.min.js
dlueth/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrapTable=t(require("react"),require("react-dom")):e.ReactBootstrapTable=t(e.React,e.R...
app/viewControllers/admin/Blog.js
Evyy/cffs-ui
'use strict'; import React from 'react'; import AdminPage from './AdminPage'; import {Link} from 'react-router'; class Blog extends React.Component { constructor(props) { super(props); } render() { return ( <AdminPage title='Blog' className='blog'> <div clas...
packages/material-ui-icons/src/LocationDisabledSharp.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="M23 13v-2h-2.06c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06c-.98.11-1.91.38-2.77.78l1.53 1.53C10.46 5.13 11.22 5 12 5c3.87 0 7 3.13 7 7 0 .79-.13...
public/script/my/component/ui/tip.js
yuyang041060120/react-router-demo
import React from 'react'; import $ from 'jquery'; var TipComponent = React.createClass({ render: function () { return ( <div className="alert alert-success ui-tip"> {this.props.content} </div> ) } }); var instant; var timeout; function tip(options...
src/components/header.js
fuqua/fuqua.github.io
import React from 'react' import { Link } from 'gatsby' import styled from 'styled-components'; const Container = styled.div` ${tw`bg-grey-lightest px-32 py-8`}; ` const Title = styled.h1` ${tw`text-grey-darkest m-0`}; ` const StyledLink = styled(Link)` ${tw`no-underline text-inherit`}; ` const Header = ({ site...
karma-shim.js
spinnaker/deck
/* eslint-disable @spinnaker/import-sort */ import jQuery from 'jquery'; // jquery has to be first or many a test will break global.$ = global.jQuery = jQuery; import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() }); Error.stackTraceLimit = Infinity; i...
src/routes.js
Alyar-Ruby/react-redux-auth0
import React from 'react' import { Route, IndexRoute } from 'react-router' import { AppContainer } from './containers' import { HomePage, DashboardPage, AboutPage, NotFoundPage } from './components' export default function createRoutes() { return( <Route path='/' component={AppContainer}> <IndexRoute comp...
app/components/Login/index.js
hamzasurti/tenx-hackday-restart
/** * * Login * */ import React from 'react'; // import styled from 'styled-components'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; class Login extends React.PureComponent { // eslint-disable-line react/prefer-stateless-function render() { return ( <div> <Fo...
test/spec/autoCompleteSpec.js
ishenli/winnie-react
/** * @file autoComplete test */ var React = require('react/addons'); var TestUtils = React.addons.TestUtils; var Simulate = TestUtils.Simulate; var AutoComplete = require('../../src/AutoComplete'); var keyCode = require('../../src/keyCode'); var node = document.createElement('div'); document.body.appendChil...
Rosa_Madeira/Revendedor/src/components/common/Button.js
victorditadi/IQApp
import React from 'react'; import { Text, TouchableOpacity } from 'react-native'; const ButtonForm = ({ onPress, children}) => { const { buttonStyle, textStyle } = styles; return ( <TouchableOpacity onPress={onPress} style={buttonStyle}> <Text style={textStyle}> {children} </Text> </To...
ajax/libs/analytics.js/2.8.4/analytics.js
menuka94/cdnjs
(function umd(require){ if ('object' == typeof exports) { module.exports = require('1'); } else if ('function' == typeof define && define.amd) { define(function(){ return require('1'); }); } else { this['analytics'] = require('1'); } })((function outer(modules, cache, entries){ /** * Global ...
src/screen/Oscilloscope/components/Graph.js
wavicles/fossasia-pslab-apps
import React, { Component } from 'react'; import { ResponsiveContainer, Line, LineChart, XAxis, YAxis, CartesianGrid, Tooltip, Legend, Label, } from 'recharts'; import { withTheme } from 'styled-components'; import { GraphWrapper } from './Settings.styles'; const electron = window.require('electron')...
test/unit/Divider.spec.js
rolandpoulter/material-ui
import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Divider from 'src/divider'; describe('<Divider />', () => { it('renders className', () => { const wrapper = shallow( <Divider className="test-class-name" /> ); assert.ok(wrapper.is('.test-c...
app/react-icons/fa/unlock-alt.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaUnlockAlt extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m30.6 17.1q0.9 0 1.5 0.7t0.6 1.5v12.8q0 0.9-0.6 1.6t-1.5 0.6h-21.5q-0.8 0-...
client/app/src/components/ServiceList/index.js
gk95/nightlux
import React from 'react' import { Item } from 'semantic-ui-react'; import Service from './service'; export default function ServiceList({ services }) { return ( <Item.Group divided> { services.map(s => <Service key={s.id} service={s} />) } </Item.Group> ); }
src/wrapper.js
Brogency/baobab-react-resolver
import React from 'react'; import { RootMixin } from 'baobab-react-mixins'; export default React.createClass({ mixins: [RootMixin], childContextTypes: { onResolve: React.PropTypes.func, }, getChildContext() { return { onResolve: this.props.onResolve, }; }, ...
packages/react-error-overlay/src/containers/StackTrace.js
reedsa/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. */ /* @flow */ import React, { Component } from 'react'; import StackFrame from './StackFrame'; import Collapsible from '../components/Coll...
src/components/shared/CompanyModal.js
germohn/tarkvaraprojekt
import Logo from '../shared/Logo'; import React from 'react'; import PropTypes from 'prop-types'; import {Modal} from 'react-bootstrap'; import {joinFoundersToList} from '../../containers/util/OtherFunctions'; const CompanyModal = (props) => { return ( <Modal show={props.show} onHide={(e) => props.close(e)}> ...
packages/material-ui-icons/src/Star.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Star = props => <SvgIcon {...props}> <path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" /> </SvgIcon>; Star = pure(Star); Star.muiName = 'SvgIcon'; expo...
packages/material-ui-icons/src/AddTwoTone.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="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" /></React.Fragment> , 'AddTwoTone');
ajax/libs/highmaps/4.2.2/highcharts.src.js
Piicksarn/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.2.2 (2016-02-04) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ (function (root, factory) { if (typeof module === 'object' && module.exports) { module.exports = root.documen...
thingmenn-frontend/src/widgets/weekday-hour-matrix/index.js
baering/thingmenn
import React from 'react' import PropTypes from 'prop-types' import './styles.css' const dayNames = ['Sun', 'Mán', 'Þri', 'Mið', 'Fim', 'Fös', 'Lau'] const days = new Array(7).fill('').map((_, index) => `${index}`) const timeSlots = new Array(24).fill(0).map((_, index) => index + 1) const renderTimeSlot = (hours) =>...
packages/cockpit/ui/src/components/Block.js
iurimatias/embark-framework
import React from 'react'; import {Row, Col, Card, CardHeader, CardBody} from 'reactstrap'; import PropTypes from 'prop-types'; import Description from './Description'; import CardTitleIdenticon from './CardTitleIdenticon'; const Block = ({block}) => ( <Row> <Col> <Card> <CardHeader> <Ca...
node_modules/react-icons/fa/hand-grab-o.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaHandGrabO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20.1 8.6q-1.1 0-2 0.8t-0.8 2v2.9h-0.7v-2.1q0-1.1-0.7-1.8t-1.8-0.8q-1.1 0-1.8 0.8t-0.7 1.7v9.6l-0.7-0.7v-3.8q0-1.1-0.8-1.8t-1.7-0.8q-1.1 0-1.8 0.8t-0.7 1.7v5q0 1.1 ...
files/firebase/3.0.5/firebase.js
Asaf-S/jsdelivr
/*! @license Firebase v3.0.5 Build: 3.0.5-rc.2 Terms: https://developers.google.com/terms */ (function() { var h="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global?global:this,l=function(){h.Symbol||(h.Symbol=aa);l=function(){}},ba=0,aa=function(a){return"jscomp_symbol_"+a+ba++},m=functio...
src/components/App.js
VinodJayasinghe/CircleCI
import React from 'react' import { browserHistory, Router } from 'react-router' import { Provider } from 'react-redux' import PropTypes from 'prop-types' class App extends React.Component { static propTypes = { store: PropTypes.object.isRequired, routes: PropTypes.object.isRequired, } shouldComponentUpd...
src/scripts/base/Hr.js
ButuzGOL/constructor
import React from 'react'; import variables from '../styles/variables'; export default class Hr extends React.Component { getStyles() { return { boxSizing: 'content-box', height: 0, margin: `${variables.baseHrMarginVertical}px 0`, border: 0, borderTop: `${variables.baseHrBorderWid...
ajax/libs/forerunnerdb/1.3.40/fdb-core.min.js
hare1039/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...
examples/counter/test/containers/App.spec.js
ellbee/redux
import expect from 'expect' import React from 'react' import TestUtils from 'react-addons-test-utils' import { Provider } from 'react-redux' import App from '../../containers/App' import configureStore from '../../store/configureStore' function setup(initialState) { const store = configureStore(initialState) const...
src/svg-icons/hardware/memory.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareMemory = (props) => ( <SvgIcon {...props}> <path d="M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 ...
actor-apps/app-web/src/app/utils/require-auth.js
guiquanz/actor-platform
import React from 'react'; import LoginStore from 'stores/LoginStore'; export default (Component) => { return class Authenticated extends React.Component { static willTransitionTo(transition) { if (!LoginStore.isLoggedIn()) { transition.redirect('/auth', {}, {'nextPath': transition.path}); }...
src/pages/lefix.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='Lefix' /> )
resources/src/js/components/Finder/components/Album.js
aberon10/thermomusic.com
'use strict'; // Dependencies import React from 'react'; import { Link } from 'react-router-dom'; import {substr} from '../../utils'; import Finder from '../index'; import ResultBox from '../ResultBox'; export default class Album extends React.Component { constructor(props) { super(props); this.state = { ele...
server/server.js
lordknight1904/bigvnadmin
import Express from 'express'; import compression from 'compression'; import mongoose from 'mongoose'; import bodyParser from 'body-parser'; import path from 'path'; // Webpack Requirements import webpack from 'webpack'; import config from '../webpack.config.dev'; import webpackDevMiddleware from 'webpack-dev-middlewa...
frontend/src/components/common/Routes/UnauthorizedOnlyRoute.js
VladimirAnaniev/LoggIt
import React from 'react' import { Route, Redirect } from 'react-router-dom' import { connect } from 'react-redux' function UnauthorizedOnlyRoute ({component: Component, isLoggedIn, ...rest}) { return ( <Route {...rest} render={props => ( !isLoggedIn ? ( <Component {...props} /> ) : ( ...
actor-sdk/sdk-web/src/components/common/ContactItem.react.js
ljshj/actor-platform
/* * Copyright (C) 2016 Actor LLC. <https://actor.im> */ import React, { Component, PropTypes } from 'react'; import { shouldComponentUpdate } from 'react-addons-pure-render-mixin'; import classnames from 'classnames'; import AvatarItem from './AvatarItem.react'; import { escapeWithEmoji } from '../../utils/EmojiU...
src/static/js/jquery.js
livingbio/weather-parser
/*! * jQuery JavaScript Library v1.11.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-04-28T16:19Z */ (function( global, factory ) { if ...
src/App.js
NihonGo-team/nihongo-cms
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h1 className="App-title">Welco...
_site/js/jquery-1.11.1.js
maominghui/CleanMagicMedium-Jekyll
/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-05-01T17:42Z */ (function( global, factory ) { if ...
blueocean-material-icons/src/js/components/svg-icons/social/share.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const SocialShare = (props) => ( <SvgIcon {...props}> <path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.3...
src/svg-icons/action/input.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionInput = (props) => ( <SvgIcon {...props}> <path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"/> </...
src/Card/CardBody.js
reactivers/react-material-design
/** * Created by Utku on 24/03/2017. */ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import '@material/card/dist/mdc.card.css'; export default class CardBody extends React.PureComponent{ static propTypes={ className : PropTypes.string, style ...
src/server.js
mywentu/react-blog
import React from 'react' import { match } from 'react-router' import { renderToString, renderToStaticMarkup } from 'react-dom/server' import { syncHistoryWithStore } from 'react-router-redux' import createMemoryHistory from 'react-router/lib/createMemoryHistory' import { getStyles } from 'simple-universal-style-loader...
src/components/Biggo.js
swashcap/LookieHere
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Animated, Image, Platform, StatusBar, StyleSheet, Text, TouchableWithoutFeedback, View, WebView, } from 'react-native'; import loadingAnimation3 from '../images/loading-animation-3.gif'; import Panonav from './Pano...
soon/react-boilerplate/app/components/LoadingIndicator/Circle.js
rmevans9/reactotron
import React, { PropTypes } from 'react'; import styled, { keyframes } from 'styled-components'; const circleFadeDelay = keyframes` 0%, 39%, 100% { opacity: 0; } 40% { opacity: 1; } `; const Circle = (props) => { const CirclePrimitive = styled.div` width: 100%; height: 100%; positio...
src/icons/RemoveCircleIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class RemoveCircleIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm10 22H14v-4h20v4z"/></svg>;} };
src/client/index.js
busyorg/busy
import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { message } from 'antd'; import Cookie from 'js-cookie'; import steemConnectAPI from './steemConnectAPI'; import history from './history'; import getStore from './store'; import AppHost f...
works/react-native/redux/reddit-js/async/src/index.js
JoelPub/wordpress-amazon
import React from 'react' import { render } from 'react-dom' import { createStore, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import thunk from 'redux-thunk' import createLogger from 'redux-logger' import reducer from './reducers' import App from './containers/App' const middleware = [ thunk...
src/views/SignUp.js
bshyong/trailerzoo-redux
import React from 'react'; export default class SignUp { render() { return ( <div> <h1>Sign Up</h1> </div> ); } }
docs/website/src/templates/action.js
adaltas/node-nikita
// React import React from 'react' // Gatsby import { graphql } from 'gatsby' // MDX import { MDXProvider } from "@mdx-js/react" import { MDXRenderer } from "gatsby-plugin-mdx" // Local import Layout from '../components/Layout' const Template = ({ data }) => { const { page } = data return ( <Layout page={{ ...
client/modules/Post/__tests__/components/PostCreateWidget.spec.js
BingeTrackr/BingeTrackr
import React from 'react'; import test from 'ava'; import sinon from 'sinon'; import { FormattedMessage } from 'react-intl'; import { PostCreateWidget } from '../../components/PostCreateWidget/PostCreateWidget'; import { mountWithIntl, shallowWithIntl } from '../../../../util/react-intl-test-helper'; const props = { ...
HomeRange/app/components/NullPage.js
Onlyjson/yanShu_Project
/** * @author: zhangyh-k@glondon.com * @description: * @Date: 2017/10/9 上午11:08 */ import React from 'react'; import { Image, View } from 'react-native'; //无数据 export const NullPage = () => { return ( <View style={{alignItems:'center',paddingTop:160,flex:1}}> <Image source={require('../im...
src/main.js
janakuma/newLobby
import React from 'react'; import ReactDOM from 'react-dom'; import {createStore} from 'redux'; import {Provider} from 'react-redux'; import App from './apps/components/app/app'; import allReducers from './apps/components/reducers'; import './apps/styles/styles.scss'; const store = createStore( allReduc...
src/client/app/index.js
mapkiwiz/sectorisation
import React from 'react'; import ReactDOM from 'react-dom'; import {App} from './app'; import {Provider} from 'react-redux'; import {reducer} from './reducers/index'; import {loadProject, saveProject} from './shared/project'; import URLSearchParams from 'url-search-params'; const Redux = require('redux'); class Messe...
src/components/AppRoutes.js
clayhan/reactserver
// src/components/AppRoutes.js // Import the Router component and add it inside our render function. // The router receives our routes mapping in the router prop. // We also configure the history prop to specify that we want to use the HTML5 browser history for the routing import React from 'react'; import { Router, ...
packages/material-ui-icons/src/ArrowDropDownSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M7 10l5 5 5-5H7z" /> , 'ArrowDropDownSharp');
lens-ui/app/components/CubeTreeComponent.js
archanah24/lens
/** * 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 not...
frontend/src/components/head/Head.js
sweetca/logger
import React, { Component } from 'react'; import './Head.css'; import logo from './logo.png'; class Header extends Component { render() { return ( <div className="Head"> <img src={logo} alt="logo"/> </div> ); } } export default Header;
Libraries/Animated/src/AnimatedImplementation.js
Swaagie/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...
assets/js/libs/jquery.min.js
benja2729/ember-calendar-app
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim...
src/homepage/welcome_calendar.js
MichalKononenko/OmicronClient
/** * Created by Michal on 2016-04-04. */ import React from 'react'; import {Glyphicon, Panel} from 'react-bootstrap'; import {connect} from 'react-redux'; import BigCalendar from 'react-big-calendar'; import moment from 'moment'; import Reducer, {reducer_factory} from '../reducer'; import 'react-big-calendar/lib/cs...
app/articleView.js
Goodly/TextThresher
import React from 'react'; import { render } from 'react-dom'; import { bindActionCreators } from 'redux'; let debug = require('debug')('thresher:articleView'); import App, { store } from 'containers/App'; import { ArticleView } from 'containers/ArticleView'; import * as articleViewActions from 'actions/articleView';...
ressources/components/Gtag.js
mscodemonkey/Sketch-Find-And-Replace
import React from 'react' import styled from 'styled-components' const GtagContainer = styled.div` position: absolute; bottom: 0; right: 0; ` const Gtag = () => { return <GtagContainer> <img style={{ opacity: 0.1 }} src="https://www.google-analytics.com/collect?v=1&tid=UA-37385154-1&cid=555&...
ajax/libs/jquery-mobile/1.4.0/jquery.mobile.js
magoni/cdnjs
/*! * jQuery Mobile 1.4.0 * Git HEAD hash: f09aae0e035d6805e461a7be246d04a0dbc98f69 <> Date: Thu Dec 19 2013 17:34:22 UTC * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ...
app/javascript/mastodon/features/getting_started/components/trends.js
gol-cha/mastodon
import React from 'react'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { ImmutableHashtag as Hashtag } from 'mastodon/components/hashtag'; import { FormattedMessage } from 'react-intl'; expor...
Libraries/Components/WebView/WebView.ios.js
mrspeaker/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...
reactor/snmp.js
corenova/kos
// SNMP transaction flow 'use strict' const { kos = require('..') } = global module.exports = kos.create('snmp') .desc("reactions to SNMP GET/SET commands") .init({ protocols: ['snmp:'] }) .pre('module/net-snmp') .in('snmp/connect') .out('snmp/session','snmp/connect/url') .bind(connect) .pre('m...