path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
docs/components/Changelog/index.js
WEACOMRU/react-plain-calendar
import React from 'react' import InlineCode from '../InlineCode' import styles from './styles.css' const Changelog = () => ( <div className={styles.changelog}> <h3 className={styles.changelogTitle}>0.1.0</h3> <ul className={styles.changelogList}> <li className={styles.changelogItem}> <InlineCod...
src/components/ButtonFlatSecondary.js
mikebarkmin/gestyled
import React from 'react'; import { withTheme } from 'styled-components'; import ButtonFlat from './ButtonFlat'; /** * See ButtonFlat for possible props. */ const ButtonFlatSecondary = props => { const { theme } = props; const color = theme.colors.secondary; return <ButtonFlat color={color} {...props} />; }; ...
src/svg-icons/maps/directions-railway.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsDirectionsRailway = (props) => ( <SvgIcon {...props}> <path d="M4 15.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V5c0-3.5-3.58-4-8-4s-8 .5-8 4v10.5zm8 1.5c-1.1 0-2-.9-2-2s.9-2 2...
test/Scrollbars/scrolling.js
malte-wessel/react-custom-scrollbars
import { Scrollbars } from 'react-custom-scrollbars'; import { render, unmountComponentAtNode } from 'react-dom'; import React from 'react'; export default function createTests(scrollbarWidth, envScrollbarWidth) { let node; beforeEach(() => { node = document.createElement('div'); document.body....
docs/src/app/components/pages/components/CircularProgress/ExampleSimple.js
verdan/material-ui
import React from 'react'; import CircularProgress from 'material-ui/CircularProgress'; const CircularProgressExampleSimple = () => ( <div> <CircularProgress /> <CircularProgress size={60} thickness={7} /> <CircularProgress size={80} thickness={5} /> </div> ); export default CircularProgressExampleSim...
static/node_modules/material-ui/svg-icons/image/photo-album.js
unmeshpro/easyPost
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
demos/demo/src/components/Project/index.js
FWeinb/cerebral
import React from 'react' import {connect} from 'cerebral/react' import {state} from 'cerebral/tags' import ProjectCard from './card' import ProjectForm from './form' /** Note: we use a separate 'card' component so that we do * not compute the 'projectWithDetails' computed when the project * is new (isSelected but no...
src/App.js
dronesmith/Dronesmith-Ground-Control
import React, { Component } from 'react'; import Map from './Map'; // App component class App extends Component { render() { return ( <Map /> ); } } export default App;
src/components/app.js
s89206x/WebpackSemple_map
import React, { Component } from 'react'; import SelectBar from './select_bar'; import GoogleMap from './google_map'; import Directions from './directions'; export default class App extends Component { constructor(props){ super(props) } render() { return ( <div> <SelectBar /> <br>...
webroot/jquery-1.11.2.min.js
jgordon510/60SecondSweep
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
ajax/libs/react-slick/0.6.8/react-slick.min.js
WebReflection/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Slider=e(require("react")):t.Slider=e(t.React)}(this,function(t){return function(t){function e(s){if(i[s])return i[s].exports;var...
website/src/theme/VersionedCodeBlock.js
facebook/litho
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 app...
tp-react/src/Test.js
detienne11/imie
import React, { Component } from 'react'; class Test extends Component { constructor(props){ super(props); this.state = { counter :0 }; } handleClickButton() { console.log("Click",this); this.setState({ counter : this.state.counter +1 }); } render() { return ( <div> <span ...
src/client/routes.js
MartinPavlik/este
// import Examples from './examples/page.react'; import App from './app/app.react'; import Home from './home/index.react'; import Login from './auth/index.react'; import Me from './me/index.react'; import NotFound from './components/notfound.react'; import React from 'react'; import Todos from './todos/index.react'; im...
src/assets/scripts/components/Home.js
curlybracesco/pablo
import React from 'react'; export default () => { return ( <section> <h1>Welcome to Pablo</h1> </section> ); };
ajax/libs/react-native-web/0.14.2/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...
node_modules/grunt-svgmin/node_modules/svgo/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jquery.js
kamilkoterba/svg-icons-example
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/controller/Test1Example.js
dazhifu/react-touch-ui
import React from 'react'; import { NavBar } from "../components/NavBar.js" import { View } from "../components/View.js" import { VLayout} from "../components/VLayout.js" import { Container} from "../components/Container.js" import { Button } from "../components/Button.js" import { Test2Example } f...
src/renderers/shared/reconciler/__tests__/ReactCompositeComponent-test.js
huanglp47/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
src/routes/content/media/detail/index.js
muidea/magicSite
import React from 'react' import PropTypes from 'prop-types' import { Link } from 'dva/router' import { connect } from 'dva' import { Button } from 'antd' import styles from './index.less' import { EditableTagGroup } from '../../../../components' const Detail = ({ mediaDetail }) => { const { name, fileUrl, expiratio...
ajax/libs/jquery/1.10.2/jquery.js
DeuxHuitHuit/cdnjs
/*! * jQuery JavaScript Library v1.10.2 * 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-07-03T13:48Z */ (function( window, undefined ) { // ...
fields/types/password/PasswordFilter.js
Pop-Code/keystone
import React from 'react'; import { SegmentedControl } from '../../../admin/client/App/elemental'; const EXISTS_OPTIONS = [ { label: 'Is Set', value: true }, { label: 'Is NOT Set', value: false }, ]; function getDefaultValue () { return { exists: true, }; } var PasswordFilter = React.createClass({ propTypes:...
node_modules/socket.io-adapter/node_modules/debug/browser.js
Acerocks22/DAN
/** * This is the web browser implementation of `debug()`. * * Expose `debug()` as the module. */ exports = module.exports = require('./debug'); exports.log = log; exports.formatArgs = formatArgs; exports.save = save; exports.load = load; exports.useColors = useColors; exports.storage = 'undefined' != typeof chro...
packages/material-ui-icons/src/BackupOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.5...
src/svg-icons/communication/stay-primary-portrait.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationStayPrimaryPortrait = (props) => ( <SvgIcon {...props}> <path d="M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/> </SvgIcon> );...
Realization/frontend/czechidm-core/src/content/cas/CasLoginResponse.js
bcvsolutions/CzechIdMng
import React from 'react'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; import _ from 'lodash'; // import * as Basic from '../../components/basic'; import { SecurityManager } from '../../redux'; // const securityManager = new SecurityManager(); /** * Cas - process login response. * * @a...
client/src/main.js
akadouri/QuackCon-70-21
import React, { Component } from 'react'; var ReactDOM = require('react-dom') import App from './App'; ReactDOM.render(<App />, document.getElementById('content'));
ajax/libs/extjs/4.2.1/src/layout/container/Card.js
hibrahimsafak/cdnjs
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
src/svg-icons/action/assignment-ind.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssignmentInd = (props) => ( <SvgIcon {...props}> <path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 ...
src/components/ErrorDialog.js
dkadrios/zendrum-stompblock-client
import React from 'react' import PropTypes from 'prop-types' import { Button, DialogActions, DialogContent, DialogContentText, DialogTitle } from '@material-ui/core' import Dialog from './Dialog' const ErrorDialog = ({ errorMessage, errorVisible, dismissError }) => ( <Dialog open={errorVisible} onClose={dism...
test/BreadcrumbSpec.js
HPate-Riptide/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react-addons-test-utils'; import ReactDOM from 'react-dom'; import Breadcrumb from '../src/Breadcrumb'; describe('<Breadcrumb>', () => { it('Should apply id to the wrapper ol element', () => { let instance = ReactTestUtils.renderIntoDocument( <Breadcr...
www/src/components/Layout.js
tsuyoshiwada/react-drip-form
import React from 'react'; import Link from 'gatsby-link'; import styled from 'styled-components'; import { Container } from 'react-lime-grid'; import { Helmet, Navigation, Footer } from '../components/'; import { viewport } from '../constants'; const Content = styled.div` margin: 110px auto 0; & h1 { margin...
test/test_helper.js
tareq-rar/reduxReact
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/pages/blog.js
simpaa/s-andersson-site
import React from 'react'; import Helmet from 'react-helmet'; import TextCard from '../components/TextCard'; import LinkButton from '../components/LinkButton'; export default function Index({ data }) { const { edges: posts } = data.allMarkdownRemark; return ( <div className="blog-posts"> {posts ...
docs/app/Examples/collections/Breadcrumb/Types/BreadcrumbPropExample.js
jamiehill/stardust
import React from 'react' import { Breadcrumb } from 'stardust' const sections = [ { text: 'Home', link: true }, { text: 'Store', link: true }, { text: 'T-Shirt', active: true }, ] const BreadcrumbPropExample = () => ( <Breadcrumb icon='right angle' sections={sections} /> ) export default BreadcrumbPropExamp...
node_modules/react-native/local-cli/templates/HelloWorld/__tests__/index.android.js
TrungSpy/React-Native-SampleProject
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
packages/node_modules/@webex/widget-meetings/src/components/ActiveMeeting.js
adamweeks/react-ciscospark-1
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Video from '@webex/react-component-video'; import ButtonControls from '@webex/react-component-button-controls'; import styles from './ActiveMeeting.css'; const propTypes = { localVideoStream: PropTypes.object...
src/components/Feedback/Feedback.js
como-quesito/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import styles from './Feedback.css'; import withStyles from '../../decorators/withStyles'; @withStyles(styles) class Feedback extends Component { render() { return ( <div className="Feedback...
webapp/test/app-tests/components/wineSearch.spec.js
Kaidjin/my-favourite-wine
/* eslint-env mocha */ import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import sinon from 'sinon'; import { WineSearchResult } from '../../../src/components'; import { changeSearchString } from '../../../src/actions'; import WineSearch from '../../../src/components/WineSe...
ee/client/audit/AuditPage.stories.js
iiet/iiet-chat
import React from 'react'; import AuditPage from './AuditPage'; export default { title: 'ee/Audit', component: AuditPage, }; export const Default = () => <AuditPage />;
client/src/Components/UserProfile/ClientEditForms/ClientEducationForm.js
teamcrux/EmploymentOptions
import React from 'react'; import { Field } from 'redux-form'; const renderErrField = ({ input, label, type, meta: { touched, error } }) => ( <div> <div className="err-output"> <input {...input} placeholder={label} type={type}/> {touched && error && <span>{error}</span>} </div> </div> ) const ...
packages/material-ui-icons/src/TurnedInNot.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment> , 'TurnedInNot');
ui/src/main/js/components/__tests__/UpdateStatus-test.js
medallia/aurora
import React from 'react'; import { shallow } from 'enzyme'; import UpdateStatus from '../UpdateStatus'; import UpdateTime from '../UpdateTime'; import { builderWithStatus } from 'test-utils/UpdateBuilders'; describe('UpdateStatus', () => { it('Should show UpdateTime when update terminal', () => { const update...
test/integration/production/components/welcome.js
arunoda/next.js
import React from 'react' export default class Welcome extends React.Component { state = { name: null } componentDidMount () { const { name } = this.props this.setState({ name }) } render () { const { name } = this.state if (!name) return null return ( <p>Welcome, {name}</p> ) ...
docs/app/Examples/views/Statistic/Content/StatisticExampleProps.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Statistic } from 'semantic-ui-react' const items = [ { label: 'Saves', value: '22' }, { label: 'Signups', text: true, value: 'Three Thousand' }, { label: 'Flights', value: '5' }, { label: 'Team Members', value: '42' }, ] const StatisticExampleProps = () => ( <div> <Sta...
src/components/Navbar.js
jamez14/jams-tweeter
import React, { Component } from 'react'; export class Navbar extends Component { render() { return ( <nav className="navbar navbar-fixed-top navbar-dark bg-primary"> <button className="navbar-toggler hidden-sm-up" type="button"> &#9776; </button> <div className="collapse ...
libs/jquery-min.js
nicolabortignon/Cannes2015Client
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
src/app.js
stuartquin/bullets
import React, { Component } from 'react'; export default class App extends Component { render() { return this.props.children; } }
Example/Pods/React/node_modules/react-tools/src/browser/ui/dom/components/__tests__/ReactDOMButton-test.js
manicakes/ArticleView
/** * 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...
src/svg-icons/maps/local-phone.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalPhone = (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-17-...
src/parser/paladin/protection/CONFIG.js
fyruna/WoWAnalyzer
import React from 'react'; import { emallson } from 'CONTRIBUTORS'; import SPECS from 'game/SPECS'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import { TooltipElement } from 'common/Tooltip'; import retryingPromise from 'common/retryingPromise'; import Warning from 'interface/common/...
client/scripts/components/dynamic-icons/gripper/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program 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, either version 3 of the Lic...
assets/jqwidgets/demos/react/app/datatable/validation/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDataTable from '../../../jqwidgets-react/react_jqxdatatable.js'; class App extends React.Component { render() { let source = { dataFields: [ { name: 'OrderID', type: 'int' }, ...
src/svg-icons/social/plus-one.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialPlusOne = (props) => ( <SvgIcon {...props}> <path d="M10 8H8v4H4v2h4v4h2v-4h4v-2h-4zm4.5-1.92V7.9l2.5-.5V18h2V5z"/> </SvgIcon> ); SocialPlusOne = pure(SocialPlusOne); SocialPlusOne.displayName = 'Social...
node_modules/react-bootstrap/es/CarouselItem.js
GregSantulli/react-drum-sequencer
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 ...
ajax/libs/rxjs/2.3.19/rx.lite.compat.js
pcarrier/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...
sample in bootstrap v2/jquery/jquery-1.8.3.min.js
ljx213101212/bootstrap-datetimepicker
/*! 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===...
app/assets/js/client.js
nesfe/electron-LAN-chat
import React from 'react'; import { message } from 'antd'; let net = require('net'); let port = 19964; const clients = { send: (host, val) => { let client = new net.Socket(); client.setEncoding('binary'); client.connect(port, host, () => { client.write(JSON.stringify(val)); client.end(); }...
ajax/libs/video.js/4.11.4/video.dev.js
luanlmd/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
examples/withLazyReducer-demo/src/modules/syncCounter/SyncCounter.js
omodule/lazy-reducer
import React from 'react'; import { connect } from 'react-redux'; import { increase, decrease } from './reducer'; const SyncCounter = props => { return ( <div style={{ margin: '12px' }}> syncCounter result: <span style={{ fontWeight: 'bold' }}>{props.syncCounter}</span> <div> ...
src/ui/recipe/EditRecipePage.js
philiplopez/webappjourney
import React from 'react' import Helmet from 'react-helmet' import Link from 'react-router/lib/Link' export default ({params: {recipeId}}) => ( <div> <Helmet title='Edit Recipe' /> <p>We should edit recipe with ID {recipeId} here...</p> <Link to={`/recipe/${recipeId}`}>View this Recipe</Link> </div> )
js/jqwidgets/demos/react/app/datetimeinput/keyboardnavigation/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDateTimeInput from '../../../jqwidgets-react/react_jqxdatetimeinput.js'; class App extends React.Component { componentDidMount() { this.refs.myDateTimeInput.focus(); } render() { return ( <div> ...
ajax/libs/yui/3.14.1/datatable-core/datatable-core-coverage.js
gereon/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-core/datatable-core.js']) { __coverage__['build/datatable-core/datatable-core.js'] = {"path":"build/datatable-core/datatable-core.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13"...
pages/api/table-cell.js
AndriusBil/material-ui
// @flow import React from 'react'; import withRoot from 'docs/src/modules/components/withRoot'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './table-cell.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default withRoot(Page);
assets/js/jquery.min.js
mrrobotteam/employeemanagement
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
node_modules/semantic-ui-react/dist/es/collections/Breadcrumb/Breadcrumb.js
mowbell/clickdelivery-fed-test
import _extends from 'babel-runtime/helpers/extends'; import _without from 'lodash/without'; import _each from 'lodash/each'; import _isNil from 'lodash/isNil'; import cx from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import { customPropTypes, getUnhandledProps, getElementType, META...
ajax/libs/redux-little-router/14.2.3/redux-little-router.min.js
cdnjs/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxLittleRouter=e(require("react")):t.ReduxLittleRouter=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])r...
src/components/ZvuiModalTitle.js
sylvesteraswin/react-zvui-modal
import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import PropTypes from 'prop-types'; import cn from 'classnames'; class ZvuiModalTitle extends Component { static propTypes = { modalPrefix: PropTypes.string, }; static contextTypes = { getDefaultPrefix: PropTypes.func, }; ...
ajax/libs/forerunnerdb/1.4.29/fdb-core.js
x112358/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/Client.js
jsmankoo/SPATemplate
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import {Provider} from 'react-redux'; import Store from './Store/Store.js'; var Styles = require('./Stylus/App.styl'); ReactDOM.render( <Provider store={Store}> <App /> </Provider>, document.getElementById('root') );
node_modules/react-icons/md/trending-down.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdTrendingDown = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m26.6 30l3.9-3.8-8.2-8.2-6.6 6.7-12.3-12.4 2.3-2.3 10 10 6.6-6.6 10.5 10.4 3.8-3.8v10h-10z"/></g> </Icon> ) export default MdTrendingDown
q-a11y-training-demo/src/components/react-aria-live/AnnouncerHOC.js
AlmeroSteyn/Q-A11y-Training
import PropTypes from 'prop-types'; import React, { Component } from 'react'; export default InnerComponent => class extends Component { state = { message1: '', message2: '', }; setAlternate = false; static propTypes = { message: PropTypes.string.isRequired, }; componentW...
T3/node_modules/couchdb-model/node_modules/follow/test/follow.js
LucasAntognoni/SCC0219
var tap = require('tap') , test = tap.test , util = require('util') , request = require('request') var couch = require('./couch') , follow = require('../api') couch.setup(test) test('Follow API', function(t) { var i = 0 , saw = {} var feed = follow(couch.DB, function(er, change) { t.is(this, fe...
src/pages/page-2.js
narendrasoni1989/react-site
import React from 'react' import Link from 'gatsby-link' const SecondPage = () => ( <div> <h1>Hi from the second page</h1> <p>Welcome to page 2</p> <Link to="/">Go back to the homepage</Link> </div> ) export default SecondPage
src/parser/priest/discipline/modules/features/AtonementHealingBreakdown.js
fyruna/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import Toggle from 'react-toggle'; import Icon from 'common/Icon'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import { formatNumber, formatPercentage } from 'common/format'; import { TooltipElement } from 'common/Tooltip'...
ajax/libs/cyclejs-dom/8.0.0-rc6/cycle-dom.js
AMoo-Miki/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.CycleDOM = f()...
nattr/src/scripts/index.js
natotthomer/nattr
import React from 'react' import ReactDOM from 'react-dom' import Root from './components/root' import configureStore from './store/store' import getRoutes from './components/routes' import '../styles/main.scss' switch (document.readyState) { case 'interactive': case 'complete': initializeApp() break c...
src/Pagination.js
rapilabs/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import PaginationButton from './PaginationButton'; const Pagination = React.createClass({ mixins: [BootstrapMixin], propTypes: { activePage: React.PropTypes.number, items: React.PropTypes.number,...
src/routes/home/index.js
donal-crotty/fuzzy-telegram
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 Home from './Home'; // i...
test/components/Counter.spec.js
robot-head/LaserDream
/* eslint no-unused-expressions: 0 */ import { expect } from 'chai'; import { spy } from 'sinon'; import React from 'react'; import { renderIntoDocument, scryRenderedDOMComponentsWithTag, findRenderedDOMComponentWithClass, Simulate } from 'react-addons-test-utils'; import Counter from '../../app/components/Coun...
customView/node_modules/react-native/Libraries/BugReporting/getReactData.js
TheKingOfNorway/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...
node_modules/bs-recipes/recipes/gulp.jade/gulpfile.js
ksullivan96/case-challenge
var gulp = require('gulp'); var browserSync = require('browser-sync'); var sass = require('gulp-sass'); var jade = require('gulp-jade'); var reload = browserSync.reload; /** * Compile jade files into HTML */ gulp.task('templates', function() { var YOUR_LOCALS = {}; return gulp.src...
src/optionspage/extramaprefs/NewExtraMapRefsModal.js
emfmesquita/beyondhelp
import { Button, FormControl, FormGroup, Modal } from 'react-bootstrap'; import React, { Component } from 'react'; import BhModal from '../../modals/BhModal'; import FieldService from '../../services/FieldService'; import TextField from '../../forms/TextField'; class NewExtraMapRefsModal extends Component { const...
app/jsx/help_dialog/CreateTicketForm.js
venturehive/canvas-lms
/* * Copyright (C) 2016 - 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...
www/touch/src/data/proxy/Ajax.js
hackathon-3d/team-gryffindor-repo
/** * @author Ed Spencer * @aside guide proxies * * AjaxProxy is one of the most widely-used ways of getting data into your application. It uses AJAX * requests to load data from the server, usually to be placed into a {@link Ext.data.Store Store}. * Let's take a look at a typical setup. Here we're going to set u...
classic/src/scenes/monitor/src/Scenes/Provider.js
wavebox/waveboxapp
import React from 'react' import shallowCompare from 'react-addons-shallow-compare' import { MuiThemeProvider } from '@material-ui/core/styles' import MaterialThemeOnly from 'wbui/Themes/MaterialThemeOnly' import MonitorScene from './MonitorScene' export default class Provider extends React.Component { /* **********...
src/routes/adminModify/index.js
oct16/Blog-FE
import React from 'react'; import Layout from 'components/Layout'; const title = 'Admin Modify'; const isAdmin = false; export default { path: '/admin/modify/:id', async action({ fetch, params }) { const AdminModify = await require.ensure([], require => require('./AdminModify').default, 'AdminModify') con...
app/node_modules/react-router/es6/IndexLink.js
lycha/masters-thesis
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]; } } } return target; }; import React from 'react'; import Link from './Link'; /** *...
src/src/components/SideBar/index.js
chaitanya1375/Myprojects
import React, { Component } from 'react'; import { Link, withRouter } from 'react-router-dom'; import { connect } from 'react-redux'; import UserInfo from './UserInfo'; import Nav from './Nav'; class SideBar extends Component { state = {}; render() { let { location, backgroundColor, enableB...
src/App/views/Home/index.js
findjanice/node-api-server
/*** @jsx React.DOM */ import React from 'react'; import AppStore from '../../flux/stores/AppStore'; import AppActions from '../../flux/actions/AppActions'; import TrainerTable from '../../shared/TrainerTable'; import PokemonTable from '../../shared/PokemonTable'; var Home = React.createClass({ getInitialState: f...
src/svg-icons/image/flash-off.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlashOff = (props) => ( <SvgIcon {...props}> <path d="M3.27 3L2 4.27l5 5V13h3v9l3.58-6.14L17.73 20 19 18.73 3.27 3zM17 10h-4l4-8H7v2.18l8.46 8.46L17 10z"/> </SvgIcon> ); ImageFlashOff = pure(ImageFlashOf...
lib/components/App/index.js
devxleo/typerace
import React from 'react'; import { Row, Col } from 'antd'; import Playground from '../Playground'; const App = function () { return ( <div> <Row type="flex" justify="center"> <Col span="8"><Playground /></Col> </Row> </div> ); }; export default App;
core/dslmcode/shared/drupal-7.x/libraries/recorder.js/test/qunit/jquery.min.js
cgldevel/elmsln
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
src/ui/pages/common/settings/General.js
dhruv-kumar-jha/productivity-frontend
'use strict'; import React, { Component } from 'react'; import Heading from 'app/components/common/Heading'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import translate from 'app/global/helper/translate'; import { graphql } from 'react-apollo'; import GetCurrentUserQuery from 'app/grap...
src/components/Sidebar/Search.js
zksailor534/react-adminlte
/* eslint-disable react/jsx-filename-extension */ import React from 'react'; import styled from 'styled-components'; import { fontFamilyBase, fontSizeBase, fontWeightBase, lineHeightBase, } from '../../styles/variables'; const StyledIcon = styled.i` cursor: pointer; -webkit-touch-callout: none; /* iOS Saf...
src/js/components/InfiniteScroll/stories/Show.js
grommet/grommet
import React from 'react'; import { Box, InfiniteScroll, Text } from 'grommet'; const allItems = Array(2000) .fill() .map((_, i) => `item ${i + 1}`); const Example = (props) => ( // Uncomment <Grommet> lines when using outside of storybook // <Grommet theme={...}> <Box> <InfiniteScroll items={allItems}...
ajax/libs/rxjs/2.3.23/rx.all.compat.js
wmkcc/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...
modules/views/js/dependent.js
hampelm/SID-Partner-Application
// $Id: dependent.js,v 1.9.2.1 2009/11/18 02:43:47 merlinofchaos Exp $ /** * @file dependent.js * * Written by dmitrig01 (Dmitri Gaskin) for Views; this provides dependent * visibility for form items in Views' ajax forms. * * To your $form item definition add: * - '#process' => array('views_process_dependency'),...
frontend/src/Movie/Index/Posters/Options/MovieIndexPosterOptionsModal.js
geogolem/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import Modal from 'Components/Modal/Modal'; import MovieIndexPosterOptionsModalContentConnector from './MovieIndexPosterOptionsModalContentConnector'; function MovieIndexPosterOptionsModal({ isOpen, onModalClose, ...otherProps }) { return ( <Modal ...
ajax/libs/backbone-react-component/0.6.5/backbone-react-component.js
dc-js/cdnjs
// Backbone React Component // ======================== // // Backbone.React.Component v0.6.5 // // (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com> // Backbone.React.Component can be freely distributed under the MIT license. // // // `Backbone.React.Component` is a React.Component wrapper that serve...