path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/forerunnerdb/1.3.626/fdb-core.js
extend1994/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...
ajax/libs/jquery.fancytree/2.14.0/jquery.fancytree-all.js
viskin/cdnjs
/*! * jquery.fancytree.js * Tree view control with support for lazy loading and much more. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.14.0 * @date 2015...
src/components/video/inboard.js
motion123/mbookmakerUI
/** * Created by tomihei on 17/03/03. */ import React from 'react'; import {grey500, darkBlack, lightBlack} from 'material-ui/styles/colors'; import FlatButton from 'material-ui/FlatButton'; import BoardAddCount from 'material-ui/svg-icons/content/add-circle-outline'; import AddVideoUser from '../const/addedVideoUser...
react-flux-mui/js/material-ui/docs/src/app/components/pages/components/LinearProgress/Page.js
pbogdan/react-flux-mui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import linearProgressReadmeText from './README'; import LinearProgressExampleSim...
views/blocks/Likes/LikesContainer.js
FairTex/team5
import React from 'react'; import sender from './../Sender/Sender'; import CommentsPoster from './../comments/CommentsPoster.js'; import Likes from './Likes'; const LikesWithSending = sender(Likes); export default class LikesContainer extends React.Component { constructor(props) { super(props); t...
packages/accounts-ui-unstyled/login_buttons_dialogs.js
steedos/meteor
// for convenience var loginButtonsSession = Accounts._loginButtonsSession; // since we don't want to pass around the callback that we get from our event // handlers, we just make it a variable for the whole file var doneCallback; Accounts.onResetPasswordLink(function (token, done) { loginButtonsSession.set("resetP...
examples/03 - Basic auth/components/App.js
gilesvangruisen/browserify-react-live
import React from 'react'; import auth from '../vendor/auth'; import Router from 'react-router'; var { RouteHandler, Link } = Router; export default class App extends React.Component { state = { loggedIn: auth.loggedIn(), } setStateOnAuth(loggedIn) { this.setState({ loggedIn: loggedIn, }); ...
ajax/libs/swagger-ui/3.9.2/swagger-ui-standalone-preset.js
sashberd/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.SwaggerUIStandalonePreset=e():t.SwaggerUIStandalonePreset=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={...
news/routes/index.js
otavioarc/freeCodeCamp
import React from 'react'; import { Route, Redirect } from 'react-router-dom'; import Show from './Show'; import Featured from './Featured'; export const routes = [ <Route component={Featured} exact={true} path='/' />, <Route exact={true} path='/:username' render={() => <Redirect to='/' />} />, <Route component...
webpack.config.js
j-der/pickmeup-ui
var path = require('path'); var webpack = require('webpack'); module.exports = { devtool: 'eval', entry: [ 'webpack-dev-server/client?http://0.0.0.0:' + process.env['NODE_PORT'], 'webpack/hot/only-dev-server', './src/index' ], output: { path: path.join(__dirname, 'dist'), filename: 'bundle....
node_modules/react-bootstrap/es/InputGroupAddon.js
Technaesthetic/ua-tools
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 ...
src/svg-icons/notification/vibration.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationVibration = (props) => ( <SvgIcon {...props}> <path d="M0 15h2V9H0v6zm3 2h2V7H3v10zm19-8v6h2V9h-2zm-3 8h2V7h-2v10zM16.5 3h-9C6.67 3 6 3.67 6 4.5v15c0 .83.67 1.5 1.5 1.5h9c.83 0 1.5-.67 1.5-1.5v-15c0...
docs/app/Examples/modules/Modal/Types/ModalExampleModal.js
ben174/Semantic-UI-React
import React from 'react' import { Button, Header, Image, Modal } from 'semantic-ui-react' const ModalModalExample = () => ( <Modal trigger={<Button>Show Modal</Button>}> <Modal.Header>Select a Photo</Modal.Header> <Modal.Content image> <Image wrapped size='medium' src='http://semantic-ui.com/images/av...
webpack.config.js
gokulraj-ece/React-youtube
module.exports = { entry: [ './src/index.js' ], output: { path: __dirname, publicPath: '/', filename: 'bundle.js' }, module: { loaders: [{ exclude: /node_modules/, loader: 'babel', query: { presets: ['react', 'es2015', 'stage-1'] } }] }, resolve: { ...
packages/material-ui-icons/src/ChromeReaderModeTwoTone.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 6h8v13H3z" opacity=".3" /><path d="M21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM11 19H3V6h8v13zm10 0h-8V6h...
react/features/base/modal/components/JitsiScreenWebView.js
jitsi/jitsi-meet
// @flow import React from 'react'; import WebView from 'react-native-webview'; import JitsiScreen from './JitsiScreen'; type Props = { /** * The URL to display. */ source: string, /** * The component's external style. */ style: Object } const JitsiScreenWebView = ({ source, st...
ajax/libs/engine.io-client/1.8.2/engine.io.js
wout/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 if(typeof exports === 'object') exports["eio"] = factory(); else root["eio"] = f...
packages/react-jsx-highcharts/test/components/Subtitle/Subtitle.spec.js
AlexMayants/react-jsx-highcharts
import React from 'react'; import { mount } from 'enzyme'; import Subtitle from '../../../src/components/Subtitle/Subtitle'; describe('<Subtitle />', function () { beforeEach(function () { this.setTitle = sinon.spy(); }); describe('when mounted', function () { it('adds a subtitle using the Highcharts s...
test/specs/elements/Loader/Loader-test.js
koenvg/Semantic-UI-React
import faker from 'faker' import React from 'react' import Loader from 'src/elements/Loader/Loader' import { SUI } from 'src/lib' import * as common from 'test/specs/commonTests' describe('Loader', () => { common.isConformant(Loader) common.hasUIClassName(Loader) common.rendersChildren(Loader) common.propKey...
packages/material-ui-icons/src/ViewAgendaRounded.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="M20 13H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm0-10H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1...
pages/welcome.js
turntwogg/final-round
import React from 'react'; import Page from '../components/Page'; import PageHeader from '../components/PageHeader'; import PageContent from '../components/PageContent'; import WelcomePanel from '../components/WelcomePanel'; const Welcome = () => { return ( <Page name="welcome" size="medium"> <PageHeader ...
src/components/pagination-numbers/index.js
jszgb/jszgb.github.io
import React from 'react' import { Link, Container } from './styles' const MAX_NUMS = 5 const renderNumberItem = (pageNum, activePage) => <Link key={pageNum} active={pageNum === activePage} to={`slides/${pageNum}`}>{pageNum}</Link> const paginate = (activePage, pageCount) => { const pages = Array(pageCount).fill(...
src/Controls.js
SilverNemesis/fcc-pomodoro
import React from 'react' class Controls extends React.Component { constructor(props) { super(props) this.onPause = this.onPause.bind(this) this.onReset = this.onReset.bind(this) } onPause(event) { this.props.onPause() } onReset(event) { this.props.onReset...
files/rxjs/2.4.9/rx.js
korusdipl/jsdelivr
// 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 }; v...
src/svg-icons/av/recent-actors.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvRecentActors = (props) => ( <SvgIcon {...props}> <path d="M21 5v14h2V5h-2zm-4 14h2V5h-2v14zM14 5H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM8 7.75c1.24 0 2.25 1.01 2.25 2.25S9....
src/svg-icons/action/opacity.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionOpacity = (props) => ( <SvgIcon {...props}> <path d="M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c....
node_modules/material-ui/svg-icons/image/rotate-left.js
millerman86/CouponProject
'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...
examples/huge-apps/routes/Grades/components/Grades.js
mattkrick/react-router
import React from 'react' class Grades extends React.Component { render() { return ( <div> <h2>Grades</h2> </div> ) } } module.exports = Grades
react/react-antd-mobx-craco-seed/src/index.js
qingzi-king/seed-projects
/* * @Descripttion: * @Author: qingzi.wang * @Date: 2020-06-08 18:03:19 */ import React from 'react'; import ReactDOM from 'react-dom'; import './assets/css/app.less'; import './routes/global'; import Routes from './routes/index'; import * as serviceWorker from './serviceWorker'; import { ConfigProvider } from 'a...
test/ListGroupItemSpec.js
herojobs/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ListGroupItem from '../src/ListGroupItem'; describe('ListGroupItem', function () { it('Should output a "span" with the class "list-group-item"', function () { let instance = ReactTestUtils.renderIntoDocument( <ListGro...
ajax/libs/yui/3.7.0/scrollview-base/scrollview-base-coverage.js
WebReflection/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
app/components/cache/cache.js
ritishgumber/dashboard-ui
/** * Created by Darkstar on 11/29/2016. */ import React from 'react'; import {connect} from 'react-redux'; import Toolbar from '../toolbar/toolbar.js'; import Footer from '../footer/footer.jsx'; import FirstDisplay from './firstDisplay.js' import CacheCRUD from './cacheCRUD.js' import {fetchCache,resetCacheState} fr...
DealerOn.LogViewer/Scripts/lib/angular-1.0.7/angular-scenario.js
DealerOn/log4net-loggragator
/*! * 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. ...
packages/wix-style-react/src/MediaOverlay/docs/index.story.js
wix/wix-style-react
import React from 'react'; import { header, tabs, tab, description, importExample, title, divider, example, playground, api, testkit, } from 'wix-storybook-utils/Sections'; import basicExample from '!raw-loader!./examples/basic'; import useCaseExample1 from '!raw-loader!./examples/useCase1'; impo...
docs/app/Examples/collections/Table/States/index.js
shengnian/shengnian-ui-react
import React from 'react' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ShorthandExample from 'docs/app/Components/ComponentDoc/ShorthandExample' const States = () => ( <ExampleSection title='State...
app/containers/SettingsPage/ChangePasswordForm.js
vlastoun/picture-uploader-crud
import { Field, reduxForm } from 'redux-form/immutable'; // <--- immutable import import React from 'react'; import RaisedButton from 'material-ui/RaisedButton'; import InputField from 'components/InputField'; import Span from 'components/Span'; import validate from './validate'; // import styled from 'styled-component...
plugins/legacyoutput/plugin.js
zendmaniacs/tinymce-dist
/** * plugin.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements, align * attributes and so...
client/App.js
phumberdroz/pizzastore
/** * Root Component */ import React from 'react'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; // Import Routes import routes from './routes'; // Base stylesheet require('./main.css'); export default function App(props) { return ( <Provider store={props.stor...
blueocean-material-icons/src/js/components/svg-icons/communication/call-made.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const CommunicationCallMade = (props) => ( <SvgIcon {...props}> <path d="M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5z"/> </SvgIcon> ); CommunicationCallMade.displayName = 'CommunicationCallMade'; CommunicationCallMade.muiName = 'SvgIcon'; export d...
Realization/frontend/czechidm-core/src/content/tree/node/Node.js
bcvsolutions/CzechIdMng
import PropTypes from 'prop-types'; import React from 'react'; import { connect } from 'react-redux'; // import * as Basic from '../../../components/basic'; import { TreeNodeManager } from '../../../redux'; import * as Advanced from '../../../components/advanced'; const manager = new TreeNodeManager(); /** * Trre no...
examples/01 Dustbin/Multiple Targets/index.js
tomulin1/react-dnd
import React from 'react'; import Container from './Container'; export default class DustbinMultipleTargets { render() { return ( <div> <p> <b><a href='https://github.com/gaearon/react-dnd/tree/master/examples/01%20Dustbin/Multiple%20Targets'>Browse the Source</a></b> </p> ...
assets/javascripts/kitten/components/graphics/icons-next/whatsapp-icon-next/index.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' export const WhatsappIconNext = ({ color, title, ...props }) => ( <svg width="27" height="27" fill="none" viewBox="0 0 27 27" xmlns="http://www.w3.org/2000/svg" {...props} > {title && <title>{title}</title>} <path d=...
packages/cf-component-list/test/OrderedList.js
koddsson/cf-ui
import React from 'react'; import { felaSnapshot } from 'cf-style-provider'; import { OrderedList } from '../../cf-component-list/src/index'; test('should render', () => { const snapshot = felaSnapshot(<OrderedList>List</OrderedList>); expect(snapshot.component).toMatchSnapshot(); expect(snapshot.styles).toMatch...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
pallavishende/angular-starter-master
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
app/js/containers/TextEditorContainer.js
andela-earinde/bellatrix
const ipc = window.require('ipc'); import React from 'react' import GeneralActions from '../actions/GeneralActions' import AppStore from '../stores/AppStore' import TextEditorComponent from '../components/TextEditorComponent' class TextEditorContainer extends React.Component { constructor(props) { super(prop...
app/components/Geschaeft/AreaGeschaeft.js
barbalex/kapla3
import React from 'react' import PropTypes from 'prop-types' import { FormControl, ControlLabel } from 'react-bootstrap' import Textarea from 'react-textarea-autosize' import { observer, inject } from 'mobx-react' import compose from 'recompose/compose' import styled from 'styled-components' import createOptions from ...
examples/index.entry.jsx.js
wenshin/react-form-state
import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import {InputField} from 'react-form-state'; import Markdown, {Code} from './Markdown.jsx'; import UnionUpdateForm from './normal/UnionUpdateForm.jsx'; import AsyncValidationForm from './normal/AsyncValidationForm.jsx'; import CustomC...
ajax/libs/react-leaflet/1.7.3/react-leaflet.min.js
jonobr1/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("leaflet"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","leaflet","react","react-dom"],e):e(t.ReactLeaflet={},t.L,t.React,t.ReactDOM)}(this,function(t,e,n,o){"use strict";function r(t)...
test/PageHeaderSpec.js
xsistens/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import PageHeader from '../src/PageHeader'; describe('PageHeader', function () { it('Should output a div with content', function () { let instance = ReactTestUtils.renderIntoDocument( <PageHeader> <strong>Content</str...
ajax/libs/yasqe/2.2.6/yasqe.bundled.min.js
akiran/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,i,r)...
src/parser/shared/modules/spells/bfa/corruptions/IneffableTruth.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS/index'; import { formatDuration } from 'common/format'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import STATISTIC_CATEGORY from 'interface/others/STATISTIC_CATEGORY'; import SpellLink from 'common/SpellLink'; import Spel...
www/app/components/debug_panel.js
kalikaneko/bitmask-dev
import React from 'react' import App from '../app' class DebugPanel extends React.Component { constructor(props) { super(props) this.click = this.click.bind(this) } componentDidMount() { this.click(window.location.hash.replace('#', '')) } click(panel_name) { window.location.hash = panel_n...
examples/with-react-intl/components/Layout.js
dizlexik/next.js
import React from 'react' import {defineMessages, injectIntl} from 'react-intl' import Head from 'next/head' import Nav from './Nav' const messages = defineMessages({ title: { id: 'title', defaultMessage: 'React Intl Next.js Example' } }) export default injectIntl(({intl, title, children}) => ( <div> ...
packages/material-ui-icons/src/LocationOffTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M17 9c0 1.06-.39 2.32-1 3.62l1.49 1.49C18.37 12.36 19 10.57 19 9c0-3.87-3.13-7-7-7-1.84 0-3.5.71-4.75 1.86l1.43 1.43C9.56 4.5 10.72 4 12 4c2.76 0 5 2.24 5 5zm-5-2.5c-.59 0-1.13.21-1.56...
src/index.js
fellipeale/react-redux-todos
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import App from './components/App'; import configureStore from './store/configureStore'; import './styles/style.scss'; import './favicon.ico'; const store = configureStore(); render( <Provider store={...
app/containers/Single/index.js
MameeV/suzette
/* * * Single * */ import React from 'react'; import Helmet from 'react-helmet'; import {Link} from "react-router"; import Burger from 'material-ui/svg-icons/Navigation/menu'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import NavMobile from 'components/NavMobile'; ...
wp-includes/js/dist/vendor/wp-polyfill.js
uicestone/HenriedFinance
(function(){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...
app/components/forms/DirectionsForm.js
codinglawyer/What-To-Cook-App
import React from 'react' import T from 'prop-types' import { Flex, Box } from 'reflexbox' import { Field } from 'redux-form' import TrashIcon from '../icons/TrashIcon' import PlusIcon from '../icons/PlusIcon' import TextField from './TextField' import { ButtonContainer, RelativeContainer, Button } from './styles' con...
modules/__tests__/IndexRoute-test.js
Nedomas/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import IndexRoute from '../IndexRoute' import Router from '../Router' import Route from '../Route' describe('an <IndexRoute/>', function () { const P...
ajax/libs/yui/3.17.1/scrollview-base/scrollview-base-debug.js
koggdal/cdnjs
/* YUI 3.17.1 (build 0eb5a52) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview *...
ajax/libs/inferno/1.0.0-beta13/inferno-redux.js
wout/cdnjs
/*! * inferno-redux v1.0.0-beta13 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./inferno-component'), require('./inferno-create-element')) : typeof define === 'functio...
project-templates/reactfiber/externals/react-fiber/fixtures/dom/src/components/fixtures/input-change-events/index.js
ItsAsbreuk/itsa-cli
import React from 'react'; import FixtureSet from '../../FixtureSet'; import TestCase from '../../TestCase'; import RangeKeyboardFixture from './RangeKeyboardFixture'; import RadioClickFixture from './RadioClickFixture'; import InputPlaceholderFixture from './InputPlaceholderFixture'; class InputChangeEvents extends ...
src/views/Login/index.js
aplee29/online-notebook-app-client
import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { login } from '../../redux/modules/Auth/actions'; import LoginForm from './LoginForm'; class Login extends Component { static contextTypes = { router: PropTypes.object } handleLogin...
examples/02 Drag Around/Naive/index.js
jgable/react-dnd
import React, { Component } from 'react'; import Container from './Container'; export default class DragAroundNaive extends Component { constructor(props) { super(props); this.handleHideSourceClick = this.handleHideSourceClick.bind(this); this.state = { hideSourceOnDrag: true }; } handleHi...
src/svg-icons/maps/local-taxi.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalTaxi = (props) => ( <SvgIcon {...props}> <path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5H15V3H9v2H6.5c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.4...
reflux-app/entry.js
Orientsoft/borgnix-web-ide
import React from 'react' import ReactDom from 'react-dom' import App from './App' ReactDom.render( <App />, document.getElementById('app_container') );
node_modules/material-ui/svg-icons/av/forward-30.js
Rabbit884/reactapp
'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...
packages/story-editor/src/components/canvas/karma/backgroundCopyPaste.karma.js
GoogleForCreators/web-stories-wp
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
src/Base/components/layout/Footer.js
jirkae/hobby_hub
import React from 'react'; import { IndexLink } from 'react-router'; const Footer = () => { return ( <div className="footer"> <div className="container"> <ul className=" pull-left navbar-link footer-nav"> <li> <IndexLink to="/">Domů</IndexLink> <a href="http://dev....
modules/RouteContext.js
hgezim/react-router
import React from 'react' const { object } = React.PropTypes /** * The RouteContext mixin provides a convenient way for route * components to set the route in context. This is needed for * routes that render elements that want to use the Lifecycle * mixin to prevent transitions. */ const RouteContext = { prop...
src/containers/DevTools/index.js
bhargav175/resume
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="H" changePositionKey="W"> <LogMonitor /> </Dock...
ajax/libs/rxjs/2.3.16/rx.compat.js
ddeveloperr/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...
ajax/libs/jquery/1.10.0/jquery.min.js
DinhAnhTu/cdnjs
/*! jQuery v1.10.0 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.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.0",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim...
src/components/Inputs/Textarea.js
benceg/dani
import React from 'react'; import { HOC } from 'formsy-react'; import ReactAutosizeTextarea from 'react-autosize-textarea'; const Textarea = ({ name, label, showRequired, showError, getErrorMessage, getValue, setValue }) => <div className={(showRequired() ? 'required' : showError() ? 'error' : null)}> ...
sites/all/modules/contrib/ctools/js/dependent.js
bedesign323/agency
/** * @file * Provides dependent visibility for form items in CTools' ajax forms. * * To your $form item definition add: * - '#process' => array('ctools_process_dependency'), * - '#dependency' => array('id-of-form-item' => array(list, of, values, that, * make, this, item, show), * * Special considerations: ...
ajax/libs/preact/7.0.3/preact.dev.js
dlueth/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.preact = global.preact || {}))); }(this, function (exports) { function VNode(nodeName, attributes, childr...
src/client/components/AvatarWidget/AvatarWidget.js
trippian/trippian
import log from '../../log' import React from 'react' import { Link } from 'react-router' import { AvatarWidget as appConfig } from '../../config/appConfig' const AvatarWidget = ({ link = appConfig.link, imgSrc = appConfig.imgSrc, title = appConfig.title }) => { return ( <Link to={link}> <div class...
index.android.js
Hey2Li/RNGD
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; import Main from './app/main/GDMain' export default class RNGD extends Component { render() { return ( ...
src/router/Logout.js
change-soft8/cs-project
import React from 'react' const Logout = React.createClass({ render() { return <p>You are now logged out</p> } }) module.exports = Logout
docs/app/Examples/collections/Table/Variations/TableExampleCollapsing.js
clemensw/stardust
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleCollapsing = () => { return ( <Table collapsing> <Table.Header> <Table.Row> <Table.HeaderCell>Name</Table.HeaderCell> <Table.HeaderCell>Status</Table.HeaderCell> <Table.HeaderCell>Not...
node_modules/native-base/src/basic/Segment.js
odapplications/WebView-with-Lower-Tab-Menu
/* @flow */ import React, { Component } from 'react'; import { View } from 'react-native'; import { connectStyle } from '@shoutem/theme'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; class Segment extends Component { render() { return ( <View ref={c => this._root = c} {...this.props...
src/components/Navigation/Navigation.js
SgtRock91/FantasyOptimizer
/** * 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 cx from 'classnames';...
src/components/CommentsWithData.js
OpenCollective/frontend
import React from 'react'; import PropTypes from 'prop-types'; import Error from './Error'; import withIntl from '../lib/withIntl'; import Comments from './Comments'; import CommentForm from './CommentForm'; import { graphql, compose } from 'react-apollo'; import gql from 'graphql-tag'; import { FormattedMessage } from...
admin/client/App/screens/List/components/ItemsTable/ItemsTableDragDropZone.js
jstockwin/keystone
/** * THIS IS ORPHANED AND ISN'T RENDERED AT THE MOMENT * THIS WAS DONE TO FINISH THE REDUX INTEGRATION, WILL REWRITE SOON * - @mxstbr */ import React from 'react'; import DropZoneTarget from './ItemsTableDragDropZoneTarget'; import classnames from 'classnames'; var ItemsTableDragDropZone = React.createClass({ d...
test/fixtures/webpack-message-formatting/src/AppNoDefault.js
facebookincubator/create-react-app
import React, { Component } from 'react'; import myImport from './ExportNoDefault'; class App extends Component { render() { return <div className="App">{myImport}</div>; } } export default App;
src/svg-icons/action/query-builder.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionQueryBuilder = (props) => ( <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5...
src/client/components/mockup/TextBox/TextBox.component.js
andrerpena/monomock
import React from 'react'; import BootstrapInput from 'react-bootstrap/lib/Input'; var TextBox = React.createClass({ propTypes: { width: React.PropTypes.number }, getDefaultProps() { return { width: 200 } }, render: function () { return <div style={{ ...
ajax/libs/vee-validate/2.0.0-rc.17/vee-validate.js
holtkamp/cdnjs
/** * vee-validate v2.0.0-rc.17 * (c) 2017 Abdelrahman Awad * @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.VeeValidate = factory()); }(this, (functio...
app/javascript/mastodon/features/ui/components/mute_modal.js
kirakiratter/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { injectIntl, FormattedMessage } from 'react-intl'; import Toggle from 'react-toggle'; import Button from '../../../components/button'; import { closeModal } from '../../../actions/modal'; import { muteAccount }...
ajax/libs/analytics.js/1.3.30/analytics.min.js
vfonic/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...
src/components/calculatorLarge/presentation/CLCounter.js
edu-affiliates/promo_calculators
'use strict'; import React from 'react'; import PropTypes from 'prop-types' import {connect} from 'react-redux' import {plusPage, minusPage, handleInputPageNumber} from '../../../store/actions' import generalOptions from '../../../config/generalOptions'; class CLCounter extends React.Component { constructor(prop...
app/components/ProjectSelector.js
azlyth/redub
import fs from 'fs-extra'; import path from 'path'; import { remote } from 'electron'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { Button } from 'react-bootstrap'; import * as u from '../utils'; import FileInput from './FileInput'; import s...
ajax/libs/F2/1.3.0/f2.no-bootstrap.js
DinhAnhTu/cdnjs
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! 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 obtaining a copy of this software and associated d...
examples/universal/client/index.js
linalu1/redux
import 'babel-core/polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import configureStore from '../common/store/configureStore'; import App from '../common/containers/App'; const initialState = window.__INITIAL_STATE__; const store = configureStore(initialState); const rootElement = do...
src/js/components/icons/base/Brush.js
odedre/grommet-final
/** * @description Brush SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. * @prop...
plugins/system/t3/base/bootstrap/js/tests/vendor/jquery.js
ForAEdesWeb/AEW2
/*! jQuery v1.7.2 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 cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
ajax/libs/yui/3.9.1/datatable-core/datatable-core-debug.js
johan-gorter/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
console/react/src/overview/logDetails.js
irinabov/debian-qpid-dispatch
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this f...
src/utils/createPureComponent.js
stevenhauser/i-have-to-return-some-videotapes
import React from 'react'; import pureRenderMixin from 'react-addons-pure-render-mixin'; export function createPureComponent(proto) { return React.createClass({ mixins: [pureRenderMixin], ...proto }); };
ajax/libs/yui/3.5.0pr4/datatable-body/datatable-body.js
jackdoyle/cdnjs
YUI.add('datatable-body', function(Y) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isArray, ...