path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/can.js/5.33.0/everything.min.js
sufuf3/cdnjs
!function(e,t){"undefined"==typeof process&&(e.process={argv:[],cwd:function(){return""},browser:!0,env:{NODE_ENV:"development"},version:"",platform:e.navigator&&e.navigator.userAgent&&/Windows/.test(e.navigator.userAgent)?"win":""})}("object"==typeof self&&self.Object==Object?self:"object"==typeof process&&"[object pr...
src/svg-icons/image/crop-3-2.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCrop32 = (props) => ( <SvgIcon {...props}> <path d="M19 4H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V6h14v12z"/> </SvgIcon> ); ImageCrop32 = pure(ImageCrop32); ImageCro...
src/components/Row.js
MunGell/elemental
import React from 'react'; import blacklist from 'blacklist'; import classnames from 'classnames'; import E from '../constants'; module.exports = React.createClass({ displayName: 'Row', propTypes: { children: React.PropTypes.node.isRequired, className: React.PropTypes.string, gutter: React.PropTypes.number, ...
packages/material-ui-icons/src/Eject.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 24V0h24v24H0z" /><path d="M5 17h14v2H5zm7-12L5.33 15h13.34z" /></React.Fragment> , 'Eject');
js/components/common/headers/HeaderWithBackButton.js
gectorat/react-native-app
import React, { Component } from 'react'; import { View } from 'react-native'; import { Title, Button, Icon } from 'native-base'; import { Header as _Header } from 'native-base'; import { connect } from 'react-redux'; import { replaceRoute, popRoute, replaceOrPushRoute } from '../../../actions/route'; class Header ex...
examples/real-world/src/root/routes.js
ioof-holdings/redux-dynamic-reducer
import React from 'react' import { Route } from 'react-router' import Loadable from 'react-loadable' const Loading = () => <p>Loading...</p> const loadRoute = (getPromise) => { const RouteComponent = Loadable({ loader: () => getPromise(), loading: Loading, render(loaded, props) { const Component =...
packages/material-ui-icons/src/ViewArrayRounded.js
allanalexandre/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="M5 18h1c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1zM18 6v11c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1h-1...
ajax/libs/yui/3.7.2/scrollview-base/scrollview-base.js
urish/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, WINDOW = Y.config.win, I...
src/routes/notFound/NotFound.js
macdja38/pvpsite
/** * 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 PropTypes from 'prop-typ...
test/Passwordinput-test.js
RuiGeng/interview_test
import React from 'react'; import { shallow, mount, render } from 'enzyme'; import PasswordInput from '../src/Passwordinput.js'; describe("<PasswordInput />", function() { it("is a div", function() { const wrapper = shallow(<PasswordInput />); expect(wrapper.is('div')).toBe(true); }); it("contains a <in...
peer-calls/src/client/components/Chat.js
DigiArt-project/WordpressUnity3DEditor
import Input from './Input.js' import PropTypes from 'prop-types' import React from 'react' import classnames from 'classnames' import socket from '../socket.js' export const MessagePropTypes = PropTypes.shape({ userId: PropTypes.string.isRequired, message: PropTypes.string.isRequired, timestamp: PropTypes.strin...
geonode/contrib/monitoring/frontend/src/components/molecules/ws-service-select/index.js
MapStory/geonode
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import DropDownMenu from 'material-ui/DropDownMenu'; import MenuItem from 'material-ui/MenuItem'; import actions from './actions'; const mapStateToProps = (state) => ({ services: state.wsServices.response, select...
ReactJS_NoteApp/node_modules/react-tools/src/classic/element/ReactElementValidator.js
canhphong/canhphong.github.io
/** * Copyright 2014-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
src/containers/__tests__/views/login-view-test.js
LancCJ/react-native-cyber-police
/** * Test to check if the component renders correctly */ /* global it expect jest */ import 'react-native'; import React from 'react'; import renderer from 'react-test-renderer'; import LoginView from '@containers/auth/Login/LoginView'; // Login prop expects a promise const mockPromise = new Promise(resolve => res...
node_modules/react-bootstrap/es/InputGroupButton.js
skinsshark/skinsshark.github.io
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 ...
docs/src/app/components/pages/components/List/ExampleMessages.js
nathanmarks/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import Divider from 'material-ui/Divider'; import Subheader from 'material-ui/Subheader'; import Avatar from 'material-ui/Avatar'; import {grey400, darkBlack, lightBlack} from 'material-ui...
packages/material-ui-icons/src/OutlinedFlagRounded.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="M14 6l-.72-1.45c-.17-.34-.52-.55-.9-.55H6c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1s1-.45 1-1v-6h5l.72 1.45c.17.34.52.55.89.55H19c.55 0 1-.45 1-1V7c0-....
ajax/libs/react-native-web/0.17.3/vendor/react-native/VirtualizedList/index.min.js
cdnjs/cdnjs
function _createForOfIteratorHelperLoose(e,t){var r;if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator])return(r=e[Symbol.iterator]()).next.bind(r);if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value...
packages/mui-codemod/src/v5.0.0/jss-to-styled.test/fifth.actual.js
oliviertassinari/material-ui
import React from 'react'; import Typography from '@material-ui/core/Typography'; import makeStyles from '@material-ui/styles/makeStyles'; import Container from 'modules/components/Container'; import Button from 'modules/components/Button'; import Link from 'modules/components/Link'; const useStyles = makeStyles((them...
ajax/libs/yui/3.7.3/simpleyui/simpleyui-debug.js
xirzec/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @main yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI gl...
node_modules/react-router/es6/Route.js
akh000/YoutubeApp
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { component, components } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.string; var func = _React$PropTypes.func; /** * A <Route> is use...
app/static/src/diagnostic/FluidProfileForm.js
vsilent/Vision
import React from 'react'; import FormControl from 'react-bootstrap/lib/FormControl'; import FormGroup from 'react-bootstrap/lib/FormGroup'; import ControlLabel from 'react-bootstrap/lib/ControlLabel'; import Checkbox from 'react-bootstrap/lib/Checkbox'; import {findDOMNode} from 'react-dom'; import Panel from 'react-b...
Components/Loader.js
webismymind/Mycelium
import React from 'react'; import Component from './Component'; import { Easing, StyleSheet, Text, View, Animated } from 'react-native'; import Icon from 'react-native-vector-icons/FontAwesome'; export default class extends Component { constructor(props) { super(props); this.state = { ...
src/index.js
leovoel/embed-visualizer
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/app'; import './css/index.css'; import './css/discord.css'; import 'highlight.js/styles/solarized-dark.css'; ReactDOM.render( <App />, document.getElementById('root') );
app/containers/App.js
protonproject/proton-player
/** * @flow */ import React, { Component } from 'react'; class App extends Component { props: { children: HTMLElement }; static PropTypes render() { return ( <div className="main_container"> {this.props.children} </div> ); } } export default App;
packages/mineral-ui-icons/src/IconFilter4.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconFilter4(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps}...
src/ui/pages/common/settings/index.js
dhruv-kumar-jha/productivity-frontend
'use strict'; import React, { Component } from 'react'; import { browserHistory } from 'react-router'; import Heading from 'app/components/common/Heading'; import CommonLayout from 'app/components/layout/Common'; import { FormattedMessage } from 'react-intl'; import GeneralSettings from './General'; import GroupsSett...
app/component/LayoutHorizon.js
vankai/hitokoto-pwa
import React, {Children} from 'react' import PropTypes from 'prop-types' import QueueAnim from 'rc-queue-anim'; import windowSize from '../API/windowSize' import Logo from './Logo'; import {layout_horizon, Content, info, actions, overLoadHitokoto} from './HitokotoLayout.css' import {FONT_MAP, ANIMATE_CONFIG_HORIZON}...
src/svg-icons/action/assignment-return.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssignmentReturn = (props) => ( <SvgIcon {...props}> <path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45...
sparkdown-frontend/src/Header.js
mschaeffner/sparkdown
import React from 'react' import styled from 'styled-components' import Button from '@material-ui/core/Button'; import PlayArrowIcon from '@material-ui/icons/PlayArrow'; const Header = styled.div` background-color: #2196f3; padding: 10px; ` export default ({onPresentClicked}) => <Header> <Button variant="co...
app/components/App.js
benjaminmbrown/eve-faces
import React from 'react'; import {RouteHandler} from 'react-router'; import Navbar from './Navbar'; import Footer from './Footer'; class App extends React.Component{ render(){ return{ <div> <Navbar /> <RouteHandler /> <Footer /> </div> }; } } export default App;
src/scripts/page/todolist/redux/devTools.js
sdwangbaotong/react-study
import React from 'react'; import { createDevTools } from 'redux-devtools'; import Inspector from 'redux-devtools-inspector'; export default createDevTools( <Inspector /> );
react-backend/client/src/router/FeedbacksRouter/index.js
JonasJan89/JSChallenge
import React, { Component } from 'react'; import { Switch, Route } from 'react-router-dom' import FeedbackView from "../../components/FeedbackView/index"; export default class FeedbackRouter extends Component { render() { return ( <Switch> <Route path='/feedbacks/:id' component...
examples/counter/WrangledCounter.js
limscoder/react-wrangler
import React from 'react'; import Path from '../../src/Path'; import Counter from './Counter'; const counterPath = 'counter.current'; function LoadingCounter(props) { return ( <div style={{ margin: '20px' }}> { typeof props.count === 'undefined' ? <span>simulating async operation...</spa...
app/containers/CodeMirrorContainer.js
goldsziggy/sql-everywhere
/* * @Author: Matthew Zygowicz * @Date: 2016-05-09 13:17:50 * @Last Modified by: Matthew Zygowicz */ 'use strict'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import CodeMirror from '../components/CodeMirror'; import * as QueryActions from '../actions/query'; function mapSta...
ajax/libs/phaser/2.0.7/custom/p2.js
francescoagati/cdnjs
/** * The MIT License (MIT) * * Copyright (c) 2013 p2.js authors * * 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 ...
code/workspaces/web-app/src/components/projectInfo/ProjectInfoContent.js
NERC-CEH/datalab
import React from 'react'; import PropTypes from 'prop-types'; import { Typography } from '@material-ui/core'; const ProjectInfoContent = ({ projectInfo }) => ( <div> <Typography variant='h5'>{projectInfo.key}: {projectInfo.name}</Typography> <Typography variant='body1'> {projectInfo.description} <...
app/containers/VestingPage.js
soosgit/vessel
// @flow import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { Redirect } from 'react-router'; import { connect } from 'react-redux'; import MenuBar from './MenuBar'; import ContentBar from '../components/ContentBar'; import VestingAccounts from '../components/VestingAccounts'; ...
src/svg-icons/content/forward.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentForward = (props) => ( <SvgIcon {...props}> <path d="M12 8V4l8 8-8 8v-4H4V8z"/> </SvgIcon> ); ContentForward = pure(ContentForward); ContentForward.displayName = 'ContentForward'; ContentForward.muiNam...
examples/counter/index.js
vizidrix/cqjs
import React from 'react' import ReactDOM from 'react-dom' import Counter from './components/Counter' import { System, View } from 'cqjs' import * as DOMAINDEF from './domains/Counter' const VIEW = new View('VIEW', { value: DOMAINDEF.DOMAIN.initial_state }, DOMAINDEF.VALUE_UPDATED.handler((c, e) => { c.valu...
src/svg-icons/content/text-format.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentTextFormat = (props) => ( <SvgIcon {...props}> <path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"/> </SvgIcon> ); ContentTextFormat = pure(C...
src/parser/monk/brewmaster/modules/spells/azeritetraits/StraightNoChaser.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import { calculateAzeriteEffects } from 'common/stats'; import StatTracker from 'parser/shared/modules/StatTracker'; import TraitStatisticBox from 'interface/others/TraitStatisticBox'; import SpellLink from 'comm...
tests/lib/rules/indent.js
maxbeatty/eslint
/** * @fileoverview This option sets a specific tab width for your code * @author Dmitriy Shekhovtsov * @author Gyandeep Singh * @copyright 2014 Dmitriy Shekhovtsov. All rights reserved. * @copyright 2015 Gyandeep Singh. All rights reserved. */ "use strict"; //----------------------------------------------------...
docs/app/Examples/elements/Step/Groups/StepExampleGroups.js
vageeshb/Semantic-UI-React
import React from 'react' import { Icon, Step } from 'semantic-ui-react' const steps = [ { icon: 'truck', title: 'Shipping', description: 'Choose your shipping options' }, { active: true, icon: 'payment', title: 'Billing', description: 'Enter billing information' }, { disabled: true, icon: 'info', title: 'Confir...
webstore/staticfiles/admin/js/jquery.min.js
brittdawn/django-webstore
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/Orchard.Web/Modules/Orchard.jQuery/Scripts/jquery-1.8.2.js
curlyceeeeee/MTBFitness
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
ajax/libs/ember-data.js/1.0.0-beta.2/ember-data.js
gereon/cdnjs
// Version: v1.0.0-beta.2 // Last commit: b4259a5 (2013-09-04 16:12:32 -0700) (function() { var define, requireModule; (function() { var registry = {}, seen = {}; define = function(name, deps, callback) { registry[name] = { deps: deps, callback: callback }; }; requireModule = function(name) { if (s...
sites/all/modules/jquery_update/replace/jquery/1.5/jquery.min.js
jeanbaptistedeborman/CMSLapage
/*! * jQuery JavaScript Library v1.5.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. ...
ajax/libs/yui/3.3.0/event-custom/event-custom-base-debug.js
froala/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
gui/components/RouteTree.js
venogram/ExpressiveJS
import React, { Component } from 'react'; import HttpMethodDisplay from './HttpMethodDisplay.js'; import PropTypes from 'prop-types'; function RouteTree(props) { const httpMethods = props.methodDisplayInfo.routeIds.reduce((httpMethods, routeId) => { let method = routeId.split(' ')[0]; if (!httpMethods.inclu...
admin/client/App/screens/List/components/ItemsTable/ItemsTableDragDropZone.js
benkroeger/keystone
/** * THIS IS ORPHANED AND ISN'T RENDERED AT THE MOMENT * THIS WAS DONE TO FINISH THE REDUX INTEGRATION, WILL REWRITE SOON * - @mxstbr */ import React from 'react'; import DropZoneTarget from './ItemsTableDragDropZoneTarget'; import classnames from 'classnames'; var ItemsTableDragDropZone = React.createClass({ d...
node_modules/mongoose/node_modules/ms/test/support/jquery.js
ndimatteo/keystone-whitelabeled
/*! * jQuery JavaScript Library v1.7.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. ...
client/src/App.js
chi-bumblebees-2017/gnomad
import React, { Component } from 'react'; import './App.css'; import Conversation from './Conversation'; import Conversations from './Conversations'; import NewProfile from './NewProfile'; import NavBar from './NavBar'; import Login from './components/Login'; import Profile from './components/Profile'; import SearchCon...
ajax/libs/react/0.11.1/react.min.js
ramda/cdnjs
/** * React v0.11.1 * * Copyright 2013-2014 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 app...
src/docs/components/timestamp/TimestampDoc.js
grommet/grommet-docs
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import Timestamp from 'grommet/components/Timestamp'; import Button from 'grommet/components/Button'; import DocsArticle from '../../../components/DocsArticle'; import Example from '../../Example'; export de...
src/svg-icons/av/slow-motion-video.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvSlowMotionVideo = (props) => ( <SvgIcon {...props}> <path d="M13.05 9.79L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zM11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1....
src/js/routes.js
Shobhit1/ReactRedux-FrontEnd
import React from 'react' import { Route, IndexRoute, Redirect } from 'react-router' import App from './components/App' import NotFoundView from './views/NotFoundView' import Login from './components/pages/Login' export default ( <Route path="/" component={App}> <IndexRoute component={Login} /> <Route path=...
node_modules/react-bootstrap/es/Button.js
NathanBWaters/jb_club
import _Object$values from 'babel-runtime/core-js/object/values'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-...
components/Deck/ContentPanel/AttachSubdeck/AttachMyDecks.js
slidewiki/slidewiki-platform
import React from 'react'; import {connectToStores} from 'fluxible-addons-react'; import UserProfileStore from '../../../../stores/UserProfileStore'; import AttachSubdeckModalStore from '../../../../stores/AttachSubdeckModalStore'; import AttachDeckList from './AttachDeckList'; import { Segment, Loader,Label, Image,Di...
pages/press/index.js
blockstack/blockstack-site
import React from 'react' import { Press } from '@components/press' import { Section } from '@components/section' import { press } from '../../common/data/home' const meta = { path: '/press', title: 'Press', notRichText: true } class PressPage extends React.PureComponent { static async getInitialProps(ctx) { ...
generator-templates/component-funct.js
danielzy95/oaa-chat
import React from 'react'{{#if observer}} import { observer } from 'mobx-react'{{/if}}{{#if stylesheet}} import styles from './{{properCase name}}.css'{{/if}} const {{properCase name}} = props => ( <div> {{properCase name}} </div> ) export default {{#if observer}}observer({{properCase name}}) {{~el...
src/index.js
wunderg/todo
import 'babel-polyfill'; import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import storeConfig from './store'; import App from './containers/app'; import Home from './containers/home'; import...
app/features/quiz/QuizSummary/QuizSummarySections/LastActivity.js
Kaniwani/KW-Frontend
import React from 'react'; import PropTypes from 'prop-types'; import { distanceInWordsToNow } from 'date-fns'; import Container from 'common/components/Container'; import H2 from 'common/components/H2'; import P from 'common/components/P'; LastActivity.propTypes = { date: PropTypes.oneOfType([PropTypes.instanceOf(...
ajax/libs/angular-data/0.10.3/angular-data.js
quba/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 0.10.3 - Homepage <http://angular-data.pseudobry.com/> * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/> * @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE> * * @overview Data store for Angular.js...
doc/js/jquery.min.js
dvdt/gyptis
/*! 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...
Libraries/JavaScriptAppEngine/Initialization/ExceptionsManager.js
lstNull/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...
lib/components/common/EditableInput.js
fikriauliya/react-color
'use strict'; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProp...
imports/client/ui/components/PlacesSearchBox/index.js
focallocal/fl-maps
import React from 'react' import PropTypes from 'prop-types' import PlacesAutocomplete, { geocodeByAddress, getLatLng } from 'react-places-autocomplete' import { ListGroup, ListGroupItem, Input } from 'reactstrap' class SearchBox extends React.Component { state = { address: '' } componentDidMount () { c...
ajax/libs/forerunnerdb/1.3.320/fdb-core+views.min.js
cdnjs/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/client/routes/Home/components/HomeView.js
jeremytammik/forgefader
import { IndexLink, Link } from 'react-router' import React from 'react' import './HomeView.scss' class HomeView extends React.Component { ///////////////////////////////////////////////////////////////// // // ///////////////////////////////////////////////////////////////// constructor() { super() ...
app/javascript/mastodon/components/autosuggest_emoji.js
WitchesTown/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import unicodeMapping from '../features/emoji/emoji_unicode_mapping_light'; const assetHost = process.env.CDN_HOST || ''; export default class AutosuggestEmoji extends React.PureComponent { static propTypes = { emoji: PropTypes.object.isRequired, ...
ajax/libs/webshim/1.15.0-RC2/dev/shims/moxie/js/moxie-swf.js
ruiaraujo/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
src/components/tenants/Tenant.js
khosimorafo/reactmastende
import React from 'react' import PropTypes from 'prop-types' import { ListItem } from 'react-native-elements'; import {View} from "react-native"; const Tenant = ({ onTenantClick, tenant }) => ( <View> <ListItem key={tenant.id} roundAvatar avatar={{ uri: tenant.imageUrl ...
packages/material-ui-icons/src/InsertLinkOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-...
ajax/libs/rxjs/4.0.7/rx.lite.compat.js
pvnr0082t/cdnjs
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExpor...
ajax/libs/onsen/2.0.0-beta.4/js/angular-onsenui.js
jdh8/cdnjs
/*! angular-onsenui.js for onsenui - v2.0.0-beta.4 - 2016-01-08 */ /* Simple JavaScript Inheritance * By John Resig http://ejohn.org/ * MIT Licensed. */ // Inspired by base2 and Prototype (function(){ var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; // The base Class imple...
src/pages/cor-cores.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='Cor e Cores' /> )
src/svg-icons/action/dashboard.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDashboard = (props) => ( <SvgIcon {...props}> <path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"/> </SvgIcon> ); ActionDashboard = pure(ActionDashboard); ActionDashboard.displayName...
src/svg-icons/av/queue.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvQueue = (props) => ( <SvgIcon {...props}> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"/> </SvgIco...
files/rxjs/3.1.1/rx.lite.extras.js
leebyron/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports...
src/index.js
Ozzee/sl-departures
import React from 'react' import ReactDOM from 'react-dom' import thunkMiddleware from 'redux-thunk' import createLogger from 'redux-logger' import ReactGA from 'react-ga' import { AppContainer } from 'react-hot-loader' import { Provider } from 'react-redux' import * as storage from 'redux-storage' import createEngine...
src/components/Menu.js
ryyppy/redux-word-gl
import React from 'react'; export default class Menu extends React.Component { render() { const { startGame } = this.props; return ( <div> <h1>WordGL</h1> <button onClick={startGame}>Start Game</button> </div> ); } } const PT = React.PropTypes; Menu.propTypes = { startGa...
app/pages/CurrencyList.js
jmsstudio/CurrencyConverter
import React from 'react'; import PropTypes from 'prop-types'; import { View, FlatList, StatusBar } from 'react-native'; import { connect } from 'react-redux'; import { ListItem, Separator } from '../components/List'; import { changeBaseCurrency, changeQuoteCurrency } from '../actions/currencies'; import currencies fr...
www/src/components/Demo.js
tsuyoshiwada/react-drip-form
import React, { Component } from 'react'; import Link from 'gatsby-link'; import styled from 'styled-components'; import { Container, Row, Col } from 'react-lime-grid'; import { VirtualWindow, Code } from './'; import { App } from './DemoFiles/'; import { viewport } from '../constants'; const StyledButton = styled.but...
ajax/libs/react-instantsearch/5.0.2/Connectors.min.js
seogi1004/cdnjs
/*! ReactInstantSearch 5.0.2 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e.ReactInstantSearch=e.ReactInstantSearch||{},e.Rea...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/AsyncAwait.js
johnslay/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; async function load() { return [ { id: 1, name: '1'...
src/ui/components/Crud.js
dartelvis/zf3
import React from 'react'; import PropTypes from 'prop-types'; import { messageActions } from '../../actions'; import {Pagination} from 'react-bootstrap'; import { Card, CardText, RaisedButton, CardTitle, CardActions, Table, TableBody, TableHeader } from 'material-ui'; import CrudSearch...
client/src/components/recipeingredient/Create.js
noinc/SimpleStorefront
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link, Redirect } from 'react-router-dom'; import PropTypes from 'prop-types'; import Form from './Form'; import { create, reset } from '../../actions/recipeingredient/create'; class Create extends Component { static propTypes =...
node_modules/react-native/local-cli/templates/HelloNavigation/views/chat/ChatListScreen.js
RahulDesai92/PHR
'use strict'; import React, { Component } from 'react'; import { ActivityIndicator, Image, ListView, Platform, StyleSheet, View, } from 'react-native'; import ListItem from '../../components/ListItem'; import Backend from '../../lib/Backend'; export default class ChatListScreen extends Component { stat...
src/parser/hunter/shared/modules/talents/BindingShot.js
FaideWW/WoWAnalyzer
import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import TalentStatisticBox from 'interface/others/TalentStatisticBox'; import React from 'react'; /** * Fires a magical projectile, tethering the enemy and any other enemies within 5 yards for 10 sec, rooting them in place for 5 sec if th...
analysis/warlockdestruction/src/CONFIG.js
yajinni/WoWAnalyzer
import React from 'react'; import SPECS from 'game/SPECS'; import CHANGELOG from './CHANGELOG'; export default { // The people that have contributed to this spec recently. People don't have to sign up to be long-time maintainers to be included in this list. If someone built a large part of the spec or contributed ...
generators/app/templates/src/containers/root.js
Jackong/generator-reactapp
import React from 'react'; import { Router, hashHistory } from 'react-router';<% if (sm === 'redux') { %> import { Provider } from 'react-redux'; import { syncHistoryWithStore } from 'react-router-redux'; import store from '../store'; import routes from './routes'; const stores = { store }; const history = syncHistor...
src/component/FilterableProductTable/ProductTable.js
lyc-chengzi/reactProject
import React from 'react'; import ProductCategoryRow from './ProductCategoryRow'; import ProductRow from './ProductRow'; export default class ProductTable extends React.Component { constructor(props) { super(props); } render() { var products = this.formatProducts(); return ( ...
examples/with-koa/src/Home.js
jaredpalmer/react-production-starter
import React from 'react'; import logo from './koajs-logo.png'; import './Home.css'; class Home extends React.Component { render() { return ( <div className="Home"> <div className="Home-header"> <img src={logo} className="Home-logo" alt="logo" /> <h2>Welcome to Razzle + Koa</h2>...
apps/test-suite/components/RunnerError.js
exponentjs/exponent
import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { useSafeArea } from 'react-native-safe-area-context'; export default function RunnerError({ children }) { const { top } = useSafeArea(); return ( <View style={[styles.container, top || 18]}> <Text style={styles.tex...
app/react/src/client/manager/preview.js
jribeiro/storybook
import PropTypes from 'prop-types'; import React, { Component } from 'react'; const iframeStyle = { width: '100%', height: '100%', border: 0, margin: 0, padding: 0, }; class Preview extends Component { shouldComponentUpdate() { // When the manager is re-rendered, due to changes in the layout (going fu...
packages/material-ui-icons/src/NoSim.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let NoSim = props => <SvgIcon {...props}> <path d="M18.99 5c0-1.1-.89-2-1.99-2h-7L7.66 5.34 19 16.68 18.99 5zM3.65 3.88L2.38 5.15 5 7.77V19c0 1.1.9 2 2 2h10.01c.35 0 .67-.1.96-.26l1.88 1.88 1.27-1.27L3.65 3.8...
examples/normalization/src/components/Master.js
lore/lore
/** * This component serves as the root of your application, and should typically be the only * component subscribed to the store. * * It is also a good place to fetch the current user. Once you have configured 'models/currentUser' * to fetch the current user (by pointing it to the correct API endpoint) uncomment ...
demo/index.android.js
nbonamy/react-native-app-components
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; import App from './App'; AppRegistry.registerComponent('demo', () => App);
ajax/libs/react-virtualized/2.7.2/react-virtualized.js
cdnjs/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["react-virtualized"]...