path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/atoms/logo/component-test.js
dsmjs/components
import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import any from '@travi/any'; import Logo from '.'; suite('logo test', () => { test('that the png is loaded remotely', () => { const wrapper = shallow(<Logo />); const image = wrapper.find('LogoSvg'); assert.deepEqua...
ajax/libs/6to5/2.11.1/browser-polyfill.js
2947721120/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...
web/src/Dialog.js
Novemser/InMemoryTelecomService
/** * Created by kevin on 12/10/2016. */ import React from 'react'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; /** * Dialog with action buttons. The actions are passed in as an array of React objects, * in this example [FlatButtons](/#/components/flat-button). * * Y...
test/components/Table.spec.js
styled-components/styled-components-website
import React from 'react'; import renderer from 'react-test-renderer'; import Table, { Row, Column } from '../../components/Table'; test('Table renders correctly', () => { const tree = renderer .create( <Table head={['head']}> <Row> <Column /> </Row> </Table> ) .toJS...
libs/angular.js/0.10.3/angular.js
PeterDaveHello/baiducdnstatic
/** * @license AngularJS v0.10.3 * (c) 2010-2011 AngularJS http://angularjs.org * License: MIT */ 'use strict'; (function(window, document, undefined){ //////////////////////////////////// if (typeof document.getAttribute == $undefined) document.getAttribute = function() {}; /** * @ngdoc function * @name ang...
app/components/Home.js
sebas5384/hades
import React, { Component } from 'react'; import { Link } from 'react-router'; import styles from './Home.css'; import {reduxForm} from 'redux-form'; import ShellForm from './ShellForm'; import ShellList from './ShellList'; export default class Home extends Component { render() { return ( <div> <S...
app1/templates/backend/adminlte/plugins/plupload/js/moxie.js
antho-firuze/ci_hdgroup
;var MXI_DEBUG = true; /** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.5.2 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2016-11-23 */ ;(function (global...
src/components/kata.js
wolframkriesing/es6-react-workshop
import React from 'react'; export default class KataComponent extends React.Component { render() { const {kata, outgoingUrl, appUrl} = this.props; const group = kata.kataGroup; return ( <div id="main" className="pure-u-1"> <div className="email-content"> <div className="email-con...
packages/material-ui-icons/custom/Telegram.js
lgollut/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.2...
ajax/libs/mediaelement/2.5.0/jquery.js
wout/cdnjs
/*! * jQuery JavaScript Library v1.7 * 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. *...
admin/src/components/ListHeader.js
lastjune/keystone
import classNames from 'classnames'; import React from 'react'; import utils from '../utils.js'; import { Button, Container, Dropdown, FormInput, InputGroup, Pagination } from 'elemental'; import CreateForm from './CreateForm'; import ListColumnsForm from './ListColumnsForm'; import ListDownloadForm from './ListDownlo...
components/Recipes.ios.js
jayvilla/snacktime
import React, { Component } from 'react'; import { Text, View, Image, TextInput, ListView, TouchableHighlight, TouchableOpacity } from 'react-native'; import helpers from '../helpers/helpers.js'; import Recipe from './Recipe.ios.js'; import styles from '../styles.ios.js'; import NutrientComparisons from './NutrientsCom...
fields/types/password/PasswordField.js
andrewlinfoot/keystone
import React from 'react'; import Field from '../Field'; import { Button, FormInput, InlineGroup as Group, InlineGroupSection as Section, } from '../../../admin/client/App/elemental'; module.exports = Field.create({ displayName: 'PasswordField', statics: { type: 'Password', }, getInitialState () { return...
src/native/components/Login.js
TeodorKolev/Help
import React from 'react'; import PropTypes from 'prop-types'; import { Container, Content, Form, Item, Label, Input, Text, Button } from 'native-base'; import { Actions } from 'react-native-router-flux'; import Loading from './Loading'; import Messages from './Messages'; import Header from './Header'; import Spacer fr...
ajax/libs/forerunnerdb/1.3.419/fdb-core+persist.js
sashberd/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...
react-app/src/components/Options-names.js
tanykim/swimmers-history
import React, { Component } from 'react'; import Select from 'react-select'; class NamesComponent extends Component { render() { return (<div className="column is-one-third"> <div className="kind-wrapper-names"> <div className="kind-title">swimmers</div> <div className="items-title"> ...
src/pages/index.js
elliotschultz/gatsby-portfolio-test
import React from 'react' import Link from 'gatsby-link' import styled from 'styled-components' import * as theme from '../theme' import { GridProvider, Grid, Row, Col } from 'zooper-grid' class IndexPage extends React.Component { constructor(){ super() } render(){ return( <SiteWrapper> <Gr...
src/clincoded/static/libs/render_new_summary_status.js
ClinGen/clincoded
'use strict'; import React from 'react'; import moment from 'moment'; import { getClassificationSavedDate } from './get_saved_date'; /** * Method to render 'NEW SAVED SUMMARY' status tag/label for a given classification * @param {object} classification - The saved GDM classification */ export function renderNewSumm...
packages/jsx_orphaned_brackets_transformer/run.js
misnet/react
#!/usr/bin/env node 'use strict'; var FileFinder = require('node-find-files'); var fs = require('graceful-fs'); var jstransform = require('jstransform'); var path = require('path'); var visitReactTag = require('./transforms/react').visitReactTag; /*eslint-disable no-shadow*/ var S = jstransform.Syntax; var USAGE = ...
src/components/slider/Slider.js
Scratch-it/react-color
'use strict' /* @flow */ import React from 'react' import ReactCSS from 'reactcss' import shallowCompare from 'react-addons-shallow-compare' import { ColorWrap, Hue } from '../common' import SliderSwatches from './SliderSwatches' import SliderPointer from './SliderPointer' export class Slider extends ReactCSS.Compon...
node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.js
jeanralphaviles/WhatsHappenin
// 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 }; ...
www/components/Navbar/Menu.js
andrewlinfoot/keystone
import React from 'react'; import { makeSection } from './utils'; import { api, documentation, gettingStarted, guides } from '../../data/navigation'; const sections = [gettingStarted, guides, documentation, api]; export default function Menu () { return <nav>{makeSection('', sections, 1)}</nav>; };
lib/components/About.js
Peter-Springer/peter-springer.github.io
import React from 'react'; class About extends React.Component { render() { return ( <section id="about"> <h1 className="about-name">Software</h1> <h1 className="about-name">Developer</h1> <h1 className="about-description">Currently located in Denver, CO 🏂</h1> </section> ...
clients/packages/admin-client/src/components/filterable-search-bar/index.spec.js
nossas/bonde-client
/* eslint-disable no-unused-expressions */ import React from 'react'; import { shallow } from 'enzyme'; import { expect } from 'chai'; import { FilterableSearchBar } from '../../components/filterable-search-bar'; describe('client/components/filterable-search-bar/index', () => { let wrapper; const props = { di...
src/saveFormation.js
yipjiajie/TopBloc
import React from 'react'; var SaveFormation = React.createClass({ render: function() { return ( <div className="save"> <button> Save </button> </div> ); } }); export default SaveFormation;
ajax/libs/react-dom/16.3.3/umd/react-dom-unstable-native-dependencies.development.js
joeyparrish/cdnjs
/** @license React v16.3.3 * react-dom-unstable-native-dependencies.development.js * * Copyright (c) 2013-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. */ 'use strict'; (function (global, factory) { typeof ...
static/ChemDoodle/install/ChemDoodleWeb.js
py-chemist/web_apps
// // ChemDoodle Web Components 6.0.0 // // http://web.chemdoodle.com // // Copyright 2009-2014 iChemLabs, LLC. All rights reserved. // // The ChemDoodle Web Components library is licensed under version 3 // of the GNU GENERAL PUBLIC LICENSE. // // You may redistribute it and/or modify it under the terms of the // GNU...
src/pages/run.js
getinsomnia/website
import React from 'react'; import SocialCards from '../components/social-cards'; import Title from '../partials/title'; import DownloadButton from '../components/download-button'; import ImportButton from '../components/import-button'; import Link from '../components/link'; export default () => ( <React.Fragment> ...
ajax/libs/material-ui/5.0.0-alpha.10/es/Chip/Chip.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import{useThemeVariants}from"@material-ui/styles";import CancelIcon from"../int...
app/static/src/diagnostic/AddEquipmentForm.js
SnowBeaver/Vision
import React from 'react'; import FormControl from 'react-bootstrap/lib/FormControl'; import FormGroup from 'react-bootstrap/lib/FormGroup'; import Button from 'react-bootstrap/lib/Button'; import Panel from 'react-bootstrap/lib/Panel'; import Modal from 'react-bootstrap/lib/Modal'; import HelpBlock from 'react-bootstr...
src/helpers/extension.js
margox/braft-editor
/* eslint-disable no-param-reassign */ // TODO // -extended support for block-style and atomic types import React from 'react'; const extensionControls = []; const extensionDecorators = []; const propInterceptors = []; const extensionBlockRenderMaps = []; const extensionBlockRendererFns = []; const extensionInline...
frontend/test/app/components/NewsletterFooter-test.js
mathjazz/testpilot
import React from 'react'; import { expect } from 'chai'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import NewsletterFooter from '../../../src/app/components/NewsletterFooter'; describe('app/components/NewsletterFooter', () => { const _subject = (form) => { const props = { newsletterF...
ajax/libs/react/0.6.0/react.min.js
amoyeh/cdnjs
!function(a,b){function e(){this._events=new Object}function f(a){a&&(a.delimiter&&(this.delimiter=a.delimiter),a.wildcard&&(this.wildcard=a.wildcard),this.wildcard&&(this.listenerTree=new Object))}function g(a){this._events=new Object,f.call(this,a)}function h(a,b,c,d){if(!c)return[];var e=[],f,g,i,j,k,l,m,n=b.length,...
play2-maven-plugin/1.0.0-rc5/play2-providers/play2-provider-play23/js/apache-maven-fluido-1.6.min.js
play2-maven-plugin/play2-maven-plugin.github.io
/*! * jQuery JavaScript Library v1.11.2 * 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-12-17T15:27Z */ (function(b,a){if(typeof module==="ob...
app/javascript/components/Filters/FilterPopover/FilterPopoverButtons/component.js
thecartercenter/elmo
import React from 'react'; import PropTypes from 'prop-types'; import Button from 'react-bootstrap/Button'; class FilterPopoverButtons extends React.Component { static propTypes = { onSubmit: PropTypes.func.isRequired, containerClass: PropTypes.string, }; render() { const { onSubmit, containerClass ...
src/main/webapp/static/jquery-validation/1.11.1/lib/jquery-1.9.0.js
Halburt/Hsite
/*! * jQuery JavaScript Library v1.9.0 * 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-1-14 */ (function( window, undefined ) { "use strict";...
src/routes/home/index.js
OlegVitiuk/Majsternia
/** * 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 Home from './Home'; i...
src/index.js
weitaiting/jstrainingproject
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; ReactDOM.render( <App initialData={window.initialData} />, document.getElementById('root') );
app/javascript/flavours/glitch/features/composer/options/dropdown/content/item/index.js
vahnj/mastodon
// Package imports. import classNames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import Toggle from 'react-toggle'; // Components. import Icon from 'flavours/glitch/components/icon'; // Utils. import { assignHandlers } from 'flavours/glitch/util/react_helpers'; // Handlers....
app/components/Phase/index.js
HRR20-Lotus/affirmation
/** * * Phase * */ import React from 'react'; import Paper from 'material-ui/Paper'; import FlatButton from 'material-ui/FlatButton'; import RaisedButton from 'material-ui/RaisedButton'; import { Link } from 'react-router'; class Phase extends React.Component { // eslint-disable-line react/prefer-stateless-function ...
react/features/participants-pane/components/native/ParticipantItem.js
gpolitis/jitsi-meet
// @flow import React from 'react'; import type { Node } from 'react'; import { useTranslation } from 'react-i18next'; import { TouchableOpacity, View } from 'react-native'; import { Text } from 'react-native-paper'; import { Avatar } from '../../../base/avatar'; import { MEDIA_STATE, type MediaState, AudioStateIcons...
library/src/webapp/js/fluid/1.4/MyInfusion.js
OpenCollabZA/sakai
/* * jQuery JavaScript Library v1.6.1 * 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. ...
geonode/contrib/monitoring/frontend/src/components/molecules/average-memory/index.js
MapStory/geonode
import React from 'react'; import PropTypes from 'prop-types'; import CircularProgress from 'material-ui/CircularProgress'; import HoverPaper from '../../atoms/hover-paper'; import styles from './styles'; class AverageMemory extends React.Component { static propTypes = { mem: PropTypes.number, } static con...
packages/reactabular-table/__tests__/provider_test.js
reactabular/reactabular
/* eslint-disable react/prop-types */ import React from 'react'; import TestUtils from 'react-dom/test-utils'; import { expect } from 'chai'; import * as Table from '../src'; describe('Table.Provider', function () { it('renders children correctly', function () { const columns = [ { property: 'name'...
app/static/scripts/landingView/main.js
joshleeb/TobioPreRelease
import CaptureView from './captureView/main.js'; import PitchView from './pitchView/main.js'; import SignupView from './signupView/main.js'; import TitleView from './titleView/main.js'; import ValueView from './valueView/main.js'; import React from 'react'; export default class LandingView extends React.Component { ...
ajax/libs/yui/3.18.0/event-custom-base/event-custom-base-debug.js
vetruvet/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @mod...
ajax/libs/rxjs/2.4.0/rx.js
honestree/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 }; ...
packages/wix-style-react/stories/Introduction/Cheatsheet/componentsFamilies/FoundationFamily.js
wix/wix-style-react
import React from 'react'; import { Category } from '../../../storiesHierarchy'; import { FamilyStructure, SingleComponentSideBySide, } from '../sharedComponents'; import { foundationSymbolsToComponents } from '../../../symbolsComponentsMapping/families/foundationFamily'; import { createLinkedComponentsNames, ...
App/updateScreen.js
Dagers/React-Native-Differential-Updater
import React, { Component } from 'react'; import { DeviceEventEmitter, NativeModules, NativeEventEmitter ,StyleSheet, Alert, ProgressBarAndroid, ProgressViewIOS, Platform, Text, View, Image, Button, ScrollView } from 'react-native'; /** * Represents the UpdateScreen of our app. * * @author Daniel Strebinger * @ve...
src/components/event/Header.js
tervay/AutoScout
import React from 'react'; import { linkAlliance } from '@/js/links'; import { eventTypeShortenerMap } from '../../js/util'; export default class EventHeader extends React.Component { render() { return ( <div className={'box'} style={{ marginTop: '10px' }}> <nav className={'level'}> <div ...
app/components/navigators/rootNavigator/RootNavigation.js
MutatedBread/binary-academy-rn
import React, { Component } from 'react'; import { addNavigationHelpers, } from 'react-navigation'; import RootNav from './RootNav.js'; export default class RootNavigation extends Component { constructor(props) { super(props); } render() { return ( <RootNav navigation={ad...
packages/material-ui-icons/src/FilterTiltShiftSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1.11-.86 2.44-1.44 3.9-1.62zm7.32.19C16.84 3.05 15.01 2.25 13 2.05v2.02c1.46.18 2.79.76 3.9 1.62l1.42-1.43zM19.93 11h2.02c-.2-2.01-1-3.84-2.21-5.32L18.3...
node_modules/react-icons/ti/image.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiImage = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m18.3 14.2c0 2.3-1.8 4.1-4.1 4.1s-4.2-1.8-4.2-4.1c0-2.3 1.9-4.2 4.2-4.2s4.1 1.9 4.1 4.2z m8.4 2.5c-3.4 0-5 5-7.5 5s-2.5-1.7-5.9-1.7c-3.3 0-5 6.7-5 6.7h23.4s-1.7-10-5-10...
www/packages/session.js
josmas/UCapp
////////////////////////////////////////////////////////////////////////// // // // This is a generated file. You can view the original // // source in your browser if your browser supports source maps. // // ...
src/containers/AdminContainer.js
LondonCityAC/sprint-admin-app
import React from 'react' export default class AdminContainer extends React.Component { componentWillMount() { console.log('will mount'); } render() { return( <div>{this.props.children}</div> ) } }
fields/types/relationship/RelationshipColumn.js
michaelerobertsjr/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; const moreIndicatorStyle = { color: '#bbb', fontSize: '.8rem', fontWeight: 500, marginLeft: 8, }; var RelationshipColumn = React.createClass({ displayName: 'Rel...
ajax/libs/redux-form/0.5.0/react-redux.js
tonytomov/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...
test/specs/views/Item/ItemImage-test.js
mohammed88/Semantic-UI-React
import React from 'react' import ItemImage from 'src/views/Item/ItemImage' describe('ItemImage', () => { it('renders Image component', () => { shallow(<ItemImage />) .should.have.descendants('Image') }) it('is wrapped without ui', () => { const wrapper = shallow(<ItemImage />) wrapper.should....
client/components/Print.js
axax/lunuc
import React from 'react' import PropTypes from 'prop-types' import DomUtil from 'client/util/dom' import Util from 'client/util' import injectSheet from 'react-jss' import {_t, registerTrs} from '../../util/i18n' import classNames from 'classnames' const PAGE_HEIGHT = 1430, PAGE_WIDTH = 1010 const styles = { but...
packages/benchmarks/src/implementations/inline-styles/View.js
css-components/styled-components
/* eslint-disable react/prop-types */ import React from 'react'; const compose = (s1, s2) => { if (s1 && s2) { return { ...s1, ...s2 }; } else { return s1 || s2; } }; class View extends React.Component { render() { const { style, ...other } = this.props; return <div {...other} style={compose(v...
mlflow/server/js/src/experiment-tracking/components/modals/DeleteExperimentModal.js
mlflow/mlflow
import React, { Component } from 'react'; import { ConfirmModal } from './ConfirmModal'; import PropTypes from 'prop-types'; import { deleteExperimentApi, listExperimentsApi } from '../../actions'; import Routes from '../../routes'; import Utils from '../../../common/utils/Utils'; import { connect } from 'react-redux';...
imports/ui/components/SearchBar/SearchBar.js
hwillson/meteor-solr-demo
/* eslint-disable react/prefer-es6-class, react/no-string-refs */ import React from 'react'; import classNames from 'classnames'; import { _ } from 'meteor/underscore'; const SearchBar = React.createClass({ propTypes: { searchParams: React.PropTypes.object.isRequired, handleSearchParamsUpdate: React.PropTy...
packages/cf-component-icon/test/Icon.js
mdno/mdno.github.io
import React from 'react'; import renderer from 'react-test-renderer'; import Icon from '../../cf-component-icon/src/index'; test('should render type', () => { const component = renderer.create(<Icon type="info-sign" label="Info" />); expect(component.toJSON()).toMatchSnapshot(); }); test('should render type/size...
packages/web/src/components/Group/GroupMenu.js
hengkx/note
import React from 'react'; import PropTypes from 'prop-types'; import { ContextMenu, MenuItem, SubMenu, connectMenu } from 'react-contextmenu'; const GroupMenu = (props) => { const { id, trigger } = props; const handleItemClick = trigger ? trigger.onItemClick : null; if (trigger && !trigger.group.parent) { r...
src/components/PostEditor.js
bobwei/thewebapp-example
import React from 'react'; import TextareaAutosize from 'react-textarea-autosize'; export default class PostEditor extends React.Component { constructor(props, context) { super(props, context); this.state = { text: this.props.text || '' }; } onTextareaChange(e) { this.setState({ text: e.t...
docs/src/components/Docs/Props/ReadOnlyProp/index.js
jpuri/react-draft-wysiwyg
import React from 'react'; export default () => ( <div> <h3>readOnly</h3> <div className="docs-desc"> The property can be used to render Editor in read only mode. When its true user can not change editor text or use any toolbar option. </div> </div> );
ajax/libs/orb/1.0.4/orb.min.js
js-data/cdnjs
/** * orb v1.0.4, Pivot grid javascript library. * * Copyright (c) 2014 Najmeddine Nouri <devnajm@gmail.com>. * * @version v1.0.4 * @link http://nnajm.github.io/orb/ * @license MIT */ "use strict";!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof...
ajax/libs/yasqe/1.5.1/yasqe.bundled.min.js
lobbin/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)...
node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
odapplications/WebView-with-Lower-Tab-Menu
/** * Copyright (c) 2013-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. * * Facebook,...
docs/src/pages/demos/lists/PinnedSubheaderList.js
cherniavskii/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import ListSubheader from 'material-ui/List/ListSubheader'; import List, { ListItem, ListItemText } from 'material-ui/List'; const styles = theme => ({ root: { width: '100%', maxWidth: 360, bac...
packages/material-ui-icons/src/AssistantRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h4l2.29 2.29c.39.39 1.02.39 1.41 0L15 20h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-5.12 10.88L12 17l-1.88-4.12L6 11l4.12-1.88L12 5l1.88 4.12L18 11l-4.12 1.88z" /> , '...
ajax/libs/react-router-bootstrap/0.13.0/ReactRouterBootstrap.min.js
jonobr1/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-bootstrap/lib/Button"),require("react-bootstrap/lib/MenuItem"),require("react-bootstrap/lib/NavItem"),require("react-bootstrap/lib/ListGroupItem")):"function"==typeof define&&define.amd?define(["react","rea...
ajax/libs/rxjs/2.3.6/rx.all.js
RoryStolzenberg/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...
app/javascript/mastodon/features/ui/components/drawer_loading.js
pixiv/mastodon
import React from 'react'; const DrawerLoading = () => ( <div className='drawer'> <div className='drawer__pager'> <div className='drawer__inner' /> </div> </div> ); export default DrawerLoading;
source/Switcher.js
halt-hammerzeit/react-responsive-ui
import React from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import { submitFormOnCtrlEnter } from './utility/dom' import WithError from './WithError' // `PureComponent` is only available in React >= 15.3.0. const PureComponent = React.PureComponent || React.Component export defau...
src/index.js
dggriffin/noteworthy
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; import TeamView from './components/TeamView'; import { Router, Route, browserHistory } from 'react-router'; // Render the main component into the dom ReactDOM.render( <Router histor...
src/components/fieldSet/fieldSet.js
psenger/ReactJS-Rapid-Prototype-Template
import PropTypes from 'prop-types'; import React, { Component } from 'react'; export default class FieldSet extends Component { constructor (props) { super(props); this.displayName = 'components/FieldSet'; } render () { return ( <fieldset className={classNames(this.props.classNames)} data-com...
src/js/components/WorldMap/stories/Simple.js
grommet/grommet
import React from 'react'; import { Box, WorldMap } from 'grommet'; export const Simple = () => ( <Box align="center" pad="large"> <WorldMap /> </Box> ); Simple.parameters = { // chromatic disabled because snapshot is the same as SelectPlace chromatic: { disable: true }, }; export default { title: 'Vi...
docs/app/Examples/elements/Icon/Variations/IconExampleFitted.js
ben174/Semantic-UI-React
import React from 'react' import { Icon } from 'semantic-ui-react' const IconExampleFitted = () => ( <div> <p>Tight spacing</p> <Icon fitted name='help' /> <p>Tight spacing</p> </div> ) export default IconExampleFitted
src/timeline/body/index.js
kmiracle-iscs/wca-react-poc
import React from 'react'; import { connect } from 'react-redux' import _ from 'lodash'; import { getTimelineEvents } from '../actions'; import TimelineHeader from '../header'; import T from '../../config/translate'; import { getUser } from '../../user/actions'; export class Timeline extends React.Component { c...
src/application/components/JsonDoc/ModelDescription.js
movio/apidoc-ui
// @flow import React from 'react'; import H2 from 'components/H2'; import Markdown from 'components/Markdown'; import type { Service } from 'generated/version/ServiceType'; import * as utils from 'utils'; import styles from 'application/components/JsonDoc/json-doc.css'; const ModelDescription = ({ baseModel, s...
realestate/sites/all/libraries/fontawesome/src/assets/js/jquery-1.7.1.min.js
agiza/vs-port
/*! 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.frameBord...
client/js/main.js
open-austin/austingreenmap
import React from 'react'; import {setupiOSTouchState} from './utils'; import AppRouter from'./components/AppRouter.jsx'; window.React = React; window.AppRouter = AppRouter; function init() { setupiOSTouchState(); window.austingreenmap = React.render(<AppRouter />, document.getElementById('app')); } if (docu...
patit_server_app/web/assets/js/libs/jquery-min.js
jmjurado23/patit-django
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==...
src/components/Main.js
ShangShungFoundation/tib_learn_app
import React from 'react' import { Switch, Route } from 'react-router-dom' import Home from './Home' import Sentence from './Sentence' import SpellChecker from './SpellChecker' import ExportWidget from './ExportWidget' // The Main component renders one of the three provided // Routes (provided that one matches). Both ...
ui/core/src/users/Form.js
iporaitech/pwr2-docker
// file: users/Form.js import React, { PropTypes } from 'react'; import Relay from 'react-relay'; import { withRouter } from 'react-router'; // Base components import Grid, { Cell } from 'react-to-mdl/grid'; import Layout from 'react-to-mdl/layout'; import Textfield from 'react-to-mdl/textfield'; import Select from '...
client/node_modules/react-router/es/Router.js
bourdakos1/Visual-Recognition-Tool
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; }; function _classCallCheck(instance, Constructor) { if (!(insta...
ajax/libs/rxjs/2.2.20/rx.lite.js
tomalec/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 }; v...
src/components/icons/FormatQuote.js
austinknight/ui-components
import React from 'react'; const FormatQuote = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 24 24"> {props.title && <title>{props.title}</title>} <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg> ); export de...
src/routes/Home/components/HomeView.js
successkrisz/fx-rates-right
import React from 'react' import './HomeView.scss' import mainPic from 'assets/images/home960.jpg' export const HomeView = () => ( <div className='home_view__container'> <h1>#FX Rates Right</h1> <h4 className='home_view__subtitle'>The app where you can view the currency rates right ;-)</h4> <div> <...
src/components/item/form/AuthorInput.js
katima-g33k/blu-react-desktop
/* eslint react/no-did-update-set-state: 0 */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Button, Col, FormGroup, Glyphicon, } from 'react-bootstrap'; import { Author } from '../../../lib/models'; import I18n from '../../../lib/i18n'; import { Input } from '../../gene...
ajax/libs/yasqe/1.1.0/yasqe.min.js
vetruvet/cdnjs
!function(e){if("object"==typeof exports)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,r,i){function n(s,a){if(!r[s]){if(!...
tests/testUtils.js
lost-osiris/react-datetime
import React from 'react'; // eslint-disable-line no-unused-vars import { mount } from 'enzyme'; import Datetime from '../DateTime'; // eslint-disable-line no-unused-vars const simulateClickOnElement = (element) => { if (element.length === 0) { // eslint-disable-next-line no-console console.warn('Element not clic...
packages/react-dom/src/server/ReactPartialRenderer.js
syranide/react
/** * Copyright (c) 2013-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. * * @flow */ import type {ReactElement} from 'shared/ReactElementType'; import type { ReactProvider, ReactConsumer, ReactContext, }...
client/__tests__/components/User/Favorites.spec.js
amarachukwu-agbo/hello-books
import React from 'react'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import mockData from '../../__mocks__/mockData'; import ConnectedFavorites, { Favorites } from '../../../components/User/Favorites'; const mockStor...
src/Calendar.js
erisnuts/react-date-picker
import React from 'react' import Component from 'react-class' import assign from 'object-assign' import assignDefined from './assignDefined' import MonthView, { NAV_KEYS } from './MonthView' import toMoment from './toMoment' import join from './join' import ClockInput from './ClockInput' import forwardTime from './ut...
wwwroot/app/src/components/MyRecipesPage/MyRecipesPageContainer.js
AlinCiocan/PlanEatSave
import React, { Component } from 'react'; import { ApiRequest } from '../../services/ApiRequest'; import Routes from '../../services/Routes'; import RecipeService from '../../services/RecipeService'; import TopBar from '../TopBar/TopBar'; import RecipesList from './RecipesList'; import ConfirmModal from '../base/modal/...
src/components/Page/index.js
oct16/Blog-FE
import React from 'react'; import PropTypes from 'prop-types'; import s from './Page.css'; class Page extends React.Component { static propTypes = { title: PropTypes.string.isRequired, html: PropTypes.string.isRequired }; render() { const { title, html } = this.props; return ( <div classN...
ajax/libs/forerunnerdb/1.3.632/fdb-all.js
jonobr1/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/vega/2.5.1/vega.js
ahocevar/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.vg = f()}})(fu...