path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/react/0.6.0/react.js
dmsanchez86/cdnjs
;!function(exports, undefined) { var isArray = Array.isArray ? Array.isArray : function _isArray(obj) { return Object.prototype.toString.call(obj) === "[object Array]"; }; var defaultMaxListeners = 10; function init() { this._events = new Object; } function configure(conf) { if (conf) { ...
server/client/src/components/surveys/SurveyFormReview.js
gsarpy/campaigner
import _ from 'lodash'; import React from 'react'; import { connect } from 'react-redux'; import formFields from './formFields'; import { withRouter } from 'react-router-dom'; import * as actions from '../../actions'; const SurveyFormReview = ({ onCancel, formValues, submitSurvey, history }) => { const reviewFields ...
src/shared/views/AppLayout/AppLayout.js
in-depth/indepth-core
import React from 'react' import { NavigationList } from '../navigation' import { TopMenu } from '../topMenu' import styles from './appLayout.css' const AppLayout = (props) => { return ( <div className={styles.main}> <div className={styles.body}> <div className={styles.topMenu}> <TopMen...
packages/material-ui-icons/src/ThreeSixtySharp.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 7C6.48 7 2 9.24 2 12c0 2.24 2.94 4.13 7 4.77V20l4-4-4-4v2.73c-3.15-.56-5-1.9-5-2.73 0-1.06 3.04-3 8-3s8 1.94 8 3c0 .73-1.46 1.89-4 2.53v2.05...
stories/index.js
mymaytang/maytang.co-ui
import React from 'react' import { storiesOf, action } from '@kadira/storybook' import styled from 'styled-components' import CtaButton from '../ui/CtaButton' import InputText from '../ui/InputText' import Avatar from '../ui/Avatar' import Dropdown from '../ui/Dropdown' import Navi from '../ui/Navi' import { Title, Sub...
Web Developer Skills/Learn ReactJS Part II/Unit 08 React Forms/04 Set the Input's Initial State/Input.js
ummahusla/codecademy-exercise-answers
import React from 'react'; import ReactDOM from 'react-dom'; export class Input extends React.Component { constructor(props) { super(props) this.state = { userInput: '' }; this.handleUserInput = this.handleUserInput.bind(this); } handleUserInput(e) { this.setState({ userInput: e.target.val...
assets/javascripts/kitten/components/feedback/vertical-stepper/components/step.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' import styled, { css } from 'styled-components' import { pxToRem } from '../../../../helpers/utils/typography' import COLORS from '../../../../constants/colors-config' import { Status } from './status' import classNames from 'classnames' import { STEP_CLASSNA...
vendor/laravel/framework/src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js
OwlHex/OwlNet
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; export default class Example extends Component { render() { return ( <div className="container"> <div className="row"> <div className="col-md-8 col-md-offset-2"> ...
src/components/Label/Label.example.js
6congyao/CGB-Dashboard
/* * Copyright (c) 2016-present, Parse, LLC * All rights reserved. * * This source code is licensed under the license found in the LICENSE file in * the root directory of this source tree. */ import React from 'react'; import Field from 'components/Field/Field.react'; import Label from 'components/Label/Label.rea...
src/svg-icons/social/notifications.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialNotifications = (props) => ( <SvgIcon {...props}> <path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 ...
Libraries/Image/RelativeImageStub.js
MattFoley/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...
docs/app/Examples/elements/Image/Groups/index.js
ben174/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const ImageTypesExamples = () => ( <ExampleSection title='Groups'> <ComponentExample title='Size' description='A grou...
src/components/common/icons/Github.js
chejen/GoodJobShare
import React from 'react'; /* eslint-disable */ const Github = (props) => ( <svg {...props} width="148" height="148" viewBox="0 0 148 148"> <path fill-rule="evenodd" d="M132.025367,62.062186 C132.570422,58.5830293 132.912237,54.774951 133,50.5036028 C132.967666,32.1812796 124.22368,25.6955015 122.537703,22.66108...
src/components/test/Outline.spec.js
jasonLaster/debugger.html
/* 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/>. */ import React from "react"; import { shallow } from "enzyme"; import Outline from "../../components/PrimaryPanes/...
src/Components/BrewerStore.js
Zangriev/SampleApplication
import React from 'react'; import BrewerFilter from "./BrewerFilter"; import Brewers from "./Brewers"; const BrewerStore = (props) => { return ( <div className="product-page row"> <div className="flex"> <BrewerFilter /> <Brewers /> </div> </div> ); } export default BrewerStore;
lib/components/FieldList.js
aliaksandr-master/react-fractal-field
import React from 'react'; import PropTypes from 'prop-types'; import { TYPE } from '../utils/const'; import FieldComponent from './FieldComponent'; const FieldList = class FieldList extends FieldComponent { static propTypes = { ...FieldComponent.propTypes, value: PropTypes.array, initialValue: PropTy...
ajax/libs/victory/0.22.0/victory.min.js
nolsherry/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],e):"object"==typeof exports?exports.Victory=e(require("react"),require("prop-types")):t.Victory=e(t.React,t.PropTypes)}(this,funct...
src/containers/NotFound/NotFound.js
Widcket/sia
import React from 'react'; export default function NotFound() { return ( <div className="container"> <h1>Doh! 404!</h1> <p>These are <em>not</em> the droids you are looking for!</p> </div> ); }
docs/app/Examples/collections/Breadcrumb/Variations/BreadcrumbLargeSizeExample.js
jamiehill/stardust
import React from 'react' import { Breadcrumb } from 'stardust' const BreadcrumbLargeSizeExample = () => ( <Breadcrumb size='large'> <Breadcrumb.Section link>Home</Breadcrumb.Section> <Breadcrumb.Divider icon='right chevron' /> <Breadcrumb.Section link>Registration</Breadcrumb.Section> <Breadcrumb.Di...
node_modules/react-paginate/__tests__/PaginationBoxView-test.js
wiflsnmo/react_study2
import React from 'react'; import ReactDOM from 'react-dom'; jest.dontMock('./../react_components/PaginationBoxView'); jest.dontMock('./../react_components/PageView'); jest.dontMock('./../react_components/BreakView'); const PaginationBoxView = require('./../react_components/PaginationBoxView').default; const PageView...
src/svg-icons/av/sort-by-alpha.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvSortByAlpha = (props) => ( <SvgIcon {...props}> <path d="M14.94 4.66h-4.72l2.36-2.36zm-4.69 14.71h4.66l-2.33 2.33zM6.1 6.27L1.6 17.73h1.84l.92-2.45h5.11l.92 2.45h1.84L7.74 6.27H6.1zm-1.13 7.37l1.94-5.18 1.94 ...
test/specs/shape/SectorSpec.js
scostaqb/recharts
import React from 'react'; import { expect } from 'chai'; import { Surface, Sector } from 'recharts'; import { mount, render } from 'enzyme'; describe('<Sector />', () => { it('Render 1 sector in simple Sector', () => { const wrapper = render( <Surface width={500} height={500}> <Sector fill="#ff790...
src/svg-icons/action/three-d-rotation.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionThreeDRotation = (props) => ( <SvgIcon {...props}> <path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-....
renderer/pages/exports.js
wulkano/kap
import React from 'react'; import {Provider} from 'unstated'; import WindowHeader from '../components/window-header'; import Exports from '../components/exports'; import ExportsContainer from '../containers/exports'; const exportsContainer = new ExportsContainer(); export default class ExportsPage extends React.Com...
test/ButtonSpec.js
pivotal-cf/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(...
src/mui/delete/Delete.js
marmelab/admin-on-rest
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Card, CardText, CardActions } from 'material-ui/Card'; import { Toolbar, ToolbarGroup } from 'material-ui/Toolbar'; import RaisedButton from 'material-ui/RaisedButton'; import ActionCheck from '...
src/client/components/base/Kiosk/Kiosk.js
DBCDK/content-first
import React from 'react'; import {connect} from 'react-redux'; import {HISTORY_REPLACE} from '../../../redux/middleware'; import {loadKiosk} from '../../../redux/kiosk.thunk'; const KIOSK_SETTINGS_PATH = '/kiosk'; class Kiosk extends React.Component { constructor(props) { super(props); } start = () => { ...
src/contentscript/dialogs/ContentDialog.js
emfmesquita/beyondhelp
import React, { Component } from 'react'; /** * Dialog on content page. */ class ContentDialog extends Component { render() { return ( <div id={this.props.dialogId} className="ddb-modal" title="Delete Folder" style={{ display: "none" }}> <div className="ddb-modal-form"> ...
app/javascript/mastodon/features/status/index.js
ashfurrow/mastodon
import Immutable from 'immutable'; import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { createSelector } from 'reselect'; import { fetchStatus } from '../../actions/...
src/components/Header/Header.js
rdanieldesign/MemoryApp-ReactStarter
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import Link from '../Link'; import Navigation from '../Navigation'; import './Header.scss'; class Header extends Component { render() { return ( <div className="Header"> <div classNa...
src/Loading/loading.js
gavofyork/gavcoin
// Copyright 2016 Gavin Wood import React, { Component } from 'react'; import { CircularProgress } from 'material-ui'; import styles from './loading.css'; export default class Loading extends Component { render () { return ( <div className={ styles.loading }> <CircularProgress size={ 120 } thick...
js/Header.js
giladl82/complete-intro-to-react
import React from 'react' import { Link } from 'react-router-dom' import { connect } from 'react-redux' import { setSearchTerm } from './actionsCreators' class Header extends React.Component { constructor (props) { super(props) this.handleSearchTermChange = this.handleSearchTermChange.bind(this) } handleS...
node_modules/react-icons/io/earth.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoEarth = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25.4 9.8c0.1 0.4 0.5 1 0.2 1.2-0.2 0.2-0.8 0.2-1-0.4s0-0.8-0.4-0.7-0.5-0.2-0.5-0.3c0.1-0.1 0.3-0.2 0.4-0.3 0-0.2-0.3-0.6 0.2-0.6 0.3 0.1 0.9 0.8 1.1 1.1z m1.5 3.6z m4....
test/components/DocumentBody.spec.js
vpodolyan/documenter
import React from 'react' import expect from 'expect' import { shallow } from 'enzyme' import DocumentBody from '../../src/components/DocumentBody' function setup(fields) { const component = shallow( <DocumentBody fields={fields} /> ) return { component } } describe('DocumentBody component', () ...
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-spread/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js
wheeyls/delayed-mirror
'use strict'; var $ = require('./$') , LIBRARY = require('./$.library') , global = require('./$.global') , ctx = require('./$.ctx') , classof = require('./$.classof') , $export = require('./$.export') , isObject = require('./$.is-object') , anObject = require('./$.an-objec...
src/svg-icons/image/filter-9-plus.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilter9Plus = (props) => ( <SvgIcon {...props}> <path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 7V8c0-1.11-.9-2-2-2h-1c-1.1 0-2 .89-2 2v1c0 1.11.9 2 2 2h1v1H9v2h3c1.1 0 2-.89 2-2zm-3-3V8h1v1h-1zm10-8H7c-1.1...
src/components/common/svg-icons/hardware/tablet.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareTablet = (props) => ( <SvgIcon {...props}> <path d="M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2zm-2 14H5V6h14v12z"/> </SvgIcon> ); HardwareTablet = pure(Hardwa...
pages/404.js
uraway/Markov
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import React, { Component } from 'react'; export default class extends Component { render() { return ( <div> <h1>Not Found</h1> <p>The pag...
examples/custom-server/pages/index.js
arunoda/next.js
import React from 'react' import Link from 'next/link' export default () => ( <ul> <li><Link href='/b' as='/a'><a>a</a></Link></li> <li><Link href='/a' as='/b'><a>b</a></Link></li> </ul> )
aplicaciones_informaticas/frontendPacientes/src/components/RealTimeMap/RealTimeMap.js
awainer/7539
import React, { Component } from 'react'; class RealTimeMap extends Component { render () { return ( <div className="embed-container"> <p><a href="http://localhost:8000/static/map.html" target="_blank" >Abrir en nueva ventana</a></p> <iframe src="http://localhost:8000/static/map.html" h...
ajax/libs/angular-google-maps/2.3.2/angular-google-maps_dev_mapped.js
kiwi89/cdnjs
/*! angular-google-maps 2.3.2 2016-02-11 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, f...
config/secrets.example.js
jbasdf/react-kindling
module.exports = { 'mongoUrl' : 'mongodb://localhost/reactkindling', // looks like mongodb://<user>:<pass>@mongo.onmodulus.net:27017/Mikha4ot 'sessionSecret' : 'Generate a secure session secret and put it here.', 'devApplicationUrl': 'https://myserversubdomain.ngrok.com', 'devAssetsUrl': 'https://myassetssub...
ajax/libs/vega/3.0.0-beta.15/vega.min.js
Piicksarn/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.vega=t.vega||{})}(this,function(t){"use strict";function e(t){var e,n,r,i,a,o,u,s,f=t.maxbins||20,c=t.base||10,l=Math.log(c),h=t.divide||[5,2],d=t.extent[0],p=t.extent[1],g=p-d;...
lib/commons/wc-versao.js
RechInformatica/rech-environment-ide
'use babel'; import CommandOutputView from './exec-view'; import Encoding from './encoding'; import Path from './path'; import React from 'react' import ReactHelper from './react-helper'; /** * Utilitários de WC e versão */ export default class WcVersao { /** * Retorna uma promise para o WC corren...
features/apimgt/org.wso2.carbon.apimgt.rest.api.admin.feature/src/main/resources/api-docs/docs/assets/js/jquery-1.8.3.min.js
knPerera/carbon-apimgt
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
ajax/libs/react-ios-switch/0.1.7/bundle.js
nolsherry/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else { var a = factory(); for(var i in a) (typeof exports === 'object' ? exports : roo...
app/javascript/mastodon/components/__tests__/avatar_overlay-test.js
foozmeat/mastodon
import React from 'react'; import renderer from 'react-test-renderer'; import { fromJS } from 'immutable'; import AvatarOverlay from '../avatar_overlay'; describe('<AvatarOverlay', () => { const account = fromJS({ username: 'alice', acct: 'alice', display_name: 'Alice', avatar: '/animated/alice.gif',...
ajax/libs/F2/1.2.1/f2.min.js
kood1/cdnjs
/*! F2 - v1.2.1 - 08-08-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...
packages/react-server-examples/bike-share/components/header.js
lidawang/react-server
import React from 'react'; import {logging} from 'react-server'; const logger = logging.getLogger(__LOGGER__); export default () => { logger.info('rendering the header'); return (<h1 className="header">React Server city bikes page</h1>); };
node_modules/bookshelf/browser/deps.js
gwing33/pearlblog
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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
sites/all/modules/jquery_update/replace/jquery/1.8/jquery.js
rdobrynin/tasker
/*! * jQuery JavaScript Library v1.8.2 * 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 * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
app/javascript/mastodon/components/avatar.js
cybrespace/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { autoPlayGif } from '../initial_state'; export default class Avatar extends React.PureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, size: PropType...
src/client.js
kkdubey/gauri
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import ReactDOM from 'react-...
src/index.js
arnoldpaye/react-kib
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import Header from './Header'; import Search from './Search'; //import registerServiceWorker from './registerServiceWorker'; let kibana = ( <div> <Header /> <Search /> </div> ); ReactDOM.render(kibana, document....
ajax/libs/webshim/1.15.1/dev/shims/es6.js
camelotceo/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
Libraries/Text/Text.js
DanielMSchmidt/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...
src/sideEffect/saga/crudResponse.js
epwqice/admin-on-rest-old-man
import { put, takeEvery } from 'redux-saga/effects'; import { push } from 'react-router-redux'; import { CRUD_CREATE_FAILURE, CRUD_CREATE_SUCCESS, CRUD_DELETE_FAILURE, CRUD_DELETE_SUCCESS, CRUD_GET_LIST_FAILURE, CRUD_GET_MANY_FAILURE, CRUD_GET_MANY_REFERENCE_FAILURE, CRUD_GET_ONE_FAILURE...
dokomoforms/static/src/survey/js/__tests__/Application-tests.js
SEL-Columbia/dokomoforms
import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; // jest.autoMockOff(); // a noop function useful for passing into components that require it. var noop = () => {}; describe('Application', () => { var Application; beforeEach(function() { je...
ajax/libs/yui/3.6.0/event-custom-base/event-custom-base.js
ThibWeb/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/components/ui/shape.js
tkachenko1503/v-card
import React from 'react'; import R from 'ramda'; import Rect from '../dom/rect'; import Circle from '../dom/circle'; import Triangle from '../dom/triangle'; import selecteedActions from '../../actions/selecteedActions'; export default class ShapeUI extends React.Component { constructor() { super(); this....
frontend/src/App/AppUpdatedModalContentConnector.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { fetchUpdates } from 'Store/Actions/systemActions'; import AppUpdatedModalContent from './AppUpdatedModalContent'; function createMapStateToProps() { ...
examples/simple/src/modules/NoMatch/index.js
one-market/appson
import React from 'react' const NoMatch = () => <div>não encontrada</div> export default NoMatch
media/system/js/jquery-1.10.2.min.js
site4com/j-gov-2-5
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
frontend/src/components/eois/cells/applicationStatusCell.js
unicef/un-partner-portal
import React from 'react'; import { TableCell } from 'material-ui/Table'; import PropTypes from 'prop-types'; import RejectButton from '../buttons/rejectButton'; import PreselectButton from '../buttons/preselectButton'; import GetConceptNoteButton from '../buttons/getConceptNoteButton'; import GridRow from '../../commo...
src/application.js
liuboshuo/react-native-food
import React from 'react' import {Provider} from 'react-redux' import configureStore from "./store/store"; import Main_Page from './main_page' export default class Application extends React.Component { render (){ // 设置store const store = configureStore(); // 最外层需要 Provider 标签 retur...
ajax/libs/6to5/2.11.1/browser.js
Teino1978-Corp/Teino1978-Corp-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.to5=e()}}(function(){var define,module,exports;return...
index.ios.js
jackz3/yunguba-native
import Root from './src/index'; import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; class YungubaNative extends Component { render() { return ( <View style={styles.container}> <Text style={styles.welcome}> Welcome to React...
ajax/libs/jquery-localScroll/1.2.9/jquery.localScroll.js
voronianski/cdnjs
/*! * jQuery.LocalScroll * Copyright (c) 2007-2013 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html * @author Ariel Flesler * @version 1.2.9 */ ;(function( $ ){ var URI = location.href.replace(...
app/jsx/external_apps/components/AppList.js
djbender/canvas-lms
/* * Copyright (C) 2014 - 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...
__tests__/index.ios.js
fjjk-snacktime/snacktime
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/react-icons/lib/io/arrow-graph-up-right.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]; } }...
app/javascript/mastodon/features/followers/index.js
codl/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import { fetchAccount, fetchFollowers, expandFollowers, } from '../../actions/account...
app/javascript/mastodon/features/notifications/index.js
KnzkDev/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Column from '../../components/column'; import ColumnHeader from '../../components/column_header'; import { expandNotifications, scrollTopNotifications ...
src/components/Sobre.js
wescleymatos/iRango
import React, { Component } from 'react'; import NavBar from './NavBar'; class Sobre extends Component { render() { return ( <div className="row"> <NavBar menu="sobre" /> <div className="col-lg-12"> <p>O projeto <strong>iRango</strong> faz parte da iniciativa Fullstack Academy - ...
ajax/libs/cleave.js/0.4.9/cleave.js
dakshshah96/cdnjs
;(function(window, document, undefined) { 'use strict'; /** * Construct a new Cleave instance by passing the configuration object * * @param {String / HTMLElement} element * @param {Object} opts */ var Cleave = function (element, opts) { var owner = this; if (typeof element === 'string') { owner...
ajax/libs/forerunnerdb/1.3.50/fdb-all.min.js
dannyxx001/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...
packages/react-dom/src/events/__tests__/getEventKey-test.js
maxschmeling/react
/** * Copyright (c) 2016-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. * * @emails react-core */ 'use strict'; // TODO: can we express this test with only public API? var getEventKey = require('../getEventKe...
anubis/ui/components/balloonpad/BalloonPadListItemContainer.js
KawashiroNitori/Anubis
/** * Created by Nitori on 2017/3/26. */ import React from 'react'; import { connect } from 'react-redux'; import i18n from '../../utils/i18n'; import * as util from '../../misc/Util'; const mapStateToProps = (state, ownProps) => ({ ...ownProps, isLoading: state.isPosting || state.isLoading, }); const map...
src/repository/screens/read-me.screen.js
housseindjirdeh/git-point
import React, { Component } from 'react'; import { WebView, StyleSheet, View, Text } from 'react-native'; import { connect } from 'react-redux'; import { ViewContainer, LoadingContainer } from 'components'; import { normalize } from 'config'; import { getReadMe } from '../repository.action'; const mapStateToProps = s...
renderer/vectors/pause.js
wulkano/kap
import React from 'react'; import Svg from './svg'; const PauseIcon = props => ( <Svg {...props}> <path d="M14,19H18V5H14M6,19H10V5H6V19Z"/> </Svg> ); export default PauseIcon;
src/svg-icons/device/gps-not-fixed.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceGpsNotFixed = (props) => ( <SvgIcon {...props}> <path d="M20.94 11c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7...
components/InfoCard.js
jepz20/coffee_tracker
import Paper from 'material-ui/Paper'; import React from 'react'; import { connect } from 'react-redux'; import * as actions from '../actions'; const InfoCard = props => { const { title } = props; const style = { height: '150px', width: 'calc(100% - 40px)', margin: 20, display: 'inline-block', ...
src/components/App.js
mintlin/foreman
import React, { Component } from 'react'; import '../css/App.css'; //import PlanPage from './components/planPage'; import Header from './header'; import DocoDB from '../data/documentDB'; import Toolbar from './toolbar'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import Category from './category...
app/javascript/packs/client.js
legislated/legislated-api
// @flow import '@/styles/hydrate' import React from 'react' import { renderReact } from 'hypernova-react' import { BrowserRouter } from 'react-router-dom' import { ScrollContext } from 'react-router-scroll-4' import { App } from '../src/App' export default renderReact('client', () => ( <BrowserRouter> <ScrollCo...
openex-front/src/public/components/login/LoginForm.js
Luatix/OpenEx
import React from 'react'; import * as PropTypes from 'prop-types'; import { Form } from 'react-final-form'; import Button from '@mui/material/Button'; import { TextField } from '../../../components/TextField'; import inject18n from '../../../components/i18n'; const LoginForm = (props) => { const { t, onSubmit } = p...
app/components/H3/index.js
itimofeev/hustledb-ui
import React from 'react'; function H3(props) { return ( <h3 {...props} /> ); } export default H3;
ajax/libs/react-dropzone/4.2.9/index.js
extend1994/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],t):"object"==typeof exports?exports.Dropzone=t(require("react"),require("prop-types")):e.Dropzone=t(e.React,e.PropTypes)}(this,fun...
src/index.js
rbose85/redux-reddit-tutorial
import './styles.css' import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import configureStore from './configureStore' import AsyncApp from './components/AsyncApp' (() => { const store = configureStore() const app = document.createElement('div') document...
actor-apps/app-web/src/app/components/dialog/TypingSection.react.js
liuzwei/actor-platform
import React from 'react'; import { PureRenderMixin } from 'react/addons'; import classNames from 'classnames'; import DialogStore from 'stores/DialogStore'; export default React.createClass({ mixins: [PureRenderMixin], getInitialState() { return { typing: null, show: false }; }, compon...
test/RowSpec.js
justinanastos/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Row from '../src/Row'; describe('Row', function () { it('uses "div" by default', function () { let instance = ReactTestUtils.renderIntoDocument( <Row /> ); assert.equal(React.findDOMNode(instance).nodeName, 'D...
ajax/libs/zeroclipboard/2.1.6/ZeroClipboard.js
mrehayden1/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.1.6 */ (function(window, undefined) { "use strict";...
examples/relay-treasurehunt/js/components/App.js
Aweary/relay
/** * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNES...
ajax/libs/react/0.5.2/react.js
caitp/cdnjs
/** * React v0.5.2 */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports; return (function e(t,...
src/components/topic/header.js
nickhsine/twreporter-react
import { Link } from 'react-router-dom' import mq from '../../utils/media-query' import React from 'react' import SearchBox from './search-box' import styled from 'styled-components' import WhiteDonationIcon from '../../../static/asset/white-donation-icon.svg' import WhiteLogoIcon from '../../../static/asset/logo-white...
assets/search-view/profile-view/components/BasicDetails.js
janta-devs/nyumbani
import React, { Component } from 'react'; class BasicDetails extends Component{ render() { var userInfo = this.props.data; return ( <div className="card" id="profile-employment"> <header className="employment-header"> <h2> Basic Details </h2...
app/javascript/mastodon/features/ui/components/list_panel.js
tootsuite/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { fetchLists } from 'mastodon/actions/lists'; import { connect } from 'react-redux'; import { createSelector } from 'rese...
ajax/libs/analytics.js/1.5.2/analytics.min.js
francescoagati/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
ajax/libs/webshim/1.13.2-RC2/dev/shims/moxie/js/moxie.js
StoneCypher/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
ajax/libs/react-instantsearch/4.3.0-beta.0/Connectors.js
sashberd/cdnjs
/*! ReactInstantSearch 4.3.0-beta.0 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], facto...
src/components/GuidesVerticalSpacing.js
dominic-blain/viper-visualizer
import React from 'react'; class GuidesVerticalSpacing extends React.Component { render() { const tokens = this.props.tokens; var guides = []; tokens.map((tokenName, index) => { const computedClass = 'guide '+ tokenName; guides.push( <div key={index} className={computedClass}> <div className="ve...