path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/client.js
murrayjbrown/react-redux-rxjs-stampit-babylon-universal
import React from 'react'; import ReactDOM from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import makeRoutes from './routes'; import createBrowserHistory from 'history/lib/createBrowserHistory'; import { useRouterHistory, match } from 'react-router'; import { syncHistoryWithStore } from 'react-router...
client/entry-points/client.js
alexpalombaro/react-redux-starter-kit
import React from 'react'; import ReactDOM from 'react-dom'; import Root from 'containers/Root'; import createStore from 'store'; import createBrowserHistory from 'history/lib/createBrowserHistory'; const target = document.getElementById('root'); const store = createStore(window.__INITIAL_STATE__); const node = <Root...
widget/iframe/jquery-1.11.1.min.js
fightforthefuture/stoptheslowlane
/*! jQuery v1.11.1 | (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/index.js
coryhouse/ps-react
import React from 'react'; import ReactDOM from 'react-dom'; import Docs from './docs/Docs'; import registerServiceWorker from './registerServiceWorker'; import './index.css'; import '../node_modules/highlight.js/styles/ocean.css'; ReactDOM.render(<Docs />, document.getElementById('root')); registerServiceWorker();
threeforce/node_modules/react-bootstrap/es/InputGroupAddon.js
wolfiex/VisACC
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 ...
app/components/Home/home.js
newtext/PhotoStory
import React from 'react'; import '../../style/main.scss'; export default class Home extends React.Component { render() { return ( <div className="jumbotron"> <div className="container"> <h1> Welcome to PhotoStory!</h1> <p className="app"> Scss </p> </div> </div> ...
example/examples/ViewsAsMarkers.js
mvakulich/react-native-maps
import React from 'react'; import { StyleSheet, View, Text, Dimensions, TouchableOpacity, } from 'react-native'; import MapView from 'react-native-maps'; import PriceMarker from './PriceMarker'; const { width, height } = Dimensions.get('window'); const ASPECT_RATIO = width / height; const LATITUDE = 37.7882...
components/Animate/Sunrise.js
rdjpalmer/bloom
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import OnVisible from 'react-on-visible'; import cx from 'classnames'; import css from './Sunrise.css'; export default class Sunrise extends Component { static propTypes = { visible: PropTypes.bool, children: PropTypes.node, p...
media/jui/js/jquery.js
prokyhb/joomla
/*! * 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/onsen/1.3.2/js/onsenui_all.min.js
freak3dot/cdnjs
/*! onsenui - v1.3.2 - 2015-05-12 */ !function(){function getAttributes(element){return Node_get_attributes.call(element)}function setAttribute(element,attribute,value){try{Element_setAttribute.call(element,attribute,value)}catch(e){}}function removeAttribute(element,attribute){Element_removeAttribute.call(element,attr...
src/components/AssignRoles.js
tmpaul06/gathering-client
import React from 'react'; export default class AssignRoles extends React.Component { constructor(props) { super(props); } render() { let roles = this.props.roles || []; // The array of connections at the moment let connections = this.props.connections || []; return ( <div> { ...
local-cli/server/server.js
apprennet/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...
app/Home/Jobs/JobPage.js
idperez/mytopia
import React, { Component } from 'react'; import { View, Text, StyleSheet, ScrollView, Image } from 'react-native'; import { Icon, Grid, Row, Col, Card, ListItem, Button } from 'react-native-elements'; import JobPageData from './../../../lib/JobPageData'; import HouseSearchData from './../../../lib/HouseSearchData';...
definitions/npm/react-joyride_v1.x.x/flow_v0.25.x-v0.52.x/react-joyride_v1.x.x.js
splodingsocks/FlowTyped
import React from "react"; type ReactJoyride$LocaleOption = { back?: string, close?: string, last?: string, next?: string, skip?: string }; type ReactJoyride$DefaultProps = { debug: boolean, keyboardNavigation: boolean, locale: ReactJoyride$LocaleOption, resizeDebounce: boolean, resizeDebounceDela...
src/frontend/src/components/GMMatrixVisualization2/topaxis.js
blengerich/GenAMap
import Immutable from 'immutable' import React from 'react' import cn from 'classnames' import styles from './genamap.css' import axios from 'axios' import d3 from 'd3' import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer' import Grid from 'react-virtualized/dist/commonjs/Grid' var begin=1 var last=308828...
node_modules/react-icons/io/ios-pint.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoIosPint = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.5 13.3c0 7.6-2.5 7.9-2.5 14.1 0 3.1 1.3 5.6 1.3 7.8 0 2.1-0.8 2.3-2.5 2.3h-10c-1.8 0-2.5-0.2-2.5-2.3 0-2.2 1.2-4.7 1.2-7.8 0-6.2-2.5-6.5-2.5-14.1 0-1.7 0.1-7 1.5-...
app/components/Budget.js
Ketevann/mercury-
import { connect } from 'react-redux' import React from 'react' import BudgetForm from './BudgetForm' import { Link } from "react-router"; const Budget = () => { return ( <div className="budget"> <div className="expenses-btns"> <Link to="/addexpenses"> <div className="budget-b...
__tests__/App.js
renopp/Project-Yona-MobileDeviceSide
import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
app/javascript/mastodon/components/status.js
ebihara99999/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import Avatar from './avatar'; import AvatarOverlay from './avatar_overlay'; import RelativeTimestamp from './relative_timestamp'; import DisplayName from './display_name'; import MediaGallery from...
ajax/libs/bla/1.2.0/bla.js
dmsanchez86/cdnjs
/** * @module vow * @author Filatov Dmitry <dfilatov@yandex-team.ru> * @version 0.4.8 * @license * Dual licensed under the MIT and GPL licenses: * * http://www.opensource.org/licenses/mit-license.php * * http://www.gnu.org/licenses/gpl.html */ (function(global) { var undef, nextTick = (function() { ...
docs/app/components/layout/main/components/navigation.js
react-toolbox/react-toolbox
import React from 'react'; import PropTypes from 'prop-types'; import { List, ListItem } from 'react-toolbox'; import classnames from 'classnames'; import components from '../modules/components'; import style from './navigation.css'; const MainNavigation = ({ className }, { router }) => { const drawerItems = Object....
examples/__tests__/Basic-test.js
instea/react-native-popup-menu
/* globals jest, test, expect */ import 'react-native'; import React from 'react'; jest.mock('react-native-popup-menu', () => ({ Menu: 'Menu', MenuProvider: 'MenuProvider', MenuOptions: 'MenuOptions', MenuOption: 'MenuOption', MenuTrigger: 'MenuTrigger', })); import BasicExample from '../BasicExample'; imp...
src/components/App.js
collinstommy/fcc-recipe-box
import React from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import * as actionCreators from '../actions'; const App = (props) => ( <div> <header> <h1>Recipe Box</h1> <Link to={'/add'}><i className="material-icons">add</i></Link> </header> {React.clon...
ui/src/main/js/components/TaskConfig.js
rdelval/aurora
import React from 'react'; export default function TaskConfig({ config }) { return <pre>{JSON.stringify(config, null, 2)}</pre>; }
examples/03 - Basic auth/components/Login.js
Kureev/browserify-react-live
import React from 'react'; import auth from '../vendor/auth'; export default class Login extends React.Component { constructor() { super(); this.handleSubmit = this.handleSubmit.bind(this); this.state = { error: false, }; } handleSubmit(event) { event.preventDefault(); var { router...
packages/material-ui-icons/src/LibraryBooksOutlined.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="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z" /><path d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12z" /><...
packages/nausicaa/src/components/Head/StylesCustom.js
accosine/poltergeist
import React from 'react'; export default ({ styles, theme }) => ( <style amp-custom="" dangerouslySetInnerHTML={{ __html: styles + ` ::selection { background: ${ theme.nausikamint }; } .amp-carousel-slide img { object-fit: contain; } figure { margin: 0; }`, }} /...
assets/javascripts/kitten/karl/pages/homepage/news/stories.js
KissKissBankBank/kitten
import React from 'react' import HomepageNews from './index' export default { component: HomepageNews, title: 'pages/homepage/HomepageNews', parameters: { component: HomepageNews, }, } export const DefaultProps = () => <HomepageNews />
stories/App.story.js
ritz078/react-component-boilerplate
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions' import App from '../components'; storiesOf('App', module) .add('default', () => ( <App onClick={action('clicked')}/> ));
ajax/libs/6to5/3.6.2/browser-polyfill.js
aeharding/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...
springboot/GReact/src/main/resources/static/app/components/chat/components/ChatUsers.js
ezsimple/java
import React from 'react' import classnames from 'classnames' export default class ChatUsers extends React.Component { state = { open: false, filter: '' } _openToggle = ()=> { this.setState({ open: !this.state.open }) } _messageTo(user) { // ChatActions.messageTo(user) } on...
src/components/pages/Home/sections/FirstMobileSection/index.js
humaniq/humaniq-pwa-website
import React from 'react' import A_Title_H from 'A_Title_H' import A_Btn_H from 'A_Btn_H' import SectionCounter from '../common/SectionCounter/index.js' import InfoColumns from '../common/InfoColumns' import './styles.scss' import { cssClassName } from 'utils' const cn = cssClassName('SE_Home_FirstMobile') const hand...
ajax/libs/react/0.5.0/react-with-addons.js
linjunpop/cdnjs
/** * React (with addons) v0.5.0 */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports; return ...
app/javascript/mastodon/features/domain_blocks/index.js
Kirishima21/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { debou...
ajax/libs/componentjs/1.2.4/component.js
RoryStolzenberg/cdnjs
/* ** ComponentJS -- Component System for JavaScript <http://componentjs.com> ** Copyright (c) 2009-2015 Ralf S. Engelschall <http://engelschall.com> ** ** This Source Code Form is subject to the terms of the Mozilla Public ** License (MPL), version 2.0. If a copy of the MPL was not distributed ** with this file, ...
files/rxjs/2.2.14/rx.lite.compat.js
kenwheeler/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'u...
src/containers/shopping_cart.js
b0ts/react-redux-sweetlightstudios-website
import React, { Component } from 'react'; import { connect } from 'react-redux'; // glue between react and redux import { Route } from 'react-router-dom'; import { Button, Modal } from 'react-bootstrap'; import CartItems from './cart_items'; import ShoppingCartIcon from '../components/shopping_cart_icon'; class Shoppi...
src/molecules/formfields/SelectField/index.js
policygenius/athenaeum
/* eslint-disable complexity */ import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import omit from 'lodash/omit'; import Icon from 'atoms/Icon'; import Text from 'atoms/Text'; import ErrorMessage from 'atoms/ErrorMessage'; import { renderSelectOptions, renderPlacehold...
test/BadgeSpec.js
yuche/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Badge from '../src/Badge'; describe('Badge', function () { it('Should output a badge with content', function () { let instance = ReactTestUtils.renderIntoDocument( <Badge> <strong>Content</strong> </Badge...
SoA/glm/doc/api/jquery.js
zukas/optimization-testing
/* @licstart The following is the entire license notice for the JavaScript code in this file. Copyright (C) 1997-2017 by Dimitri van Heesch 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 ...
actor-apps/app-web/src/app/components/modals/invite-user/ContactItem.react.js
fengshao0907/actor-platform
import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; import classnames from 'classnames'; import AvatarItem from 'components/common/AvatarItem.react'; const {addons: { PureRenderMixin }} = addons; @ReactMixin.decorate(PureRenderMixin) class ContactItem extends React.Com...
actor-apps/app-web/src/app/components/common/MessageItem.react.js
chenbk85/actor-platform
import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; import classnames from 'classnames'; import VisibilitySensor from 'react-visibility-sensor'; import AvatarItem from 'components/common/AvatarItem.react'; import Text from './Text.react'; import Image from './Image.rea...
websites/members.svef.is/src/app/components/TestGrid/TestGrid.js
svef/www
import React from 'react' import PropTypes from 'prop-types' import './TestGrid.scss' const TestGrid = ({ vertical, horizontal, ...props }) => { return process.env.NODE_ENV === 'development' ? ( <div className={`test-grid-wrap row ${horizontal && 'horizontal'} ${vertical && 'vertical'}`} > ...
website/src/components/button.js
explosion/spaCy
import React from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import Link from './link' import Icon from './icon' import classes from '../styles/button.module.sass' export default function Button({ to, variant = 'secondary', large = false, icon, className, ch...
STAR.Originations.MegaRunbook.Website/app/components/common/Radio.js
DaveStoneDotNet/React.MegaRunbookCreator
import React from 'react'; import toastr from 'toastr'; class Radio extends React.Component { constructor(props, context) { super(props, context); this.state = { isSelected: props.isSelected ? props.isSelected : false, staticStyles: props....
docs/app/Examples/views/Comment/index.js
ben174/Semantic-UI-React
import React from 'react' import Content from './Content' import Types from './Types' import States from './States' import Variations from './Variations' const CommentExamples = () => ( <div> <Types /> <Content /> <States /> <Variations /> </div> ) export default CommentExamples
src/components/Event.js
NataGrankina/surprise-calendar
require('normalize.css'); require('styles/App.scss'); import React from 'react'; import moment from 'moment'; class EventComponent extends React.Component { render() { var event = this.props.event; let eventStyle = { top: this.props.top + 'px', height: this.props.height + 'px' }; retur...
ajax/libs/flocks.js/0.17.1/flocks.js
rteasdale/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */ /* eslint-env node,browser */ /** * The Flocks library module. Load this module and use either the * flocks <tt>flocks.createClass</tt> wrapper or the <tt>flocks...
ajax/libs/mediaelement/2.9.0/jquery.js
zhengyongbo/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. *...
classic/src/scenes/mailboxes/src/Scenes/SettingsScene/ExtensionSettings/ExtensionSettingsTab.js
wavebox/waveboxapp
import PropTypes from 'prop-types' import React from 'react' import { settingsStore, settingsActions } from 'stores/settings' import { userActions } from 'stores/user' import { crextensionActions } from 'stores/crextension' import shallowCompare from 'react-addons-shallow-compare' import { ExtensionSettings } from 'sha...
fields/types/number/NumberField.js
nickhsine/keystone
import React from 'react'; import Field from '../Field'; import { FormInput } from 'elemental'; module.exports = Field.create({ displayName: 'NumberField', valueChanged (event) { var newValue = event.target.value; if (/^-?\d*\.?\d*$/.test(newValue)) { this.props.onChange({ path: this.props.path, value...
node_modules/react-navigation/lib/views/Drawer/DrawerSidebar.js
joan17cast/Enigma
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
components/Progress.js
reneechar/React-Kanban
import React from 'react'; import ReactDOM from 'react-dom'; import {connect} from 'react-redux'; import {receiveTasks} from '../actions/kanbanActions'; import styles from './sass/items.scss'; import EditTask from './EditTask'; import EditButton from './EditButton'; import MoveQueueButton from './MoveQueueButton'; impo...
src/svg-icons/image/camera-rear.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCameraRear = (props) => ( <SvgIcon {...props}> <path d="M10 20H5v2h5v2l3-3-3-3v2zm4 0v2h5v-2h-5zm3-20H7C5.9 0 5 .9 5 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm-5 6c-1.11 0-2-.9-2-2s.89-2 1.99-...
client/src/decorators/withViewport.js
raestrada/bipbalance
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import EventEmitter from 'eventemitter3'; import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; let EE; let viewport = {width: 1366, height: 768}; // Default si...
test/integration/scss-fixtures/nested-global/pages/_app.js
flybayer/next.js
import React from 'react' import App from 'next/app' import '../styles/global1.scss' import '../styles/global2.scss' class MyApp extends App { render() { const { Component, pageProps } = this.props return <Component {...pageProps} /> } } export default MyApp
app/javascript/mastodon/features/ui/components/media_modal.js
kazh98/social.arnip.org
import React from 'react'; import ReactSwipeableViews from 'react-swipeable-views'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import Video from 'mastodon/features/video'; import classNames from 'classnames'; import { defineMessages, injectIntl, FormattedMessage } fr...
src/Game/UI/Mode.js
digijin/space-station-sim
import React from 'react'; import { connect } from 'react-redux'; import { keys } from 'lodash'; import Button from './Button'; import Modes from 'Game/Data/Mode'; class ModeButton extends React.Component{ render() { return <Button type="mode" selected={this.props.name===this.props.mode} key={this.p...
upload/admin/view/javascript/jquery/flot/jquery.min.js
epiksel/opencart
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
ajax/libs/material-ui/4.9.3/es/Fade/Fade.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; import { duration } from '../styles/transiti...
src/Text.js
RafalFilipek/just-box
// @flow import React from 'react'; import { PropTypes } from 'prop-types'; import { type UnitType, units } from './unit'; import Box, { type BoxProps } from './Box'; import { type MixedType, type RenderFunc } from './sharedTypes'; export type TextProps = BoxProps & { as?: string | RenderFunc, fontFamily?: strin...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Apis/Details/Resources.js
abimarank/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
test/specs/views/Feed/FeedUser-test.js
mohammed88/Semantic-UI-React
import faker from 'faker' import React from 'react' import * as common from 'test/specs/commonTests' import FeedUser from 'src/views/Feed/FeedUser' describe('FeedUser', () => { common.isConformant(FeedUser) common.rendersChildren(FeedUser) it('renders text with user prop', () => { const text = faker.hacker...
src/CollapsibleNav.js
snadn/react-bootstrap
import React, { cloneElement } from 'react'; import BootstrapMixin from './BootstrapMixin'; import Collapse from './Collapse'; import classNames from 'classnames'; import ValidComponentChildren from './utils/ValidComponentChildren'; import createChainedFunction from './utils/createChainedFunction'; const CollapsibleN...
ajax/libs/react-instantsearch/5.0.0/Dom.js
sufuf3/cdnjs
/*! ReactInstantSearch 5.0.0 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : ...
src/svg-icons/device/signal-wifi-2-bar-lock.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalWifi2BarLock = (props) => ( <SvgIcon {...props}> <path d="M23 16v-1.5c0-1.4-1.1-2.5-2.5-2.5S18 13.1 18 14.5V16c-.5 0-1 .5-1 1v4c0 .5.5 1 1 1h5c.5 0 1-.5 1-1v-4c0-.5-.5-1-1-1zm-1 0h-3v-1.5c0-.8.7-1.5...
src/context/LoadingIndicatorContext.js
sussol/mobile
/** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2020 */ import React from 'react'; /** * Simple context used for passing the loading indicator prop down from the root. */ export const LoadingIndicatorContext = React.createContext();
node_modules/react-router-dom/StaticRouter.js
yaolei/Samoyed
'use strict'; exports.__esModule = true; var _StaticRouter = require('react-router/StaticRouter'); var _StaticRouter2 = _interopRequireDefault(_StaticRouter); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = _StaticRouter2.default; // Written in this...
src/svg-icons/device/signal-cellular-2-bar.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellular2Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M2 22h20V2z"/><path d="M14 10L2 22h12z"/> </SvgIcon> ); DeviceSignalCellular2Bar = pure(DeviceSignalCellular2Bar); Device...
src/components/Player.js
bplabombarda/3on3bot.com
import React from 'react'; require('../styles/Player.scss'); export default function Player(props) { return ( <div className="frameContainer"> <video id="vidFrame" src={props.source} controls autoPlay > </video> </div> ); };
packages/react/src/ForgotPassword.js
js-accounts/react
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { validators } from '@accounts/common'; import isString from 'lodash/isString'; import { Form, FormInput } from 'react-form'; class ForgotPassword extends Component { static propTypes = { accounts: PropTypes.object, Containe...
src/client/app/panels/workers.import.panel.js
mapkiwiz/sectorisation
import React from 'react'; import {MenuLink} from './menu.link'; import {MessagePanel} from './message.panel'; import {WorkersImportForm} from '../forms/workers.import.form'; import {parseFile} from '../shared/components/upload/file.helper'; import {DropZone} from '../shared/components/upload/dropzone.component'; impor...
src/browser/lib/loading.js
skyuplam/debt_mgmt
// A higher order component for loading. import Component from 'react-pure-render/component'; import Loading from './Loading.react'; import NotFound from '../notfound/Page.react'; import React from 'react'; export default function loading(Wrapped, propsToCheck, customLoading) { return class LoadingWrapper extends C...
src/components/header/HeaderBase.native.js
mikebarkmin/react-to-everything
import React from 'react'; import { Header, Title, Body } from 'native-base'; import I18n from '../../locales/I18n'; export default class NativeBase extends React.Component { render() { return ( <Header> <Body> <Title> {I18n.t('reactToEverything')} </Title> ...
ajax/libs/react-highcharts/8.0.2/ReactHighcharts.js
kennynaoh/cdnjs
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("highcharts")):"function"==typeof define&&define.amd?define(["react","highcharts"],r):"object"==typeof exports?exports.ReactHighcharts=r(require("react"),require("highcharts")):t.ReactHighcharts=r(t.React,t.Highch...
src/frontend/welcome/components/AppIcon.js
plotify/plotify
import React from 'react' const AppIcon = (props) => <img className={props.className} src='./app-icon.png' /> export default AppIcon
frontend/src/Movie/Editor/Organize/OrganizeMovieModal.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import Modal from 'Components/Modal/Modal'; import OrganizeMovieModalContentConnector from './OrganizeMovieModalContentConnector'; function OrganizeMovieModal(props) { const { isOpen, onModalClose, ...otherProps } = props; return ( <...
web/src/routes/privacy/index.js
kriasoft/Web-App-Boilerplate
/** * 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 Layout from '../../co...
src/chapters/04-porazdelitve-verjetnosti/04-zvezne-porazdelitve/05-hi-kvadrat-porazdelitev/index.js
medja/ovs-prirocnik
import React from 'react'; import { createChapter } from 'components/chapter'; import Equation from 'components/equation'; import Formula from 'components/formula'; import Chart from 'components/chart'; const title = 'Hi-kvadrat porazdelitev'; function Title(props) { return ( <span> { props.t...
WinForms/InventoryProject/packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js
aamod0611/Playground
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
docs/app/Examples/views/Feed/Variations/FeedExampleSizeLarge.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Feed, Icon } from 'semantic-ui-react' const FeedExampleSizeLarge = () => ( <Feed size='large'> <Feed.Event> <Feed.Label image='http://semantic-ui.com/images/avatar/small/elliot.jpg' /> <Feed.Content> <Feed.Summary> <Feed.User>Elliot Fu</Feed.User> ...
templates/full/javascript/src/client/app/view/NameLoader.js
peterjuras/slush-react-express
import React, { Component } from 'react'; import NameLoaderView from './NameLoaderView'; // React component that handles the button click export default class NameLoader extends Component { constructor(...props) { super(...props); this.state = { appName: '' }; this.handleClick = this.handleClick.bind(th...
resources/js/libs/jquery.js
bein92/LaravelApp
/*! * 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 ...
app/javascript/mastodon/components/__tests__/avatar-test.js
honpya/taketodon
import React from 'react'; import renderer from 'react-test-renderer'; import { fromJS } from 'immutable'; import Avatar from '../avatar'; describe('<Avatar />', () => { const account = fromJS({ username: 'alice', acct: 'alice', display_name: 'Alice', avatar: '/animated/alice.gif', avatar_static:...
src/Badge.js
victorzhang17/react-bootstrap
import React from 'react'; import ValidComponentChildren from './utils/ValidComponentChildren'; import classNames from 'classnames'; const Badge = React.createClass({ propTypes: { pullRight: React.PropTypes.bool }, getDefaultProps() { return { pullRight: false }; }, hasContent() { re...
ajax/libs/yui/3.17.0/event-focus/event-focus.js
zhangbg/cdnjs
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Ev...
js/dist/jquery.min.js
renay007/certRebel
/*! 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...
packages/material-ui-icons/src/MenuTwoTone.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="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" /></React.Fragment> , 'MenuTwoTone');
components/list/ListItemText.js
jasonleibowitz/react-toolbox
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { themr } from 'react-css-themr'; import { LIST } from '../identifiers.js'; const ListItemText = ({className, primary, children, theme, ...other}) => { const _className = classnames(theme.itemText, {[theme.prim...
resources/js/components/Marker/MarkersCollectionComponent.js
Stasgar/BugWall_Visual_Bugtracker
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import axios from 'axios'; import markerApi from '../Api/MarkerAPI'; import MarkerComponent from './MarkerComponent'; class MarkersCollectionComponent extends React.Component { constructor(props) { super(props); this.api ...
src/svg-icons/communication/forum.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationForum = (props) => ( <SvgIcon {...props}> <path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"/> </SvgIcon> ); Co...
Scenarios/ECM.RecordsManagement/ECM.RecordsManagementWeb/Scripts/jquery-1.9.1.js
rgueldenpfennig/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
src/core/components/Component.js
kompot/rjanko
import React from 'react'; import _ from 'lodash'; import classnames from 'classnames'; import queryString from 'query-string'; import PropTypes from 'baobab-react/prop-types'; import routes from '../routes'; import Actions from '../actions'; const debug = require('../logging/debug')(__filename); class Component ext...
client/modules/Student/Student.js
jde-maga/supermoube
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Student.js :+: :+: :+: ...
components/admin/tags/TagsForm.js
resource-watch/resource-watch
import React from 'react'; import PropTypes from 'prop-types'; import { toastr } from 'react-redux-toastr'; import Graph from 'react-graph-vis'; import cx from 'classnames'; // Components import Spinner from 'components/ui/Spinner'; import Field from 'components/form/Field'; import Select from 'components/form/SelectI...
docs/src/MediaPage.js
jhernandezme/react-materialize
import React from 'react'; import Row from '../../src/Row'; import Col from '../../src/Col'; import ReactPlayground from './ReactPlayground'; import PropTable from './PropTable'; import store from './store'; import Samples from './Samples'; import mediaBox from '../../examples/MediaBox'; import sliders from '../../exam...
src/views/Preview.react.js
Cron-J/CSV-Redux
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { Link } from 'react-router'; import * as PreviewActions from 'actions/previewPage/PreviewActions'; import { connect } from 'react-redux'; class Preview extends Component { constructor(props) { super(props); const { a...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
gunalirezqimauludi/dhikr_counter
import React from 'react'; import { render } from 'react-dom'; // 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'; render(<HelloWorld />, document.getElementById('react-root'));
extensions/amp-story-page-attachment/0.1/amp-story-form.js
alanorozco/amphtml
import {escapeCssSelectorIdent} from '#core/dom/css-selectors'; import * as Preact from '#core/dom/jsx'; import {Services} from '#service'; import {LocalizedStringId_Enum} from '#service/localization/strings'; import {Action} from '../../amp-story/1.0/amp-story-store-service'; import { renderLoadingSpinner, toggl...
fields/types/markdown/MarkdownColumn.js
ONode/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var MarkdownColumn = React.createClass({ displayName: 'MarkdownColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue...