path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/svg-icons/file/folder-shared.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileFolderShared = (props) => ( <SvgIcon {...props}> <path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v...
classic/src/scenes/wbui/SleepableField.js
wavebox/waveboxapp
import PropTypes from 'prop-types' import React from 'react' import shallowCompare from 'react-addons-shallow-compare' import { FormControl, Input, InputLabel, InputAdornment, Checkbox, Grid } from '@material-ui/core' import { withStyles } from '@material-ui/core/styles' const styles = { gridContainer: { marginT...
src/components/django/line/DjangoLine.js
fpoumian/react-devicon
import React from 'react' import PropTypes from 'prop-types' import SVGDeviconInline from '../../_base/SVGDeviconInline' import iconSVG from './DjangoLine.svg' /** DjangoLine */ function DjangoLine({ width, height, className }) { return ( <SVGDeviconInline className={'DjangoLine' + ' ' + className} ...
docs/src/app/components/pages/components/Divider/ExampleForm.js
nathanmarks/material-ui
import React from 'react'; import Divider from 'material-ui/Divider'; import Paper from 'material-ui/Paper'; import TextField from 'material-ui/TextField'; const style = { marginLeft: 20, }; const DividerExampleForm = () => ( <Paper zDepth={2}> <TextField hintText="First name" style={style} underlineShow={fal...
vendor/jquery/jquery/jquery-1.11.1.js
lysafichot/ecommerce
/*! * 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 ...
ajax/libs/rxjs/2.4.5/rx.compat.js
froala/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 }; ...
ajax/libs/yui/3.4.1/yui/yui.js
Kaakati/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 * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
src/components/local-form-component.js
davidkpiano/redux-simple-form
import React from 'react'; import PropTypes from 'prop-types'; import Form from './form-component'; import combineForms from '../reducers/forms-reducer'; import { createStore } from 'redux'; import omit from '../utils/omit'; class LocalForm extends React.Component { constructor(props) { super(props); this.s...
web-app/src/shared/components/Table/TableWrapper.js
crypticism/FF
import React from 'react'; import classNames from 'classnames'; import PlusCircle from '../Icon/PlusCircle'; import stylesheet from './TableWrapper.scss'; export default function TableWrapper({ title, name, onClickAdd, children }) { const addContent = !!onClickAdd && ( <PlusCircle className={classNames('pu...
docs/pages/blog/july-2019-update.js
lgollut/material-ui
import React from 'react'; import TopLayoutBlog from 'docs/src/modules/components/TopLayoutBlog'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'blog/july-2019-update'; const requireRaw = require.context('!raw-loader!./', false, /july-2019-update\.md$/); export default f...
web/src/scripts/factories/scaffold/ReactNativeScaffolds/View.js
dchen/deco-ide
/** * Copyright (C) 2015 Deco Software Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be...
components/about.js
Yutenko/stories360
import React from 'react' import {Container,Row,Col} from 'react-grid-system' import {translate} from '../client/lang/translation' import {Card, CardActions, CardHeader, CardMedia, CardTitle, CardText} from 'material-ui/Card' import Paper from 'material-ui/Paper' import FontIcon from 'material-ui/FontIcon' import YouTu...
__tests__/index.ios.js
RichHomies/Poof
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/components/TopBar.js
theJoeBiz/react-boilerplate
import React, { Component } from 'react'; import { Navbar, Nav, NavItem } from 'react-bootstrap'; import { LinkContainer } from 'react-router-bootstrap'; class TopBar extends Component { render() { return ( <Navbar> <Navbar.Header> <Navbar.Brand> <a href="#">React-Boilerplate<...
vendors/extjs/src/form/Panel.js
Warlock-developer/practicas
/** * @docauthor Jason Johnston <jason@sencha.com> * * FormPanel provides a standard container for forms. It is essentially a standard {@link Ext.panel.Panel} which * automatically creates a {@link Ext.form.Basic BasicForm} for managing any {@link Ext.form.field.Field} * objects that are added as descendants of t...
app/javascript/mastodon/features/ui/components/drawer_loading.js
unarist/mastodon
import React from 'react'; const DrawerLoading = () => ( <div className='drawer'> <div className='drawer__pager'> <div className='drawer__inner' /> </div> </div> ); export default DrawerLoading;
ajax/libs/handsontable/0.11.0-beta1/jquery.handsontable.js
rivanvx/cdnjs
/** * Handsontable 0.11.0-beta1 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright 2012-2014 Marcin Warpechowski * Licensed under the MIT license. * http://handsontable.com/ * * Date: Thu Jul 10 2014 13:20:50 GMT+0200 (CEST) ...
packages/material-ui-icons/src/FormatBoldTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M17.25 8c0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42.97-.67 1.65-1.77 1.65-2.79zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 ...
ajax/libs/clappr/0.0.86/clappr.js
jimmybyrum/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/jssip/2.0.6/jssip.js
joeyparrish/cdnjs
/* * JsSIP v2.0.6 * the Javascript SIP library * Copyright: 2012-2016 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan) * Homepage: http://jssip.net * License: MIT */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&def...
local-cli/templates/HelloNavigation/views/chat/ChatScreen.js
tszajna0/react-native
'use strict'; import React, { Component } from 'react'; import { ActivityIndicator, Button, ListView, StyleSheet, Text, TextInput, View, } from 'react-native'; import KeyboardSpacer from '../../components/KeyboardSpacer'; import Backend from '../../lib/Backend'; export default class ChatScreen extends C...
react-apps/GeneReactNative/src/geneweb/components/SideBar/SideBar.js
thevikas/genealogy
import React, { Component } from 'react'; import {Link} from 'react-router-dom'; //import MessageItem from './MessageItem/' //import axios from 'axios'; //import {Link} from 'react-router-dom'; //import * as APIConfig from 'APIConfig'; //import Gravatar from 'react-gravatar' //For installing redux on this component //i...
src/header/__tests__/Header.js
fengshanjian/react-native-komect-uikit
import React from 'react'; import { Button } from 'react-native'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import Header from '../Header'; import NavButton from '../NavButton'; import Title from '../Title'; const btnCfg = { icon: 'home' }; const titleCfg = { text: 'This is a title' }; d...
src/Week.js
manishksmd/react-scheduler-smartdata
import PropTypes from 'prop-types'; import React from 'react'; import dates from './utils/dates'; import localizer from './localizer'; import { navigate } from './utils/constants'; import TimeGrid from './TimeGrid'; class Week extends React.Component { static propTypes = { date: PropTypes.instanceOf(Date).isReq...
node_modules/react-native/local-cli/templates/HelloNavigation/components/ListItem.js
hpdmitriy/Bjj4All
'use strict'; import React, { Component } from 'react'; import { Platform, StyleSheet, Text, TouchableHighlight, TouchableNativeFeedback, View, } from 'react-native'; /** * Renders the right type of Touchable for the list item, based on platform. */ const Touchable = ({onPress, children}) => { const c...
example/components/test_named_export_es5.js
RinconStrategies/inspectr
import React from 'react'; class TestComponent extends React.Component { render() { return <div></div>; } } module.exports = { TestComponent: TestComponent };
fields/types/relationship/RelationshipField.js
suryagh/keystone
import async from 'async'; import Lists from '../../../admin/client/stores/Lists'; import Field from '../Field'; import React from 'react'; import Select from 'react-select'; import xhr from 'xhr'; import { Button, InputGroup } from 'elemental'; function compareValues (current, next) { const currentLength = current ?...
orderflex/public/orderassets/AppUserdirectoryBundle/fontawesome/js-packages/@fortawesome/fontawesome-free/js/brands.js
victorbrodsky/order-lab
/*! * Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2022 Fonticons, Inc. */ (function () { 'use strict'; var _WINDOW = {}; var _DOCUMENT = {}; try { if (typeof win...
ajax/libs/react-router/2.8.0/ReactRouter.min.js
cdnjs/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactRouter=t(require("react")):e.ReactRouter=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].e...
wp-content/themes/themer/node_modules/babel-core/lib/transformation/pipeline.js
sammyboy45467/Portfolio
"use strict"; exports.__esModule = true; // istanbul ignore next function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } // istanbul ignore next function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a cl...
ajax/libs/clappr/0.0.97/clappr.js
humbletim/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)...
client/src/components/ContentListing.js
Wiredcraft/jekyllpro-cms
import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import React, { Component } from 'react'; import moment from 'moment'; import { parseFilenameFromYaml } from '../helpers/markdown'; import { parseFilePathByLang, getFilenameFromPath } from '../helpers/utils'; import { selectCollectio...
ajax/libs/rxjs/2.5.3/rx.compat.js
iwdmb/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/OverlaySplat/OverlaySplat.js
Zoomdata/nhtsa-dashboard
import React, { Component } from 'react'; import { getWidth } from '../../utilities'; import image from '../../images/overlay_splat4.gif'; import { observer } from 'mobx-react'; class OverlaySplat extends Component { setDimensions(comp) { if (comp !== null) { const el = comp; const width = getWidth(e...
src/demos/building-a-geospatial-app/starting-code/src/app.js
uber-common/vis-academy
import React, { Component } from 'react'; const MAPBOX_STYLE = 'mapbox://styles/mapbox/light-v9'; const MAPBOX_TOKEN = process.env.MapboxAccessToken; // eslint-disable-line function SetToken() { return ( <div style={{fontSize: '20px'}}> <div>You don't have a Mapbox token set in your environemnt.</div> ...
packages/docs/components/Examples/linkify/gettingStarted.js
draft-js-plugins/draft-js-plugins
// It is important to import the Editor which accepts plugins. import Editor from '@draft-js-plugins/editor'; import createLinkifyPlugin from '@draft-js-plugins/linkify'; import React from 'react'; // Creates an Instance. At this step, a configuration object can be passed in // as an argument. const linkifyPlugin = cr...
frontend/src/javascripts/stores/TrashStore.js
funaota/notee
import React from 'react'; import assign from 'object-assign'; import request from 'superagent'; var EventEmitter = require('events').EventEmitter; // notee import NoteeDispatcher from '../dispatcher/NoteeDispatcher'; import Constants from '../constants/NoteeConstants'; // utils import EventUtil from '../utils/EventU...
modules/Route.js
levjj/react-router
import React from 'react' import warning from 'warning' import invariant from 'invariant' import { createRouteFromReactElement } from './RouteUtils' import { component, components } from './PropTypes' const { string, bool, func } = React.PropTypes /** * A <Route> is used to declare which components are rendered to t...
app/lib/angular/angular-scenario.js
ImobiliareRoLabs/feature-switch-client
/*! * jQuery JavaScript Library v1.7.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. ...
docs/src/app/components/pages/components/AutoComplete/Page.js
IsenrichO/mui-with-arrows
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import autoCompleteReadmeText from './README'; import autoCompleteCode from '!ra...
themes/zen/assets/js/jquery-1.10.2.min.js
Drylm/blog.drylm.org
/*! 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...
src/svg-icons/image/exposure.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageExposure = (props) => ( <SvgIcon {...props}> <path d="M15 17v2h2v-2h2v-2h-2v-2h-2v2h-2v2h2zm5-15H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM5 5h6v2H5V5zm15 15H4L20 4v16z"/> </...
WebRoot/admin/weiqiwx/tpl/User/default/common/js/jquery.min.js
sunjob/wcg
/*! 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...
src/in-page-ui/tooltip/content_script/components/AnimationWrapper.js
WorldBrain/WebMemex
import React from 'react' import PropTypes from 'prop-types' import styles from './tooltip.css' /* TODO: - Animate icons leaving out. - Streamline animation flow using enter and exit animations */ class AnimationWrapper extends React.Component { static propTypes = { children: PropTypes.node.isRequired, ...
installer/frontend/trail.js
hhoover/tectonic-installer
import _ from 'lodash'; import React from 'react'; import { Map as ImmutableMap, Set as ImmutableSet } from 'immutable'; import { commitPhases } from './actions'; import { PLATFORM_TYPE, DRY_RUN } from './cluster-config'; import { CertificateAuthority } from './components/certificate-authority'; import { ClusterInfo ...
ajax/libs/yui/3.1.2/event-custom/event-custom-debug.js
cnbin/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 e...
src/client.js
once-ler/react-fhir
/** * THIS IS THE ENTRY POINT FOR THE CLIENT, JUST LIKE server.js IS THE ENTRY POINT FOR THE SERVER. */ import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import createStore from './redux/create'; import ApiClient from './helpers/ApiClient'; // import io from 'socket.io-client'; imp...
client/src/pages/guide.js
pahosler/freecodecamp
import React from 'react'; import Helmet from 'react-helmet'; import Layout from '../components/layouts/GuideLayout'; function Index() { return ( <Layout> <Helmet> <title>Guide | freeCodeCamp.org</title> <meta content='Short, concise guides and how-tos for the busy developer.' ...
ajax/libs/webshim/1.14.6/dev/shims/moxie/js/moxie.js
MisatoTremor/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/Popover.js
coderstudy/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; const Popover = React.createClass({ mixins: [ BootstrapMixin ], propTypes: { /** * An html id attribute, necessary for accessibility ...
src/utils/defaultMenuRenderer.js
matroid/react-select
import classNames from 'classnames'; import React from 'react'; function menuRenderer ({ focusedOption, instancePrefix, labelKey, onFocus, onSelect, optionClassName, optionComponent, optionRenderer, options, valueArray, valueKey, onOptionRef }) { let Option = optionComponent; return options.map((option,...
frontend/src/components/recipes/edit/components/Step2/components/DetailsSection.js
jf248/scrape-the-plate
import React from 'react'; import { InputAdornment, withStyles } from '@material-ui/core'; import { Field, Section } from 'components/common'; const styles = theme => ({ marginRight: { marginRight: theme.spacing.unit * 2, }, }); function DetailsSection(props) { const { classes, cookTimeInputProps, ...
src/modules/AudioPlayerViewContainer.js
futurice/PelaryHemmo
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Player } from 'react-native-audio-toolkit'; const mapStateToProps = state => ({ isActive: state.getIn(['session', 'isActive']), }); @connect(mapStateToProps) export default class AudioPlayer...
ajax/libs/babel-core/5.6.16/browser-polyfill.js
mgoldsborough/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...
app/components/audit_log/Index.js
buildkite/frontend
// @flow import React from 'react'; import PropTypes from 'prop-types'; import Relay from 'react-relay/classic'; import Panel from 'app/components/shared/Panel'; import ShowMoreFooter from 'app/components/shared/ShowMoreFooter'; import Spinner from 'app/components/shared/Spinner'; import AuditLogRow from './row'; c...
src/index.js
VasilyShelkov/ClientRelationshipManagerUI
import React from 'react'; import ReactDOM from 'react-dom'; import { createBrowserHistory } from 'history'; import { Switch, Route } from 'react-router'; import ApplicationProviders from './ApplicationProviders'; import LoginPage from './authentication/Login'; import AppWithNavbar from './app/AppWithNavbar'; import '...
index.ios.js
laundree/app
/** * React Native App for Laundree * * https://laundree.io/ * https://github.com/facebook/react-native * @flow */ import React from 'react' import {AppRegistry} from 'react-native' import App from './src/react/App' const Laundree = () => <App /> AppRegistry.registerComponent('Laundree', () => Laundree)
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 =...
ui/js/components/ImageSectionEdit.js
ericsoderberg/pbc-web
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import FormField from './FormField'; import FormState from '../utils/FormState'; import SectionEdit from './SectionEdit'; export default class ImageSectionEdit extends Component { constructor(props) { super(props); const { section...
src/views/components/counter/index.js
r-park/react-redux-seed
import React from 'react'; import Button from '../button'; function Counter({ decrement, increment, incrementAsync, incrementIfOdd }) { return ( <div> <Button onClick={decrement}>-</Button> <Button onClick={increment}>+</Button> <Button onClick={incrementAsync}>Increment async</Button>...
icons/image/rotate-right.js
mikamaunula/react-material-icons
'use strict'; var React = require('react'); var mui = require('material-ui'); var SvgIcon = mui.SvgIcon; var createClass = require('create-react-class'); var ImageRotateRight = createClass({ displayName: 'ImageRotateRight', render: function render() { return React.createElement( SvgIcon, this.pr...
src/containers/views/ThemeManifest.js
ashmaroli/jekyll-admin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import _ from 'underscore'; import DocumentTitle from 'react-document-title'; import { fetchTheme } from '../../ducks/the...
dev/src/react-dat-gui/components/DatSelect.js
rohan-deshpande/react-dat-gui
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import isString from 'lodash.isstring'; import result from 'lodash.result'; export default class DatSelect extends Component { static propTypes = { data: PropTypes.object, path: PropTypes.string, label: PropTypes.string, o...
submissions/gterzian/src/views/App.react.js
gterzian/flux-challenge
import React from 'react'; import JediContainer from '../containers/JediContainer.react.js' import WorldContainer from '../containers/WorldContainer.react.js' export default class App extends React.Component { render() { return ( <div className="app-container"> <div className="css-root"> ...
ajax/libs/react/0.12.0-rc1/react-with-addons.min.js
koggdal/cdnjs
/** * React (with addons) v0.12.0-rc1 * * Copyright 2013-2014, 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 ...
src/navigation.js
jaggerwang/zqc-app-demo
/** * 在球场 * zaiqiuchang.com */ import React from 'react' import {StackNavigator, TabNavigator} from 'react-navigation' import {COLOR} from './config' import * as components from './components' const login = StackNavigator( { PreLogin: {screen: components.PreLogin}, Login: {screen: components.Login}, ...
lib/jquery-1.6.2.min.js
pplaquette/webapps-annex
/*! * 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/instantsearch.js/2.3.0-beta.7/instantsearch.min.js
jonobr1/cdnjs
/*! instantsearch.js 2.3.0-beta.7 | © Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */ !function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports.instantsearch=t():e...
framework/thirdparty/jquery-ui/jquery-ui.js
sjmog/synergyarchitects
/*! jQuery UI - v1.9.2 - 2012-11-23 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, j...
node_modules/zone.js/dist/zone.min.js
surbhishankar/Car-Ranks-App
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(this,function(){"use strict";function e(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=Zone.current.wrap(e[n],t+"_"+n));return e}function t(t,n){for(var r=t.constructor.name,o=...
src/components/Labels/LabelPublish.js
hahoocn/hahoo-admin
import React from 'react'; import styles from './Label.css'; class LabelPublish extends React.Component { state = {} render() { return ( <span className={`${styles.btn} ${styles.publish}`}>已发布</span> ); } } export default LabelPublish;
app/pages/menu/index.js
ibjohansen/acando-react-boilerplate-extended
'use strict'; import React from 'react'; import {History, Link} from 'react-router' import {Navbar, NavBrand, Nav, NavItem, Button, Collapse, Well, Glyphicon, Col} from 'react-bootstrap'; export default React.createClass({ displayName: 'app/pages/menu/index.js', mixins: [History], getInitialState(){ ...
node_modules/react-icons/md/filter-3.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdFilter3 = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.4 21.6c0 1.9-1.6 3.4-3.4 3.4h-6.6v-3.4h6.6v-3.2h-3.4v-3.4h3.4v-3.4h-6.6v-3.2h6.6c1.8 0 3.4 1.4 3.4 3.2v2.5c0 1.4-1.1 2.5-2.5 2.5 1.4 0 2.5 1.1 2.5 2.5v2.5z m-23.4...
archive/src/components/Login.js
AlexQianjin/aquarius
import React from 'react'; import { Redirect } from 'react-router-dom'; import { connect } from 'react-redux'; import TextField from 'material-ui/TextField'; import RaisedButton from 'material-ui/RaisedButton'; import Paper from 'material-ui/Paper'; import { login } from '../actions/login'; class Login extends React.C...
src/routes/notFound/NotFound.js
fkenk/Majsternia
/** * 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-...
src/Navbar/__tests__/Navbar.js
Detaysoft/react-chat-elements
import React, { Component } from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import Navbar from '../Navbar'; describe('Navbar component', () => { it('should render without issues', () => { const component = shallow(<Navbar />); expect(component.length).toBe(1); expect(...
src/svg-icons/image/filter-5.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilter5 = (props) => ( <SvgIcon {...props}> <path d="M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-...
ajax/libs/mobx-react/3.4.0/native.min.js
ahocevar/cdnjs
!function(){function e(e,t,o){function n(e){return o?o.findDOMNode(e):null}function r(e){var t=n(e);t&&l&&l.set(t,e),u.emit({event:"render",renderTime:e.__$mobRenderEnd-e.__$mobRenderStart,totalTime:Date.now()-e.__$mobRenderStart,component:e,node:t})}function i(){if("undefined"==typeof WeakMap)throw new Error("[mobx-re...
src/components/NotFound.js
AdinoyiSadiq/back-office-tool
import React from 'react'; class NotFound extends React.Component { render() { return ( <div className="content container"> <div className="row"> <p>Page Not Found</p> </div> </div> ); } } export default NotFound;
examples/test-cra/src/stories/ComponentWithRef.js
nfl/react-storybook
import React, { Component } from 'react'; class ComponentWithRef extends Component { componentDidMount() { // Read the scroll width off the DOM element this.scrollWidth = this.ref.scrollWidth; } scrollWidth: 0; render() { return <div ref={r => (this.ref = r)} />; } } export default ComponentWith...
blueocean-material-icons/src/js/components/svg-icons/social/domain.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const SocialDomain = (props) => ( <SvgIcon {...props}> <path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2...
wwwroot/app/src/components/MealPlannerPage/DayPlanned/index.js
AlinCiocan/FoodPlanApp
import React from 'react'; import DayPlannedPlaceholder from './DayPlannedPlaceholder'; import Meal from '../Meal'; const DayPlanned = ({ day, onRemoveMeal }) => ( <div className="swiper-slide"> {day.meals.length === 0 ? <DayPlannedPlaceholder /> : day.meals.map(meal => <Meal key={m...
app/javascript/mastodon/features/generic_not_found/index.js
codl/mastodon
import React from 'react'; import Column from '../ui/components/column'; import MissingIndicator from '../../components/missing_indicator'; const GenericNotFound = () => ( <Column> <MissingIndicator /> </Column> ); export default GenericNotFound;
src/index.js
tableflip/landexplorer
import React from 'react' import { render } from 'react-dom' import Routes from './routes.jsx' import { browserHistory } from 'react-router' render( <Routes history={browserHistory} />, document.getElementById('react-root') )
components/AppBar.js
SocialCycling/sc-web-client
import React from 'react' import AppBar from 'material-ui/AppBar' const AppBarComponent = (props : {}) => { return (<AppBar {...props} title="Social Cycling" />) } export default AppBarComponent
frontend/src/AlbumStudio/AlbumStudioRow.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import ArtistNameLink from 'Artist/ArtistNameLink'; import ArtistStatusCell from 'Artist/Index/Table/ArtistStatusCell'; import VirtualTableRowCell from 'Components/Table/Cells/VirtualTableRowCell'; import VirtualTableSelectCell from 'Componen...
views/decoration_toggle.js
genecyber/black-screen
import React from 'react'; export default React.createClass({ getInitialState() { return {enabled: this.props.invocation.state.decorate}; }, handleClick(event) { stopBubblingUp(event); var newState = !this.state.enabled; this.setState({enabled: newState}); this.prop...
ajax/libs/mediaelement/2.9.3/jquery.js
jonobr1/cdnjs
/*! * jQuery JavaScript Library v1.7 * 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/svg-icons/device/airplanemode-active.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAirplanemodeActive = (props) => ( <SvgIcon {...props}> <path d="M10.18 9"/><path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/...
bower_components/jquery.stellar/libs/jquery/jquery-1.9.1.js
thirteen05/goodtimes
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
src/svg-icons/hardware/speaker-group.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareSpeakerGroup = (props) => ( <SvgIcon {...props}> <path d="M18.2 1H9.8C8.81 1 8 1.81 8 2.8v14.4c0 .99.81 1.79 1.8 1.79l8.4.01c.99 0 1.8-.81 1.8-1.8V2.8c0-.99-.81-1.8-1.8-1.8zM14 3c1.1 0 2 .89 2 2s-.9 2-2...
app/components/commons/PageListHeader.js
restoko/restoko-desktop-app
import React, { Component } from 'react'; import style from './PageListHeader.module.css'; export default class PageListHeader extends Component { clickHandler = () => { this.props.onCreateClick(); }; render() { const { title, createButtonTitle } = this.props; return ( ...
src/components/SortableList/SortableList.js
chengjianhua/templated-operating-system
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import update from 'react/lib/update'; import { DropTarget, DragDropContext } from 'react-dnd'; import HTML5Backend from 'react-dnd-html5-backend'; import isEqual from 'lodash/isEqual'; import SortableItem from './SortableItem'; import { ITE...
docs/src/app/components/pages/components/Slider/ExampleSimple.js
barakmitz/material-ui
import React from 'react'; import Slider from 'material-ui/Slider'; const SliderExampleSimple = () => ( <div> <Slider /> <Slider defaultValue={0.5} /> <Slider defaultValue={1} /> </div> ); export default SliderExampleSimple;
react/src/components/Filters/BaseFilter.js
museumary/Museumary
/* --BaseFilter.js-- Higher order component that acts as an enhancer for the model filters ArtistsFilter WorksFilter VenuesFilter TypesFilter Contains all the default buttons / options for filtering. State: Sateless component that recieves its props from masterf...
packages/material-ui-icons/src/LinkedIn.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 ...
demo/index.js
asdelday/react-dumb-component
import React from 'react'; import { render } from 'react-dom'; import App from './App'; (() => { const app = document.getElementById('react-view'); render(<App />, app); })();
src/components/Layout/index.js
stk-dmitry/react-minimal-config
// @flow import React from 'react'; import { node } from 'prop-types'; import { NavLink } from 'react-router-dom'; import Layouter from './styled'; type Props = { children: Object, } const Container = ({ children }: Props) => { return ( <Layouter> <h1>Hello</h1> <NavLink to="/" activeClassName="is...
ajax/libs/muicss/0.9.27/react/mui-react.min.js
froala/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 n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.definePro...
frontend/test/components/TopicCard/Desc.spec.js
metamaps/metamaps_gen002
/* global describe, it */ import React from 'react' import { expect } from 'chai' import { shallow } from 'enzyme' import sinon from 'sinon' import Desc from '../../../src/components/TopicCard/Desc.js' function render(props) { return shallow(<Desc {...props} />) } function sharedAssertions(wrapper, desc, { descPro...