target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
test/reactor/tag-test.js
nodejitsu/godot
/* * tag-test.js: Tests for the Tag reactor stream. * * (C) 2012, Nodejitsu Inc. * */ var assert = require('assert'), vows = require('vows'), range = require('r...e'), windowStream = require('window-stream'), godot = require('../../lib/godot'), helpers = require('../helpers'), macros = req...
docs/src/Root.js
dozoisch/react-bootstrap
import React from 'react'; const Root = React.createClass({ statics: { /** * Get the list of pages that are renderable * * @returns {Array} */ getPages() { return [ 'index.html', 'introduction.html', 'getting-started.html', 'components.html', ...
fixtures/ssr/src/index.js
jquense/react
import React from 'react'; import {render} from 'react-dom'; import App from './components/App'; render(<App assets={window.assetManifest} />, document);
src/icons/ForkRepo.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class ForkRepo extends React.Component { render() { if(this.props.bare) { return <g> <style type="text/css"> .st0{fill:#010101;} </style> <g> <polygon class="st0" points="416,80 368,80 368,32 304,32 304,80 256,...
docs/app/Examples/views/Feed/Content/FeedExampleExtraText.js
aabustamante/Semantic-UI-React
import React from 'react' import { Feed } from 'semantic-ui-react' const FeedExampleExtraText = () => ( <Feed> <Feed.Event> <Feed.Label image='/assets/images/avatar/small/laura.jpg' /> <Feed.Content> <Feed.Date>3 days ago</Feed.Date> <Feed.Summary> <a>Laura Faucet</a> create...
files/rxjs/2.3.9/rx.lite.js
spud2451/jsdelivr
// 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 }; v...
src/DateRange.js
mimshwright/react-date-range
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; import parseInput from './utils/parseInput.js'; import Calendar from './Calendar.js'; import PredefinedRanges from './PredefinedRanges.js'; import getTheme, { defaultClasses } from './styles.js'; class DateRange ...
WebCola/extern/jquery-1.10.2.min.js
repos-viz/WebCola
/*! 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...
admin/client/components/Toolbar/index.js
qwales1/keystone
import React from 'react'; import { Container } from 'elemental'; module.exports = React.createClass({ displayName: 'Toolbar', render () { return ( <div {...this.props} className="Toolbar"> <Container clearfix > {this.props.children} </Container> </div> ); }, }); // expose the children to th...
docs/src/ComponentsPage.js
Sipree/react-bootstrap
import React from 'react'; import AutoAffix from 'react-overlays/lib/AutoAffix'; import Waypoint from 'react-waypoint'; import Nav from '../../src/Nav'; import NavItem from '../../src/NavItem'; import Anchor from './Anchor'; import NavMain from './NavMain'; import PageHeader from './PageHeader'; import PageFooter fro...
ajax/libs/material-ui/5.0.0-alpha.10/esm/Tooltip/Tooltip.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _slicedToArray from"@babel/runtime/helpers/esm/slicedToArray";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import _defineProperty from"@babel/runtime/helpers/esm/defineProperty";import*as React from"react";import...
src/components/Header/Header.js
ynu/res-track-wxe
/** * 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 React from 'react'; import withStyles from 'isomorp...
ajax/libs/mediaelement/2.2.2/jquery.js
mgoldsborough/cdnjs
/*! * jQuery JavaScript Library v1.6.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/containers/auth/Forms/FormView.js
jeanlescure/detox-react-native-demo
/** * Login/Sign Up/Forgot Password Screen * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { View, ScrollView, AsyncStorage, TouchableOpacity, } from 'react-native'; import FormValidat...
app/assets/javascripts/NewNodeWidget/Section/Overview.js
sozialhelden/wheelmap
import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { createStructuredSelector } from 'reselect'; import { Link } from 'react-router'; import I18n from '../../common/I18n'; import { Map, Marker } from '../../common/Mapbox'; import { NAME_CATEGORY, ADDRES...
packages/material-ui-icons/src/BallotSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M13 9.5h5v-2h-5v2zm0 7h5v-2h-5v2zm8 4.5H3V3h18v18zM6 11h5V6H6v5zm1-4h3v3H7V7zM6 18h5v-5H6v5zm1-4h3v3H7v-3z" /> , 'BallotSharp');
src/fe/components/FourOhFour/index.js
searsaw/react-router-demo
import React from 'react'; import { Header } from 'semantic-ui-react'; import Page from '../Page'; import styles from './styles.css'; const FourOhFour = () => ( <Page> <div className={styles.container}> <Header as="h1">404</Header> <p>Uh oh! Are you sure you wanted to go here?</p> </div> </Page...
packages/icons/src/md/editor/Functions.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdFunctions(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <polygon points="36 8 12 8 12 12 25 24 12 36 12 40 36 40 36 34 22 34 32 24 22 14 36 14" /> </IconBase> ); } export default MdFunctions;
src/components/movies/detail.js
scholtzm/arnold
import React, { Component } from 'react'; import { Modal, Image, Button, Rating } from 'semantic-ui-react'; import YouTube from 'react-youtube'; import PlayMovieButton from './play-button.js'; class MovieDetail extends Component { render() { const movie = this.props.movie; const runtimeHours = Math.floor(mo...
ui/src/plugins/epl-dashboard/components/SystemOverview.js
mkacper/erlangpl
// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Row, Col, ListGroup, ListGroupItem } from 'react-bootstrap'; import Measure from 'react-measure'; import Chart from './SystemOverviewChart'; import './SystemOverview.css'; class SystemOverview extends Component { sta...
test/Stories.js
insin/react-heatpack
var React = require('react') async function fetchStories(subreddit) { var req = await window.fetch(`https://www.reddit.com/r/${subreddit}.json`, {mode: 'cors'}) var json = await req.json() return json } var SUBREDDITS = ['javascript', 'programming', 'deepdream'] var Stories = React.createClass({ getInitialSt...
ajax/libs/rxjs/2.3.14/rx.compat.js
luhad/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...
src/components/footer.js
mkleung/mkleung.github.io
import React from 'react'; const Footer = () => ( <div> <footer className='footer'> <div className='content has-text-centered'> <div className='socialMediaIcons'> <span className='icon-wrapper'> <a target='_blank' rel='noopener noreferrer' href='https://codepen.io/mkleung/'> <svg className=...
app/addons/documents/routes-index-editor.js
benkeen/couchdb-fauxton
// 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 in writing, software // distributed un...
src/svg-icons/action/info.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionInfo = (props) => ( <SvgIcon {...props}> <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"/> </SvgIcon> ); ActionInfo = pure(ActionInfo); ActionI...
htmlwidgets_deps/leaflet-binding-1.0.0/leaflet.js
bradleyboehmke/old_blog
function recycle(values, length, inPlace) { if (length === 0 && !inPlace) return []; if (!(values instanceof Array)) { if (inPlace) { throw new Error("Can't do in-place recycling of a non-Array value"); } values = [values]; } if (typeof(length) === 'undefined') length = values.length;...
ajax/libs/cyclejs-dom/8.0.0-rc4/cycle-dom.js
redmunds/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.CycleDOM = f()...
Examples/UIExplorer/AdSupportIOSExample.js
NishanthShankar/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
tests/react/jsx_spread.js
paulshen/flow
/* @flow */ var React = require('react'); var Foo = React.createClass({ propTypes: { bar: React.PropTypes.string.isRequired, }, }); var props = {bar: 42}; var blah = <Foo {...props} />; // error bar, number given string expected
src/svg-icons/action/store.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionStore = (props) => ( <SvgIcon {...props}> <path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"/> </SvgIcon> ); ActionStore = pure(ActionStore); ActionStore.displayName = ...
ajax/libs/primereact/6.6.0/picklist/picklist.cjs.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/core"),n=require("primereact/button");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=o(e);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a fun...
assets/js/dependencies/jquery.js
Theadd/on-black-sails
/*! * 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 ...
html/assets/lib/elFinder/jquery/jquery-1.7.2.min.js
lapakku2016/ciproject
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
app/javascript/mastodon/features/home_timeline/index.js
5thfloor/ichiji-social
import React from 'react'; import { connect } from 'react-redux'; import { expandHomeTimeline } from '../../actions/timelines'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader from '../../comp...
public/js/components/notifications/Notification.react.js
TRomesh/Coupley
import React from 'react'; import ListItem from 'material-ui/lib/lists/list-item'; import Divider from 'material-ui/lib/divider'; import Avatar from 'material-ui/lib/avatar'; import Colors from 'material-ui/lib/styles/colors'; import IconButton from 'material-ui/lib/icon-button'; import MoreVertIcon from 'material-ui/l...
src/Parser/DestructionWarlock/Modules/Features/DimensionalRift.js
mwwscott0/WoWAnalyzer
import React from 'react'; import Module from 'Parser/Core/Module'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatNumber, formatPercentage } from 'common/format'; import { STATISTIC_ORDER } from 'Main/StatisticBox'; import Statis...
node_modules/react-bootstrap/es/MenuItem.js
cmccandless/SolRFrontEnd
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 ...
ui/src/components/Charts/BarChart.js
LearningLocker/learninglocker
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { List } from 'immutable'; import { AutoSizer } from 'react-virtualized'; import { BarChart as Chart, XAxis, YAxis, CartesianGrid } from 'recharts'; import { compose } from 'recompose'; import NoData from 'ui/components/Graphs/NoData';...
storybookStories/Modal.story.js
xclix/chan
import React from 'react'; import { storiesOf } from '@kadira/storybook'; import R from 'ramda'; import { createModal } from '../src/lib/gui/components/Modal'; storiesOf('Modal', module) .add('test modal', () => { const TestModal = () => <div> <div className="modal-header">Modal header</div> <div cla...
node_modules/react-tools/src/core/__tests__/refs-destruction-test.js
zlyi/react-components
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
docs/app/Examples/collections/Table/Variations/TableExampleBasic.js
clemensw/stardust
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleBasic = () => { return ( <Table basic> <Table.Header> <Table.Row> <Table.HeaderCell>Name</Table.HeaderCell> <Table.HeaderCell>Status</Table.HeaderCell> <Table.HeaderCell>Notes</Table....
src/routes/not-found/NotFound.js
bmatthews/haze-lea
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
admin/client/components/ListSort.js
codevlabs/keystone
import { FormNote } from 'elemental'; import React from 'react'; import Popout from './Popout'; import PopoutList from './PopoutList'; import vkey from 'vkey'; import CurrentListStore from '../stores/CurrentListStore'; var ListSort = React.createClass({ displayName: 'ListSort', getInitialState () { return { alt...
submissions/winstonewert/src/root.js
winstonewert/flux-challenge
import React from 'react' import ObiWanPlanetMonitor from './obi-wan-planet-monitor' import DarkJediList from './dark-jedi-list' export default class Root extends React.Component { render() { return <div className="app-container"> <div className="css-root"> <ObiWanPlanetMonitor /> <DarkJediList /> </d...
react/gameday2/components/embeds/EmbedTwitch.js
phil-lopreiato/the-blue-alliance
import React from 'react' import { webcastPropType } from '../../utils/webcastUtils' const EmbedTwitch = (props) => { const channel = props.webcast.channel const iframeSrc = `https://player.twitch.tv/?channel=${channel}` return ( <iframe src={iframeSrc} frameBorder="0" scrolling="no" ...
internals/templates/appContainer.js
sekkithub/wg
/** * * App.react.js * * This component is the skeleton around the actual pages, and should only * contain code that should be seen on all pages. (e.g. navigation bar) */ import React from 'react'; function App(props) { return ( <div> { props.children } </div> ); } export default App;
ajax/libs/yui/2.9.0/container/container_core-debug.js
idleberg/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...
src/components/Transport/PlayButton.js
bocasfx/Q
import React from 'react'; import { connect } from 'react-redux'; import './PlayButton.css'; import { toggleTransport } from '../../actions/Transport'; import { stopNodes, dequeueParticles } from '../../actions/Nodes'; import { bindActionCreators } from 'redux'; import PropTypes from 'prop-types'; class PlayButton ext...
ajax/libs/tinymce/4.3.2/plugins/legacyoutput/plugin.js
kennynaoh/cdnjs
/** * plugin.js * * Released under LGPL License. * Copyright (c) 1999-2015 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements, al...
app/js/containers/MyContainer.js
sgt39007/waji_redux
import React from 'react'; import { connect } from 'react-redux'; import * as AppActions from '../redux/actions/AppActions'; import { Container, List, Group, View, } from 'amazeui-touch'; import { Login, MyFooter } from '../components'; class MyContainer extends React.Component { componentWillMount() { ...
files/rxjs/2.2.15/rx.lite.js
anilanar/jsdelivr
// 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...
public/bower_components/phaser/docs/scripts/jquery.min.js
taylorbf/testaroku
/*! 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 ...
src/components/HomePage/HomePage.js
mkuipers/terra-mystica
/* * React.js Starter Kit * Copyright (c) 2014 Konstantin Tarkus (@koistya), KriaSoft LLC. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ 'use strict'; import React from 'react'; export default class HomePage extends React.Co...
examples/js/pagination/default-pagination-table.js
pvoznyuk/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; products.push({ id: id, ...
ajax/libs/react-inlinesvg/0.6.2/react-inlinesvg.js
dakshshah96/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.ReactInlineSVG...
Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js
Purii/react-native
/** * 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 directory. * * The examp...
ajax/libs/react-instantsearch/4.5.0/Dom.js
ahocevar/cdnjs
/*! ReactInstantSearch 4.5.0 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : ...
client/src/containers/LoginPage.js
elliotjz/book-trading-club
import React from 'react' import { Redirect } from 'react-router-dom' import Auth from '../modules/Auth'; import LoginForm from '../components/LoginForm' class LoginPage extends React.Component { constructor(props, context) { super(props, context); const storedMessage = localStorage.getItem('successMessag...
test/PageHeaderSpec.js
JimiHFord/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import PageHeader from '../src/PageHeader'; describe('PageHeader', function () { it('Should output a div with content', function () { let instance = ReactTestUtils.renderIntoDocument( <PageHeader> <strong>Content</str...
src/Root.js
sMteX/WoWAnalyzer
import React from 'react'; import { applyMiddleware, createStore } from 'redux'; import { Provider as ReduxProvider } from 'react-redux'; import { composeWithDevTools } from 'redux-devtools-extension'; import thunk from 'redux-thunk'; import createHistory from 'history/createBrowserHistory'; import { ConnectedRouter, r...
src/svg-icons/image/straighten.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageStraighten = (props) => ( <SvgIcon {...props}> <path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h2v4h2V8h2v4h2V8h2v4h2V8h2v4h2V8h2v8z"/> </SvgIcon> ); ImageStr...
docs/src/examples/modules/Tab/Types/TabExampleSecondaryPointing.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Tab } from 'semantic-ui-react' const panes = [ { menuItem: 'Tab 1', render: () => <Tab.Pane attached={false}>Tab 1 Content</Tab.Pane>, }, { menuItem: 'Tab 2', render: () => <Tab.Pane attached={false}>Tab 2 Content</Tab.Pane>, }, { menuItem: 'Tab 3', ...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/LinkedModules.js
amido/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 from 'react'; import './assets/style.css'; import { test, version } from 'test-integrity'; export default () => { const ...
src/js/containers/App.js
rmhowe/search-ui
import React from 'react'; import { connect } from 'react-redux'; import Immutable from 'immutable'; import throttle from 'lodash/throttle'; import NavBar from '../components/NavBar'; import Artists from '../components/Artists'; import ReactSlider from 'react-slider'; import { fetchData, setSmallBrowserMode, setF...
src/containers/App/index.js
YUzhva/create-react-redux-app
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { getAPIData } from './actions'; import { selectApiData } from './selectors'; import logo from './images/logo.svg'; const getMyIp = (apiData) => ( ...
App/Components/GoogleMap.js
OUCHUNYU/Ralli
import React, { Component } from 'react'; import Button from './Common/button' import GroupsPage from './GroupsPage' import UserProfilePage from './UserProfilePage' import GroupsInvitePage from './GroupsInvitePage' import EventFeed from './EventFeed' import CreateMarker ...
src/svg-icons/places/pool.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesPool = (props) => ( <SvgIcon {...props}> <path d="M22 21c-1.11 0-1.73-.37-2.18-.64-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.46.27-1.07.64-2.18.64s-1.73-.37-2.18-.64c-.37-.22-.6-.36-1.15-.36-.56 0-.78...
src/svg-icons/action/event-seat.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionEventSeat = (props) => ( <SvgIcon {...props}> <path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z"/> </SvgIcon> ); ActionEventSeat = pure(ActionEventSe...
files/rxjs/4.0.0/rx.all.js
ezekutor/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && expo...
src/pages/page-2.js
jefflau/jefflau.net
import React from 'react' import Link from 'gatsby-link' const SecondPage = () => ( <div> <h1>Hi from the second page</h1> <p>Welcome to page 2</p> <Link to="/">Go back to the homepage</Link> </div> ) export default SecondPage
src/svg-icons/communication/call-end.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCallEnd = (props) => ( <SvgIcon {...props}> <path d="M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 13.08c-.18-.17-.29-....
examples/client.js
ninja/ruto
import 'babel-polyfill'; import {Provider} from 'react-redux'; import React from 'react'; import {Router, browserHistory} from 'react-router'; import {createClientStore} from './store'; import {render} from 'react-dom'; import {routes} from './routes'; const {JSON, document} = global; const state = JSON.parse(document...
node_modules/react-native/Libraries/Components/Navigation/NavigatorIOS.ios.js
foxsofter/RealtimeMessaging-ReactNative
/** * 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...
django/webcode/webcode/frontend/node_modules/react-bootstrap/es/Label.js
OpenKGB/webcode
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-...
react/react-16.2.0/packages/react-dom/src/__tests__/ReactDOMServerIntegrationElements-test.js
isubham/isubham.github.io
/** * 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. * * @emails react-core */ 'use strict'; const ReactDOMServerIntegrationUtils = require('./utils/ReactDOMServerIntegrationTestUtils'); c...
src/AppBar/AppBar.spec.js
hai-cea/material-ui
/* eslint-env mocha */ import React from 'react'; import {spy} from 'sinon'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import AppBar, {getStyles} from './AppBar'; import getMuiTheme from '../styles/getMuiTheme'; import IconButton from '../IconButton'; import FlatButton from '../FlatButton'; describe...
web/node_modules/material-ui/svg-icons/action/perm-phone-msg.js
Jorginho211/TFG
'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...
eslint-rules/__tests__/warning-and-invariant-args-test.js
agileurbanite/react
/** * Copyright 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-core *...
src/components/Filter/Filter.js
swessar/gifs
import React from 'react'; import SearchBar from '../SearchBar/SearchBar'; import Images from '../Images/Images'; export default class Filter extends React.Component { constructor(props) { super(props); const { images } = this.props; this.state = { query: '', results: images } } co...
app/javascript/mastodon/features/report/components/status_check_box.js
foozmeat/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Toggle from 'react-toggle'; export default class StatusCheckBox extends React.PureComponent { static propTypes = { status: ImmutablePropTypes.map.isRequired, checked: PropTypes.b...
packages/material-ui-icons/src/Straighten.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="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h2v4h2V8h2v4h2V8h2v4h2V8h2v4h2V8h2v8z" /></React.Fragment> , '...
src/routes.js
jjtaft/cityscoop
import React from 'react'; import { Router, Route, IndexRoute, hashHistory, } from 'react-router'; import Layout from 'components'; import { Home, Add } from 'containers'; // App routes const Routes = ( <Router history={hashHistory}> <Route path="/" component={Layout}> {/* IndexRoute renders Home c...
frontend/src/components/dashboard/partnerDashboard/numberOfCfeisBySector.js
unicef/un-partner-portal
import React from 'react'; import PropTypes from 'prop-types'; import Paper from 'material-ui/Paper'; import Button from 'material-ui/Button'; import Grid from 'material-ui/Grid'; import Divider from 'material-ui/Divider'; import Typography from 'material-ui/Typography'; import { withStyles } from 'material-ui/styles';...
ajax/libs/qooxdoo/2.1/q.js
the-destro/cdnjs
/** qooxdoo v.2.1 | (c) 2012 1&1 Internet AG 1und1.de | qooxdoo.org/license */ (function(){ if (!window.qx) window.qx = {}; var qx = window.qx; if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"json":true,"qx.application":"library.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispose...
src/containers/NotFound/NotFound.js
cellva/alluminate-temp-setup
import React from 'react'; export default function NotFound() { return ( <div className="container"> <h1>Doh! 404!</h1> <p>These are <em>not</em> the droids you are looking for!</p> </div> ); }
ajax/libs/clappr/0.0.66/clappr.js
mathiasrw/cdnjs
require=(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)...
ajax/libs/react-datepicker/0.6.1/react-datepicker.min.js
dannyxx001/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("moment"),require("react-onclickoutside")):"function"==typeof define&&define.amd?define(["react","moment","react-onclickoutside"],e):"object"==typeof exports?exports.DatePicker=e(require("react"),require("moment")...
blueprints/view/files/__test__/views/__name__View.spec.js
BrysonPacocha/SportsStats
import React from 'react' describe('(View) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
src/index.js
rogerio-toledo/Weather-Forecast
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import ReduxPromise from 'redux-promise' import App from './components/app'; import reducers from './reducers'; const createStoreWithMiddleware = applyMiddleware(R...
src/collections/BootTable/BootTable.js
shengnian/shengnian-ui-react
import React from 'react' import PropTypes from 'prop-types' import cx from 'classnames' import { mapToCssModules } from '../../lib/' const propTypes = { className: PropTypes.string, cssModule: PropTypes.object, size: PropTypes.string, bordered: PropTypes.bool, striped: PropTypes.bool, inverse: PropTypes.b...
ajax/libs/6to5/1.14.1/browser.js
pombredanne/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.to5=e()}}(function(){var define,module,exports;return...
node_modules/http-server/node_modules/union/node_modules/qs/test/browser/jquery.js
WhitDuBois/souqMarket
/*! * jQuery JavaScript Library v1.6.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/6to5/2.6.1/browser-polyfill.js
bsquochoaidownloadfolders/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...
ajax/libs/yui/3.7.1/event-focus/event-focus-debug.js
hasantayyar/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = YLang.isFunction( ...
packages/icons/src/instances.js
geek/joyent-portal
import React from 'react'; import Rotate from './rotate'; import calcFill from './fill'; export default ({ fill = null, light = false, disabled = false, direction = 'down', colors = {}, style = {}, ...rest }) => ( <Rotate direction={direction}> {({ style: rotateStyle }) => ( <svg wid...
tests/react-api.tests.js
Mavrin/component-inspector
import {assert} from 'chai'; import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import App from './../examples/react-todomvc/containers/App'; console.log('React version', React.version); describe('react api test', function() { before(function() { this.domContainer = document.c...
app/components/Widgets/UserWidget.js
longgame/koa-react-demo
'use strict;' import React, { Component } from 'react'; import { LinkedStateMixin } from 'react-addons'; import { History } from 'react-router'; import Reflux from 'reflux'; import { UserStore, UserActions } from '../Widgets'; import template from './UserWidget.rt'; import styles from './UserWidget.scss'; module.ex...
node_modules/react-router/es/RouterContext.js
prodigalyijun/demo-by-antd
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _typeof = typeof Symbol === "function" && typeof Symbol.i...
ajax/libs/handsontable/0.15.0-beta1/handsontable.full.js
dhenson02/cdnjs
/*! * Handsontable 0.15.0-beta1 * Handsontable is a JavaScript library for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright (c) 2012-2014 Marcin Warpechowski * Copyright 2015 Handsoncode sp. z o.o. <hello@handsontable.com> * Licensed under the MIT license. * http://han...
web/assets/js/homepage/CarGallery.js
xuqiantong/NY_Auto
import React from 'react'; import ReactDOM from 'react-dom'; import CarFilter from './CarFilter.js'; var Filter = require('react-filter'); function CarName(props) { const make = props.name.vehicle_make; const year = props.name.vehicle_year; const model = props.name.vehicle_model; var trim = props.name...