path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
Libraries/Modal/Modal.js
imjerrybao/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...
packages/material-ui-icons/src/Toc.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z" /> , 'Toc');
src/index.js
ItsJimi/pong-web
import React from 'react' import ReactDOM from 'react-dom' import App from './app' import registerServiceWorker from './registerServiceWorker' import './index.css' ReactDOM.render(<App />, document.getElementById('root')) registerServiceWorker()
app/javascript/mastodon/features/lists/index.js
rekif/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import Column from '../ui/components/column'; import ColumnBackButtonSlim from '../../compo...
node_modules/antd/lib/checkbox/Checkbox.js
maty21/statistisc
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = undefined; var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 ...
docs/src/pages/component-demos/progress/LinearQuery.js
dsslimshaddy/material-ui
// @flow weak import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import { LinearProgress } from 'material-ui/Progress'; const styles = theme => ({ root: { width: '100%', marginTop: theme.spacing.unit * 3, }, }); function LinearQuery(props) { ...
examples/counter/containers/App.js
nikgraf/redux-devtools
import React, { Component } from 'react'; import CounterApp from './CounterApp'; import { createStore, applyMiddleware, combineReducers, compose } from 'redux'; import { devTools, persistState } from 'redux-devtools'; import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react'; import thunk from 'redux-...
docs/app/Examples/collections/Table/Types/TableExamplePadded.js
koenvg/Semantic-UI-React
import React from 'react' import { Header, Table, Rating } from 'semantic-ui-react' const TableExamplePadded = () => { return ( <Table celled padded> <Table.Header> <Table.Row> <Table.HeaderCell singleLine>Evidence Rating</Table.HeaderCell> <Table.HeaderCell>Effect</Table.Header...
src/js/constants/AppConstants.js
megalithic/js-starter-kit
var keyMirror = require('react/lib/keyMirror'); var HOST = 'https://vivid-heat-2129.firebaseIO.com'; module.exports = { FIREBASE_HOST: HOST, FIREBASE_TEST: HOST + '/test', ActionTypes: keyMirror({ SIGN_IN: null, LOGOUT: null, RECEIVE_AUTH_ERROR: null, RECEIVE_AUTH_USER: null, RECEIVE_AUTH_...
ajax/libs/jquery/1.10.1/jquery.js
hnakamur/cdnjs
/*! * jQuery JavaScript Library v1.10.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-05-30T21:49Z */ (function( window, undefined ) { // ...
ajax/libs/vkui/4.18.0/cjs/components/AdaptivityProvider/AdaptivityProvider.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = AdaptivityProvider; exports.ME...
test/lib/views/subscriptions/stats-chart-list-test.js
io-monad/novelous-extension
import React from "react"; import { assert, shallow } from "../../../common"; import StatsChartList from "../../../../app/scripts/lib/views/subscriptions/stats-chart-list"; describe("StatsChartList", () => { const stats = [ { key: "test1", label: "Test Stat1", icon: "check" }, { key: "test2", label: "Test ...
test/regressions/tests/ListSubheader/SimpleListSubheader.js
lgollut/material-ui
import React from 'react'; import ListSubheader from '@material-ui/core/ListSubheader'; export default function SimpleListSubheader() { return ( <div> <ListSubheader>Title</ListSubheader> <ListSubheader color="primary">Title</ListSubheader> <ListSubheader inset>Title</ListSubheader> </div> ...
docs/src/sections/ButtonGroupSection.js
mmarcant/react-bootstrap
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function ButtonGroupSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> ...
src/components/icons/ChevronDownIcon.js
austinknight/ui-components
import React from 'react'; const ChevronDownIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 100 100"> {props.title && <title>{props.title}</title>} <polygon points="71.21 32.32 50 53.54 28.79 32.32 21.72 39.39 50 67.68 78.28 39.39 71.21 32.32" /> </svg> )...
packages/material-ui-icons/src/Schedule.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Schedule = props => <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6...
src/component/textInput.js
sjcrank/viz-data-generator
import React from 'react'; import classNames from 'classnames'; import { StyleSheet, css } from 'aphrodite/no-important'; import StyleGuide from '../util/styleGuide'; const Styles = StyleSheet.create({ container: { display: 'inline-block', }, label: { display: 'inline-block', boxSha...
docs/lib/Components/index.js
Availity/react-block-ui
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; import { Container, Row, Col, Nav, NavItem, NavLink } from 'reactstrap'; const ComponentLink = (props) => { return ( <NavItem> <NavLink tag={Link} to={props.item.to} activeClassName="active"> {props....
demo/src/components/image-views/example1-image-view.js
tuantle/hypertoxin
'use strict'; // eslint-disable-line import { Ht } from 'hypertoxin'; import React from 'react'; import ReactNative from 'react-native'; // eslint-disable-line import PropTypes from 'prop-types'; // import DefaultTheme from '../../themes/default-theme'; const { Dimensions, FlatList } = ReactNative; const...
test/fixtures/react/arrow/actual.js
davesnx/babel-plugin-transform-react-qa-classes
import React, { Component } from 'react'; const componentName = () => { return <div> <h1>Hello world</h1> </div>; }; export default componentName;
ajax/libs/foundation/4.3.1/js/vendor/jquery.js
wil93/cdnjs
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
app/routes.js
timmyLan/isomorphism-koa2-react
import { Router, Route, browserHistory, IndexRoute } from 'react-router' import React from 'react' import App from './containers/App' import News from './containers/News' import About from './containers/About' import Home from './containers/Home' export default ( <Router history={browserHistory}> <Route path="/...
tasks/scaffolding/templates/admin/frontend/pages/pages-admin/list.js
latteware/marble-seed
import React from 'react' import Link from '~base/router/link' import moment from 'moment' import env from '~base/env-variables' import ListPageComponent from '~base/list-page-component' import {loggedIn} from '~base/middlewares/' import Create{{ name | capitalize }} from './create' class {{ name | capitalize }}List ...
src/util/file-browser.js
ordinarygithubuser/IDE
import React from 'react'; import { equalsPath } from '../util/common'; const isSelected = (selected, file) => { return selected && equalsPath(selected, file); }; const DirectoryItem = props => { const { file, select, selected, toggle, setContext } = props; const status = file.open ? 'caret-down' : 'caret...
src/static/js/modules/loan-comparison/components/input-select.js
OrlandoSoto/owning-a-home
var React = require('react'); var assign = require('object-assign'); var common = require('../common'); var SelectInput = React.createClass({ propTypes: { value: React.PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.number, React.PropTypes.bool ]) ...
src/parser/monk/brewmaster/modules/spells/BreathOfFire.js
sMteX/WoWAnalyzer
import React from 'react'; import SpellLink from 'common/SpellLink'; import SPELLS from 'common/SPELLS'; import { formatPercentage } from 'common/format'; import Analyzer from 'parser/core/Analyzer'; import Enemies from 'parser/shared/modules/Enemies'; import { BOF as ABILITY_BLACKLIST } from '../constants/AbilityBlac...
ajax/libs/yasgui/1.0.2/yasgui.min.js
icco/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
flippantHubris/natassjaRyan
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
src/Tools.js
pebutler3/new-site
import React, { Component } from 'react'; class Tools extends Component { render() { return ( <ul className="tools"> <h2>Tools</h2> <li>Macbook Pro</li> <li>Vim</li> </ul> ); } } export default Tools;
client/src/nav/UserMenu.js
flyrightsister/boxcharter
/* * Copyright (c) 2017 Bonnie Schulkin. All Rights Reserved. * * This file is part of BoxCharter. * * BoxCharter is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, either version 3 of the License, ...
packages/components/src/GridLayout/Tile/Header/TileHeader.component.js
Talend/ui
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import theme from './TileHeader.scss'; function Header(props) { return ( <div className={classnames(theme['tc-tile-header'], 'tc-tile-header')}>{props.children}</div> ); } Header.propTypes = { children: PropTypes....
ajax/libs/6to5/1.14.12/browser.js
js-data/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...
docs/client.js
apisandipas/react-bootstrap
import 'bootstrap/less/bootstrap.less'; import './assets/docs.css'; import './assets/style.css'; import './assets/carousel.png'; import './assets/logo.png'; import './assets/favicon.ico'; import './assets/thumbnail.png'; import './assets/thumbnaildiv.png'; import 'codemirror/mode/htmlmixed/htmlmixed'; import 'codemir...
packages/mui-icons-material/lib/esm/DoNotDisturbTwoTone.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6....
packages/material-ui-icons/src/StayPrimaryPortraitTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M7 5h10v14H7z" opacity=".3" /><path d="M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z" /></React.Fragment> , 'StayPri...
imports/startup/client/index.js
jamiebones/Journal_Publication
import React from 'react'; import { render } from 'react-dom'; import { Meteor } from 'meteor/meteor'; import App from '../../ui/layouts/App/App'; import '../../ui/stylesheets/app.scss'; import WebFont from 'webfontloader'; WebFont.load({ google: { families: [ 'N...
components/InteriorLeftNav.js
hellobrian/carbon-components-react
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import classnames from 'classnames'; import window from 'window-or-global'; import InteriorLeftNavList from './InteriorLeftNavList'; import InteriorLeftNavItem from './InteriorLeftNavItem'; import Icon from './Icon'; class InteriorLeftNav e...
public/pages/PhotosPage.js
datpham23/datndiana
import React from 'react' import '../sass/photos-page.scss'; export default React.createClass({ render() { let photos = []; for(var i=1; i<=33;i++){ photos.push(( <section key={`/img/DDE-${i}.jpg`}> <a href={`#/photos/${i}`}> <img className='preview' src={`/img/DDE-${i}.j...
node_modules/http-server/node_modules/union/node_modules/qs/test/browser/jquery.js
russellf9/schedule-tool
/*! * 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. ...
packages/material-ui-icons/src/CreateNewFolderTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M11.17 8l-.59-.59L9.17 6H4v12h16V8h-8.83zM14 10h2v2h2v2h-2v2h-2v-2h-2v-2h2v-2z" opacity=".3" /><path d="M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V...
app/javascript/mastodon/features/ui/components/column_header.js
WitchesTown/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class ColumnHeader extends React.PureComponent { static propTypes = { icon: PropTypes.string, type: PropTypes.string, active: PropTypes.bool, onClick: PropTypes.func, columnHeaderId...
src/components/explorer/results/QueryAttentionOverTimeResultsContainer.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { FormattedMessage, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import MenuItem from '@material-ui/core/MenuItem'; import Divider from '@material-ui/core/Divider'; import ListItemIcon from '@material-ui/core/ListItemIcon'; ...
saga/P/shopping-cart/src/index.js
imuntil/React
import 'babel-polyfill' import 'whatwg-fetch' import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import App from './components/App' import { createStore, applyMiddleware } from 'redux' import { composeWithDevTools } from 'redux-devtools-extension' import createSagaMidd...
app/components/timelapse.js
jzhang729/zoey.news
import React from 'react' import Fluxxor from 'fluxxor' import ActiveKeywordList from './activekeywordlist' import AddKeyword from './addkeyword' import ActivePublisherList from './activepublisherlist' import AddPublisher from './addpublisher' import ChartTitle from './charttitle' import { Button } from 'react-bootstra...
ui/src/components/SampleView/MotorControl.js
mxcube/mxcube3
import React from 'react'; import { Button , Row, Col } from 'react-bootstrap'; import MotorInput from '../MotorInput/MotorInput'; import TwoAxisTranslationControl from '../MotorInput/TwoAxisTranslationControl'; import PhaseInput from './PhaseInput'; import { find } from 'lodash'; import '../MotorInput/motor.css'; e...
app/Plugin/DebugKit/webroot/js/jquery.js
DSaunier/Forerunner
/*! 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...
App/node_modules/metro-bundler/node_modules/babel-plugin-react-transform/test/fixtures/code-class-extends-component-with-render-method/expected.js
Dagers/React-Native-Differential-Updater
import _transformLib from 'transform-lib'; const _components = { Foo: { displayName: 'Foo' } }; const _transformLib2 = _transformLib({ filename: '%FIXTURE_PATH%', components: _components, locals: [], imports: [] }); function _wrapComponent(id) { return function (Component) { return _transformLib...
src/containers/Admin.js
muhammadsayuti/releasify-server
import React from 'react' import PropTypes from 'prop-types' import { Route, Switch, Redirect } from 'react-router' import { connect } from 'react-redux' import { compose } from 'redux' import LogoutIcon from '@material-ui/icons/ExitToApp' import Dialog from '@material-ui/core/Dialog' import DialogTitle from '@material...
src/svg-icons/maps/tram.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsTram = (props) => ( <SvgIcon {...props}> <path d="M19 16.94V8.5c0-2.79-2.61-3.4-6.01-3.49l.76-1.51H17V2H7v1.5h4.75l-.76 1.52C7.86 5.11 5 5.73 5 8.5v8.44c0 1.45 1.19 2.66 2.59 2.97L6 21.5v.5h2.23l2-2H14l2 2h...
src/components/File/__tests__/FileActions.spec.js
propertybase/react-lds
import React from 'react'; import { shallow } from 'enzyme'; import FileActions from '../FileActions'; const mockChild = <div>Foo</div>; const getComponent = (props = {}) => shallow( <FileActions hideTitle={false} {...props}>{mockChild}</FileActions> ); describe('<FileActions />', () => { it('renders the menu if...
client/src/components/AdminImage.js
redcom/pinstery
// @flow import React from 'react'; import styled from 'styled-components'; import { Errors, WrapActions } from '../components'; import { defaultSpaceInBetween } from '../styles/vars'; import { map, values } from 'ramda'; import Button from 'material-ui/Button'; import TextField from 'material-ui/TextField'; import ty...
actor-apps/app-web/src/app/components/sidebar/RecentSection.react.js
gaolichuang/actor-platform
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ import _ from 'lodash'; import React from 'react'; import DialogActionCreators from 'actions/DialogActionCreators'; import CreateGroupActionCreators from 'actions/CreateGroupActionCreators'; import DialogStore from 'stores/DialogStore'; import CreateGroupSt...
client2/src/components/Video/components/video_list_item.js
ibulmer/Board
import React from 'react'; export default ({video, onVideoSelect}) => { const imageUrl = video.snippet.thumbnails.default.url; const divStyle = { 'backgroundColor': 'black', 'borderRadius': '0px', 'borderWidth': '.5px 0px .5px 0px', 'borderColor': 'black', 'borderStyle': 'solid', }; return ( <li s...
ajax/libs/forerunnerdb/1.3.713/fdb-all.min.js
redmunds/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/components/socialIcons.js
lucasflores/lucasflores.github.io
import React from 'react' import styled from 'styled-components' import FontAwesome from 'react-fontawesome' const Icon = ({ name, href }) => ( <a href={href}> <FontAwesome name={name} /> </a> ) const Base = styled.div` margin: 20px 0; text-align: center; & a { display: inline-block; margin 5px;...
components/date_picker/CalendarMonth.js
rubenmoya/react-toolbox
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { range } from '../utils/utils'; import time from '../utils/time'; import CalendarDay from './CalendarDay'; class Month extends Component { static propTypes = { disabledDates: PropTypes.arrayOf(PropTypes.instanceOf(Date)), e...
packages/mui-icons-material/lib/DirectionsCarRounded.js
oliviertassinari/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
.baker/generators/app/templates/src/setup.js
bakery/baker
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import App from './components/App'; import configureStore from './state'; const store = configureStore(); function setup() { class Root extends Component { render() { return ( <Provider store={store}> <App ...
src/containers/discover/roadmap-list/RoadmapList.js
phodal/growth-ng
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FlatList, ScrollView } from 'react-native'; import { List, ListItem } from 'react-native-elements'; import Api from '../../../utils/api'; import AppStyle from '../../../theme/styles'; import Launch from '../../../components/discover/...
node_modules/react-bootstrap/es/ModalDialog.js
lucketta/got-quote-generator
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 ...
build/content.js
tkorakas/gmail-lists
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
js/jquery.js
IJMacD/MyTab
/*! 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...
packager/react-packager/src/Cache/index.js
YComputer/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. */ 'use strict...
ajax/libs/6to5/1.12.20/browser.js
pvnr0082t/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...
react/features/base/dialog/components/native/InputDialog.js
gpolitis/jitsi-meet
// @flow import React from 'react'; import { View } from 'react-native'; import Dialog from 'react-native-dialog'; import { translate } from '../../../i18n'; import { connect } from '../../../redux'; import { _abstractMapStateToProps } from '../../functions'; import AbstractDialog, { type Props as AbstractProps, ...
src/pages/sorting/Heapsort/Heapsort.js
hyy1115/react-redux-webpack2
import React from 'react' class Heapsort extends React.Component { render() { return ( <div>CyHeapsortcle</div> ) } } export default Heapsort
ajax/libs/knockout-kendo/0.9.6/knockout-kendo.js
x112358/cdnjs
/* * knockout-kendo 0.9.6 * Copyright © 2015 Ryan Niemeyer & Telerik * * 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 b...
src/utils/controller.js
oliviertassinari/SplitMeBord
import React, { Component, PropTypes } from "react"; import createBrowserHistory from "history/lib/createBrowserHistory"; import createHashHistory from "history/lib/createHashHistory"; import context from "../utils/context"; import theme from "../themes/default"; import { updateRoute } from "../actions"; const histo...
ajax/libs/forerunnerdb/1.3.523/fdb-all.js
sajochiu/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/collections/Table/Variations/TableExampleSelectableRow.js
vageeshb/Semantic-UI-React
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleSelectableRow = () => { return ( <Table celled selectable> <Table.Header> <Table.Row> <Table.HeaderCell>Name</Table.HeaderCell> <Table.HeaderCell>Status</Table.HeaderCell> <Table.Head...
src/components/AppSettingsMenu/ThemeControls/DeleteButton.js
Charlie9830/pounder
import React from 'react'; import { IconButton } from '@material-ui/core'; import DeleteIcon from '@material-ui/icons/Delete'; const DeleteButton = (props) => { return ( <IconButton onClick={props.onClick}> <DeleteIcon fontSize="small"/> </IconButton> ); }; export default D...
packages/core/__deprecated__/Arwes/Arwes.js
romelperez/arwes
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import AnimationComponent from '../Animation'; import PuffsComponent from '../Puffs'; import { getResponsiveResource } from '../tools/utils'; import createLoaderModule from '../tools/createLoader'; import createR...
packages/material-ui-icons/src/QueueRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3 6c-.55 0-1 .45-1 1v13c0 1.1.9 2 2 2h13c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1-.45-1-1V7c0-.55-.45-1-1-1zm17-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-2 9h-3v3c0 .55-....
index.ios.js
juhahinkula/NativeFirebase
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class nativefirebase extends Component { render() { return ( <View style={styles.cont...
dot-net-cs/packages/jQuery.1.9.1/Content/Scripts/jquery-1.9.1.min.js
SequencingDOTcom/oAuth2-demo
/*! 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,y=l.hasOwnProperty,v=p.trim,b=function(e,t){retur...
assets/javascripts/kitten/karl/pages/pre-deposit/components/tips/tip.js
KissKissBankBank/kitten
import React from 'react' import { TitleWithStroke, Paragraph } from 'kitten' export const Tip = ({ title, paragraph }) => ( <div className="k-u-margin-top-triple k-u-margin-top-none@s-up k-u-margin-top-decuple@l-up"> <TitleWithStroke modifier="quinary" margin={false}> {title} </TitleWithStroke> <...
demos/badges/demos/iconOnIcon.js
isogon/styled-mdl-website
import React from 'react' import { Badge, Icon } from 'styled-mdl' const demo = () => ( <Badge overlap text={<Icon sm name="done" />}> <Icon lg name="account_box" /> </Badge> ) const caption = 'Icon over icon' const code = ` <Badge overlap text={<Icon sm name="done" />}> <Icon lg name="account_box" /> ...
src/js/components/icons/base/Tip.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
who_paid_what_2/imports/startup/client/routes.js
bburscher/who_paid_what
import React from 'react'; import { Router, Route, Redirect } from 'react-router'; import createBrowserHistory from 'history/createBrowserHistory'; import { Accounts, STATES } from 'meteor/std:accounts-ui'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import LandingPage from '../../landingPage.js...
src/docs/examples/TextInput/ExampleError.js
Mikhail2k15/ps-react-michael
import React from 'react'; import TextInput from 'ps-react/TextInput'; export default class ExampleOptional extends React.Component{ render(){ return ( <TextInput htmlId="example-optional" label="First Name" name="firstName" onChange={()=>{}} required error="First name is required"...
src/js/app.js
ngokevin/threeschwifty
import '../css/index.styl'; import {registerComponent} from 'aframe-core'; import 'babel-polyfill'; import {Animation, Entity, Scene} from 'aframe-react'; import {component as aframeTextComponent} from 'aframe-text-component'; import key from 'keymaster'; import React from 'react'; import ReactDOM from 'react-dom'; im...
src/@ui/ThumbnailCard/index.js
NewSpring/Apollos
import React from 'react'; import PropTypes from 'prop-types'; import { compose, pure, setPropTypes } from 'recompose'; import { startCase, toLower } from 'lodash'; import { withIsLoading } from '@ui/isLoading'; import styled from '@ui/styled'; import Card, { CardContent } from '@ui/Card'; import SideBySideView from '...
lib/slackbot.js
Prismatik/slack-githubbot
var Botkit = require("botkit"); var _ = require("lodash"); var Promisify = require("./promisify"); var slackbot = Botkit.slackbot({ debug: false }); var methods = [ "channels", "chat", "emoji", "files", "groups", "im", "reactions", "rtm", "search", "stars", "team", "users" ]; exports.slackbot...
ajax/libs/muicss/0.8.1/react/mui-react.min.js
extend1994/cdnjs
!function(e){var t=e.babelHelpers={};t.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.createClass=function(){function e(e,t){for(var r=0;r<t.length;r++){var l=t[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.definePro...
examples/auth-flow/app.js
dashed/react-router
import React, { findDOMNode } from 'react'; import HashHistory from 'react-router/lib/HashHistory'; import { Router, Route, Link, Navigation } from 'react-router'; import auth from './auth'; var App = React.createClass({ getInitialState() { return { loggedIn: auth.loggedIn() }; }, setStateOnAuth(l...
react-flux-mui/js/material-ui/src/svg-icons/device/network-cell.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceNetworkCell = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M2 22h20V2z"/><path d="M17 7L2 22h15z"/> </SvgIcon> ); DeviceNetworkCell = pure(DeviceNetworkCell); DeviceNetworkCell.displayNam...
ajax/libs/yui/3.10.0/datatable-body/datatable-body-debug.js
adatapost/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
ajax/libs/material-ui/5.0.0-alpha.13/legacy/SpeedDial/SpeedDial.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 * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-...
ajax/libs/forerunnerdb/1.3.887/fdb-core.js
pvnr0082t/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/route/notification/promotion.js
simors/yjbAdmin
import React from 'react'; import {connect} from 'react-redux'; import {Link} from 'react-router-dom'; import {selector} from './redux'; import Step1 from './promotion-step1'; import Step2 from './promotion-step2'; import {selector as authSelector} from '../../util/auth/'; import {PERMISSION_CODE} from '../../util/role...
react/src/components/login/LoginForm.js
mgw2007/angular2_nodejs_admin_shopping_cart
import React from 'react' import {Field, reduxForm} from 'redux-form' import { required, maxLength, number, minValue, email, maxValue, tooOld, aol } from '../../form/FormValidations' const renderField = ({input, label, type, meta: {touched, error, warning}}) => ( <div className="for...
node_modules/antd/es/rate/index.js
ZSMingNB/react-news
import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import React from 'react'; import PropTypes ...
components/DownloadIcon.js
slightlytyler/mocksy-site
import React from 'react'; import Radium from 'radium'; const DownloadIcon = React.createClass({ render: function() { const { style } = this.props; return ( <svg style={[styles.base, style]} viewBox="0 0 45 60"> <g id="Marketing-Site"> <g id="Desktop-HD" transform="translate(-2...
actor-apps/app-web/src/app/components/SidebarSection.react.js
hejunbinlan/actor-platform
import React from 'react'; import { Styles, Tabs, Tab } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import HeaderSection from 'components/sidebar/HeaderSection.react'; import RecentSection from 'components/sidebar/RecentSection.react'; import ContactsSection from 'components/sidebar/ContactsSec...
docs/src/app/components/pages/components/DropDownMenu/ExampleLabeled.js
nathanmarks/material-ui
import React from 'react'; import DropDownMenu from 'material-ui/DropDownMenu'; import MenuItem from 'material-ui/MenuItem'; export default class DropDownMenuLabeledExample extends React.Component { constructor(props) { super(props); this.state = {value: 2}; } handleChange = (event, index, value) => th...
client/router.js
mpsoftware/experiments
import Router from 'ampersand-router' import {render} from 'react-dom' import React from 'react' import PublicPage from './pages/public' import EbaySearchPage from './pages/ebaySearch' import Layout from './layout/layout' import NavigationHelper from './components/navigation-helper' const mountPoint = document.getElem...
front/app/js/pages/Animations.js
nudoru/React-Starter-3
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import { TweenMax, Quad, Circ } from 'gsap'; import { range } from 'lodash'; import { Animate, TweenGroup } from '../components/controls/common/Animate'; import Button from '../components/controls/Button'; import { Car...
example/examples/TakeSnapshot.js
j0ergo/react-native-maps
import React from 'react'; import { StyleSheet, View, Text, Dimensions, TouchableOpacity, Image, } from 'react-native'; import MapView from 'react-native-maps'; import flagBlueImg from './assets/flag-blue.png'; import flagPinkImg from './assets/flag-pink.png'; const { width, height } = Dimensions.get('win...
src/pages/components/Books/components/Shelf.js
H3yfinn/finbarmaunsell.com
import React from 'react' import { deduceUrl } from '../utils' import { Book as Type_Book, Shelf as Type_Shelf } from '../types' // eslint-disable-line camelcase const ShelfDisplay = ({ book }) => { const url = deduceUrl(book) return ( <a href={url} className="shelf-book" target="_blank"> <div className=...
src/client/redux/modules/user.js
eliasmeire/hz-pictionary
import { Observable } from 'rxjs/Observable'; import 'rxjs/add/observable/of'; import 'rxjs/add/observable/concat'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/concatMap'; import 'rxjs/add/operator/do'; import 'rxjs/add/operator/mergeMap'; import 'rxjs/add/operator/mergeMapTo'; import Horizon from '@horiz...