path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/glamorous/4.0.0-beta.1/glamorous.umd.tiny.min.js
ahocevar/cdnjs
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("glamor")):"function"==typeof define&&define.amd?define(["react","glamor"],r):e.glamorous=r(e.React,e.Glamor)}(this,function(e,r){"use strict";function t(r){var t=arguments.length>1&&void 0!==arguments[1]?argum...
app/components/LoadingIndicator/index.js
Dmitry-N-Medvedev/motor-collection
import React from 'react'; import Circle from './Circle'; import Wrapper from './Wrapper'; const LoadingIndicator = () => ( <Wrapper> <Circle /> <Circle rotate={30} delay={-1.1} /> <Circle rotate={60} delay={-1} /> <Circle rotate={90} delay={-0.9} /> <Circle rotate={120} delay={-0.8} /> <Cir...
ajax/libs/yui/3.4.1/yui/yui-debug.js
vetruvet/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
node_modules/core-js/client/library.js
mychips/eatnsplit
/** * core-js 2.5.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2017 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The r...
src/svg-icons/av/branding-watermark.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvBrandingWatermark = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-9v-6h9v6z"/> </SvgIcon> ); AvBrandingWatermark = pure(AvBran...
ajax/libs/radium/0.13.5/radium.min.js
CyrusSUEN/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Radium=t(require("react")):e.Radium=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var...
ajax/libs/videomail-client/2.4.3/videomail-client.min.js
cdnjs/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).VideomailClient=e()}}(function(){return function o(s,a,u){funct...
albums/src/app.js
victorditadi/IQApp
import React, { Component } from 'react'; import { View, Text } from 'react-native'; import { Header } from './components/common'; import AlbumList from './components/AlbumList' class App extends Component { render() { return( <View style={{ flex:1 }}> <Header headerText={"Albuns"} /> <Albu...
node_modules/react-bootstrap/es/MenuItem.js
Crisa221/Lista-Giocatori
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 ...
client/src/js/app.js
LlamaSantos/realtime-readit
import React from 'react'; import Router from 'react-router'; import routes from 'config/routes'; Router.run(routes, (Handler) => { React.render(<Handler/>, document.getElementById('app')); });
stories/Video/SimpleVideoEditor/index.js
dagopert/draft-js-plugins
import React, { Component } from 'react'; import { EditorState, convertFromRaw } from 'draft-js'; import Editor from 'draft-js-plugins-editor'; import createVideoPlugin from 'draft-js-video-plugin'; import editorStyles from './editorStyles.css'; const videoPlugin = createVideoPlugin(); const { types } = videoPlugin; c...
src/components/Header/Header.js
magnusbae/fluffy-beat
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import styles from './Header.css'; import withStyles from '../../decorators/withStyles'; import Link from '../Link'; import Navigation from '../Navigation'; @withStyles(styles) class Header extends Compo...
public/js/jquery.min.js
alexbusta79/alexander
/*! 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===...
assets/ListTable.js
rmccue/new-list-tables
import React from 'react'; import QuickEdit from './QuickEdit'; import Row from './Row'; import TopNav from './TopNav'; export default class ListTable extends React.Component { getHeaderCells() { const { columns } = this.props; return Object.values( columns ).map( column => column.header ); } getRow( item, in...
src/js/settings.js
pk8est/dot
import React from 'react'; import ReactDOM from 'react-dom';
client/src/app/admin/panel/staff/admin-panel-departments.js
ivandiazwm/opensupports
import React from 'react'; import _ from 'lodash'; import {connect} from 'react-redux'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; import ConfigActions from 'actions/config-actions'; import AreYouSure from 'app-components/are-you-sure'; import DepartmentDropDown from 'app-components/departm...
src/screens/search/components/PlanSearch/PlanSearch.js
vio-lets/Larkyo-Client
import React from 'react'; // import './PeopleSearch.css'; export default class PlanSearch extends React.Component { constructor() { super(); this.state = {} } render() { return( <div className="planSearchContainer"> <h2>Travel plan search is coming soon...
test/test_helper.js
allenyin55/reading_with_Annie
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
src/components/tab.js
heroTM737/Dota2CounterPlayClient
import React, { Component } from 'react'; import _ from 'lodash'; export class Tabs extends Component { constructor(props) { super(props); this.state = { activeTab: null, children: {} } props.children.map(child => { this.state.children[child.pro...
packages/material-ui-icons/src/ExposureNeg1.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0zm0 0h24v24H0z" /><path d="M4 11v2h8v-2H4zm15 7h-2V7.38L14 8.4V6.7L18.7 5h.3v13z" /></React.Fragment> , 'ExposureNeg1');
docs/src/examples/elements/List/Types/ListExampleBasic.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { List } from 'semantic-ui-react' const ListExampleBasic = () => ( <List> <List.Item>Apples</List.Item> <List.Item>Pears</List.Item> <List.Item>Oranges</List.Item> </List> ) export default ListExampleBasic
modules/RestoreScroll.js
ryanflorence/react-router-restore-scroll
import React from 'react' import { findDOMNode } from 'react-dom' const RestoreScroll = React.createClass({ contextTypes: { router: React.PropTypes.object.isRequired }, propTypes: { scrollKey: React.PropTypes.string.isRequired }, componentDidMount() { const { registerScroller } = this.context....
app/javascript/flavours/glitch/features/account/components/profile_column_header.js
im-in-space/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ColumnHeader from '../../../components/column_header'; import { injectIntl, defineMessages } from 'react-intl'; const messages = defineMessages({ profile: { id: 'column_header.profile', defaultMessage: 'Profile' }, }); export default @injectIntl ...
html-report/src/index.js
gojuno/composer
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render( <App />, document.getElementById('root') );
test/wallet/sendprompt.component.js
rivine/rivine-UI
/* eslint-disable no-unused-expressions */ import React from 'react' import { shallow } from 'enzyme' import { expect } from 'chai' import { spy } from 'sinon' import SendPrompt from '../../plugins/Wallet/js/components/sendprompt.js' const testActions = { setSendAddress: spy(), setSendAmount: spy(), sendCurrency: s...
packages/wix-style-react/src/StatusIndicator/test/StatusIndicator.visual.js
wix/wix-style-react
import React from 'react'; import { storiesOf } from '@storybook/react'; import StatusIndicator from '../StatusIndicator'; import { Cell, Layout } from '../../Layout'; storiesOf('StatusIndicator', module).add('default', () => ( <Layout cols={3}> <Cell span={1}> <StatusIndicator status="error" /> </Cell...
src/Parser/DeathKnight/Unholy/Modules/Features/Apocalypse.js
enragednuke/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import EnemyInstances from 'Parser/Core/Modules/EnemyInstances'; import Stat...
vendor/jquery/jquery.js
Fink-Security/FinkSecuritySite
/*! * jQuery JavaScript Library v1.12.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:17Z */ (function( global, factory ) { if ( typeof module =...
ajax/libs/react/0.3.2/JSXTransformer.js
kartikrao31/cdnjs
/** * JSXTransformer v0.3.2 */ (function(e){if("function"==typeof bootstrap)bootstrap("jsxtransformer",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeJSXTransformer=e}else"undefined"!=typeof wi...
app/scripts/views/AdminUsersEditForm.js
adzialocha/hoffnung3000
import PropTypes from 'prop-types' import React, { Component } from 'react' import { DateTime } from 'luxon' import { Link } from 'react-router-dom' import { connect } from 'react-redux' import pick from '../../../common/utils/pick' import { UserForm } from '../forms' import { cachedResource } from '../services/resour...
app/components/Cell.js
tarrencev/sheets
'use strict'; import React from 'react'; import Immutable from 'immutable'; import Jexl from 'Jexl'; const DOUBLE_CLICK_WINDOW_MS = 500; class SheetCell extends React.Component { constructor(props) { super(props); this.state = { astClickDate: 0, value: props.cell.get('va...
src/parser/hunter/survival/modules/spells/azeritetraits/LatentPoison.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox'; import SPELLS from 'common/SPELLS'; import { RAPTOR_MONGOOSE_VARIANTS } from 'parser/hunter/survival/constants'; /** * Serpent Sting damage applies Latent Po...
geonode/contrib/monitoring/frontend/src/index.js
simod/geonode
import React from 'react'; import { render } from 'react-dom'; import Root from './containers/root'; import injectTapEventPlugin from 'react-tap-event-plugin'; // Needed for onTouchTap // http://stackoverflow.com/a/34015469/988941 injectTapEventPlugin(); const spinner = document.getElementById('spinner'); spinner.st...
src/components/Breadcrumbs.js
SiverDX/siverdx.github.io
import React from 'react'; import PropTypes from 'prop-types'; import { Route, Link } from 'react-router-dom'; import Interactive from 'react-interactive'; import s from '../styles/style'; const breadCrumbTitles = { '': 'Home', example: 'Example', 'two-deep': 'Two Deep', }; function BreadcrumbsItem({ match }) {...
react/features/overlay/components/ReloadTimer.js
KalinduDN/kalindudn.github.io
import React, { Component } from 'react'; import { translate } from '../../base/i18n'; declare var AJS: Object; /** * Implements a React Component for the reload timer. Starts counter from * props.start, adds props.step to the current value on every props.interval * seconds until the current value reaches props.e...
tests/components/Maptype.spec.js
dingchaoyan1983/ReactRedux
import React from 'react' import Maptype from 'components/Maptype/Maptype' describe('(Component) Maptype', () => { it('should exist', () => { }) })
node_modules/material-ui/lib/svg-icons/image/crop-square.js
sparkymat/youhaveto-react
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var ImageCropSquare = React.createClass({ displayName: 'ImageCropSquare', mixins: [PureRenderMixin], render: function render() { return React.createElement( ...
ajax/libs/6to5/3.3.3/browser-polyfill.js
tresni/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/App.js
selrond/coloreact
import React, { Component } from 'react'; import Swatch from './components/Swatch'; import 'normalize.css'; import './App.css'; class App extends Component { render() { return ( <Swatch /> ); } } export default App;
docs/app/Examples/elements/Loader/index.js
aabustamante/Semantic-UI-React
import React from 'react' import Types from './Types' import States from './States' import Variations from './Variations' const LoaderExamples = () => ( <div> <Types /> <States /> <Variations /> </div> ) export default LoaderExamples
docs/src/examples/collections/Form/States/FormExampleFieldDisabled.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Form } from 'semantic-ui-react' const FormExampleFieldDisabled = () => ( <Form> <Form.Group widths='equal'> <Form.Input fluid label='First name' placeholder='Disabled' disabled /> <Form.Input fluid label='Last name' placeholder='Disabled' disabled /> </Form.Grou...
src/pages/repo/index.js
eseom/Gitten
import React from 'react' import { View, Text, WebView, Linking, ScrollView } from 'react-native' import { List, ListItem } from 'react-native-elements' import LoadingView from 'react-native-loading-view' import { Badge } from 'react-native-elements' import { connect } from 'react-redux' import marked from 'marked' i...
app/src/components/PageHead/index.js
kshvmdn/github-list
import React from 'react'; import './index.css'; const PageHead = ({ children }) => ( <div className="pagehead"> <div className="pagehead--container"> {children} </div> </div> ); export default PageHead;
docs/src/app/components/pages/components/IconButton/ExampleSimple.js
hai-cea/material-ui
import React from 'react'; import IconButton from 'material-ui/IconButton'; const IconButtonExampleSimple = () => ( <div> <IconButton iconClassName="muidocs-icon-custom-github" /> <IconButton iconClassName="muidocs-icon-custom-github" disabled={true} /> </div> ); export default IconButtonExampleSimple;
staticfiles/js/vendor/jquery/jquery-1.9.1.js
PeterDSteinberg/webapp-public
/*! * 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...
actor-apps/app-web/src/app/components/modals/invite-user/ContactItem.react.js
Jaeandroid/actor-platform
import React from 'react'; import { PureRenderMixin } from 'react/addons'; import AvatarItem from 'components/common/AvatarItem.react'; var ContactItem = React.createClass({ displayName: 'ContactItem', propTypes: { contact: React.PropTypes.object, onSelect: React.PropTypes.func }, mixins: [PureRende...
blueocean-core-js/test/js/User-spec.js
kzantow/blueocean-plugin
/** * Created by cmeyers on 9/16/16. */ import React from 'react'; import { assert } from 'chai'; import { Utils } from '../../src/js/utils'; import { User } from '../../src/js/User'; describe('User', () => { describe('permissions', () => { it('User has pipeline permissions', () => { const ...
ajax/libs/orb/1.0.7/orb.min.js
hare1039/cdnjs
/** * orb v1.0.7, Pivot grid javascript library. * * Copyright (c) 2014-2015 Najmeddine Nouri <devnajm@gmail.com>. * * @version v1.0.7 * @link http://nnajm.github.io/orb/ * @license MIT */ "use strict";!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==t...
packages/cockpit/ui/src/components/ExplorerLayout.js
iurimatias/embark-framework
import React from 'react'; import {Route, Switch} from 'react-router-dom'; import AccountsContainer from '../containers/AccountsContainer'; import AccountContainer from '../containers/AccountContainer'; import BlocksContainer from '../containers/BlocksContainer'; import BlockContainer from '../containers/BlockContaine...
ajax/libs/react/0.12.0/react.min.js
agraebe/cdnjs
/** * React v0.12.0 * * 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. *...
app/components/Input/index.js
EugeneHlushko/game-15
/** * * Input * */ import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; const StyledInput = styled.input` padding: 3px 10px; border: 1px solid #333; height: 38px; line-height: 38px; font-size: 16px; color: #000; `; function Input(props) { function chang...
packages/material-ui-icons/src/DirectionsWalk.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M13.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM9.8 8.9L7 23h2.1l1.8-8 2.1 2v6h2v-7.5l-2.1-2 .6-3C14.8 12 16.8 13 19 13v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1L6 8.3V13...
node_modules/core-js/library/modules/es6.promise.js
NGSOFT-DEV/Veridis
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
src/components/settlement/ticket/SettlementTicketHeader.js
HuZai/react_settlement
/** * 激活优惠券组件 */ import React from 'react'; import {render} from 'react-dom'; import InputPops from 'components/settlement/ticket/SettlementTicketHeaderForm'; class SettlementTicketHeader extends React.Component{ activeClick(){ // 激活优惠券 render( <InputPops/>, document.getElementById("ticket-pops"...
docs/app/Examples/elements/Label/Content/LabelExampleIconShorthand.js
aabustamante/Semantic-UI-React
import React from 'react' import { Label } from 'semantic-ui-react' const LabelExampleIconShorthand = () => ( <Label as='a' content='Mail' icon='mail' /> ) export default LabelExampleIconShorthand
ajax/libs/primereact/4.1.2/components/picklist/PickListItem.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PickListItem=void 0;var _react=_interopRequireWildcard(require("react")),_propTypes=_interopRequireDefault(require("prop-types")),_classnames=_interopRequireDefault(require("classnames"));function _interopRequireDefault(e){return e&&e.__esModul...
src/CHANGELOG.js
hasseboulen/WoWAnalyzer
import React from 'react'; import { Anomoly, blazyb, Dyspho, fasib, Fyruna, Gurupitka, Juko8, Mamtooth, sref, Versaya, aryu, Zerotorescue, Hartra344, Putro, Sharrq, Hewhosmites } from 'CONTRIBUTORS'; import Wrapper from 'common/Wrapper'; import ItemLink from 'common/ItemLink'; import ITEMS from 'common/ITEMS'; import ...
client/app/scripts/components/nodes-resources/node-resources-metric-box.js
paulbellamy/scope
import React from 'react'; import { connect } from 'react-redux'; import NodeResourcesMetricBoxInfo from './node-resources-metric-box-info'; import { applyTransform } from '../../utils/transform-utils'; import { RESOURCES_LAYER_TITLE_WIDTH, RESOURCES_LABEL_MIN_SIZE, RESOURCES_LABEL_PADDING, } from '../../constan...
src/widgets/EmailSubscriber/SimpleLayout.js
mydearxym/mastani
import React from 'react' import { ICON } from '@/config' // import Button from '@/widgets/Buttons/Button' import { Wrapper, InnerWrapper, SubscribeInput, MailBoxIcon, } from './styles/simple_layout' const SimpleLayout = ({ onOpen, placeholder }) => { return ( <Wrapper onClick={onOpen}> <InnerWra...
src/components/photoshop/PhotoshopPointer.js
JunisphereSystemsAG/react-color
'use strict' /* @flow */ import React from 'react' import ReactCSS from 'reactcss' import shallowCompare from 'react-addons-shallow-compare' export class PhotoshopPointerCircle extends ReactCSS.Component { shouldComponentUpdate = shallowCompare.bind(this, this, arguments[0], arguments[1]) classes(): any { re...
ajax/libs/jointjs/0.9.3/joint.all.js
seogi1004/cdnjs
/*! JointJS v0.9.3 - JavaScript diagramming library 2015-02-03 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*! * jQuery JavaScript Library v2.0.3 * http://jquery...
src/components/TimePicker/TimePicker-test.js
joshblack/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import TimePicker from '../TimePicker'; import { mount, shallow } from 'enzyme'; describe('TimePicker', () => { ...
test/ButtonSpec.js
JimiHFord/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Button from '../src/Button'; describe('Button', function () { it('Should output a button', function () { let instance = ReactTestUtils.renderIntoDocument( <Button> Title </Button> ); assert.equal(...
webpack/containers/surveys/SurveyDedupeContainer.js
CDCgov/SDP-Vocabulary-Service
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Grid, Row, Col } from 'react-bootstrap'; import { setSteps } from '../../actions/tutorial_actions'; import { fetchSurvey, fetchDuplicates } from '../...
ajax/libs/angular.js/0.9.15/angular-scenario.js
idleberg/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. ...
docs/app/Examples/elements/Header/Content/HeaderExamplePlugIcon.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Header, Icon } from 'semantic-ui-react' const HeaderExamplePlugIcon = () => ( <Header as='h2'> <Icon name='plug' /> <Header.Content> Uptime Guarantee </Header.Content> </Header> ) export default HeaderExamplePlugIcon
client/pages/UserProfile/UserProfile.js
jkettmann/universal-react-relay-starter-kit
import React from 'react' import PropTypes from 'prop-types' import { graphql } from 'react-relay' import { fragment } from 'relay-compose' import { compose, flattenProp } from 'recompose' import Wrapper from './Wrapper' const Profile = ({ firstName, lastName, email }) => ( <Wrapper> <h2>Your Account</h2> <...
tests/lib/rules/vars-on-top.js
martijndeh/eslint
/** * @fileoverview Tests for vars-on-top rule. * @author Danny Fritz * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var rule = require("../....
ajax/libs/react-native-web/0.11.7/exports/Image/index.js
cdnjs/cdnjs
function _extends() { _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]; } } } return target; }; return _extends.apply(this, arguments); } f...
ajax/libs/yui/3.17.2/datatable-core/datatable-core-debug.js
shobhitmittal/cdnjs
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
src/app.js
kbingman/reflux-demo-project
import React from 'react'; import Locations from './components/locations.jsx'; // Renders the main react component // passing the bootstrapped locations as props updates react and keeps it from // re-rendering React.render( <Locations locations={ bootstrapData.locations } />, document.getElementById('container') )...
src/components/NotFoundPage.js
oshalygin/react-slingshot
import React from 'react'; import { Link } from 'react-router'; const NotFoundPage = () => { return ( <div> <h4> 404 Page Not Found </h4> <Link to="/"> Go back to homepage </Link> </div> ); }; export default NotFoundPage;
examples/async/src/components/Posts.js
quandhz/resaga
import React from 'react'; import PropTypes from 'prop-types'; const Posts = ({ posts }) => { const list = posts.map((post, i) => <li key={i}>{post.title}</li>); return <ul>{list}</ul>; }; Posts.propTypes = { posts: PropTypes.array, }; Posts.defaultProps = { posts: [], }; export default Posts;
node_modules/react-icons/lib/ti/tags.js
bairrada97/festival
'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]; } }...
stories/StaticToolbar/CustomToolbarEditor/index.js
dagopert/draft-js-plugins
/* eslint-disable react/no-multi-comp */ import React, { Component } from 'react'; import Editor, { createEditorStateWithText } from 'draft-js-plugins-editor'; import createToolbarPlugin, { Separator } from 'draft-js-static-toolbar-plugin'; import { ItalicButton, BoldButton, UnderlineButton, CodeButton, Hea...
src/components/Header.js
robertkirsz/magic-cards-manager
import React from 'react' import PropTypes from 'proptypes' import { connect } from 'react-redux' import { Link } from 'react-router' import { UserBadge, LockButton } from 'components' import { signOut } from 'store/user' import { openModal } from 'store/layout' import _reduce from 'lodash/reduce' const mapStateToProp...
examples/todomvc/index.js
dmin/redux
import 'babel-core/polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; import 'todomvc-app-css/index.css'; const store = configureStore(); React.render( <Provider store={store}> {() => <App />} ...
node_modules/enzyme/src/version.js
Snatch-M/fesCalendar
import React from 'react'; export const VERSION = React.version; export const REACT013 = VERSION.slice(0, 4) === '0.13'; export const REACT014 = VERSION.slice(0, 4) === '0.14'; export const REACT15 = VERSION.slice(0, 3) === '15.';
es6/test.js
yurizhang/ishow
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des...
frontend/src/components/h5/Word.js
sunlong/h5
/** * Created by sunlong on 2017/3/20. */ import React from 'react'; import Rnd from '../common/rnd/ReactRnd'; import store from '../../store'; import { changeFocus, changeWordEditable } from '../../actions/h5Actions'; function Word({ value, focusId }) { const wordClicked = () => { store.dispatch(changeF...
components/Speaker.js
zhangmingkai4315/PollingApp
import React from 'react' import Display from './parts/Display' import JoinSpeaker from './parts/JoinSpeaker' import Attendance from './parts/Attendance' import Questions from './parts/Questions' var PropTypes = React.PropTypes; class Speaker extends React.Component { render() { var data=this.props.parentState...
packages/react/src/components/UIShell/Content.js
carbon-design-system/carbon-components
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import cx from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import { usePrefix } from '../../internal/usePref...
app/jsx/due_dates/DueDateTokenWrapper.js
djbender/canvas-lms
/* * Copyright (C) 2015 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
ajax/libs/highcharts/4.1.1/highcharts.src.js
vuonghuuphuc/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.1.1 (2015-02-17) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear...
src/components/board/board_head.js
samiluukkonen/smigo
import React, { Children, Component } from 'react' class BoardHead extends Component { shouldComponentUpdate(nextProps, nextState) { return false } render() { return ( <thead> <tr> <th></th> {Children.map(this.props.children, (x, i) => <th key={`th${i}`}>{i}</th>)} ...
client/src/Title.story.js
mit-teaching-systems-lab/swipe-right-for-cs
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import {withFrameSwitcher} from './util/storybookFrames.js'; import Title from './Title.js'; storiesOf('Title', module) //eslint-disable-line no-undef .add('normal', () => { return withFra...
Template/template11/assets/js/jquery.min.js
rahuls-sah089/rahuls-sah089.github.io
/*! jQuery v1.11.3 | (c) 2005, 2015 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/SyncProblemRounded.js
Kagami/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="M3 12c0 2.21.91 4.2 2.36 5.64l-1.51 1.51c-.31.31-.09.85.36.85H8.5c.28 0 .5-.22.5-.5v-4.29c0-.45-.54-.67-.85-.35l-1.39 1.39C5.68 15.15 5 13.66...
src/svg-icons/image/image-aspect-ratio.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageImageAspectRatio = (props) => ( <SvgIcon {...props}> <path d="M16 10h-2v2h2v-2zm0 4h-2v2h2v-2zm-8-4H6v2h2v-2zm4 0h-2v2h2v-2zm8-6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H...
src/app/views/logout.js
benigeri/soapee-ui
import React from 'react'; import authActions from 'actions/auth'; export default React.createClass( { componentDidMount () { authActions.logout(); }, render() { return ( <div id="logout"> <div className="jumbotron"> <h1>Logged Out</h1> ...
src/vendor/recharts/demo/component/Rectangle.js
donal-crotty/fuzzy-telegram
import React, { Component } from 'react'; import { Surface, Rectangle } from 'recharts'; class RectangleDemo extends Component { state = { x: 50, y: 50, width: 80, height: 100, }; changeSize() { this.setState({ x: Math.random() * 50, y: Math.random() * 50, width: Math.rando...
js/vendor/jquery-1.10.1.min.js
scimusmn/buzz_vaccines
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
ajax/libs/ember-data.js/2.2.0-beta.3/ember-data.js
x112358/cdnjs
(function() { "use strict"; var ember$lib$main$$default = Ember; var ember$data$lib$adapters$build$url$mixin$$get = Ember.get; var ember$data$lib$adapters$build$url$mixin$$default = Ember.Mixin.create({ /** Builds a URL for a given type and optional ID. By default, it pluralizes ...
src/svg-icons/maps/satellite.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsSatellite = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.99h3C8 6.65 6.66 8 5 8V4.99zM5 12v-2c2.76 0 5-2.25 5-5.01h2C12 8.86 8....
packages/material-ui-icons/src/AddCircleRounded.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 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4 11h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.5...
examples/ant-design-demo/src/Root/modules/Test/UI/Calendar.ui.js
homkai/deef
/** * Created by DOCer on 2017/7/11. */ import React from 'react'; import {Calendar} from 'antd'; export default ({onPanelChange}) => { return ( <div style={{margin: 'auto', width: 290, border: '1px solid #d9d9d9', borderRadius: 4}} > <Calendar fullscreen=...
src/Popover.js
erictherobot/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; const Popover = React.createClass({ mixins: [ BootstrapMixin ], propTypes: { /** * An html id attribute, necessary for accessibility ...
src/components/Header/Header.js
TheModevShop/craft-app
import React from 'react' import { IndexLink, Link } from 'react-router' import './header.less' export const Header = (props) => { let location = props.loc.replace(/-/g, ' '); if (location === 'my resource' && props.name) { location = props.name } const loc = decodeURIComponent(location); return ( <h...
src/give/Funds/FundDetails.js
NewSpring/Apollos
import React from 'react'; import { Platform, ScrollView } from 'react-native'; import { compose, mapProps } from 'recompose'; import withFinancialAccounts from '@data/withFinancialAccounts'; import styled from '@ui/styled'; import Header from '@ui/Header'; import BackgroundView from '@ui/BackgroundView'; import SideBy...
YMHuPu/src/common/HeaderScrollView.js
Whg8908/HuPu
import React, { PureComponent } from 'react' import { View, Text, StyleSheet, ScrollView, TouchableOpacity, ListView, Image } from 'react-native' import { screen, system, tool } from './' import {Button1} from './' var ps =this.props export default class HeaderScrollView extends PureComponent { onPress(){ ...