target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
src/desktop/apps/order/client.js
xtina-starr/force
import { buildClientApp } from "reaction/Artsy/Router/client" import { data as sd } from "sharify" import { routes } from "reaction/Apps/Order/routes" import mediator from "desktop/lib/mediator.coffee" import React from "react" import ReactDOM from "react-dom" import styled from "styled-components" import User from "de...
src/components/app/MasterWindow.js
metasfresh/metasfresh-webui-frontend
import { Hints, Steps } from 'intro.js-react'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { discardNewRow, discardNewDocument, getTab } from '../../api'; import BlankPage from '../BlankPage'; import Container from '../Container'; import Window from '../Window'; import Overlay...
src/docs/examples/TextInputStyledComponents/ExampleOptional.js
patchygreen/ps-react-patchygreen
import React from 'react'; import TextInputStyledComponents from "ps-react/TextInputStyledComponents"; /** Optional TextBox */ export default class ExampleOptional extends React.Component { render() { return ( <TextInputStyledComponents htmlId='example-optional' label='First Name' n...
_gatsby/src/components/Contact/SocialIcons.js
YannickDot/yannickdot.github.io
import React from 'react' // import { config } from 'config' import { rhythm } from '../../utils/typography' const social = [ { name: 'Email', url: 'mailto:yannick.l.spark@gmail.com', icon: 'fa-envelope-o' }, { name: 'Twitter', icon: 'fa-twitter', url: 'https://twitter.com/yannickdot' }...
ajax/libs/yui/3.9.0pr2/event-focus/event-focus-debug.js
JimBobSquarePants/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
src/views/components/user-card/index.spec.js
zerubeus/sawt
import React from 'react'; import { shallow } from 'enzyme'; import { User } from '../../../core/users'; import UserCard from './index'; describe('views', () => { describe('UserCard', () => { let props; let user; beforeEach(() => { user = new User({ id: 123, followingsCount: 20, ...
app/js/todo/form.js
pengux/electron-react-starter
import React from 'react'; import TodoActions from './actions'; export default React.createClass({ create(e) { e.preventDefault(); var task = this.refs.newTask.value; TodoActions.create({"name": task}); }, render() { return ( <form onSubmit={this.create}> <label> Add task <input type="te...
tp-3/juan-pablo-gonzalez/src/shared/components/columnsSelector/components/columnList/ColumnList.js
jpgonzalezquinteros/sovos-reactivo-2017
import React from 'react'; import PropTypes from 'prop-types'; import { VisibleIcon, HiddenIcon } from '../../../svgIcons/SvgIcons'; // eslint-disable-line import/no-extraneous-dependencies import SovosTooltip from '../../../../../shared/components/sovos-tooltip/SovosTooltip'; import { violet } from '../../../../../the...
demo/src/index.js
joshwcomeau/react-collection-helpers
import React from 'react'; import { render } from 'react-dom'; import App from './components/App'; const Demo = () => <App />; // eslint-disable-next-line no-undef render(<Demo />, document.querySelector('#demo'));
ajax/libs/muicss/0.4.9/react/mui-react.min.js
Amomo/cdnjs
!function(e){var t=e.babelHelpers={};t["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},t.jsx=function(){var e="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.eleme...
src/routes/Counter/components/Counter.js
dima-bu/b2b.core
import React from 'react'; export const Counter = (props) => ( <div style={{margin: '0 auto'}} > <h2>Counter: {props.counter}</h2> <button className='btn btn-default' onClick={props.increment}> Increment </button> {' '} <button className='btn btn-default' onClick={props.doubleAsync}> ...
examples/todo/js/components/TodoApp.js
michaelchum/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...
app/assets/scripts/components/results-panel.js
worldbank-cdrp/disaster-risk-explorer
import React from 'react' import multiDownload from 'multi-download' import { showModalCalc, newCalcId } from '../actions' import { graphCols, calcDropItems } from '../constants' import { getMapId } from '../utils/map-id' import { shortenNumber } from '../utils/format' import { t } from '../utils/i18n' import c from '...
ajax/libs/rxjs/2.3.14/rx.all.compat.js
BitsyCode/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/vkui/4.28.0/components/AppRoot/AppRootPortal.min.js
cdnjs/cdnjs
import{createScopedElement}from"../../lib/jsxRuntime";import*as React from"react";import{createPortal}from"react-dom";import{AppRootContext}from"./AppRootContext";import{AppearanceProvider}from"../AppearanceProvider/AppearanceProvider";import{useAppearance}from"../../hooks/useAppearance";var AppRootPortal=function(e){v...
examples/with-jsxstyle/src/client.js
jaredpalmer/razzle
import App from "./App"; import { BrowserRouter } from "react-router-dom"; import React from "react"; import { hydrate } from "react-dom"; hydrate( <BrowserRouter> <App /> </BrowserRouter>, document.getElementById("root") ); if (module.hot) { module.hot.accept(); }
bower_components/jquery/src/event.js
jaketrent/ajghost
define([ "./core", "./var/strundefined", "./var/rnotwhite", "./var/hasOwn", "./var/slice", "./event/support", "./core/init", "./data/accepts", "./selector" ], function( jQuery, strundefined, rnotwhite, hasOwn, slice, support ) { var rformElems = /^(?:input|select|textarea)$/i, rkeyEvent = /^key/, rmouseEve...
jenkins-design-language/src/js/components/material-ui/svg-icons/maps/local-activity.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const MapsLocalActivity = (props) => ( <SvgIcon {...props}> <path d="M20 12c0-1.1.9-2 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2zm-4.42 4.8L12 14.5l-3.58 2.3 1.08...
ThemesList.js
i55ac/ZhiHuDaily-React-Native
'use strict'; var React = require('react-native'); var { AsyncStorage, Platform, ListView, Image, StyleSheet, Text, View, TouchableNativeFeedback, TouchableHighlight, } = React var API_THEMES = 'http://news-at.zhihu.com/api/4/themes'; var ThemesList = React.createClass({ getInitialState: function...
src/app/films/NewFilm/Uploader/Uploader.js
JoeKarlsson1/bechdel-test
import '@uppy/core/dist/style.css'; import '@uppy/dashboard/dist/style.css'; import React, { Component } from 'react'; import { Uppy } from '@uppy/core'; import { Dashboard, DragDrop, ProgressBar } from '@uppy/react'; import XHRUpload from '@uppy/xhr-upload'; import ErrorBoundary from '../../../shared/ErrorBoundary/Err...
website/layout/AutodocsLayout.js
dimoge/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...
cms/static/xmodule_js/common_static/js/vendor/analytics.js
syjeon/new_edx
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
client/pages/examples/threejs/gpu-particles/index.js
fdesjardins/webgl
import React from 'react' import * as THREE from 'three' import Stats from 'stats.js' import threeOrbitControls from 'three-orbit-controls' import { css } from 'emotion' import Example from '-/components/example' import { onResize } from '-/utils' import notes from './readme.md' import { createTextures, fillTextur...
ajax/libs/js-data-http/3.0.0-alpha.5/js-data-http.js
sajochiu/cdnjs
/*! * js-data-http * @version 3.0.0-alpha.5 - Homepage <http://www.js-data.io/docs/dshttpadapter> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data-http/blob/master/LICENSE> * * @overview HTTP adapter for js-data. */ (function webpack...
packages/rocketchat-otr/package.js
NMandapaty/Rocket.Chat
Package.describe({ name: 'rocketchat:otr', version: '0.0.1', summary: 'Off-the-record messaging for Rocket.Chat', git: '' }); Package.onUse(function(api) { api.use([ 'ecmascript', 'less', 'rocketchat:lib', 'tracker', 'reactive-var' ]); api.use('templating', 'client'); api.addFiles([ 'client/rock...
router/route/auth.js
jstogether/jstogether
import express from 'express'; import passport from 'passport'; import {Strategy as LocalStrategy} from 'passport-local'; import {Strategy as GithubStrategy} from 'passport-github'; import path from 'path'; import bcrypt from 'bcrypt'; import React from 'react'; import db from '../../db'; let User = db.model('User'); ...
ajax/libs/redux-form/6.0.0/redux-form.js
pombredanne/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxForm"] = facto...
ajax/libs/forerunnerdb/1.3.529/fdb-legacy.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...
ajax/libs/yui/3.9.0/datatable-core/datatable-core-debug.js
froala/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...
packages/icons/src/md/device/AccessAlarm.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdAccessAlarm(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M44 11.72l-9.19-7.71-2.57 3.06 9.19 7.71L44 11.72zM15.76 7.06L13.19 4 4 11.71l2.57 3.06 9.19-7.71zM25 16.28h-3v12l9.49 5.71L33 31.52l-8-4.74v-10....
admin/client/App/screens/List/components/ListControl.js
jstockwin/keystone
import React from 'react'; import classnames from 'classnames'; var ListControl = React.createClass({ propTypes: { dragSource: React.PropTypes.func, onClick: React.PropTypes.func, type: React.PropTypes.oneOf(['check', 'delete', 'sortable']).isRequired, }, renderControl () { var icon = 'octicon octicon-'; ...
node_modules/eslint/node_modules/inquirer/node_modules/rx/src/core/linq/observable/ambproto.js
artyomtrityak/ec-deploy-mobile
/** * Propagates the observable sequence or Promise that reacts first. * @param {Observable} rightSource Second observable sequence or Promise. * @returns {Observable} {Observable} An observable sequence that surfaces either of the given sequences, whichever reacted first. */ observableProto.amb = funct...
content/openLayers_v3.9.0/zeroclipboard/ZeroClipboard.Core.js
open-dis/DISWebGateway
/*! * 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) 2009-2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.2.0 */ (function(window, undefined) { "use str...
lib/components/term.js
AlmirKadric/hyperterm
/* global Blob,URL,requestAnimationFrame */ import React from 'react'; import Color from 'color'; import uuid from 'uuid'; import hterm from '../hterm'; import Component from '../component'; import getColorList from '../utils/colors'; import notify from '../utils/notify'; export default class Term extends Component { ...
ajax/libs/primereact/6.3.2/components/skeleton/Skeleton.min.js
cdnjs/cdnjs
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ske...
packages/cf-component-card/test/CardToolbar.js
mdno/mdno.github.io
import React from 'react'; import renderer from 'react-test-renderer'; import CardToolbar from '../src/CardToolbar'; test('should render', () => { const component = renderer.create( <CardToolbar controls={'Controls'} links={'Links'} /> ); expect(component.toJSON()).toMatchSnapshot(); });
fixtures/packaging/systemjs-builder/dev/input.js
joecritch/react
import React from 'react'; import ReactDOM from 'react-dom'; ReactDOM.render( React.createElement('h1', null, 'Hello World!'), document.getElementById('container') );
jenkins-design-language/src/js/components/material-ui/svg-icons/device/signal-wifi-off.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const DeviceSignalWifiOff = (props) => ( <SvgIcon {...props}> <path d="M23.64 7c-.45-.34-4.93-4-11.64-4-1.5 0-2.89.19-4.15.48L18.18 13.8 23.64 7zm-6.6 8.22L3.27 1.44 2 2.72l2.05 2.06C1.91 5.76.59 6.82.36 7l11.63 14.49.01.01.01-.01 3.9-4.86 3.32 3.32...
app/components/Toggle/index.js
abasalilov/react-boilerplate
/** * * LocaleToggle * */ import React from 'react'; import PropTypes from 'prop-types'; import Select from './Select'; import ToggleOption from '../ToggleOption'; function Toggle(props) { let content = (<option>--</option>); // If we have items, render them if (props.values) { content = props.values.map(...
src/HstWbInstaller.Imager.GuiApp/ClientApp/src/components/Content.js
henrikstengaard/hstwb-installer
import React from 'react'; import Box from '@mui/material/Box'; import {Route} from 'react-router'; import Start from "../pages/Start"; import Read from "../pages/Read"; import Write from "../pages/Write"; import Info from "../pages/Info"; import Convert from "../pages/Convert"; import Verify from "../pages/Verify"; im...
src/icons/_3dRotationIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class _3dRotationIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M15.03 42.97C8.5 39.87 3.81 33.52 3.1 26h-3C1.12 38.32 11.42 48 24 48c.45 0 .88-.04 1.32-.07L17.7 40.3...
docs/src/layouts/wrapper.js
balloob/nuclear-js
import React from 'react' import { BASE_URL } from '../globals' const PRISM_PATH = BASE_URL + 'assets/js/prism.js' const CSS_PATH = BASE_URL + 'assets/css/output.css' const JS_PATH = BASE_URL + 'app.js' const GA_SCRIPT = `(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[])...
src/Grid/__tests__/Grid-test.js
tleunen/react-mdl
/* eslint-env mocha */ import chai, { expect } from 'chai'; import chaiEnzyme from 'chai-enzyme'; import { shallow } from 'enzyme'; import React from 'react'; import Grid from '../Grid'; chai.use(chaiEnzyme()); describe('Grid', () => { it('should render a MDL grid <div>', () => { const wrapper = shallow(<...
src/svg-icons/file/cloud-download.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileCloudDownload = (props) => ( <SvgIcon {...props}> <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-...
docs/src/app/components/pages/components/Table/ExampleComplex.js
kittyjumbalaya/material-components-web
import React, {Component} from 'react'; import { Table, TableBody, TableFooter, TableHeader, TableHeaderColumn, TableRow, TableRowColumn, } from 'material-ui/Table'; import TextField from 'material-ui/TextField'; import Toggle from 'material-ui/Toggle'; const styles = { propContainer: { width: 200,...
tests/layouts/CoreLayout.spec.js
davecarlson/reacty
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
packager/src/ModuleGraph/types.flow.js
htc2u/react-native
/** * Copyright (c) 2016-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. * * @flow */...
packages/react-ui-core/src/Gmap/GmapSpinner.js
rentpath/react-ui
import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import themed from '@rentpath/react-themed' import clsx from 'clsx' import BounceLoader from './spinners/BounceLoader' @themed(['Gmap_Spinner'], { pure: true }) export default class GmapSpinner extends PureComponent { static propTypes = ...
src/components/Tagline/Tagline.js
kdrabek/exchange_rates_frontend
import React from 'react'; import { Row, Col, PageHeader } from 'react-bootstrap'; const Tagline = (props) => { return ( <Row> <Col xs={12} md={12}> <PageHeader> Kursy walut NBP <br /><small>Według tabeli A</small> </PageHeader> </Col> </Row> ); }; export default Tagl...
src/components/Markup.js
NuCivic/react-dashboard
import React, { Component } from 'react'; import Registry from '../utils/Registry'; import BaseComponent from './BaseComponent'; import Card from './Card'; import { isArray } from 'lodash'; export default class Markup extends BaseComponent { getContent() { if (this.props.data && isArray(this.props.data) && this....
ajax/libs/yui/3.18.0/datatable-body/datatable-body-debug.js
manorius/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** 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 = ...
ajax/libs/clappr/0.0.62/clappr.js
jackdoyle/cdnjs
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)...
ajax/libs/react/0.12.0/react-with-addons.min.js
viskin/cdnjs
/** * React (with addons) v0.12.0 * * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same...
app/assets/javascripts/actions/eventsActions.js
loggingroads/onboarding
import React from 'react'; export const SET_EVENTS_LIST = 'SET_EVENTS_LIST'; export const SET_EVENT_DETAIL = 'SET_EVENT_DETAIL'; export function setEventsList() { const url = '/api/v1/events'; return function(dispatch) { $.get(url).then(function(eventsList){ dispatch({ type: SET_EVENTS_LIST, ...
src/components/AboutPage.spec.js
daitobedai/NoCode
import React from 'react'; import {shallow} from 'enzyme'; import {expect} from 'chai'; import AboutPage from './AboutPage'; describe('<AboutPage />', () => { it('should have a header called \'About\'', () => { const wrapper = shallow(<AboutPage />); const actual = wrapper.find('h2').text(); const expect...
app/components/Menu/OptionsMenu.js
ivtpz/brancher
import React from 'react'; import { Link } from 'react-router'; import * as styles from './Menu.scss'; export default ({ links }) => { return ( <div className={styles.pageContainer}> <div className={styles.menuContainer}> <div className={styles.optionsCircle}> {links.map(link => ( ...
ajax/libs/core-js/0.9.14/library.js
brix/cdnjs
/** * core-js 0.9.14 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
docs/0.5d174723c0c06b2232a2.js
lhf-nife/quark-ui
webpackJsonp([0],{"0P4F":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return r});var a=n("Jmof"),l=(n.n(a),n("lkey")),s=n("UJDU"),i=n("Pp2j"),o=n("WB2H"),r=class extends a.Component{constructor(e){super(e),this.state={}}render(){var e=()=>{s.a.config({placemen...
ajax/libs/flocks.js/1.4.0/flocks.js
kentcdodds/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */ /* eslint-env node,browser */ /** * The Flocks library module. Load this module and use either the * flocks <tt>flocks.createClass</tt> wrapper or the <tt>flocks plumbing<...
packages/wix-style-react/src/Tabs/test/Tabs.visual.js
wix/wix-style-react
import React from 'react'; import { storiesOf } from '@storybook/react'; import Box from '../../Box'; import Tabs from '../Tabs'; const defaultProps = { items: [1, 2, 3, 4, 5].map(index => ({ id: String(index), title: `item ${index}`, })), activeId: '2', }; const tests = [ { describe: '', its:...
ajax/libs/survey-react/0.12.11/survey.react.min.js
cdnjs/cdnjs
/*! * surveyjs - Survey JavaScript library v0.12.11 * Copyright (c) 2015-2017 Devsoft Baltic OÜ - http://surveyjs.org/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define...
examples/forms-material-ui/src/models/tweet.js
lore/lore-forms
import React from 'react'; import fields from '../fields/tweet'; export default { attributes: { text: { type: 'text' }, userId: { type: 'model', model: 'user' } }, forms: { create: fields, update: fields }, dialogs: { create: fields, update: fields }, ...
assets/grocery_crud/js/jquery-1.11.1.js
idzer0lis/SimpleUserManagement
/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-05-01T17:42Z */ (function( global, factory ) { if ...
packages/material-ui-icons/src/PhonePausedTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M6.54 5h-1.5c.09 1.32.34 2.58.75 3.79l1.2-1.21c-.24-.83-.39-1.7-.45-2.58zm8.66 13.21c1.21.41 2.48.67 3.8.76v-1.5c-.88-.07-1.75-.22-2.6-.45l-1.2 1.19z" opacity=".3" /><path d="M20 15.5c...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/UnknownExtInclusion.js
maletor/create-react-app
/** * Copyright (c) 2015-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. */ import React from 'react'; import aFileWithExtUnknown from './assets/aFileWithExt.unknown'; const text = aFileWithExtUnknown.includes('...
ajax/libs/yui/3.4.1pr1/yui/yui.js
blairvanderhoof/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
src/components/panel/__tests__/index.js
KleeGroup/focus-components
import TestUtils from 'react-dom/test-utils'; import React from 'react'; import ReactDOM from 'react-dom'; import Panel from '../'; import { init, translate } from 'focus-core/translation'; const i18nConfig = { resources: {}, lng: 'fr-FR'///langOpts.i18nCulture }; const { findRenderedDOMComponentWithClass,...
ajax/libs/6to5/2.4.3/browser-polyfill.js
pc035860/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/muicss/0.5.2/react/mui-react.min.js
sufuf3/cdnjs
!function(e){var t=e.babelHelpers={};t["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},t.jsx=function(){var e="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.eleme...
src/components/app.js
schesnowitz/react-redux
import React, { Component } from 'react'; import BookList from '../containers/book-list'; export default class App extends Component { render() { return ( <div> <BookList /> </div> ); } }
src/svg-icons/action/perm-device-information.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermDeviceInformation = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/> ...
docs/src/pages/components/app-bar/SearchAppBar.js
allanalexandre/material-ui
import React from 'react'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import IconButton from '@material-ui/core/IconButton'; import Typography from '@material-ui/core/Typography'; import InputBase from '@material-ui/core/InputBase'; import { fade } from '@material-ui...
data-browser-ui/public/app/components/tableComponents/td/relationComponents/geopoint.js
CloudBoost/cloudboost
import React from 'react'; import ReactDOM from 'react-dom'; import Dialog from 'material-ui/Dialog'; import TextField from 'material-ui/TextField'; class GeoPoint extends React.Component { constructor(){ super() this.state = { isModalOpen:false } } componentDidMount(){ } openCloseModal(what){ this.sta...
app/components/SideTree/SideTreeInner.js
youtogod/webpack-sample-project
import React, { Component } from 'react'; import { NavLink } from 'react-router-dom'; class SideTreeInner extends Component { constructor(props) { super(props); console.log('new comp'); } componentDidMount() {} render() { const {directory, location} = this.props; const...
node_modules/react-native/local-cli/generator/templates/index.android.js
leechuanjun/TLReactNativeProject
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; class <%= name %> extends Component { render() { return ( <View style={styles.container}> <T...
ajax/libs/mediaelement/2.14.2/jquery.js
thisispiers/cdnjs
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
packages/wix-style-react/src/InputWithLabel/test/InputWithLabel.spec.js
wix/wix-style-react
import React from 'react'; import ChevronDown from 'wix-ui-icons-common/ChevronDown'; import { createRendererWithUniDriver, cleanup } from '../../../test/utils/unit'; import InputWithLabel from '../InputWithLabel'; import { inputWithLabelPrivateDriverFactory } from './InputWithLabel.private.uni.driver'; import dataHoo...
src/Lookup.js
OCMC-Translation-Projects/ioc-liturgical-react
import React from 'react'; import PropTypes from 'prop-types'; import server from "./helpers/Server"; let cellStyle = { padding: '2em' }; class Lookup extends React.Component { constructor(props) { super(props); this.state = { dataLoaded: false , value: "" }; this.fetchData = this.fet...
examples/Pagination.js
chris-gooley/react-materialize
import React from 'react'; import Pagination from '../src/Pagination'; export default <Pagination items={10} activePage={2} maxButtons={8} />;
ajax/libs/cellx/1.6.73/cellx.js
menuka94/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.cellx = factory()); }(this, (function () { 'use strict'; var ErrorLogger = { _handler: null, /** * @typesign (handler:...
ajax/libs/js-data/1.1.0/js-data.js
sympmarc/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file dist/js-data.js * @version 1.1.0 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined"!=ty...
ajax/libs/analytics.js/1.5.7/analytics.js
calebmer/cdnjs
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
app/containers/ProfilePage/FormInput.js
VeloCloud/website-ui
import React from 'react'; // import { FormGroup, FormControl } from 'react-bootstrap'; // Will need to change div to FormControl function ListItem(props) { const name = props.name; console.log('name', name, 'value', props.value); return ( <div className="form-group"> <label className="col-sm-2 contro...
classic/src/scenes/wbui/ACAvatarCircle/ACAvatarCircle.js
wavebox/waveboxapp
import React from 'react' import PropTypes from 'prop-types' import { Avatar } from '@material-ui/core' import shallowCompare from 'react-addons-shallow-compare' import { withStyles } from '@material-ui/core/styles' import classNames from 'classnames' let warningShown = false const styles = { container: { // Mak...
definitions/npm/styled-components_v2.x.x/flow_v0.42.x-v0.52.x/test_styled-components_v2.x.x.js
flowtype/flow-typed
// @flow import {renderToString} from 'react-dom/server' import styled, { ThemeProvider, withTheme, keyframes, ServerStyleSheet, StyleSheetManager } from 'styled-components' import React from 'react' import type { Theme, Interpolation, // Temporary ReactComponentFunctional, ReactComponentClass, R...
ajax/libs/primereact/8.1.0/calendar/calendar.cjs.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),n=require("primereact/button"),a=require("primereact/hooks"),r=require("primereact/inputtext"),l=require("primereact/overlayservice"),o=require("primereact/utils"),i=require("primereact/ripple"),u=requ...
docs/src/examples/elements/Segment/Variations/SegmentExampleAttachedComplex.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Header, Icon, Message, Segment } from 'semantic-ui-react' const SegmentExampleAttachedComplex = () => ( <div> <Header as='h5' attached='top'> Dogs </Header> <Segment attached>Dogs are one type of animal.</Segment> <Header as='h5' attached> Cats </Hea...
ajax/libs/recompose/0.20.1/Recompose.js
keicheng/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Recompose"] = facto...
lib/components/term-group.js
stefanivic/hyper
import React from 'react'; import {connect} from 'react-redux'; import Component from '../component'; import {decorate, getTermProps} from '../utils/plugins'; import {resizeTermGroup} from '../actions/term-groups'; import Term_ from './term'; import SplitPane_ from './split-pane'; const Term = decorate(Term_, 'Term');...
benchmarks/dom-comparison/src/implementations/react-jss/View.js
risetechnologies/fela
/* eslint-disable react/prop-types */ import classnames from 'classnames'; import injectSheet from 'react-jss'; import React from 'react'; class View extends React.Component { render() { const { classes, className, ...other } = this.props; return <div {...other} className={classnames(classes.root, className)...
ajax/libs/babel-core/5.0.10/browser.min.js
magoni/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;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,n;return function r(e,t,...
src/assets/js/edit-page.js
happeninghq/happening
/** * This is a single-page application for editing * a "page" - adding/moving/editing/deleting * components. */ import reqwest from 'reqwest' import _ from 'lodash' import React from 'react' import { render } from 'react-dom' import { Provider, connect } from 'react-redux' import { createStore, combineReducers, ap...
blueocean-material-icons/src/js/components/svg-icons/av/library-books.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvLibraryBooks = (props) => ( <SvgIcon {...props}> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"/> </SvgIcon> ); AvLibrary...
techCurriculum/ui/solutions/4.2/src/components/Message.js
AnxChow/EngineeringEssentials-group
/** * Copyright 2017 Goldman Sachs. * 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 applicable law or agreed to...
internals/templates/containers/LanguageProvider/index.js
MaleSharker/Qingyan
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
ajax/libs/react-router/2.0.0-rc5/ReactRouter.js
rlugojr/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactRouter"] = fac...
src/parser/shared/modules/features/RaidHealthTab/TabComponent/Graph.js
yajinni/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import fetchWcl from 'common/fetchWclApi'; import RaidHealthChart from './RaidHealthChart'; const CLASS_CHART_LINE_COLORS = { DeathKnight: 'rgba(196, 31, 59, 0.6)', Druid: 'rgba(255, 125, 10, 0.6)', Hunter: 'rgba(171, 212, 115, 0.6)', Mage: 'rgba...
imports/ui/components/templates/PageTemplate/PageTemplate.js
latotty/meteor-sweeper
import React from 'react'; import PropTypes from 'prop-types'; import { Grid } from 'react-bootstrap'; export const PageTemplate = ({ navigation, children, ...props }) => ( <div> {navigation} <Grid {...props}> {children} </Grid> </div> ); PageTemplate.propTypes = { navigation: PropTypes.node.i...
simple/index.ios.js
IllegalCreed/react-native-webview-richeditor
/** * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Button, Text, View } from 'react-native'; import RichEditor from 'react-native-webview-richeditor'; import KeyboardSpacer from 'react-native-keyboard-spacer'; export default class simple extends Component { rende...
src/components/LocationMap/LocationMap.js
rlesniak/tind3r.com
// @flow import React, { Component } from 'react'; import ReactGA from 'react-ga'; import { observer } from 'mobx-react'; import GoogleMap from 'google-map-react'; import NotificationSystem from 'react-notification-system'; import { CurrentUser } from 'models/CurrentUser'; import './LocationMap.scss'; type PropsTyp...