path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/cyclejs-core/0.10.1/cycle.js
schoren/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Cycle=e()}}(function(){var define,module,exports;retu...
packages/material-ui-icons/src/LinkOffOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M14.39 11L16 12.61V11z" /><path d="M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.27-.77 2.37-1.87 2.84l1.4 1.4C21.05 15.36 22 13.79 22 12c0-2.76-2....
ajax/libs/6to5/2.1.0/browser-polyfill.js
amwmedia/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
docs/app/Examples/elements/Label/Types/LabelExampleCorner.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Grid, Image } from 'semantic-ui-react' const LabelExampleCorner = () => ( <Grid columns={2}> <Grid.Column> <Image fluid label={{ as: 'a', corner: 'left', icon: 'heart' }} src='http://semantic-ui.com/images/wireframe/image.png' /> </Grid.C...
lib/cli/test/snapshots/webpack_react/index.js
rhalff/storybook
import React from 'react'; import ReactDOM from 'react-dom'; ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('root') );
ajax/libs/react/0.4.2/react.min.js
cluo/cdnjs
/** * React v0.4.2 * * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
src/containers/Asians/_components/PublishedBreakRound/Ballots/LargeBallots/Instance/OverviewInstance/MotionDisplay.js
westoncolemanl/tabbr-web
import React from 'react' import { connect } from 'react-redux' import ListSubheader from 'material-ui/List/ListSubheader' import List, { ListItem, ListItemText } from 'material-ui/List' export default connect(mapStateToProps)(({ breakRoom, motionsById }) => <List> <ListSubheader disableSticky > ...
admin/client/App/components/Navigation/Mobile/ListItem.js
pr1ntr/keystone
/** * A list item of the mobile navigation */ import React from 'react'; import { Link } from 'react-router'; const MobileListItem = React.createClass({ displayName: 'MobileListItem', propTypes: { children: React.PropTypes.node.isRequired, className: React.PropTypes.string, href: React.PropTypes.string.isRe...
js/jquery.js
hiroki802/lisptutorial
/*! 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===...
node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx/src/core/linq/observable/never.js
shagupta10/MEANJS
/** * Returns a non-terminating observable sequence, which can be used to denote an infinite duration (e.g. when using reactive joins). * @returns {Observable} An observable sequence whose observers will never get called. */ var observableNever = Observable.never = function () { return new AnonymousOb...
config/passport.js
jforaker/react-links-isomorphic
/** * Created by jakeforaker on 11/19/15. */ var SlackStrategy = require('passport-slack').Strategy; var inspect = require('eyes').inspector(); var User = require('./models/user'); var configAuth = require('./auth'); module.exports = function (app, passport) { // seralize and deseralize user passport.ser...
src/Dialog/DialogActions.js
tleunen/react-mdl
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; const DialogActions = (props) => { const { className, fullWidth, children, ...otherProps } = props; const classes = classNames('mdl-dialog__actions', { 'mdl-dialog__actions--full-width': fullWidth }...
tools/contributor/dashboard-app/client/src/App.js
raisedadead/FreeCodeCamp
import React, { Component } from 'react'; import styled from 'styled-components'; import FreeCodeCampLogo from './assets/freeCodeCampLogo'; import Tabs from './components/Tabs'; import Search from './components/Search'; import Pareto from './components/Pareto'; import Repos from './components/Repos'; import Footer fro...
ajax/libs/react-dom/16.1.0-beta/umd/react-dom-unstable-native-dependencies.development.js
sufuf3/cdnjs
/** @license React v16.1.0-beta * react-dom-unstable-native-dependencies.development.js * * Copyright (c) 2013-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. */ (function (global, factory) { typeof exports ==...
src/renderers/shared/reconciler/ReactInstanceMap.js
DJCordhose/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. * * @providesModule ...
ajax/libs/react-virtualized/7.15.0/react-virtualized.min.js
jdh8/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("React.addons.shallowCompare"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","React.addons.shallowCompare","ReactDOM"],t):"object"==typeof exports?exports.ReactVirtualized=t(require("R...
ajax/libs/rxjs/2.2.21/rx.js
maxklenk/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...
app/HelloWorld.js
ByunJaeSeok/selfStudy
import React from 'react'; function HelloWorld(props) { return ( <h1>Hello {props.name}!</h1> ); } export default HelloWorld;
ajax/libs/qooxdoo/2.1.2/q.js
fk/cdnjs
/** qooxdoo v.2.1.2 | (c) 2012 1&1 Internet AG 1und1.de | qooxdoo.org/license */ (function(){ if (!window.qx) window.qx = {}; var qx = window.qx; if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"json":true,"qx.application":"library.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispo...
core/components/com_dataviewer/site/html/jquery.js
zweidner/hubzero-cms
/*! * 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...
features/shared/components/nav.component.js
nlambert/checkin
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from '../../../routes'; const Nav = ({ user, login, logout }) => ( <nav> { user ? <ul> <li><Link href="/"><a id="nav-home">Home</a></Link></li> <li><Link href="/team/add-team"><a id="nav-add-teams">A...
src/map/js/components/Forms/TextInput.js
wri/gfw-water
import React from 'react'; import {Decorator as formsyElement} from 'formsy-react'; @formsyElement() export default class TextInput extends React.Component { changeValue (event) { this.props.setValue(event.currentTarget.value); } render () { let className = this.props.isValid() === true ? '' : 'invalid...
examples/src/components/Contributors.js
pedroseac/react-select
import React from 'react'; import Select from 'react-select'; const CONTRIBUTORS = require('../data/contributors'); const MAX_CONTRIBUTORS = 6; const ASYNC_DELAY = 500; const Contributors = React.createClass({ displayName: 'Contributors', propTypes: { label: React.PropTypes.string, }, getInitialState () { ret...
packages/material-ui-icons/src/ArrowDropDownCircleTwoTone.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="M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm0 11l-4-4h8l-4 4z" opacity=".3" /><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-...
secdeploy_cartridgestatic/js/vendor/jquery-1.8.1.min.js
BigAN/OztrendDelpoy
/*! jQuery v@1.8.1 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d=...
src/App.js
petetnt/react-howdy
import React from 'react'; import { provideState, injectState, softUpdate as update } from 'freactal'; import styled from 'styled-components'; import { breakpoints, mediaBreakpointDownSm, } from 'styled-bootstrap-responsive-breakpoints'; import EmojiSheet from './containers/EmojiSheet'; import Picker from './contai...
node_modules/react-onsenui/test/testUtil.js
epgui/FEECUM-cordova
/* global describe it assert */ import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react/lib/ReactTestUtils'; export default (component, name) => { it(`renders to <${name}>`, () => { var root = TestUtils.renderIntoDocument(component); var node = ReactDOM.findDOMNode(root); ...
ajax/libs/yui/3.6.0/event-custom-base/event-custom-base-debug.js
khasinski/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
src/icons/SocialAngular.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class SocialAngular extends React.Component { render() { if(this.props.bare) { return <g> <g> <polygon points="213.573,256 298.419,256 255.992,166.644 "></polygon> <path d="M255.981,32L32,112l46.12,272L256,480l1...
packages/material-ui-icons/src/BackupTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M19.21 12.04l-1.53-.11-.3-1.5C16.88 7.86 14.62 6 12 6 9.94 6 8.08 7.14 7.12 8.96l-.5.95-1.07.11C3.53 10.24 2 11.95 2 14c0 2.21 1.79 4 4 4h13c1.65 0 3-1.35 3-3 0-1.55-1.22-2.86-2.79-2.9...
3_compress_ensure_render/component/module/loading.js
chkui/react-server-demo
import React from 'react' import BaseMask from './baseMask' const cn = require('classnames/bind').bind(require('./loading.scss')) /** * 加载效果 */ class Loading extends React.Component { constructor(...props) { super(...props) this.state = { dot:'' } this.timer = false ...
ajax/libs/react/0.12.0/react-with-addons.js
peteygao/cdnjs
/** * React (with addons) v0.12.0 */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(fu...
assets/jqwidgets/demos/react/app/kanban/righttoleftlayout/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxKanban from '../../../jqwidgets-react/react_jqxkanban.js'; class App extends React.Component { render() { let fields = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, ...
client/components/App.js
EstebanFuentealba/prueba2
import React from 'react'; import reactMixin from 'react-mixin'; import { Col, Row, Panel, ListGroup, ListGroupItem } from 'react-bootstrap'; import { Link } from 'react-router'; class App extends React.Component { constructor(props) { super(props); this.state = { users: [] }; } render() { ...
app/components/repo/Repo.js
shawnxusy/git-dashboard
/* jshint esnext:true */ import React from 'react'; import {Link} from 'react-router'; import RepoStore from '../../stores/repo/RepoStore'; import RepoActions from '../../actions/repo/RepoActions'; class Repo extends React.Component { constructor(props) { super(props); this.state = RepoStore.getState(); ...
react/L3/src/pages/InboxPage.js
luolisave/starters
import React from 'react'; class InboxPage extends React.Component { render() { return ( <div> <h1>InboxPage</h1> </div> ); } } export default InboxPage;
app/javascript/mastodon/features/status/components/card.js
lindwurm/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import Immutable from 'immutable'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { FormattedMessage } from 'react-intl'; import punycode from 'punycode'; import classnames from 'classnames'; import Icon from 'mastodon/components/icon'; ...
node_modules/react-tools/src/test/reactComponentExpect.js
extrememedicine/telltale
/** * 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 same directory. * * @providesModule ...
ajax/libs/mobx/6.0.0/mobx.cjs.production.min.js
cdnjs/cdnjs
function t(t){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];throw Error("number"==typeof t?"[MobX] minified error nr: "+t+(i.length?" "+i.join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/mobx6/src/errors.ts":"[MobX] "+t)}function n(){return"undefined"!=typeof ...
src/app/components/Header.js
blobor/skipass.site
import React from 'react' import { AppBar } from 'material-ui' import TestCardNumber from './TestCardNumber' const Header = ({ developerMode, testCardNumberChange }) => { const rightElement = developerMode ? <TestCardNumber onChange={testCardNumberChange} /> : null return ( <header className='app-header'> ...
assets/js/vendor/jquery-1.9.1.min.js
jrstarke/minimal-mistakes
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
2-alpha/src/Features/Evaluation/AdviceMessage.js
saturninoharris/primer-design
import React from 'react' import styled from 'styled-components' import PropTypes from 'prop-types' import { SUCCESS, ERROR, INFO } from '../../selectors/evaluator-messages' import { Link } from '../../components/Link' export const Li = styled.li` padding: ${p => p.theme.sidebarPadding}; border-top-right-radius: ...
app/routes/routes/Persons/components/Persons.js
bugknightyyp/leyizhu
import React, { PropTypes } from 'react' import { Route, Link } from 'react-router-dom' import {SELECTION} from 'macros' import Person from '../../Person' import {getParentByClass} from 'utils' import PersonsView from 'Persons.view' import PersonsStore from './Persons.store' class Persons extends React.Component...
react-version/src/index.js
IonicaBizau/default-page
import React from 'react'; import ReactDom from 'react-dom'; // CSS import './index.css'; // Jumbotron container function Jumbotron(){ return ( <> <Heading/> <SubHeading/> </> ); } // Heading component function Heading(){ return( <h1>Hello World</h1> ); } // Subheading component functi...
src/app/components/Auth.js
sphinxominator/councils-feathers
import React from 'react' import styled from 'styled-components' import { connect } from 'react-redux' import { withProps, compose, pure, branch, renderNothing } from 'recompact' const LoginButtonPure = ({ href, provider = 'google', isLogin = true }) => <Button href={'/auth/login/' + provider}> {' '}{isLogin ? ...
ajax/libs/forerunnerdb/1.3.337/fdb-core.js
nolsherry/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/modules/Imagelist/components/ListImages.js
YBox-POS/possys
import React from 'react'; import { Text, Image, View } from 'react-native'; import styles from './styles'; import { List, ListItem, Button} from 'react-native-elements'; const ExListImages = ({ imagesa, followImage, unfollowImage }) => ( <View> {Object.values(imagesa).map(({ id, path, price, name, desc}) => ( ...
examples/async/index.js
johnbacon/redux
import 'babel-core/polyfill'; import React from 'react'; import Root from './containers/Root'; React.render( <Root />, document.getElementById('root') );
src/components/ConsumptionByShopsTable/ConsumptionByShopsTable.js
marinbgd/coolbeer
import React from 'react'; import PropTypes from 'prop-types'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn, } from 'material-ui/Table'; const tableConfig = { height: 'auto', fixedHeader: false, showRowHover: false, stripedRows: true, selectable: false, multiSelectab...
src/js/components/icons/base/PlatformHeroku.js
odedre/grommet-final
/** * @description PlatformHeroku SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor....
src/components/AsyncComponent.js
moxun33/react-mobx-antd-boilerplate
import Loading from './Loading/Loading'; import React, { Component } from 'react'; const AsyncComponent = importComponent => { return class extends Component { constructor(props) { super(props); this.state = { component: null }; } componentDidMount() { importComponent()...
src/icons/IosUploadOutline.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosUploadOutline extends React.Component { render() { if(this.props.bare) { return <g> <g> <g> <polygon points="288,144 288,160 400,160 400,432 112,432 112,160 224,160 224,144 96,144 96,448 416,448 416,144...
src/svg-icons/communication/call.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCall = (props) => ( <SvgIcon {...props}> <path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-...
app/javascript/mastodon/components/loading_indicator.js
kazh98/social.arnip.org
import React from 'react'; import { FormattedMessage } from 'react-intl'; const LoadingIndicator = () => ( <div className='loading-indicator'> <div className='loading-indicator__figure' /> <FormattedMessage id='loading_indicator.label' defaultMessage='Loading...' /> </div> ); export default LoadingIndicat...
examples/counter/src/App.js
Annevo/redux-eventually
/* eslint immutable/no-this: 0 */ /* eslint immutable/no-mutation: 0 */ /* eslint no-console: 0 */ import React from 'react'; import { createCounterMergeAction } from 'redux-eventually'; import Node from './Containers/Node'; import './App.css'; const syncAction = createCounterMergeAction('DEMO'); class App extends ...
ephemerol-react/src/modules/App.js
Pivotal-Field-Engineering/ephemerol
/* Copyright (C) 2016-Present Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 Licen...
ajax/libs/rxjs/2.2.17/rx.compat.js
ankitjamuar/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, 'u...
src/svg-icons/image/color-lens.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageColorLens = (props) => ( <SvgIcon {...props}> <path d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4...
packages/material-ui-icons/src/LeakAdd.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M6 3H3v3c1.66 0 3-1.34 3-3zm8 0h-2c0 4.97-4.03 9-9 9v2c6.08 0 11-4.93 11-11zm-4 0H8c0 2.76-2.24 5-5 5v2c3.87 0 7-3.13 7-7zm0 18h2c0-4.97 4.03-9 9-9v-2c-6.07 0-11 4.93-11 11zm8 0h3v-3c-1.66 0-3 1.34-3 ...
examples/js/shopping-list/client/index.js
reimagined/resolve
import React from 'react' import { render } from 'react-dom' import { ResolveProvider } from '@resolve-js/react-hooks' import { BrowserRouter } from 'react-router-dom' import { renderRoutes } from 'react-router-config' import routes from './routes' const entryPoint = (clientContext) => { const appContainer = document...
node_modules/react-haste/renderers/shared/reconciler/__tests__/ReactStateSetters-test.js
zhaojiakang917/lunwen_project
/** * 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...
node_modules/_rc-tabs@9.1.4@rc-tabs/es/SwipeableTabBarMixin.js
ligangwolai/blog
import _extends from 'babel-runtime/helpers/extends'; import _defineProperty from 'babel-runtime/helpers/defineProperty'; import React from 'react'; import classnames from 'classnames'; import Hammer from 'rc-hammerjs'; import ReactDOM from 'react-dom'; import { isVertical, getStyle, setPxStyle } from './utils'; expor...
lib/systems/sensors/remove.js
openstardrive/flight-director
import React from 'react' export default class Remove extends React.Component { render() { return ( <g id="remove-contact" transform="translate(1, 1)"> <rect data-role="remove-contact" x="-0.17" y="-0.17" width=".15" height=".15"/> <line x1="-0.17" y1="-0.17" x2="-0.02" y2="-0.02"/> ...
examples/validation/index.js
bradwestfall/informative
import React from 'react' import ReactDOM from 'react-dom' import { Form, Field } from 'src' class LoginForm extends React.Component { validate(values) { const errors = {} if (!/^[\w\d\.]+@[\w\d]+\.[\w]{2,9}$/.test(values.email)) errors.email = 'Invalid Email' if (!/^[\w\d]{6,20}$/.test(values.password)...
src/client/assets/js/features/driver/components/Data/Data.js
me-box/iot.red
import React from 'react'; import DataType from './DataType'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { actionCreators as driverActions, selector } from '../../'; @connect(selector, (dispatch) => { return{ actions: bindActionCreators(driverActions, dispatch), ...
browser/modules/layerTree/controls/AutocompleteControl.js
mapcentia/vidi
/* * @author Martin Høgh <mh@mapcentia.com> * @copyright 2013-2020 MapCentia ApS * @license http://www.gnu.org/licenses/#AGPL GNU AFFERO GENERAL PUBLIC LICENSE 3 */ import React from 'react'; import PropTypes from 'prop-types'; import ReactAutocomplete from 'react-autocomplete' /** * String control com...
src/components/binder/Binder.js
canalplus/react-keys
import React, { Component } from 'react'; import { defaultProps, propTypes } from './props'; import { keysHandler } from './handler'; import { BINDER_TYPE } from '../../constants'; import { addListener, removeListener } from '../../listener'; import { addBinder, _removeBinder } from '../../redux/actions'; import compat...
core/built/public/jquery.min.js
maisnamraju/myblog
!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 window?window:this,function(a,b){function c(a){var b=a.length,c=ea.type(a);return"functi...
app_old/containers/LocaleToggle/index.js
daicas/react-boilerplate-examp
/* * * LanguageToggle * */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import Toggle from 'components/Toggle'; import Wrapper from './Wrapper'; import messages from './messages'; import { appLocales } from '../../i18n'; import { changeLocale } from ...
app/assets/scripts/views/map.js
openaq/openaq.github.io
'use strict'; import React from 'react'; import { connect } from 'react-redux'; import mapboxgl from 'mapbox-gl'; import c from 'classnames'; import _ from 'lodash'; import { Dropdown } from 'openaq-design-system'; import { hashHistory } from 'react-router'; import MapComponent from '../components/map'; import HeaderM...
lib/masters_of_venice/src/actionModal.js
sgottreu/game-scoring
import React, { Component } from 'react'; import RaisedButton from 'material-ui/RaisedButton'; import TextField from 'material-ui/TextField'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/M...
javascripts/vendor/jquery.js
matteodepalo/playround-developer
/*! * jQuery JavaScript Library v1.10.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-05-30T21:49Z */ (function( window, undefined ) { // ...
Libraries/Inspector/Inspector.js
dizlexik/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...
08、events/src/main.js
mqy1023/react-with-es6
import React from 'react'; import ReactDOM from 'react-dom'; //import App from './jsx/SimpleEventApp.jsx'; import App from './jsx/ChildEventsApp.jsx'; ReactDOM.render(<App />, document.getElementById('app'));
entry_types/scrolled/package/spec/frontend/useSectionLifecycle-spec.js
codevise/pageflow
import {useSectionLifecycle} from 'frontend/useSectionLifecycle'; import {Entry, frontend} from 'pageflow-scrolled/frontend'; import {StaticPreview} from 'frontend/useScrollPositionLifecycle'; import {renderInEntry} from 'support'; import {simulateScrollingIntoView, simulateScrollingOutOfView} from 'support/fakeInters...
local-cli/templates/HelloNavigation/views/chat/ChatListScreen.js
skevy/react-native
'use strict'; import React, { Component } from 'react'; import { ActivityIndicator, Image, ListView, Platform, StyleSheet, View, } from 'react-native'; import ListItem from '../../components/ListItem'; import Backend from '../../lib/Backend'; export default class ChatListScreen extends Component { stat...
ui/plugin/js/components/PluginExample.js
apache/aurora
// This is an example of how to replace components with your own custom UI logic. import React from 'react'; // You can import the original OSS component if you'd just like to wrap it. import OSSPluginExample from '../../../src/main/js/components/PluginExample'; // Add your own CSS by importing files directly import ...
ajax/libs/ajv/3.5.1/nodent.bundle.js
dada0423/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)...
src/components/EditPost.js
jackiejohnston/redux-readable
import React from 'react' import PropTypes from 'prop-types' import { withRouter, Link, Redirect } from 'react-router-dom' import { connect } from 'react-redux' import { updatePost } from '../actions' class EditPost extends React.Component { state = { id: this.props.location.state.id, title: this.props.loc...
src/index.js
shoegazer/shuffle-guru
import React from 'react' import {render} from 'react-dom' import {Provider} from 'react-redux' import {createStore, applyMiddleware} from 'redux' import createSagaMiddleware from 'redux-saga' import reducer from './reducers' import App from './components/App' import saga from './sagas' import Weather from './lib/Weath...
web/src/components/ScrollToTopButton/ScrollToTopButton.js
stary-pray/bumo_react
import React, {Component, PropTypes} from "react"; import Scroll from "react-scroll"; import throttle from "lodash/throttle"; import "./ScrollToTopButton.scss"; export default class ScrollToTopButton extends Component { constructor(){ super(); this.state = { show: false }; this.handleScroll = t...
imports/ui/home/components/contact.js
dououFullstack/atomic
import React from 'react'; class _Component extends React.Component { render() { return ( <div> <div className="ui blue one item inverted menu"> <a className="active item"> 联系我们 </a> </div> <div className="contact"> <div className="ui list">...
packages/material-ui-icons/src/CachedRounded.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="M18.65 8.35l-2.79 2.79c-.32.32-.1.86.35.86H18c0 3.31-2.69 6-6 6-.79 0-1.56-.15-2.25-.44-.36-.15-.77-.04-1.04.23-.51.51-.33 1.37.34 1.64.91.37...
app/javascript/mastodon/features/report/components/status_check_box.js
masarakki/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Toggle from 'react-toggle'; import noop from 'lodash/noop'; import StatusContent from '../../../components/status_content'; import { MediaGallery, Video } from '../../ui/util/async-component...
src/component/postPage/component.js
Platane/january
import React from 'react' import style from './style.css' import { Post } from '../post' import { SwipeablePostlist } from '../swipeablePostlist' import { HorizontalPostList } from '../horizontalPostList' import { memoize } from '../../util/memoize' import type { Post as Post_type } from '../../../type' export type ...
src/svg-icons/image/flash-auto.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlashAuto = (props) => ( <SvgIcon {...props}> <path d="M3 2v12h3v9l7-12H9l4-9H3zm16 0h-2l-3.2 9h1.9l.7-2h3.2l.7 2h1.9L19 2zm-2.15 5.65L18 4l1.15 3.65h-2.3z"/> </SvgIcon> ); ImageFlashAuto = pure(ImageFla...
server/sonar-web/src/main/js/apps/component-measures/details/treemap/MeasureTreemap.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
client/node_modules/redux-form/es/structure/plain/deepEqual.js
Dans-labs/dariah
import _isNil from "lodash/isNil"; import _isEqualWith from "lodash/isEqualWith"; import React from 'react'; var isEmpty = function isEmpty(obj) { return _isNil(obj) || obj === '' || isNaN(obj); }; var customizer = function customizer(obj, other) { if (obj === other) return true; if (!obj && !other) { retu...
ajax/libs/F2/1.3.2/f2.no-easyXDM.min.js
J0N47H4N/cdnjs
/*! F2 - v1.3.2 - 11-18-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...
client/scripts/footer.js
SWTPAIN/vegsoc-hk
import React from 'react'; import ReactRom from 'react-dom'; import EmailSubscribeFormApp from '../components/EmailSubscribeFormApp'; const emailSubscribeFormTarget = document.getElementById('react-email-subscribe-form'); if (emailSubscribeFormTarget) { ReactRom.render(<EmailSubscribeFormApp />, emailSubscribeFormTa...
ajax/libs/analytics.js/1.3.30/analytics.js
hagabaka/cdnjs
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
app/containers/RepoListItem/index.js
SilentCicero/react-boilerplate
/** * RepoListItem * * Lists the name and the issue count of a repository */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { FormattedNumber } from 'react-intl'; import { selectCurrentUser } from 'containers/App/selectors'; import ListItem from...
app/App.js
superhuahua/xunfengES
import React from 'react'; import { Layout, Menu, Icon, notification } from 'antd'; const { Content, Header, Footer } = Layout; import { Link } from 'react-router'; import axios from 'axios'; import UploadPlugins from './components/UploadPlugins'; class App extends React.Component{ handleClick = (e) => { ...
Example/components/Login2.js
gijoehosaphat/react-native-router-flux
import React from 'react'; import {View, Text, StyleSheet} from "react-native"; import Button from "react-native-button"; import {Actions} from "react-native-router-flux"; const styles = StyleSheet.create({ container: { flex: 1, justifyContent: "center", alignItems: "center", backgr...
src/components/directs/single/head-info/UnarchiveBtn.js
VGraupera/1on1tracker
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { browserHistory } from 'react-router'; import { CardActions } from 'material-ui/Card'; import RaisedButton from 'material-ui/RaisedButton'; import { white , teal400 } from 'material-ui/styles/colors'; import PropTypes from 'prop-ty...
app/client/app.js
jbermudezlobo/lolstats-client
import React from 'react'; import ReactDOM from 'react-dom'; import Stats from './components/Stats'; const config = { appTitle: 'Stats', appContainer: 'statsApp', appDataContainer: 'styleData', styleData: {} }; document.getElementsByTagName('title')[0] = config.appTitle; config.styleData = JSON.parse(docume...
docs/src/app/components/pages/components/List/ExampleNested.js
IsenrichO/mui-with-arrows
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import ActionGrade from 'material-ui/svg-icons/action/grade'; import ContentInbox from 'material-ui/svg-icons/content/inbox'; import ContentDrafts from 'material-ui/svg-icons/content/draft...
src/ga-tracker.js
bblassingame/at-home-climate-website
/* Solution provided by @juliaqiuxy in react-router issue 4278 https://github.com/ReactTraining/react-router/issues/4278 */ import React from 'react' import GoogleAnalytics from 'react-ga' import ReactGA from 'react-ga' GoogleAnalytics.initialize('UA-106318026-1') /*global process*/ if (process.env.NODE_ENV !== 'pro...
node_modules/react-icons/fa/heartbeat.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaHeartbeat = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.6 22.9h6.8q-0.1 0.1-0.2 0.2t-0.2 0.2l-0.1 0-13.9 13.4q-0.4 0.4-1 0.4t-1-0.4l-13.9-13.4q-0.1 0-0.5-0.4h8.3q0.4 0 0.8-0.3t0.5-0.8l1.6-6.3 4.2 14.9q0.2 0.4 0.6 0.7...
ajax/libs/forerunnerdb/1.3.669/fdb-core.js
pombredanne/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...