path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/server.js
18621032336/Three
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import 'babel-core/polyfill'; import path from 'path'; import express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import Router from './routes'; import Html from './components/Html'; const server = global....
src/Layout/Header.js
react-mdl/react-mdl
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import HeaderRow from './HeaderRow'; import HeaderTabs from './HeaderTabs'; const Header = props => { const { className, scroll, seamed, title, transparent, waterfall, hideTop, hideSpacer, children, ...o...
ajax/libs/react-router/0.9.4/react-router.js
steadiest/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define,module,export...
ajax/libs/rxjs-dom/7.0.3/rx.dom.compat.js
vetruvet/cdnjs
// Copyright (c) Microsoft, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExp...
src/components/PerDayRow.js
mscottnelson/PerdyPerDay
import Coffee from 'react-icons/lib/fa/coffee'; import Exercise from 'react-icons/lib/fa/bicycle'; import Cake from 'react-icons/lib/fa/birthday-cake'; import Beer from 'react-icons/lib/fa/beer'; import Weight from 'react-icons/lib/fa/balance-scale'; import Calendar from 'react-icons/lib/fa/calendar'; import { PropType...
app/main.js
nchathu2014/note-app-react
import React from 'react'; import ReactDOM from 'react-dom'; import Note from './components/Note'; var noteList=[{"id":100,"text":"Nuwan with ReactJS"}] ReactDOM.render( <Note noteList={noteList}/>, document.getElementById('container') );
packages/material-ui-icons/legacy/SignalWifi0BarOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z" /></React.Fragment> , 'SignalWifi0BarOutlined');
examples/hooks-ssr/src/browser.js
algolia/react-instantsearch
import React from 'react'; import { hydrate } from 'react-dom'; import App from './App'; const SERVER_STATE = window.__SERVER_STATE__; delete window.__SERVER_STATE__; hydrate(<App serverState={SERVER_STATE} />, document.querySelector('#root'));
src/components/HomeScreen/VideoList.js
bhalla-shiraz/react-video-app
import React from 'react' import VideoListItem from './VideoListItem' const VideoList = (props) => { const {videos, onVideoSelect} = props return ( <ul className="col-md-4 list-group" key="video-list"> {videos.map((video) => <VideoListItem key={video.etag} video={video} onVideoSelect={onVideoSelect...
ajax/libs/forerunnerdb/1.3.672/fdb-legacy.js
dakshshah96/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...
docs/app/Examples/elements/Reveal/index.js
mohammed88/Semantic-UI-React
import React from 'react' import Types from './Types' import Content from './Content' import States from './States' import Variations from './Variations' const RevealExamples = () => ( <div> <Types /> <Content /> <States /> <Variations /> </div> ) export default RevealExamples
ajax/libs/rxjs/2.3.23/rx.lite.compat.js
billybonz1/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...
assets/javascripts/kitten/components/structure/info-lines/index.js
KissKissBankBank/kitten
import React from 'react' import classNames from 'classnames' import PropTypes from 'prop-types' import styled from 'styled-components' import { pxToRem } from '../../../helpers/utils/typography' import { ScreenConfig } from '../../../constants/screen-config' const StyledInfoLines = styled.dl` &.k-InfoLines--withBor...
welcome/api/user_guide/_static/jquery.js
itpcc/Comcamp27
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
src/atoms/Icon/__tests__/icon.spec.js
policygenius/athenaeum
import React from 'react'; import { shallow, mount } from 'enzyme'; import renderer from 'react-test-renderer'; import Icon from 'atoms/Icon'; describe('<Icon />', () => { describe('when no icon is given', () => { const { error } = console; beforeEach(() => { console.error = jest.fn(); }); a...
jquery/jquery-1.10.2.min.js
carleton/reason_package
/*! 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...
examples/multi-chart/index.js
ronlobo/building-os-charts
import React from 'react'; import { TimeseriesChart } from 'building-os-charts'; import moment from 'moment'; require('../../src/index.scss'); function getData() { const start = moment().startOf('day'); const quarterHour = moment(start).subtract(15, 'minutes'); const data = []; const nn = (48 * 4); for (let ...
src/components/SettingsManager/SettingControl.js
u-wave/web
import React from 'react'; import PropTypes from 'prop-types'; import FormHelperText from '@mui/material/FormHelperText'; import FormControl from '@mui/material/FormControl'; import FormControlLabel from '@mui/material/FormControlLabel'; const labelClasses = { root: 'SettingControl-label', label: 'SettingControl-l...
ajax/libs/vue/2.1.2/vue.runtime.common.min.js
holtkamp/cdnjs
"use strict";function _toString(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function toNumber(e){var t=parseFloat(e,10);return t||0===t?t:e}function makeMap(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:func...
ui/src/js/project/planting/ProjectPlanting.js
Dica-Developer/weplantaforest
import Accounting from 'accounting'; import counterpart from 'counterpart'; import React, { Component } from 'react'; import IconButton from '../../common/components/IconButton'; import SvgButton from '../../common/components/SvgButton'; import ArticleSlider from './ArticleSlider'; import ProjectSlider from './ProjectS...
src/Popover.js
simonliubo/react-ui
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; const Popover = React.createClass({ mixins: [ BootstrapMixin ], propTypes: { /** * An html id attribute, necessary for accessibility ...
src/components/Selection/SelectionView.js
ccfcheng/react-native-web-demo
import React from 'react'; export default function SelectionView() { return ( <div> <h1>SelectionView</h1> </div> ); }
inlineStyles/src/Main.js
wandarkaf/React-Bible
import React from 'react'; import Example from './components/Example/Example'; React.render(<Example content='hello world' />, document.getElementById('app'));
ajax/libs/react-dom/16.1.0-rc/umd/react-dom.development.js
wout/cdnjs
/** @license React v16.1.0-rc * react-dom.development.js * * Copyright (c) 2013-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. */ 'use strict'; (function (global, factory) { typeof exports === 'object' && ty...
src/people/notifs/RestoreItemFailNotif.js
dash-/netjumpio-tabs-web
/// // Dependencies /// import React, { Component } from 'react'; import FailRetryNotif from '../../elements/FailRetryNotif'; import * as actions from '../actions'; /// // View /// class RestoreItemFailNotifView extends Component { /// // Rendering /// renderMessage(action, userMessage) { return ( 'Rest...
es/components/MediaList/LoadingRow.js
welovekpop/uwave-web-welovekpop.club
import _jsx from "@babel/runtime/helpers/builtin/jsx"; import _extends from "@babel/runtime/helpers/builtin/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/builtin/objectWithoutProperties"; import cx from 'classnames'; import React from 'react'; import PropTypes from 'prop-types'; import MediaLoa...
src/assets/icons/recycle.js
HackArdennes2017/Project06
import React from 'react' export default props => <svg viewBox="0 0 100 125" {...props}> <path d="M40.28 6.008l-15 26c-.56.99-.057 2.422 1 2.844l13 5c.886.347 1.999-.047 2.469-.875l8.343-15.032 7.094 11.438-4.531 4.125a2.053 2.053 0 0 0-.544 2.217 2.053 2.053 0 0 0 1.888 1.283h18c.845 0 1.655-.6 1.906-1.40...
app/components/Main.js
BenGoldstein88/hitch-frontend
import React from 'react'; export default class Main extends React.Component { render() { return ( <div>{this.props.children}</div> ); } }
client/reduxstagram.js
fakerabbit/reduxtragam
import React from 'react'; import { render } from 'react-dom'; // Import CSS import css from './styles/style.styl'; // Import Components import App from './components/App'; import Single from './components/Single'; import PhotoGrid from './components/PhotoGrid'; // import react router deps import { Router, Route, I...
ajax/libs/jQRangeSlider/5.0.1/jQRangeSliderBar.min.js
redmunds/cdnjs
(function(a,b){a.widget("ui.rangeSliderBar",a.ui.rangeSliderDraggable,{options:{leftHandle:null,rightHandle:null,bounds:{min:0,max:100},type:"rangeSliderHandle",range:false,drag:function(){},stop:function(){},values:{min:0,max:20},wheelSpeed:4,wheelMode:null},_values:{min:0,max:20},_waitingToInit:2,_wheelTimeout:false,...
example/examples/CustomMarkers.js
carleryd/react-native-maps
import React from 'react'; import { StyleSheet, View, Text, Dimensions, TouchableOpacity, } from 'react-native'; import MapView from 'react-native-maps'; import flagPinkImg from './assets/flag-pink.png'; const { width, height } = Dimensions.get('window'); const ASPECT_RATIO = width / height; const LATITUDE...
src/index.js
mattcav/airline-interface-prototype
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
ajax/libs/forerunnerdb/1.3.31/fdb-all.min.js
iwdmb/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/index.js
kimckm/dictation-wx
import React from 'react'; import dva from 'dva'; import fetch from 'dva/fetch'; const app = dva(); app.router(require('./router')); app.start('#root'); /* 初始化 wx 配置 */ async function wxInit(url, options = { method: 'get' }) { const response = await fetch(url, options); console.log('response:', response); con...
node_modules/react-bootstrap/es/Glyphicon.js
yeshdev1/Everydays-project
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 ...
tools/render.js
luznlun/kkRoom
/** * 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 fetch from 'node-fetch'; import runServer from './r...
src/index.js
clucasalcantara/clucasalcantara.github.io
import React from 'react' import ReactDOM from 'react-dom' import { BrowserRouter } from 'react-router-dom' import { renderRoutes } from 'react-router-config' // Routes import routes from 'routes' // Services import { serviceWorker } from 'services' // Store import { createContext } from 'store' const baseContext =...
public/js/components/welcome.js
AC287/wdi_final_arrowlense2.0_FE
import React from 'react' import Link from 'react-router' import $ from 'jquery' export default React.createClass({ getInitialState: function() { return { business: [], tech: [], } }, componentDidMount: function() { $.get('/nytimes/business').done( data => { console.log(data) ...
example/src/Screens/Docs/GettingStarted.js
maisano/react-router-transition
import React from 'react'; import { Link } from 'react-router-dom'; import Page from './shared/Page'; import Footer from './shared/Footer'; const Element = ({ name }) => ( <code>&lt;{name} /&gt;</code> ); export default () => ( <Page> <div> <h1>Getting started</h1> <h2>Installation</h2> <p>...
ajax/libs/vis/0.4.0/vis.js
cluo/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 0.4.0 * @date 2014-01-31 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
src/entypo/Key.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Key'; let EntypoKey = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M17.691,4.725c-0.503-2.977-3.22-4.967-6.069-4.441C8.772,0.809,6.366,3.1,6.869,6.079c0.107,0.641,0.408,1.644...
src/components/SettingsPanel/index.js
Plop3D/sandbox
import React from 'react' import PropTypes from 'prop-types' import { Entity } from 'aframe-react' import { SettingsController } from 'components' const colors = ['#bada55', 'red', 'green', 'purple', 'blue', 'cyan'] const propTypes = { controllerLeft: PropTypes.string, controllerRight: PropTypes.string, childre...
components/Intro/Intro.js
falconi1812/falconi
import React, { Component } from 'react'; export default class Intro extends Component { render () { return ( <section className="gc-section-bg-image intro aligner"> <div className="container"> <div className="col-xs-10 col-md-5 col-md-offset-1 p-a-0"> <h1>make your ideas com...
src/parser/warrior/arms/modules/spells/azeritetraits/CrushingAssault.js
ronaldpereira/WoWAnalyzer
import { calculateAzeriteEffects } from 'common/stats'; import SPELLS from 'common/SPELLS'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox'; import React from 'react'; import Events from 'parser/core/Events'; impor...
weather-app/src/App.js
AvinashMudunuri/ReactProjects
import React, { Component } from 'react'; import './App.css'; import Plot from './Plot.js'; import { connect } from 'react-redux'; import { changeLocation, setSelectedDate, setSelectedTemp, fetchData } from './actions'; class App extends Component { fetchData = (evt) => { evt.preventDefault(); var lo...
test/test_helper.js
ninalouw/portfolio
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
react/features/authentication/components/native/WaitForOwnerDialog.js
jitsi/jitsi-meet
// @flow import React, { Component } from 'react'; import type { Dispatch } from 'redux'; import { ConfirmDialog } from '../../../base/dialog'; import { translate } from '../../../base/i18n'; import { connect } from '../../../base/redux'; import { cancelWaitForOwner } from '../../actions.native'; import LoginDialog ...
examples/simple/components/DefaultScrollbars/App.js
zxlin/react-custom-scrollbars
import React, { Component } from 'react'; import { Scrollbars } from 'react-custom-scrollbars'; export default class App extends Component { render() { return ( <Scrollbars style={{ height: 300 }}> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed d...
src/parser/priest/holy/modules/spells/azeritetraits/WordOfMending.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox'; import { calculateAzeriteEffects } from 'common/stats'; import { formatNumber, formatThousands } from 'common/format'; imp...
tests/components/Header/Header.spec.js
sljuka/buzzler-ui
import React from 'react' import { Header } from 'components/Header/Header' import { IndexLink, Link } from 'react-router' import { shallow } from 'enzyme' describe('(Component) Header', () => { let _wrapper beforeEach(() => { _wrapper = shallow(<Header />) }) it('Renders a welcome message', () => { ...
packages/icons/src/md/content/Forward.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdForward(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <polygon points="24 16 24 8 40 24 24 40 24 32 8 32 8 16" /> </IconBase> ); } export default MdForward;
docs/src/Anchor.js
pandoraui/react-bootstrap
import React from 'react'; const Anchor = React.createClass({ propTypes: { id: React.PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.number ]) }, render() { return ( <a id={this.props.id} href={'#' + this.props.id} className="anchor"> <span className="anchor-ic...
templates/rubix/node-seed/server.babel.js
jeffthemaximum/Teachers-Dont-Pay-Jeff
import path from 'path'; import express from 'express'; import compression from 'compression'; import cookieParser from 'cookie-parser'; import React from 'react'; import ReactDOMServer from 'react-dom/server'; import routes from './src/routes'; import { renderHTMLString } from '@sketchpixy/rubix/lib/node/router'; im...
src/parser/deathknight/shared/spells/azeritetraits/BoneSpikeGraveyard.js
FaideWW/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import { formatNumber } from 'common/format'; import Analyzer from 'parser/core/Analyzer'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox'; import ItemDamageDone from 'interface/others/ItemDamageDone'; import ItemHea...
frontend/test/app/components/Loading-test.js
mozilla/testpilot
import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import Loading from '../../../src/app/components/Loading'; describe('app/compomnents/Loading', () => { it('should render <div class="loader">', () => expect(shallow(<Loading />).find('.loader')).to.have.length(1)); it(...
src/App.js
devigor/react-busca-cep
import React from 'react'; import ReactDOM from 'react-dom'; import BuscaCep from './Components/BuscaCEP'; ReactDOM.render( <BuscaCep />, document.getElementById('root') );
cm19/ReactJS/your-first-react-app-exercises-master/exercise-13/index.js
Brandon-J-Campbell/codemash
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
packages/material-ui-icons/src/FiberDvrTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M20 11.56v-.89c0-.76-.58-1.33-1.33-1.33h-3.11v5.33h1.33v-1.78h1.02l.76 1.78H20l-.8-1.87c.44-.22.8-.71.8-1.24zm-1.33 0h-1.78v-.89h1.78v.89zM7.11 ...
js/jquery-1.11.0.min.js
nixafblayardsale/nixafblayardsale.github.io
/*! jQuery v1.11.0 | (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...
library/src/pivotal-ui-react/dividers/dividers.js
sjolicoeur/pivotal-ui
import React from 'react'; import PropTypes from 'prop-types'; import {mergeProps} from 'pui-react-helpers'; import 'pui-css-dividers'; export class Divider extends React.Component { static propTypes = { inverse: PropTypes.bool, size: PropTypes.oneOf(['large']) } render() { const {inverse, size, ......
src/components/root/index.js
yazonnile/react-redux-builder
'use strict'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { moduleToggle, moduleDemo, moduleEdit, resetAll } from 'actions'; const defStructure = [ 'open-close', 'carousel', 'bw' ]; const stateToProps = ({ modules, screen }) => { return { modules, screen }; }...
examples/huge-apps/routes/Course/routes/Announcements/components/Sidebar.js
aastey/react-router
/*globals COURSES:true */ import React from 'react' import { Link } from 'react-router' class AnnouncementsSidebar extends React.Component { render() { let { announcements } = COURSES[this.props.params.courseId] return ( <div> <h3>Sidebar Assignments</h3> <ul> {announcements....
ajax/libs/react/0.9.0/react.js
oivoodoo/cdnjs
/** * React v0.9.0 */ !function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(function(){var define,module,exports;return (fun...
fixtures/dom/src/components/FixtureSet.js
sekiyaeiji/react
import React from 'react'; const propTypes = { title: React.PropTypes.node.isRequired, description: React.PropTypes.node.isRequired, }; class FixtureSet extends React.Component { render() { const { title, description, children } = this.props; return ( <div> <h1>{title}</h1> {desc...
js/components/notfound/index.js
numical/wonderwall
'use strict'; import React from 'react'; import { Link } from 'react-router'; export default function () { return ( <div> <div className='page-title'>Page Not Found</div> <Link to='/'>Back to Wall</Link> </div> ); }
src/svg-icons/av/videocam.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvVideocam = (props) => ( <SvgIcon {...props}> <path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"/> </SvgIcon> ); AvVideocam = pure(AvVideocam); Av...
tools/deploy.js
allfix53/react-starter-kit
/** * React Starter Kit (http://www.reactstarterkit.com/) * * Copyright © 2014-2015 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 push from 'git-push'; /** * Deploy the contents of...
admin/client/components/ListFiltersAdd.js
Redmart/keystone
import React from 'react'; import ReactDOM from 'react-dom'; import Transition from 'react-addons-css-transition-group'; import classnames from 'classnames'; import CurrentListStore from '../stores/CurrentListStore'; import ListFiltersAddForm from './ListFiltersAddForm'; import Popout from './Popout'; import PopoutList...
src/svg-icons/hardware/dock.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareDock = (props) => ( <SvgIcon {...props}> <path d="M8 23h8v-2H8v2zm8-21.99L8 1c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM16 15H8V5h8v10z"/> </SvgIcon> ); HardwareDock = ...
files/rxjs/2.3.3/rx.lite.extras.js
unpete/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...
src/js/components/App.js
Robert-W/React-tips
import Header from 'components/Header'; import Body from 'components/Body'; import {config} from 'js/config'; import React from 'react'; export default class App extends React.Component { render () { return ( <div className='app'> <Header title={config.title} /> <Body /> </div> )...
ajax/libs/react-instantsearch/4.1.0-beta.5/Dom.js
sashberd/cdnjs
/*! ReactInstantSearch 4.1.0-beta.5 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof def...
app/client/imports/containers/TopNavBar.js
Caroisawesome/jukeBox
import './TopNavBar.less'; import React, { Component } from 'react'; class TopNavBar extends Component { render() { return ( <div> <div className="top-nav-bar"> <div className="ui container"> <h1 className="header"> JukeBox ...
ajax/libs/aui/5.6.5/aui/js/aui-all.js
ProfNandaa/cdnjs
!function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(....
build/lib/ScrollHistory.js
juliocanares/react-router
'use strict'; var invariant = require('react/lib/invariant'); var canUseDOM = require('react/lib/ExecutionEnvironment').canUseDOM; var getWindowScrollPosition = require('./getWindowScrollPosition'); function shouldUpdateScroll(state, prevState) { if (!prevState) { return true; } // Don't update scroll positio...
src/Components/Posts/Single.js
AdamSoucie/Ignis
import React from 'react'; import config from '../../lib/config'; import Parser from 'html-react-parser'; import './css/style-single.css'; class Single extends React.Component { constructor(props) { super(props); this.state = { title: '', content: '', featuredImage: '', } this.ge...
app/containers/Users/AddUser.js
klpdotorg/tada-frontend
import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import Formsy from 'formsy-react'; import FRC from 'formsy-react-components'; import isEmpty from 'lodash.isempty'; import { Modal } from '../../components/Modal'; import { roles } from '../../Data'; im...
gmatgamefrontend/src/ProfileButtons/CancelButton.js
decodeMERV/GMATgameFE
import React from 'react'; export default (props) => ( <i className="fa fa-times fa-2x" onClick={this.onClick}></i> )
ajax/libs/react-data-grid/0.13.29/react-data-grid.js
froala/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactDataGrid"] = f...
ajax/libs/react-router/0.11.1/react-router.min.js
neveldo/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define;return functi...
js/App.js
alpacio/noah
require('../ark/ark.scss'); require('../ark/flex.scss'); import React from 'react'; import BaseEditor from './Editor/BaseEditor.js'; React.render(<BaseEditor />, document.body);
ajax/libs/react-select/0.5.3/react-select.js
dlueth/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Select = f()}}...
node_modules/react/lib/ReactDOMTextarea.js
soniacq/LearningReact
/** * Copyright 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 directory. * * @providesModu...
src/router/NewProductNavigation.js
thrifty-p2p/thrifty-client
import React from 'react'; import {StackNavigator} from 'react-navigation' import NewProductPhotoPicker from '../components/NewProductPhotoPicker'; import NewProductForm from '../components/NewProductForm'; const NewProductNavigation = StackNavigator({ NewProductPhotoPicker: { screen: NewProductPhotoPicker, ...
actor-apps/app-web/src/app/components/activity/ActivityHeader.react.js
hzy87email/actor-platform
import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; @ReactMixin.decorate(PureRenderMixin) class ActivityHeader extends React.Component { static propTypes = { close: React.PropTypes.func, title: React.PropTypes.stri...
src/svg-icons/editor/format-indent-increase.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatIndentIncrease = (props) => ( <SvgIcon {...props}> <path d="M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"/> </SvgIcon> ); EditorFormatIndentIncrease...
docs/app/Examples/collections/Grid/Content/GridExampleRows.js
ben174/Semantic-UI-React
import React from 'react' import { Grid, Image } from 'semantic-ui-react' const GridExampleRows = () => ( <Grid columns={3}> <Grid.Row> <Grid.Column> <Image src='http://semantic-ui.com/images/wireframe/paragraph.png' /> </Grid.Column> <Grid.Column> <Image src='http://semantic-ui...
src/components/Icon/Icon.js
honeypotio/techmap
import React from 'react'; import PropTypes from 'prop-types'; import icons from './icons'; const Icon = ({ name, fill }) => ( <svg fill={fill} height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" > <path d={icons[name]} /> </svg> ); Icon.propTypes = { name: Pr...
DAAExample-master/src/main/webapp/js/Slider/jquery-1.9.1.min.js
michada/HYS2
 /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function (e, t) { var n, r, i = typeof t, o = e.document, a = e.location, s = e.jQuery, u = e.$, l = {}, c = [], p = "1.9.1", f = c.concat, d = c.push, h = c.slice, g = c.indexOf, m = l.toString...
app/component/resume/PersonalDetailsSectionPage.js
mrFlick72/mrFlick72.github.io
import React from 'react'; import avatar from '../../asset/images/myPhoto.jpeg'; import ResumeRow from "./ResumeRow"; const PERSONAL_DETAILS_LABEL = { "firstName": "First Name", "lastName": "Last Name", "address": "Address", "zip": "Zip", "city": "City", "region": "Region", "mail": "E-Mai...
src/interface/RootErrorBoundary.js
FaideWW/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import FullscreenError from 'interface/common/FullscreenError'; import ErrorBoundary from 'interface/common/ErrorBoundary'; import ApiDownBackground from 'interface/common/images/api-down-background.gif'; class RootErrorBoundary extends React.Component { ...
blueprints/view/files/__root__/views/__name__View/__name__View.js
jenyckee/midi-redux
import React from 'react' type Props = { }; export class <%= pascalEntityName %> extends React.Component { props: Props; render () { return ( <div></div> ) } } export default <%= pascalEntityName %>
Web/src/containers/ContactUs/index.js
CMITInternational/Guitars
import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Navbar, ButtonGroup, PageHeader, Grid, Row, Col, Button, Image } from 'react-bootstrap'; import appActions from '../App/Actions'; import type IApp from '../App/IApp'; import AppPropTypes from '../App/P...
frontend/src/MovieFile/Edit/FileEditModalContentConnector.js
geogolem/Radarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { updateMovieFiles } from 'Store/Actions/movieFileActions'; import { fetchQualityProfileSchema } from 'Store/Actions/settingsActions'; import createMovie...
js/redux/learn-redux/node_modules/react-dom/lib/ReactDOMEmptyComponent.js
austinjalexander/sandbox
/** * Copyright 2014-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. * */ 'use strict...
app/javascript/mastodon/features/favourited_statuses/index.js
kirakiratter/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchFavouritedStatuses, expandFavouritedStatuses } from '../../actions/favourites'; import Column from '../ui/components/column'; import ColumnHeade...
stories/FieldDynamicArray.stories.js
maputnik/editor
import React from 'react'; import {useActionState} from './helper'; import FieldDynamicArray from '../src/components/FieldDynamicArray'; import {Wrapper} from './ui'; import {withA11y} from '@storybook/addon-a11y'; export default { title: 'FieldDynamicArray', component: FieldDynamicArray, decorators: [withA11y],...
src/Drawer/DrawerPane.js
kradio3/react-mdc-web
import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; import { ROOT } from './constants'; class DrawerPane extends React.PureComponent { static propTypes = { children: PropTypes.node, className: PropTypes.string, onClick: PropTypes.func, onTouchstart: Pr...
src/pages/home/TripToolbar.js
PranavRam/pfrally
import React from 'react'; import IconMenu from 'material-ui/lib/menus/icon-menu'; import IconButton from 'material-ui/lib/icon-button'; import FontIcon from 'material-ui/lib/font-icon'; import NavigationExpandMoreIcon from 'material-ui/lib/svg-icons/navigation/expand-more'; import MenuItem from 'material-ui/lib/menus/...
packages/showcase/axes/custom-axes-orientation.js
uber-common/react-vis
// Copyright (c) 2016 - 2017 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify...