path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
test/SafeAnchorSpec.js
mxc/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import SafeAnchor from '../src/SafeAnchor'; describe('SafeAnchor', () => { it('renders an anchor tag', () => { const instance = ReactTestUtils.renderIntoDocument(<SafeAnchor />); const node = React.findDOMNode(instance); n...
packages/material-ui-icons/src/EuroSymbolSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H...
docs/src/modules/components/MarkdownDocs.js
Kagami/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import warning from 'warning'; import { connect } from 'react-redux'; import compose from 'recompose/compose'; import { withStyles } from '@material-ui/core/styles'; import Portal from '@material-ui/core/Portal'; import MarkdownElement from '@material-ui/do...
ajax/libs/mobx/2.2.0-beta.1/mobx.js
holtkamp/cdnjs
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; registerGlobals(); exports._ = { quickDiff: ...
app/client/components/Main.js
jbermudezlobo/lolstats-builder
import React from 'react'; import * as bs from 'react-bootstrap'; import _ from 'lodash'; import TabComponent from './TabComponent'; import BuilderSC from './smart-components/BuilderSC'; class Main extends React.Component { static propTypes = { builderData: React.PropTypes.object } constructor(props) { ...
app/containers/NotFoundPage/index.js
X0nic/cloud-cost
/** * NotFoundPage * * This is the page we show when the user visits a url that doesn't have a route */ import React from 'react'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import Button from 'components/Button'; import H1 from 'components/H1'; export function NotFound(pro...
ajax/libs/yui/3.18.1/event-custom-base/event-custom-base.js
SaravananRajaraman/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * 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. * @mod...
actor-apps/app-web/src/app/components/common/Banner.react.js
Dreezydraig/actor-platform
import React from 'react'; import BannerActionCreators from 'actions/BannerActionCreators'; class Banner extends React.Component { constructor(props) { super(props); if (window.localStorage.getItem('banner_jump') === null) { BannerActionCreators.show(); } } onClose = () => { BannerActionC...
ajax/libs/ui-router-extras/0.0.5/ct-ui-router-extras.min.js
wil93/cdnjs
!function(window,undefined){"use strict";function $StickyStateProvider(){var inactiveStates={},stickyStates={};this.registerStickyState=function(state){stickyStates[state.name]=state},this.enableDebug=function(enabled){DEBUG=enabled},this.$get=["$rootScope","$state","$injector","$log",function($rootScope,$state,$inject...
modules/Redirect.js
gdi2290/react-router
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { formatPattern } from './URLUtils'; import { falsy } from './PropTypes'; var { string, object } = React.PropTypes; export var Redirect = React.createClass({ statics: { createRouteF...
ajax/libs/babel-core/6.1.12/browser.min.js
AMoo-Miki/cdnjs
 !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.babel=t()}}(function(){var t,e,n;return function r(t,...
packages/material-ui-icons/src/MobileOffOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M17 5v8.61l2 2V3c0-1.1-.9-2-2-2H7c-.71 0-1.33.37-1.68.93L8.39 5H17zM1.49 3.76L5 7.27V21c0 1.1.9 2 2 2h10c1.02 0 1.85-.77 1.98-1.75l1.72 1.72 ...
ui/js/blocks/src/blocks/components/PodsServerSideRender.js
pods-framework/pods
/** * External dependencies */ import { debounce, isEqual } from 'lodash'; import parse from 'html-react-parser'; /** * WordPress dependencies */ import { Component } from '@wordpress/element'; import { __, sprintf } from '@wordpress/i18n'; import apiFetch from '@wordpress/api-fetch'; import { addQueryArgs } from ...
ajax/libs/css3pie/1.0beta5/PIE_uncompressed.js
cgvarela/cdnjs
/* PIE: CSS3 rendering for IE Version 1.0beta5 http://css3pie.com Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2. */ (function(){ var doc = document;var PIE = window['PIE']; if( !PIE ) { PIE = window['PIE'] = { CSS_PREFIX: '-pie-', STYLE_PRE...
src/pages/about.js
nennes/nenn_es
import React from 'react' const AboutPage = () => ( <div> <h1>About me</h1> <section> I studied Industrial Management and then Computer Engineering, before coming to the UK. I currently work at eBay, where I help bring awesome web experiences to life. After work, I try to remain creative an...
client/src/AppNav.js
techpro-s/cardinal
import React from 'react'; import { Navbar, NavDropdown, Nav, MenuItem } from 'react-bootstrap'; import grailsLogo from './images/grails-cupsonly-logo-white.svg'; import 'whatwg-fetch'; function AppNav({serverInfo, clientInfo}) { const {environment, appprofile, appversion, grailsversion, reloadingagentenabled, art...
app/containers/App.js
robogroves/Ashley
import React, { Component, PropTypes } from 'react'; export default class App extends Component { static propTypes = { children: PropTypes.element.isRequired }; render() { return ( <div> {this.props.children} </div> ); } }
app/packs/src/components/qc/components/helper/ir.js
ComPlat/chemotion_ELN
import React from 'react'; import { Table } from 'react-bootstrap'; import { iconStatus } from './icon'; const colorStyles = [ { backgroundColor: '#FFFF00' }, { backgroundColor: '#87CEFA' }, { backgroundColor: '#FFB6C1' }, { backgroundColor: '#00FF00' }, { backgroundColor: '#E6E6FA' }, { backgroundColor: ...
gadget-system-teamwork/src/components/common/Navbar.js
TeodorDimitrov89/JS-Web-Teamwork-2017
import React from 'react' import { Link } from 'react-router-dom' import Auth from '../users/Auth' import userStore from '../../stores/UserStore' class Navbar extends React.Component { constructor (props) { super(props) this.state = { username: Auth.getUser().firstName } this.handleUserLoggedIn ...
packages/react/components/card.js
AdrianV/Framework7
import React from 'react'; import Utils from '../utils/utils'; import Mixins from '../utils/mixins'; import F7CardHeader from './card-header'; import F7CardContent from './card-content'; import F7CardFooter from './card-footer'; import __reactComponentSlots from '../runtime-helpers/react-component-slots.js'; import __r...
renderer/components/Channels/ChannelCloseDialog.js
LN-Zap/zap-desktop
import React from 'react' import PropTypes from 'prop-types' import { Flex, Box } from 'rebass/styled-components' import { FormattedMessage, injectIntl } from 'react-intl' import { withFieldState } from 'informed' import { intlShape } from '@zap/i18n' import Delete from 'components/Icon/Delete' import { Dialog, Text, H...
packages/material-ui-icons/src/LastPage.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let LastPage = props => <SvgIcon {...props}> <path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z" /> </SvgIcon>; LastPage = pure(LastPage); LastPage.muiName = 'SvgIcon'; export default Las...
Website/bower_components/select2/docs/vendor/js/jquery.min.js
atrela/rms
/*! 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...
FirstApp/app/config/router.js
xizhouhezai/react-app
import React from 'react'; import { TabNavigator, StackNavigator } from 'react-navigation'; import { Icon } from 'react-native-elements'; import Feed from '../screens/Feed'; import Settings from '../screens/Settings'; import UserDetail from '../screens/UserDetail'; import Me from '../screens/Me'; export const FeedSta...
examples/huge-apps/routes/Course/components/Dashboard.js
arasmussen/react-router
import React from 'react' class Dashboard extends React.Component { render() { return ( <div> <h3>Course Dashboard</h3> </div> ) } } export default Dashboard
actor-apps/app-web/src/app/utils/require-auth.js
luwei2012/actor-platform
import React from 'react'; import LoginStore from 'stores/LoginStore'; export default (Component) => { return class Authenticated extends React.Component { static willTransitionTo(transition) { if (!LoginStore.isLoggedIn()) { transition.redirect('/auth', {}, {'nextPath': transition.path}); }...
redux-budget/src/components/EntriesList.js
kamilbielawski/flux-budget-app
import React from 'react' import EntryRow from './EntryRow' export default function EntriesList({ entries }) { const entryNodes = entries.map((entry) => <EntryRow entry={ entry } key={ entry.id }/>) return <table className="table table-striped table-bordered"> <thead> <tr> <th>Title</th> ...
src/components/scrollListener/index.js
nickfranciosi/terminal-frontend
import React from 'react'; import PropTypes from 'prop-types'; import styles from './style.module.css'; class ScrollListener extends React.Component { constructor(props){ super(props); this.handleScroll = this.handleScroll.bind(this); } componentDidMount() { window.addEventListener('scroll', this.h...
public/javascripts/brat/client/lib/jquery-1.7.1.min.js
wolfe-pack/moro
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
ajax/libs/react-native-web/0.11.2/exports/View/index.js
cdnjs/cdnjs
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } /** * Copyright (c) Nicolas Gallagher. * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under th...
node_modules/intl/dist/Intl.complete.js
adityashukla74/amcharts-with-angular2
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.IntlPolyfill=r()}(this,function(){"use strict";function e(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var r=Math.round(Math.log(e)*Math.LOG10E);return r-(Numb...
Examples/simple-fcm-client/__tests__/index.ios.js
riyaz942/react-native-fcm
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 /> ); });
node_modules/enzyme/src/ShallowTraversal.js
IgorKilipenko/KTS_React
import React from 'react'; import isEmpty from 'lodash/isEmpty'; import isSubset from 'is-subset'; import functionName from 'function.prototype.name'; import { propsOfNode, splitSelector, isCompoundSelector, selectorType, AND, SELECTOR, nodeHasType, nodeHasProperty, } from './Utils'; export function c...
app/js/components/Footer.js
jakemmarsh/react-rocket-boilerplate
'use strict'; import React from 'react'; class Footer extends React.Component{ constructor(props) { super(props); } render() { return ( <footer> Footer </footer> ); } } export default Footer;
generators/app/templates/src/components/pages/About.js
Painatalman/generator-mcnrfb
import React from 'react'; import styles from './About.css'; export default function About(props) { return ( <div> Bla bla bla Prince of all Saiyans </div> ) };
docs/src/app/components/pages/components/AutoComplete/ExampleDataSources.js
ArcanisCz/material-ui
import React from 'react'; import AutoComplete from 'material-ui/AutoComplete'; import MenuItem from 'material-ui/MenuItem'; const dataSource1 = [ { text: 'text-value1', value: ( <MenuItem primaryText="text-value1" secondaryText="&#9786;" /> ), }, { text: 'text-value2'...
ajax/libs/rxjs/2.1.15/rx.modern.js
amsul/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
packages/react-scripts/fixtures/kitchensink/src/index.js
timlogemann/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById(...
ajax/libs/react-native-web/0.0.0-b2a3e86d/exports/Touchable/index.js
cdnjs/cdnjs
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ 'use strict'; function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var ta...
admin/client/App/shared/Popout/PopoutPane.js
matthieugayon/keystone
/** * Render a popout pane, calls props.onLayout when the component mounts */ import React from 'react'; import blacklist from 'blacklist'; import classnames from 'classnames'; var PopoutPane = React.createClass({ displayName: 'PopoutPane', propTypes: { children: React.PropTypes.node.isRequired, className: Re...
ajax/libs/vue-chartjs/2.8.2/vue-chartjs.js
jonobr1/cdnjs
/*! * vue-chartjs v2.8.2 * (c) 2017 Jakub Juszczak <jakub@posteo.de> * http://vue-chartjs.org */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("vue"), require("chart.js")); else if(typeof define === 'fun...
RNLearning/z-day04-Estore/Main/XMGMain.js
ivanl001/ReactNative-Learning
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ // npm install import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Image, Platform, // 判断当前运行的系统 Navigator } from 'react-native'; /**-----导入外部的组件类------**/ import...
docs/src/app/components/pages/components/Drawer/Page.js
pancho111203/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import drawerReadmeText from './README'; import DrawerSimpleExample from './Exam...
src/components/map/zoom-control.js
geobeyond/mapreacter
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import * as mapActions from '@boundlessgeo/sdk/actions/map'; import { withStyles } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; import Tooltip from '@material-ui/core/Tooltip'; const...
client/src/app/main/main-verify-token-page.js
ivandiazwm/opensupports
import React from 'react'; import {connect} from 'react-redux' import SessionActions from 'actions/session-actions' import history from 'lib-app/history'; import API from 'lib-app/api-call'; import Message from 'core-components/message'; class MainVerifyTokenPage extends React.Component { componentDidMou...
src/Collapse.js
victorzhang17/react-bootstrap
import React from 'react'; import Transition from 'react-overlays/lib/Transition'; import domUtils from './utils/domUtils'; import CustomPropTypes from './utils/CustomPropTypes'; import deprecationWarning from './utils/deprecationWarning'; import createChainedFunction from './utils/createChainedFunction'; let capitali...
examples/users/src/index.js
carteb/carte-blanche
import 'babel-polyfill'; import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router, IndexRoute, Route, browserHistory } from 'react-router'; import App from './containers/App'; import ContactsPage from './containers/ContactList'; import ContactDetailPage from...
ajax/libs/react-native-web/0.13.11/exports/ScrollView/index.js
cdnjs/cdnjs
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo...
fields/types/textarea/TextareaField.js
andreufirefly/keystone
import Field from '../Field'; import React from 'react'; module.exports = Field.create({ displayName: 'TextareaField', renderField () { var styles = { height: this.props.height, }; return <textarea name={this.props.path} styles={styles} ref="focusTarget" value={this.props.value} onChange={this.valueChanged}...
examples/with-segment-analytics/components/Header.js
zeit/next.js
import React from 'react' import Link from 'next/link' export default function Header() { return ( <header> <nav> <ul> <li> <Link href="/"> <a>Home</a> </Link> </li> <li> <Link href="/about"> <a>About</a> ...
index.js
poberwong/react-native-intent-launcher
import { NativeModules } from 'react-native' import React from 'react' import IntentConstant from './IntentConstant' export default NativeModules.IntentLauncher export { IntentConstant }
packages/material-ui-icons/src/RotateLeft.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let RotateLeft = props => <SvgIcon {...props}> <path d="M7.11 8.53L5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1.01-...
src/parser/shared/modules/items/bfa/dungeons/RotcrustedVoodooDoll.js
FaideWW/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import Analyzer from 'parser/core/Analyzer'; import { formatNumber } from 'common/format'; import ItemDamageDone from 'interface/others/ItemDamageDone'; import Abilities from 'parser/core/modules/Abilities'; const ACTIVATI...
7.2.0/examples/asyncValidation/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__e...
client/app/components/Users/UserEstimationCard.js
Zuehlke/poinz
import React from 'react'; import PropTypes from 'prop-types'; import { StyledUserEstimation, StyledUserEstimationExcluded, StyledUserEstimationGiven } from './_styled'; /** * The area below the users' avatar, showing either a card "backside" (during estimation) * the estimated value of this user (after revea...
ajax/libs/jssip/0.6.27/jssip.js
taydakov/cdnjs
/* * JsSIP v0.6.27 * the Javascript SIP library * Copyright: 2012-2015 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"&&de...
src/legend.js
refugeehackathon/mapfix
import React from 'react'; import categories from './categories.js'; import './legend.css'; export default class Legend extends React.Component { static propTypes = { markers: React.PropTypes.array.isRequired, }; render() { const existing = new Set(this.props.markers.map(marker => marker.type)); i...
__tests__/components/Select-test.js
nickjvm/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import Select from '../../src/js/components/Select'; // needed because this: // https://github.com/facebook/jest/issues/1353 jest.mock('react-dom'); describe('Select', () => { ...
modules/Link.js
andreftavares/react-router
import React from 'react' import warning from 'warning' const { bool, object, string, func } = React.PropTypes function isLeftClickEvent(event) { return event.button === 0 } function isModifiedEvent(event) { return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey) } function isEmptyObject(obj...
client/node_modules/react-router/es/routerWarning.js
UnicornCollege/ucl.itkpd.configurator
import warning from 'warning'; var warned = {}; export default function routerWarning(falseToWarn, message) { // Only issue deprecation warnings once. if (message.indexOf('deprecated') !== -1) { if (warned[message]) { return; } warned[message] = true; } message = '[react-router] ' + messag...
examples/enzyme/CheckboxWithLabel.js
mpontus/jest
// Copyright 2004-present Facebook. All Rights Reserved. import React from 'react'; export default class CheckboxWithLabel extends React.Component { constructor(props) { super(props); this.state = {isChecked: false}; // bind manually because React class components don't auto-bind // http://facebook...
test/components/Provider.spec.js
muffinresearch/redux
import expect from 'expect'; import jsdomReact from './jsdomReact'; import React, { PropTypes, Component } from 'react/addons'; import { createRedux } from '../../src'; import { Provider } from '../../src/react'; const { TestUtils } = React.addons; describe('React', () => { describe('Provider', () => { jsdomRea...
generators/component/templates/3/components/StatelessNoStyles.js
newtriks/generator-react-webpack
'use strict'; import React from 'react'; let <%= component.className %> = () => ( <div className="<%= style.className %>"> Please edit <%= component.path %>/<%= component.fileName %> to update this component! </div> ); <%= component.className %>.displayName = '<%= component.displayName %>'; // Uncomment pro...
examples/parcel/src/withRoot.js
cherniavskii/material-ui
import React from 'react'; import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles'; import purple from 'material-ui/colors/purple'; import green from 'material-ui/colors/green'; import CssBaseline from 'material-ui/CssBaseline'; // A theme with custom primary and secondary color. // It's optional. const ...
src/svg-icons/maps/local-pharmacy.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalPharmacy = (props) => ( <SvgIcon {...props}> <path d="M21 5h-2.64l1.14-3.14L17.15 1l-1.46 4H3v2l2 6-2 6v2h18v-2l-2-6 2-6V5zm-5 9h-3v3h-2v-3H8v-2h3V9h2v3h3v2z"/> </SvgIcon> ); MapsLocalPharmacy = pure...
src/MenuItem.js
rapilabs/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import SafeAnchor from './SafeAnchor'; const MenuItem = React.createClass({ propTypes: { header: React.PropTypes.bool, divider: React.PropTypes.bool, href: React.PropTypes.string, title: React.PropTypes.string, target: ...
app/components/landing/Intro/index.js
vkurzweg/aloha
/** * * IntroCopy * */ import React from 'react'; import styled from 'styled-components'; import { Link } from 'react-router'; import MediaQuery from 'react-responsive'; import Btn from 'components/landing/Btn'; import { Image } from 'cloudinary-react'; const Div = styled.div` padding: 2%; background: -moz-linear...
demo-react-app/src/index.js
colmarius/universal-react-workshop-app
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js
bgrozev/jitsi-meet
/* @flow */ import React, { Component } from 'react'; import { isBrowsersOptimal } from '../../base/environment'; import { translate } from '../../base/i18n'; import { CHROME, FIREFOX } from './browserLinks'; /** * The namespace of the CSS styles of UnsupportedDesktopBrowser. * * @private * @type {string} */ c...
client/containers/process_by_id.js
brewgauge/bg-frontend
'use strict' import React from 'react' import {connect} from 'react-redux' import {Link} from 'react-router' import {Panel, PageHeader} from '../components/index' import ChartistGraph from 'react-chartist' import {subscribe, unsubscribe} from '../actions/sensor' import _ from 'lodash' export const ProcessById = React...
ajax/libs/yui/3.7.3/event-custom-base/event-custom-base-coverage.js
JohnKim/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
src/main.js
fhassa/my-react-redux-start-ki
import React from 'react' import ReactDOM from 'react-dom' import createStore from './store/createStore' import './styles/main.scss' // Store Initialization // ------------------------------------ const store = createStore(window.__INITIAL_STATE__) // Render Setup // ------------------------------------ const MOUNT_N...
ajax/libs/yui/3.15.0/event-focus/event-focus-debug.js
pzp1997/cdnjs
/* YUI 3.15.0 (build 834026e) 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...
ajax/libs/aui/5.2-m6/js/aui-dependencies.js
kirbyfan64/cdnjs
/*! AUI Flat Pack - version 5.2-m6 - generated 2013-05-29 03:12:37 -0400 */ /* * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * D...
ajax/libs/angular.js/0.9.2/angular-scenario.min.js
advancedpartnerships/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
Libraries/Text/Text.js
DannyvanderJagt/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...
admin/src/index.js
brunogabriel/RedeDoar-Web
import React from 'react' import ReactDOM from 'react-dom' import { Router, Route, browserHistory, IndexRoute } from 'react-router' import { Provider } from 'react-intl-redux' import { UserAuthWrapper } from 'redux-auth-wrapper' // redux store import store from './store' // containers import { MainContainer as LoginC...
src/collections/Table/TableCell.js
Semantic-Org/Semantic-UI-React
import _ from 'lodash' import cx from 'clsx' import PropTypes from 'prop-types' import React from 'react' import { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useTextAlignProp, useVerticalAlignProp, useWidthProp, } from '../../lib' imp...
example/views/src/ClientRouter.js
Lanfei/webpack-isomorphic
'use strict'; import React from 'react'; import {BrowserRouter} from 'react-router-dom'; import App from './App'; /** * @see https://reacttraining.com/react-router/web/guides/server-rendering */ export default class ClientRouter extends React.Component { render() { let data = this.props.data; return <BrowserR...
src/components/App.js
tanykim/julie-and-julia
import React, { Component } from 'react'; import Script from './../data/data.json'; import SearchForm from './SearchForm'; import Visualization from './Visualization'; import SecretStory from './SecretStory'; import TextLineList from './TextLineList'; class App extends Component { constructor(props) { super(pro...
src/svg-icons/image/portrait.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePortrait = (props) => ( <SvgIcon {...props}> <path d="M12 12.25c1.24 0 2.25-1.01 2.25-2.25S13.24 7.75 12 7.75 9.75 8.76 9.75 10s1.01 2.25 2.25 2.25zm4.5 4c0-1.5-3-2.25-4.5-2.25s-4.5.75-4.5 2.25V17h9v-.75zM...
src/templates/tags.js
kbariotis/kostasbariotis.com
import React from 'react'; import PropTypes from 'prop-types'; import { css } from 'emotion'; import { Row, Col } from 'react-flexbox-grid'; import IndexLayout from '../components/layouts/Index'; import Posts from '../components/blog/Posts'; import Pagination from '../components/blog/TagsPagination'; import Separator ...
src/svg-icons/action/favorite.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFavorite = (props) => ( <SvgIcon {...props}> <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6...
ajax/libs/mobx/2.3.0/mobx.js
AMoo-Miki/cdnjs
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; registerGlobals(); exports.extras = { allowS...
src/component/NameEntryField.js
evanram/evan-dot-coffee
import React, { Component } from 'react'; import './NameEntryField.css'; class NameEntryField extends Component { render() { return ( <input className='NameEntryField form-control input-lg' onChange={this.props.handleChange} type='text' placeholder='your name here' /> ); } } export default NameEntry...
src/client/components/preview/previewError.component.js
DBCDK/dbc-ufo
import React from 'react'; import PreviewStatus from './previewStatus.component'; export default function PreviewError({element, retry, remove}) { const filename = element.name.length > 80 && element.name.substring(0, 80) + '...' || element.name; return ( <div className="preview error"> <div className="p...
src/isomorphic/classic/__tests__/ReactContextValidator-test.js
musofan/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
backend/front/src/Encabezado.js
JDTorresP/RestaurantMaster
import React, { Component } from 'react'; //import './css/bootstrap.css'; //import './css/styles.css'; class Encabezado extends Component { render() { return ( <header className="encabezado py-1" role="banner"> <div className="container"> <div className="rojo"> <h1 className="...
src/components/Layer/Text.js
zjuasmn/sketch-react
import React from 'react' import classnames from 'classnames' export default class Text extends React.Component { render() { let {model, style, ...props} = this.props; let {frame} = model; return <span style={{ display: 'block', position: 'absolute', top: frame.y, left: frame...
static/src/SearchApp.js
tmc/parsesearch
import React, { Component } from 'react'; import ResultsContainer from './ResultsContainer'; export default class SearchApp extends Component { constructor(props) { super(props); this.state = {ids: []}; this.to = null; } _onInputChange(event) { if (this.to) { clearTimeout(this.to); } var par...
lib/components/pages/About.js
michaelbontyes/journey
import React from 'react' import { Link } from 'react-router' import { defineMessages, FormattedMessage } from 'react-intl' const messages = defineMessages({ aboutThanks: { id: 'about.specialThanks', description: 'Thanks to Dan Abramov for the idea of Redux', defaultMessage: 'A special thanks to {link} '...
ReactNative/node_modules/react-navigation/src/views/Drawer/DrawerView.js
tahashahid/cloud-computing-2017
import React from 'react'; import { Dimensions } from 'react-native'; import DrawerLayout from 'react-native-drawer-layout-polyfill'; import addNavigationHelpers from '../../addNavigationHelpers'; import DrawerSidebar from './DrawerSidebar'; import getChildEventSubscriber from '../../getChildEventSubscriber'; /** * ...
client/src/app/components/localLoginForm.js
jhuntoo/starhackit
import React from 'react'; import LocalAuthenticationForm from 'components/localAuthenticationForm'; import ValidateLoginFields from 'services/validateLoginFields'; import authActions from 'actions/auth'; import {createError} from 'utils/error'; import Alert from 'components/alert'; import tr from 'i18next'; import De...
jsx/todo_list_redux/src/components/Footer.js
NickTaporuk/webpack_starterkit_project
import React from 'react' import FilterLink from '../containers/FilterLink' const Footer = () => ( <p> Show: {" "} <FilterLink filter="SHOW_ALL"> All </FilterLink> {", "} <FilterLink filter="SHOW_ACTIVE"> Active </FilterLink> {...
ajax/libs/forerunnerdb/1.3.714/fdb-core+persist.min.js
maruilian11/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...
app/component/Tweet.js
shuiszhang/fanfou
/** * Created by shuis on 2017/6/7. */ import React, { Component } from 'react'; import { Text, View, Image, Modal, StyleSheet, Linking, TouchableOpacity, TouchableWithoutFeedback } from 'react-native'; import HTMLView from 'react-native-htmlview'; import ImageViewer from 'react-native-image-zoom-view...
server.js
jeffhandley/fluxible-context
/** * This leverages Express to create and run the http server. * A Fluxible context is created and executes the navigateAction * based on the URL. Once completed, the store state is dehydrated * and the application is rendered via React. */ import express from 'express'; import path from 'path'; import serialize...
node_modules/react-icons/md/leak-remove.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdLeakRemove = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25.6 19.3c2.8-1.6 6-2.7 9.4-2.7v3.4c-2.5 0-4.8 0.6-7 1.7z m7.6 7.6l-2.7-2.7c1.4-0.5 2.9-0.8 4.5-0.8v3.2c-0.6 0-1.2 0.1-1.8 0.3z m-9.8-21.9c0 3.4-1.1 6.6-2.7 9.4l-...
src/components/DemoBox.js
skullk1d/react-touch-enter
import React from 'react'; import Tappable from './Tappable'; import '../stylesheets/components/DemoBox.scss'; // example of a React component using Tappable class DemoBox extends React.Component { constructor(props) { super(props); this.state = { message: 'Touch me!' }; } onTapped() { this.setState({...
core/built/public/jquery.js
ashutoshrishi/blog.ashutoshrishi.com
/*! * jQuery JavaScript Library v1.11.0 * 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-01-23T21:02Z */ (function( global, factory ) { if ...