path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/6to5/2.11.4/browser-polyfill.js
bdukes/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...
test/client/pages/login/components/App.js
Cortrah/SpaceOperaNode
var React = require('react/addons'); var ReactRouter = require('react-router'); var Lab = require('lab'); var Code = require('code'); var App = require('../../../../../client/pages/login/components/App'); var lab = exports.lab = Lab.script(); var TestUtils = React.addons.TestUtils; var Route = ReactRouter.Route; var ...
app/containers/Web3Alerts/NoWeb3.js
acebusters/ab-web
import React from 'react'; import A from '../../components/A'; import { Wrapper } from './styles'; const NoWeb3Alert = () => ( <Wrapper theme="warning"> <h2>Please install MetaMask</h2> <p> In order to use our app you need to install the <A href="https://metamask.io/" target="_blank">MetaMask Extension...
node_modules/antd/es/timeline/TimelineItem.js
yhx0634/foodshopfront
import _extends from 'babel-runtime/helpers/extends'; import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possib...
src/Components/Button/Button.js
AdamMescher/SWAPIbox
import React from 'react'; import PropTypes from 'prop-types'; const Button = ( { buttonText, buttonClass, buttonCallback, extraContent } ) => ( <button className={buttonClass} onClick={buttonCallback}> {buttonText}<span> {extraContent}</span> </button> ); export default Button; Button...
docs/src/app/components/pages/components/Popover/ExampleConfigurable.js
pradel/material-ui
import React from 'react'; import RaisedButton from 'material-ui/RaisedButton'; import RadioButton from 'material-ui/RadioButton'; import Popover from 'material-ui/Popover/Popover'; import {Menu, MenuItem} from 'material-ui/Menu'; const styles = { h3: { marginTop: 20, fontWeight: 400, }, block: { dis...
build/lib/createRouter.js
knowbody/react-router
/* jshint -W058 */ 'use strict'; var React = require('react'); var warning = require('react/lib/warning'); var invariant = require('react/lib/invariant'); var canUseDOM = require('react/lib/ExecutionEnvironment').canUseDOM; var LocationActions = require('./actions/LocationActions'); var ImitateBrowserBehavior = requir...
js/SettingsConfig.js
zcs0843021123/Ranger
/** * Created by zhangchunsheng on 17/4/24. */ import React, { Component } from 'react'; import { View, Text, Platform, InteractionManager, ListView, Navigator, AppRegistry } from 'react-native'; export default class SettingsConfig extends Component { pageSize = 20; constructor(props) { super(props)...
client/src/app/admin/panel/dashboard/admin-panel-my-account.js
ivandiazwm/opensupports
import React from 'react'; import {connect} from 'react-redux'; import _ from 'lodash'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; import SessionActions from 'actions/session-actions'; import StaffEditor from 'app/admin/panel/staff/staff-editor'; import Header from 'core-components/header'; ...
ajax/libs/rxjs/2.2.24/rx.lite.compat.js
kave/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...
ajax/libs/places.js/0.28.0/places.js
CyrusSUEN/cdnjs
/*! 0.28.0 | © Algolia | github.com/algolia/places */ (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'...
ajax/libs/aui/5.2-m6/js/aui-dependencies.js
johngerome/cdnjs
/*! AUI Flat Pack - version 5.2-m6 - generated 2013-05-29 03:12:37 -0400 */ /* * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * D...
ajax/libs/babel-core/4.7.4/browser-polyfill.js
hare1039/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/index.js
Nailed-it/Designify
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import reduxStoreCreator from './reduxStoreCreator'; import './index.css'; import routes from './routes'; import MuiThemeProvider from 'material-ui/styles/MuiThemeP...
index.js
Roconda/redux-material-routing-boilerplate
import React from 'react'; import Root from './src/containers/Root'; import injectTapEventPlugin from 'react-tap-event-plugin' //Needed for onTouchTap //Can go away when react 1.0 release //Check this repo: //https://github.com/zilverline/react-tap-event-plugin injectTapEventPlugin(); React.render( <div> <Root ...
ajax/libs/thorax/2.2.1/thorax-combined.min.js
wenzhixin/cdnjs
(function(e,t){"use strict";function _(e){var t=e.length,n=y.type(e);return y.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function P(e){var t=D[e]={};return y.each(e.match(w)||[],function(e,n){t[n]=!0}),t}function j(e,n,r,i){if(!y.acceptData(e))return;var ...
example/components/Nested.js
a-type/studs
import React from 'react'; import styled from 'styled-components'; import theme from '../theme'; import Anchor from './Anchor'; const selector = theme .register('Nested', theme => ({ background: theme.colors.secondary, })) .addVariant('secondary', () => ({ background: 'white', })) .createSelector(); ...
ajax/libs/material-ui/4.9.6/esm/Snackbar/Snackbar.min.js
cdnjs/cdnjs
import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import _defineProperty from"@babel/runtime/helpers/esm/defineProperty";import _extends from"@babel/runtime/helpers/esm/extends";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles ...
webpack/common/loaders.js
zonghuan/xzs-amp
var ExtractTextPlugin = require('extract-text-webpack-plugin'); var path = require('path'); var lessOption = { "globalVars":{ "base":750/10+"rem" } }; module.exports=[ { test: /\.js$/, exclude: /node_modules/, loader: 'babel', query: { presets: ['es2015', 'stage-0','react'] } }, ...
src/components/modules/AnimeGridList.js
migueliriano/react-anime-project
import React from 'react'; import PropTypes from 'prop-types'; import AnimeBoxLink from 'components/modules/AnimeBoxLink'; import GridContainer from 'style/animeGridList'; class AnimeGridList extends React.PureComponent { static propTypes = { animes: PropTypes.arrayOf(PropTypes.object).isRequired, }; /** ...
fields/types/relationship/RelationshipFilter.js
helloworld3q3q/keystone
import _ from 'lodash'; import async from 'async'; import React from 'react'; import { findDOMNode } from 'react-dom'; import xhr from 'xhr'; import { FormField, FormInput, SegmentedControl } from '../../../admin/client/App/elemental'; import PopoutList from '../../../admin/client/App/shared/Popout/PopoutList'; cons...
docs/src/pages/FormsPage.js
chris-gooley/react-materialize
import React from 'react'; import Row from 'Row'; import Col from 'Col'; import Section from 'Section'; import ReactPlayground from './ReactPlayground'; import PropTable from './PropTable'; import Samples from './Samples'; import iconPrefixesInput from '../../../examples/IconPrefixesInput'; import inputRadio from '../...
docs/src/app/components/pages/components/Divider/Page.js
ArcanisCz/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import dividerReadmeText from './README'; import DividerExampleForm from './Exam...
react-router-demo/lessons/13-server-rendering/modules/About.js
zhangjunhd/react-examples
import React from 'react' export default React.createClass({ render() { return <div>About</div> } })
example/src/components/PointInMapView.js
bsudekum/react-native-mapbox-gl
import React from 'react'; import {Text} from 'react-native'; import MapboxGL from '@mapbox/react-native-mapbox-gl'; import BaseExamplePropTypes from './common/BaseExamplePropTypes'; import Page from './common/Page'; import Bubble from './common/Bubble'; class PointInMapView extends React.Component { static propTyp...
app/js/components/DraggableDiv.js
andela-earinde/bellatrix
import React from 'react' import ReactDOM from 'react-dom' /** * Having issues implementing the draggable div, * will implement later. */ class DraggableDiv extends React.Component { constructor(props) { super(props); this.x_pos = 0 // this.initializeDrag = this.initializeDrag.bind(this) // this.ha...
src/components/Main.js
oxxmossxxo/ReactRouterReduxBoiler
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Switch, Route, Router } from 'react-router-dom'; // Maps the state to props, just pass in a React Component import Home from './pages/Home'; import store, { history } from '../store'; var domIsReady = (fun...
pootle/static/js/shared/components/FormCheckedInput.js
translate/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; const FormCheckedInput = Reac...
src/Accordion.js
cgvarela/react-bootstrap
import React from 'react'; import PanelGroup from './PanelGroup'; const Accordion = React.createClass({ render() { return ( <PanelGroup {...this.props} accordion> {this.props.children} </PanelGroup> ); } }); export default Accordion;
src/components/LocationForm/index.js
cowback/charcode-client
import React from 'react' import Panel from '../Panel' import Input from '../Input' import Button from '../Button' class LocationForm extends React.Component { constructor(props) { super(props) } handleChange = ({ target }) => this.setState({ cep: target.value }) render() { return ( <Panel...
modules/__tests__/History-test.js
cgrossde/react-router
/*eslint-env mocha */ import expect from 'expect' import React from 'react' import History from '../History' import Router from '../Router' import Route from '../Route' import createHistory from 'history/lib/createMemoryHistory' describe('History Mixin', function () { let node beforeEach(function () { node = ...
packages/material-ui-icons/src/FilterBAndWSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 3H3v18h18V3zm-2 16l-7-8v8H5l7-8V5h7v14z" /> , 'FilterBAndWSharp');
misc/jquery.js
wstacyvereen/d7.scratch.main
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses....
src/scenes/home/header/logo/logo.js
alexspence/operationcode_frontend
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import logo from 'images/logos/small-white-logo.png'; import styles from './logo.css'; class Logo extends Component { render() { return ( <div className={styles.logo} > <Link to="/"><img src={logo} alt="" /></Link> ...
ajax/libs/jquery.fancytree/2.17.0/jquery.fancytree.js
tholu/cdnjs
/*! * jquery.fancytree.js * Tree view control with support for lazy loading and much more. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2016, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.17.0 * @date 2016...
public/js/components/admin/feedback/chat.react.js
TRomesh/Coupley
/** * Created by Isuru 1 on 07/02/2016. */ import React from 'react'; import Table from 'material-ui/lib/table/table'; import TableHeaderColumn from 'material-ui/lib/table/table-header-column'; import TableRow from 'material-ui/lib/table/table-row'; import TableHeader from 'material-ui/lib/table/table-header'; import...
test/integration/theming.js
xmityaz/material-ui
/* eslint-disable react/prefer-es6-class */ // NOTE: all these tests depend on DarkRawTheme, and Colors // Modifying any of the above files will break these tests! import React from 'react'; import TestUtils from 'react-addons-test-utils'; import {expect} from 'chai'; import AppBar from 'src/AppBar'; import RaisedBut...
test/test-cases/source-maps/src/render.js
seek-oss/sku
import React from 'react'; import { renderToString } from 'react-dom/server'; import dedent from 'dedent'; import App from './App'; export default { renderApp: () => renderToString(<App />), renderDocument: ({ app, bodyTags, headTags }) => dedent` <!DOCTYPE html> <html> <head> <meta charset=...
ajax/libs/yui/3.5.0pr3/event-custom-base/event-custom-base.js
pc035860/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
src/layouts/CoreLayout/CoreLayout.js
Ryann10/hci_term
import React from 'react' import Header from '../../components/Header' import './CoreLayout.scss' import '../../styles/core.scss' class CoreLayout extends React.Component { constructor (props) { super(props) console.log('props', this.props) } render () { let children = this.props.children let r...
docs/src/pages/components/pagination/PaginationOutlined.js
lgollut/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Pagination from '@material-ui/lab/Pagination'; const useStyles = makeStyles((theme) => ({ root: { '& > *': { marginTop: theme.spacing(2), }, }, })); export default function PaginationOutlined() { const classes...
packages/ringcentral-widgets-docs/src/app/pages/Components/CallsPanel/index.js
u9520107/ringcentral-js-widget
import React from 'react'; import { parse } from 'react-docgen'; import CodeExample from '../../../components/CodeExample'; import ComponentHeader from '../../../components/ComponentHeader'; import PropTypeDescription from '../../../components/PropTypeDescription'; import Demo from './Demo'; // eslint-disable-next-lin...
app/javascript/mastodon/components/media_gallery.js
kirakiratter/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { is } from 'immutable'; import IconButton from './icon_button'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import { isIOS } from '../is_mobile'; import class...
ajax/libs/primereact/8.0.1/togglebutton/togglebutton.esm.js
cdnjs/cdnjs
import * as React from 'react'; import { Ripple } from 'primereact/ripple'; import { Tooltip } from 'primereact/tooltip'; import { ObjectUtils, classNames, IconUtils } from 'primereact/utils'; function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { ...
packages/material-ui-icons/src/Filter7Sharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3 5H1v18h18v-2H3V5zm20-4H5v18h18V1zm-2 16H7V3h14v14zm-8-2l4-8V5h-6v2h4l-4 8h2z" /> , 'Filter7Sharp');
app/components/Prodinfo/index.js
Rohitbels/KolheshwariIndustries
/** * * Prodinfo * */ import React from 'react'; import {Panel} from 'react-bootstrap' class Prodinfo extends React.Component { // eslint-disable-line react/prefer-stateless-function render() { return ( <div className="col-sm-offset-1 col-md-8 "> <Panel header={this.props.title} bsStyle={this.props.bs...
app/components/ListItem/index.js
7ruth/PadStats2
import React from 'react'; import Item from './Item'; import Wrapper from './Wrapper'; function ListItem(props) { return ( <Wrapper> <Item> {props.item} </Item> </Wrapper> ); } ListItem.propTypes = { item: React.PropTypes.any, }; export default ListItem;
src/frontend/routes/index.js
PiGarageDoor/garage-pi
import React from 'react'; import { browserHistory, Router, Route, IndexRoute, } from 'react-router'; import Main from 'components/main'; import Login from 'containers/login'; import Logout from 'containers/logout'; import Door from 'containers/door/list'; import AddUser from 'containers/user/admin/add'; impor...
src/Parser/Paladin/Holy/Modules/Talents/RuleOfLaw.js
enragednuke/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import Wrapper from 'common/Wrapper'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Mo...
demo/src/Layers.js
kiloe/ui
import React from 'react'; import View from '../../package/View'; import UI from '../../package/index'; import Button from '../../package/Button'; import CallSplitIcon from '../../package/icons/CallSplitIcon'; import LockIcon from '../../package/icons/LockIcon'; import DeleteIcon from '../../package/icons/DeleteIcon'; ...
examples/react-es6/__tests__/CheckboxWithLabel-test.js
bluebridgedigital/jest
jest.dontMock('../CheckboxWithLabel'); import React from 'react/addons'; const CheckboxWithLabel = require('../CheckboxWithLabel'); var TestUtils = React.addons.TestUtils; describe('CheckboxWithLabel', () => { it('changes the text after click', () => { // Render a checkbox with label in the document var c...
jenkins-design-language/src/js/components/material-ui/svg-icons/device/signal-cellular-connected-no-internet-4-bar.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const DeviceSignalCellularConnectedNoInternet4Bar = (props) => ( <SvgIcon {...props}> <path d="M20 18h2v-8h-2v8zm0 4h2v-2h-2v2zM2 22h16V8h4V2L2 22z"/> </SvgIcon> ); DeviceSignalCellularConnectedNoInternet4Bar.displayName = 'DeviceSignalCellularCon...
blueocean-material-icons/src/js/components/svg-icons/notification/phone-in-talk.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const NotificationPhoneInTalk = (props) => ( <SvgIcon {...props}> <path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 ...
src/svg-icons/content/undo.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentUndo = (props) => ( <SvgIcon {...props}> <path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/> </Svg...
blueocean-material-icons/src/js/components/svg-icons/hardware/cast.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const HardwareCast = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2c4.97 0 9 4.03 9 9h2c0-6.08-4.9...
has-nav/js/jquery-1.11.2.min.js
Loyalsoldier/Huidaweibao-CETGradeQuery2014
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
node_modules/react-bootstrap/es/DropdownMenu.js
vietvd88/developer-crawler
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _Array$from from 'babel-runtime/core-js/array/from'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtim...
demo/src/entry.js
mderrick/react-html5video
/* eslint-disable global-require */ import React from 'react'; import { render } from 'react-dom'; import App from './components/App'; render( <App />, document.getElementById('content') ); if (module.hot) { module.hot.accept('./components/App', () => { const NextRoot = require('./components/App'...
ajax/libs/material-ui/4.9.4/es/internal/svg-icons/Close.js
cdnjs/cdnjs
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon(React.createElement("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), 'Close');
node_modules/semantic-ui-react/dist/es/modules/Rating/Rating.js
SuperUncleCat/ServerMonitoring
import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/i...
files/rxjs/2.3.9/rx.lite.extras.js
leebyron/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...
src/CreateGoalValueInput/index.js
DuckyTeam/ducky-components
/* eslint-disable react/no-set-state */ import Wrapper from '../Wrapper'; import Input from '../Input'; import LabelHorisontal from '../LabelHorisontal'; import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import styles from './styles.css'; class CreateGoalValueInput ext...
app/components/Icons/WeatherIcon.js
PeterEB/quick-demo-boilerplate
import React from 'react'; function getIcon (icon) { switch (icon) { case '01d': return ( <g> <path fill="#FFFFFF" d="M22.594,1.79c0-0.988-0.801-1.79-1.789-1.79c-0.988,0-1.79,0.802-1.791,1.79l0.001,3.977 c0,0.988,0.802,1.791,1.79,1.791...
src/svg-icons/hardware/keyboard.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboard = (props) => ( <SvgIcon {...props}> <path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v...
lib/yuilib/3.17.2/datatable-core/datatable-core-debug.js
travmi/moodle
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
local-cli/rnpm/link/test/link.spec.js
nathanajah/react-native
const chai = require('chai'); const expect = chai.expect; const sinon = require('sinon'); const mock = require('mock-require'); const log = require('npmlog'); const path = require('path'); const link = require('../src/link'); log.level = 'silent'; describe('link', () => { beforeEach(() => { delete require.cac...
src/main/resources/public/js/config/html-head.js
ozwillo/ozwillo-portal
import React from 'react'; import {Helmet} from 'react-helmet'; import PropTypes from 'prop-types'; export default class HtmlHead extends React.PureComponent { render() { const {env} = this.props; return ( <React.Fragment> {env ? <Helmet> ...
src/client.js
yourcontainer/starter-kit-redux
import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import { Router, browserHistory } from 'react-router' import createStore from 'createStore' import routes from 'routes' const store = createStore(browserHistory) const root = ( <Provider store={store}> <Router h...
src/svg-icons/av/sort-by-alpha.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvSortByAlpha = (props) => ( <SvgIcon {...props}> <path d="M14.94 4.66h-4.72l2.36-2.36zm-4.69 14.71h4.66l-2.33 2.33zM6.1 6.27L1.6 17.73h1.84l.92-2.45h5.11l.92 2.45h1.84L7.74 6.27H6.1zm-1.13 7.37l1.94-5.18 1.94 ...
src/index.js
davidbpaul/LHL-Final-GetGO-web
// Application entrypoint. // Load up the application styles require('../styles/application.scss'); // Render the top-level React component import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import App from './App.jsx'; import red...
packages/material-ui-icons/src/WrapTextSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3 3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z" /> , 'WrapTextSharp');
src/routes/catalog/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 Catalog from './Catal...
src/icons/StrokeMarker.js
ipfs/webui
import React from 'react' const StrokeMarker = props => ( <svg viewBox='0 0 100 100' {...props}> <path d='M53 31.27a8.93 8.93 0 1 0 8.93 8.93A8.95 8.95 0 0 0 53 31.27zm0 16.36a7.43 7.43 0 1 1 7.43-7.43A7.43 7.43 0 0 1 53 47.63z' /> <path d='M70.72 21.37c-.45-.45-1-.91-1.58-1.43l-.14-.11c-.5-.41-1-.82-1.68-1....
src/components/common/svg-icons/navigation/arrow-back.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationArrowBack = (props) => ( <SvgIcon {...props}> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/> </SvgIcon> ); NavigationArrowBack = pure(NavigationArrowBack); NavigationArrowB...
admin/client/App/screens/List/index.js
vokal/keystone
/** * The list view is a paginated table of all items in the list. It can show a * variety of information about the individual items in columns. */ import React from 'react'; // import { findDOMNode } from 'react-dom'; // TODO re-implement focus when ready import numeral from 'numeral'; import { connect } from 'rea...
App/index.android.js
victoryforphil/GTMobile
import React, { Component } from 'react'; import { AppRegistry, PropTypes, ScrollView, StyleSheet, Text, TouchableOpacity, View, Alert, Navigator, } from 'react-native'; import Icon from 'react-native-vector-icons/MaterialIcons'; import Index from './ComponenetsV2/Index'; import * as firebase from 'f...
app/containers/LoginPage/messages.js
gitlab-classroom/classroom-web
/* * LoginPage Messages * * This contains all the text for the LoginPage component. */ import { defineMessages } from 'react-intl'; export default defineMessages({ header: { id: 'app.containers.LoginPage.header', defaultMessage: 'GitLab Classroom', }, username: { id: 'app.containers.LoginPage.use...
ajax/libs/forerunnerdb/1.3.678/fdb-core+persist.min.js
dlueth/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/packages/recompose/__tests__/types/test_shouldUpdate.js
acdlite/recompose
/* eslint-disable no-unused-vars, no-unused-expressions, arrow-body-style */ /* @flow */ import React from 'react' import { compose, withProps, shouldUpdate } from '../..' import type { HOC } from '../..' type EnhancedCompProps = { eA: 1 } const Comp = ({ eA }) => <div> {(eA: number)} { // $ExpectErr...
front/src/Data.js
carlendev/zappy
import React, { Component } from "react"; import PartiesList from "./PartiesList"; import AddData from "./AddData"; export default class Data extends Component { constructor(props) { super(props); this.nextStep = this.nextStep.bind(this); } state = { step: 0 }; nextStep() { this.setState({ ...
src/views/routes.js
b2whats/react-redux-universal-hot-example
import React from 'react'; import {Route} from 'react-router'; import App from 'views/App'; import Home from 'views/Home'; import Widgets from 'views/Widgets'; import About from 'views/About'; import Login from 'views/Login'; import NotFound from 'views/NotFound'; export default ( <Route component={App}> <Route ...
src/components/SvgIcon/EllipsisHorizontal.js
sk-iv/iva-app
import React from 'react'; import SvgIcon from './SvgIcon'; import classNames from 'classnames'; /** * @ignore - internal component. */ let EllipsisHorizontal = props => ( <SvgIcon {...props} className={classNames('icon--size24', props.className)}> <path d="M3,10c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2S1.9,10,3,...
test/FormGroupSpec.js
roderickwang/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import FormGroup from '../src/FormGroup'; import {shouldWarn} from './helpers'; describe('FormGroup', function() { it('renders children', function() { let instance = ReactTestUtils.renderIntoDocument( <FormGroup> <spa...
exercise-3/end/client-conference-schedule/src/components/Tab/index.js
nanovazquez/nodeconf-isomorphic-workshop
import React from 'react'; import './styles.css'; const Tab = ({ title, selected, onSelect, }) => { return ( <div className={selected ? 'tab active' : 'tab'} onClick={onSelect}> <div className="tab-header"> <span>{title}</span> </div> <div className="pointer"></div> </div> ...
examples/partial-app-loading/app.js
vic/react-router
var React = require('react'); var Router = require('react-router'); var { Route, RouteHandler, Link } = Router; var AsyncElement = { loadedComponent: null, load: function () { if (this.constructor.loadedComponent) return; this.bundle(function (component) { this.constructor.loadedComponent = c...
src/components/Header/Header.js
solome/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React from 'react'; import styles from './Header.css'; import withStyles from '../../decorators/withStyles'; import Link from '../../utils/Link'; import Navigation from '../Navigation'; @withStyles(styles) class Header { render() { ...
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/rx/4.1.0/dist/rx.lite.extras.compat.js
Akkuma/npm-cache-benchmark
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
src/components/__tests__/appSpec.js
jamielesouef/jpr.mobi
'use strict'; jest.unmock('../app'); import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import RenderUtils from '../../utils/RenderUtils'; import App from '../app'; describe('App', function () { it('should render the app container', function() { const ...
fixtures/kitchensink/template/src/features/syntax/RestAndDefault.js
d3ce1t/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, { Component } from 'react'; import PropTypes from 'prop-types'; function load({ id, ...rest } = { id: 0, user: { id: 42, ...
ajax/libs/jquery/1.8.1/jquery.min.js
thisispiers/cdnjs
/*! jQuery v@1.8.1 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=...
webapp/src/NewGame.js
ggerbaud/go-dart
import React, { Component } from 'react'; import NewGameButton from './NewGameButton' import logo from './logo.svg'; import {FormattedMessage} from 'react-intl'; class NewGame extends Component { constructor(props) { super(props) this.state = { flavors: [] } } componentDidMount() { consol...
lib-dist/svg-icons/editor/format-indent-increase.js
IsenrichO/mui-with-arrows
'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...
src/index.js
Danny-Robinson/bt-bingo
import 'babel-polyfill'; import ReactDOM from 'react-dom'; import React from 'react'; //import { Router, Route, browserHistory } from 'react-router'; //import routes from '???'; const rootElement = document.getElementById('root'); let render = () => { const App = require('./view/components/App').default; ReactDOM.r...
react/exercises/part_04/src/components/Header.js
jsperts/workshop_unterlagen
import React from 'react'; function Header() { return ( <header className="jumbotron"> <h1>Contact Manager</h1> </header> ); } export default Header;
src/index.js
sgillespie/beer-math
import { AppContainer } from 'react-hot-loader'; import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles'; import { Provider } from 'react-redux'; import { render } from 'react-dom'; import React from 'react'; import teal from 'material-ui/colors/teal'; import deepPurple from 'material-ui/colors/deepPurple...
internals/templates/containers/HomePage/index.js
mattmanske/mmReduxBoilerplate
/* * HomePage * * This is the first thing users see of our App, at the '/' route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it and remove * the l...
packages/mineral-ui-icons/src/IconDataUsage.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconDataUsage(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProp...
src/svg-icons/content/backspace.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentBackspace = (props) => ( <SvgIcon {...props}> <path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12...
mlflow/server/js/src/experiment-tracking/components/LoadMoreBar.js
mlflow/mlflow
/** "Load more" bar for user to click and load more runs. This row is currently built outside of the Table component as we are following a minimum-invasive way of building this feature to avoid massive refactor on current implementation. Ideally, this row can be built inside the Table as a special row by rewriting ...
newclient/scripts/components/config/questionnaire-config/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lic...