path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/bla/0.1.0/bla.js
BitsyCode/cdnjs
/** * @module vow * @author Filatov Dmitry <dfilatov@yandex-team.ru> * @version 0.4.7 * @license * Dual licensed under the MIT and GPL licenses: * * http://www.opensource.org/licenses/mit-license.php * * http://www.gnu.org/licenses/gpl.html */ (function(global) { var undef, nextTick = (function() { ...
ajax/libs/react/0.12.1/react-with-addons.js
ericelliott/cdnjs
/** * React (with addons) v0.12.1 */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(fu...
test/PaginationSpec.js
natlownes/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Pagination from '../src/Pagination'; describe('Pagination', function () { it('Should have class', function () { let instance = ReactTestUtils.renderIntoDocument( <Pagination>Item content</Pagination> ); assert....
src/containers/GameOver/index.js
devrsi0n/React-2048-game
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import Modal from '../../components//Modal'; import Firework from '../../components//Firework'; import styles from './gameOver.scss'; import i18n from '../../utils/i18n'; import resetSvg from '../../assets/svg/reset.sv...
ajax/libs/react/0.13.3/JSXTransformer.js
sashberd/cdnjs
/** * JSXTransformer v0.13.3 */ (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...
node_modules/bower/node_modules/inquirer/node_modules/rx/src/core/linq/observable/amb.js
jrmeurer/league-manager
/** * Propagates the observable sequence or Promise that reacts first. * * @example * var = Rx.Observable.amb(xs, ys, zs); * @returns {Observable} An observable sequence that surfaces any of the given sequences, whichever reacted first. */ Observable.amb = function () { var acc = observableNev...
src/components/CrossFader/CrossFader.js
kevinchau321/TReactr
import React from 'react'; // import { BiDirectionalKnob } from 'treactr-canvas-knob'; // import { Kill, FxToggle1, FxToggle2, ToggleMonitorCue } from 'treactr-toggle'; import Slider from 'treactr-slider'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './CrossFader.css'; class CrossFad...
src/svg-icons/hardware/phonelink.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwarePhonelink = (props) => ( <SvgIcon {...props}> <path d="M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"/> ...
src/components/Examples.js
stoeffel/recompose-examples
import React from 'react'; import Counter from './Counter'; import listOf from '../enhancers/listOf'; import withLog from '../enhancers/withLog'; import undoable from '../enhancers/undoable'; const examples = [{ Example: Counter, name: 'Counter' }, { Example: listOf(Counter, 'counter'), name: 'listOf(Counter)'...
app/components/job/Index/row.js
buildkite/frontend
import React from 'react'; import PropTypes from 'prop-types'; import Relay from 'react-relay/classic'; import Panel from 'app/components/shared/Panel'; import JobLink from 'app/components/shared/JobLink'; import FriendlyTime from 'app/components/shared/FriendlyTime'; class Row extends React.PureComponent { static ...
src/components/Forms/EventForm.js
nikolay-radkov/EBudgie
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { View, TouchableWithoutFeedback, Picker, } from 'react-native'; import { FormLabel, FormInput, Button, FormValidationMessage, } from 'react-native-elements'; impo...
ajax/libs/oojs-ui/0.12.8-atease/oojs-ui.js
hare1039/cdnjs
/*! * OOjs UI v0.12.8-atease * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2015 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2015-09-18T18:42:58Z */ ( function ( OO ) { 'use strict'; /** * Namespace for all classes, static method...
app/containers/HomePage/index.js
jilla720/messidge
/* * 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...
src/packages/@ncigdc/theme/icons/Plus.js
NCI-GDC/portal-ui
// @flow import React from 'react'; export default ({ className = '', ...props }) => ( <i className={`${className} fa fa-plus`} {...props} /> );
src/components/Search.js
leanix/leanix-app-launchpad
import React from 'react' import store from '../services/Store' import Tag from './Tag' // eslint-disable-line no-unused-vars export default class Search extends React.Component { constructor (props, context) { super(props, context) this.store = store this.setSearchInput = this.setSearchInput.bind(this) ...
src/components/Dashboard.js
jainvabhi/PWD
import React from 'react'; import PropTypes from 'prop-types'; import Webcam from '../actions/webcam'; import TimeTable from './TimeTable'; const Dashboard = ({user, logout}) => { Webcam.reset(); const userImage = { backgroundImage: `url(${user.webcam.image})`, }; return ( <div className="medical-porta...
[2]. Demo_RN/[18]. wineList_demo/index.ios.js
knightsj/RN_Demo
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, ScrollView, Image, ListView, TouchableOpacity, AlertIOS, } from 'react-native'; var Dimensions = require('Dimensions'); var...
Components/ProgressBar.web.js
tradle/tim
import { View, StyleSheet } from 'react-native' import PropTypes from 'prop-types' import React, { Component } from 'react'; const debug = require('debug')('tradle:app:progressbar') class ProgressBar extends Component { // static propTypes = { // recipient: PropTypes.string.isRequired // }; render() {...
ajax/libs/babel-core/5.6.18/browser-polyfill.js
perfect-pixell/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/views/CriteriaView.js
todvora/extrade
import React from 'react' import { connect } from 'react-redux' import { actions as criteriaActions } from '../redux/modules/criteria' import $ from 'jquery' import moment from 'moment' import DateInterval from 'components/DateInterval' import GroupBySelect from 'components/GroupBySelect' import SuggestBox from 'compon...
frontend/app/security/pages/PendingConfirmation/PendingConfirmation.js
briancappello/flask-react-spa
import React from 'react' import Helmet from 'react-helmet' import { PageContent } from 'components/Content' export default () => ( <PageContent> <Helmet> <title>Please Confirm your Email Address</title> </Helmet> <h1>Thanks for signing up!</h1> <p>Please check your email to confirm your emai...
node_modules/react-bootstrap/lib/PanelGroup.js
gitoneman/HOME
/* eslint react/prop-types: [2, {ignore: "bsStyle"}] */ /* BootstrapMixin contains `bsStyle` type validation */ 'use strict'; var _objectWithoutProperties = require('babel-runtime/helpers/object-without-properties')['default']; var _extends = require('babel-runtime/helpers/extends')['default']; var _interopRequireD...
fields/types/boolean/BooleanFilter.js
concoursbyappointment/keystoneRedux
import React from 'react'; import { SegmentedControl } from '../../../admin/client/App/elemental'; const VALUE_OPTIONS = [ { label: 'Is Checked', value: true }, { label: 'Is NOT Checked', value: false }, ]; function getDefaultValue () { return { value: true, }; } var BooleanFilter = React.createClass({ propTy...
packages/react-dom/src/__tests__/ReactCompositeComponentDOMMinimalism-test.js
jzmq/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; // Requires let React; let ReactDOM; let ReactTestUtils; // Test components let LowerLeve...
src/components/ParticipantCreate.js
brianyamasaki/rideshare
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { participantCreate } from '../actions'; import ParticipantForm from './ParticipantForm'; import { Card, CardSection, Button } from './common'; class ParticipantCreate extends Component { onButtonPress() { const { firstname,...
docs/src/app/components/pages/components/Drawer/ExampleOpenSecondary.js
rscnt/material-ui
import React from 'react'; import Drawer from 'material-ui/Drawer'; import AppBar from 'material-ui/AppBar'; import RaisedButton from 'material-ui/RaisedButton'; export default class DrawerOpenRightExample extends React.Component { constructor(props) { super(props); this.state = {open: false}; } handle...
ajax/libs/js-data/2.0.0-rc.1/js-data-debug.js
seogi1004/cdnjs
/*! * js-data * @version 2.0.0-rc.1 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversal...
src/containers/DevTools/DevTools.js
Anshul-HL/blitz-windermere
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-H" changePositionKey="ctrl-Q"> <LogMonitor /...
ajax/libs/boardgame-io/0.44.3/esm/react-native.js
cdnjs/cdnjs
import 'nanoid'; import { _ as _inherits, a as _createSuper, b as _createClass, c as _defineProperty, d as _classCallCheck, e as _objectWithoutProperties, f as _objectSpread2 } from './Debug-93ce3760.js'; import 'redux'; import './turn-order-f01035ef.js'; import 'immer'; import 'lodash.isplainobject'; import './reducer...
client/components/Readme/Readme_Render.js
Elektro1776/Project_3
import React, { Component } from 'react'; import { connect } from 'react-redux'; import Markdown from 'react-remarkable'; import convertLinks from './convert_readme_links.js'; import styles from './readme_style.css'; class RenderMarkdown extends Component { render() { const readMeConverted = this.props.readme.t...
src/server.js
Nikhil22/trooper
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import 'babel-polyfill'; import path from 'path'; import e...
admin/client/components/ListFiltersAddForm.js
efernandesng/keystone
import React from 'react'; import ReactDOM from 'react-dom'; import CurrentListStore from '../stores/CurrentListStore'; import filters from '../filters'; import Popout from './Popout'; var ListFiltersAddForm = React.createClass({ propTypes: { field: React.PropTypes.object.isRequired, maxHeight: React.PropTypes.n...
ajax/libs/material-ui/5.0.0-alpha.3/es/RootRef/RootRef.min.js
cdnjs/cdnjs
import*as React from"react";import*as ReactDOM from"react-dom";import PropTypes from"prop-types";import{exactProp,refType}from"@material-ui/utils";import setRef from"../utils/setRef";class RootRef extends React.Component{componentDidMount(){this.ref=ReactDOM.findDOMNode(this),setRef(this.props.rootRef,this.ref)}compone...
app/components/Gravatar.js
SamEureka/transpilator
import React from 'react'; // import styles from './Styles'; export default class Gravatar extends React.Component { getGravImg() { return `http://www.gravatar.com/avatar/${this.props.grav}?s=40`; } render() { return (<div> <div style={this.props.styles.gravContainer}> <form on...
src/Catch.js
CodeCommission/reunify
import React from 'react'; export default class Catch extends React.Component { state = { err: null }; componentDidCatch(err) { this.setState({err}); } componentWillReceiveProps(next) { if (!this.state.err) return; this.setState({err: null}); } render() { const {err} = this.state; ...
gulp/tasks/build-react-scripts.js
usyninis/unit6-test-task
var gulp = require('gulp'); var uglify = require('gulp-uglify'); var source = require('vinyl-source-stream'); var buffer = require('vinyl-buffer'); var reactify = require('reactify'); var browserify = require('browserify'); var paths = require('./../paths'); var config = require('./../config'); var errorHandler = re...
webpack/scenes/Subscriptions/Details/SubscriptionDetailAssociations.js
adamruzicka/katello
import React from 'react'; import PropTypes from 'prop-types'; import { Table } from 'react-bootstrap'; import { translate as __ } from 'foremanReact/common/I18n'; import { urlWithSearch } from 'foremanReact/common/urlHelpers'; const SubscriptionDetailAssociations = ({ subscriptionDetails }) => { const searchQuery =...
docs/src/NotFoundPage.js
SSLcom/Bootsharp
import React from 'react'; import NavMain from './NavMain'; import PageHeader from './PageHeader'; import PageFooter from './PageFooter'; const NotFoundPage = React.createClass({ render() { return ( <div> <NavMain activePage="" /> <PageHeader title="404" subT...
user_guide/_static/jquery.js
ajaxzz/2016.07.16r
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
ajax/libs/yui/3.14.1/scrollview-base/scrollview-base-coverage.js
ericelliott/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/scrollview-base/scrollview-base.js']) { __coverage__['build/scrollview-base/scrollview-base.js'] = {"path":"build/scrollview-base/scrollview-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":...
app-reflux/components/test.js
Orientsoft/borgnix-cloud-ide
import React from 'react' import projectActions from '../actions/project-actions' import projectStore from '../stores/project-store' import arduinoActions from '../actions/arduino-actions' import arduinoStore from '../stores/arduino-store' import _ from 'lodash' import Editor from './editor' // import Projects from './...
node_modules/glamor/es6/styled/index.js
MaleSharker/Qingyan
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; }; var _createClass = function () { function defineProperties(ta...
client/src/components/dashboard/Profile/Public/ProfileHeader.js
no-stack-dub-sack/alumni-network
import propTypes from 'prop-types'; import React from 'react'; import styled from 'styled-components'; const HeaderWrapper = styled.div` background-color: #006400 !important; color: white; `; const ProfileHeader = ({ text, icon }) => { return ( <div className="row"> <HeaderWrapper className="sixteen w...
ajax/libs/forerunnerdb/1.3.423/fdb-core+views.js
dannyxx001/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...
blockresize/bower_components/jquery-legacy/src/event.js
Zx12/zx12.github.io
define( [ "./core", "./var/document", "./var/rnotwhite", "./var/hasOwn", "./var/slice", "./event/support", "./data/var/acceptData", "./core/init", "./data", "./selector" ], function( jQuery, document, rnotwhite, hasOwn, slice, support, acceptData ) { var rformElems = /^(?:input|select|textarea)$/i, rkeyEve...
src/containers/About.js
u-wave/web
import React from 'react'; import UwaveContext from '../context/UwaveContext'; import Overlay from '../components/Overlay'; import About from '../components/About'; const { useContext, } = React; function AboutContainer(props) { const uwave = useContext(UwaveContext); const component = uwave.getAboutPageCompone...
examples/basic-commonjs/index.js
JasonZook/react
'use strict'; var React = require('react'); var ExampleApplication = React.createClass({ render: function() { var elapsed = Math.round(this.props.elapsed / 100); var seconds = elapsed / 10 + (elapsed % 10 ? '' : '.0' ); var message = 'React has been successfully running for ' + seconds + ' second...
7.1.0/examples/asyncValidation/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__e...
lib/yuilib/3.17.2/event-custom-base/event-custom-base.js
sbourget/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('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.En...
ajax/libs/6to5/3.3.0/browser.js
andyinabox/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
client/extensions/woocommerce/app/settings/shipping/shipping-zone/shipping-methods/free-shipping.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React from 'react'; import PropTypes from 'prop-types'; import { localize } from 'i18n-calypso'; import { connect } from 'react-redux'; /** * Internal dependencies */ import FormFieldSet from 'components/forms/form-fieldset'; import FormLabel from 'components/...
packages/react-router-website/modules/components/Home/index.js
react-translate-team/react-router-CN
import React from 'react' import { Block } from 'jsxstyle' import Header from './Header' import Video from './Video' import Footer from '../Footer' export default () => ( <Block> <Header/> <Video/> <Footer/> </Block> )
vendor/jquery/jquery.min.js
ntusikhsociety/ntusikhsociety.github.io
/*! jQuery v1.12.4 | (c) jQuery Foundation | 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 window?window:this,fu...
Examples/UIExplorer/WebViewExample.js
NunoEdgarGub1/react-native
/** * The examples provided by Facebook are 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, ...
ajax/libs/mobx-react/5.2.1/native.js
joeyparrish/cdnjs
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var mobx = require('mobx'); var React = require('react'); var React__default = _interopDefault(React); var reactNative = requ...
src/components/home.js
onepiece8971/rememberNote
import React from 'react'; import {FlatList} from 'react-native'; import { CarouselImage, CardsView, CardView, CardTopImage, CardMiddleView, CardMiddleImage, CardMiddleTextView, CardMiddleTopText, CardMiddleBottomText, CardMiddleRightText, CardBottomView, CardBottomText, CardBottomIconView } f...
information/blendle-frontend-react-source/app/components/moduleNavigation/ModuleNavigationPortal.js
BramscoChill/BlendleParser
import { history } from 'byebye'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import ModuleNavigation from './ModuleNavigation'; import { getComponents } from 'helpers/moduleNavigationHelpers'; export default class ModuleNavigationPortal extends Compo...
frontend/Stories/StoryElement.js
fdemian/Morpheus
import React from 'react'; import Divider from 'material-ui/Divider'; import DeleteButton from './Sections/DeleteButton'; import EditButton from './Sections/EditButton'; import CategorySpan from './Sections/CategorySpan'; import UserLink from './Sections/UserLink'; import StoryLink from './Sections/StoryLink'; const c...
ajax/libs/omniscient/3.1.0/omniscient.min.js
wout/cdnjs
/** * Omniscient.js v3.1.0 * Authors: @torgeir,@mikaelbr ***************************************/ !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n...
pages/api/grow.js
allanalexandre/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './grow.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;
app/javascript/mastodon/features/ui/containers/modal_container.js
MitarashiDango/mastodon
import { connect } from 'react-redux'; import { openModal, closeModal } from '../../../actions/modal'; import ModalRoot from '../components/modal_root'; const mapStateToProps = state => ({ ignoreFocus: state.getIn(['modal', 'ignoreFocus']), type: state.getIn(['modal', 'stack', 0, 'modalType'], null), props: stat...
packages/cockpit/ui/src/components/CardTitleIdenticon.js
iurimatias/embark-framework
import PropTypes from "prop-types"; import React from 'react'; import {CardTitle} from 'reactstrap'; import Blockies from 'react-blockies'; const CardTitleIdenticon = ({id, children}) => ( <CardTitle> <Blockies seed={id} className="rounded"/><span className="ml-2 align-top text-truncate">{children}</span> </Ca...
src/svg-icons/image/loupe.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLoupe = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10h8c1.1 0 2-.9 2-2v-8c0-5.51-4.49-10-10-10zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3....
node_modules/react-bootstrap/es/ButtonGroup.js
FoxMessenger/nyt-react
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/data/mutations/location/index.js
chunkiat82/rarebeauty-ui
/** * 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 Layout from '../../.....
shared/components/Equilab/DownloadBar/DownloadButton.js
thehink/equilab-web
import React from 'react'; import PropTypes from 'prop-types'; import styles from './DownloadButton.scss'; const DownloadButton = ({ image, url }) => ( <a title={url} className={styles.wrapper} href={url} style={{ backgroundImage: `url('${image}')` }} > <span className="invisible">{url}</span>...
src/components/NotFoundPage.js
lisavogtsf/canned-react-slingshot-app
import React from 'react'; import { Link } from 'react-router'; const NotFoundPage = () => { return ( <div> <h4> 404 Page Not Found </h4> <Link to="/"> Go back to homepage </Link> </div> ); }; export default NotFoundPage;
src/components/settlement/TextLine.js
HuZai/react_settlement
/** * Created by zhengHu on 16-10-8. * 单条信息展示组件 */ import React from 'react'; class SettlementTextList extends React.Component { getAttribute(){ let classNames=['cell','content']; if(this.props.data.top){ classNames.push('clell_border'); classNames.push('header') } return classNames.jo...
src/routes/Dashboard/Dashboard.js
sanalonyedi/egitimbudur-web-app
import React from 'react'; export default() => { return <p>Dashboard page</p>; }
node_modules/jquery/dist/jquery.min.js
NathanBWaters/website
/*! jQuery v1.12.3 | (c) jQuery Foundation | 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 window?window:this,fu...
node_modules/babel-polyfill/node_modules/core-js/library/modules/es6.promise.js
weatherfordmat/YorViewReactNative
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
demo/app.js
chrisborrowdale/react-basic-datepicker
import React from 'react'; import ReactDOM from 'react-dom'; import Datepicker from '../src/Datepicker'; ReactDOM.render(<Datepicker dateFormat="DD/MM/YYYY" />, document.getElementById('react-root'));
client/templates/layout.js
agustin107/reaction
/* * This is an example of a customized template. * This layout replaces the "coreLayout" template defined in the reactioncommerce:core package. * https://github.com/reactioncommerce/reaction-core/blob/master/client/templates/layout/layout.html * To use custom template in layout.html uncomment * * Template.la...
web/src/routes/about/index.js
kriasoft/Web-App-Boilerplate
/** * 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 Layout from '../../co...
fields/types/html/HtmlField.js
developer-prosenjit/keystone
import _ from 'underscore'; import Field from '../Field'; import React from 'react'; import tinymce from 'tinymce'; import { FormInput } from 'elemental'; /** * TODO: * - Remove dependency on underscore */ var lastId = 0; function getId() { return 'keystone-html-' + lastId++; } module.exports = Field.create({ ...
packages/@lyra/base/src/components/DefaultRootComponent.js
VegaPublish/vega-studio
/* eslint-disable react/no-danger */ import React from 'react' const styles = ` #lyra-root {font: 1.5em sans-serif; padding: 0 1em; max-width: 800px;} code {background: #f7f7f7;} pre code {color: #444; display: block; padding: 1em;} code span {color: #880000;} @media screen and (max-width: 480px) { #lyra-root {font-...
fields/types/password/PasswordColumn.js
Ftonso/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/client/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/client/components/ItemsTableValue'; var PasswordColumn = React.createClass({ displayName: 'PasswordColumn', propTypes: { col: React.PropTypes.object, data: React.Pr...
client/index.js
flasomm/backoffice-react-swagger-api
/** * @author Fabrice Sommavilla <fs@physalix.com> * @company Physalix * @version 0.1 * @date 22/01/2017 */ "use strict"; import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import {applyRouterMiddleware, Router, browserHistory} from 'react-router'; import {useScroll} fr...
docs/src/Anchor.js
sheep902/react-bootstrap
import React from 'react'; const Anchor = React.createClass({ propTypes: { id: React.PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.number ]) }, render() { return ( <a id={this.props.id} href={'#' + this.props.id} className="anchor"> <span className="anchor-ic...
src/redux/modules/modal.js
graphook/Frontend
import React from 'react'; import AuthPrompt from 'components/login/AuthPrompt.jsx'; const OPEN = 'modal/OPEN'; const CLOSE = 'modal/CLOSE'; const initialState = { open: false }; export default function reducer(state = initialState, action = {}) { switch (action.type) { case OPEN: return { open...
ajax/libs/angular.js/1.1.5/angular-scenario.js
pombredanne/cdnjs
/*! * jQuery JavaScript Library v1.8.2 * 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 * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
src/components/organisms/Header/index.js
nennes/nenn_es
import React from 'react' import styled from 'styled-components' import {Logo, MenuListItem} from '../../atoms' import {MenuList} from '../../molecules' const HeaderWrapper = styled.div` margin: 0; min-height: 50px; position: relative; z-index: 1000; color: #07012C; ` const Header = () => ( <HeaderWrapper> ...
ajax/libs/angular.js/0.9.9/angular-scenario.min.js
svenanders/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * 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. ...
packages/react-router-website/index.js
rafrex/react-router
import './loadServiceWorker' import React from 'react' import ReactDOM from 'react-dom' import App from './components/App' import './base.css' ReactDOM.render(<App/>, document.getElementById('app'))
src/svg-icons/editor/insert-link.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorInsertLink = (props) => ( <SvgIcon {...props}> <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3...
packages/wix-style-react/src/SidebarBackButton/SidebarBackButton.js
wix/wix-style-react
import React from 'react'; import PropTypes from 'prop-types'; import ChevronLeft from 'wix-ui-icons-common/ChevronLeft'; import Text from '../Text'; import { st, classes } from './SidebarBackButton.st.css'; import { SidebarContext } from '../Sidebar/SidebarAPI'; import { sidebarSkins } from '../Sidebar/constants'; i...
react/features/lobby/components/native/LobbyScreen.js
jitsi/jitsi-meet
// @flow import React from 'react'; import { Text, View, TouchableOpacity, TextInput } from 'react-native'; import { translate } from '../../../base/i18n'; import JitsiScreen from '../../../base/modal/components/JitsiScreen'; import { LoadingIndicator } from '../../../base/react'; import { connect } from '../../../ba...
node_modules/rx/dist/rx.all.js
Oritechnology/pubApp
// 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...
src/routes/Dashboard/Dashboard.spec.js
cesine/rickshaw-react-sample
/* globals document */ /* eslint-env mocha */ import { expect } from 'chai'; import sinon from 'sinon'; import React from 'react'; import ShallowRenderer from 'react-test-renderer/shallow'; // ES6 import Dashboard from './View'; const renderer = new ShallowRenderer(); describe('Dashboard', () => { it('should render...
stories/slider/index.js
JerryBerton/dh-component
import React from 'react'; import { storiesOf, action, linkTo } from '@kadira/storybook'; import withReadme from 'storybook-readme/with-readme'; import sliderReadme from './slider.md'; import SliderDemo from './slider'; const options = { inline: true, propTables: false } storiesOf('Silder 滑动输入条', module) .addDeco...
node_modules/redux/src/createStore.js
Helena-High/school-app
import isPlainObject from 'lodash/isPlainObject' import $$observable from 'symbol-observable' /** * These are private action types reserved by Redux. * For any unknown actions, you must return the current state. * If the current state is undefined, you must return the initial state. * Do not reference these action...
node_modules/react-bootstrap/es/MenuItem.js
ProjectSunday/rooibus
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
jenkins-design-language/src/js/components/material-ui/svg-icons/communication/phonelink-ring.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const CommunicationPhonelinkRing = (props) => ( <SvgIcon {...props}> <path d="M20.1 7.7l-1 1c1.8 1.8 1.8 4.6 0 6.5l1 1c2.5-2.3 2.5-6.1 0-8.5zM18 9.8l-1 1c.5.7.5 1.6 0 2.3l1 1c1.2-1.2 1.2-3 0-4.3zM14 1H4c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9...
packages/material-ui-icons/src/PowerOffRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M18 13.66V8.99c0-1-1.01-2-2-1.99V4c0-.55-.45-1-1-1s-1 .45-1 1v3h-3.88l7.63 7.63c.15-.3.25-.63.25-.97zM10 4c0-.55-.45-1-1-1s-1 .45-1 1v.88l2 2...
hacking-with-react/hwr/src/pages/Detail.js
Zyst/learning-react
import React from 'react'; import { Link, IndexLink } from 'react-router'; import ajax from 'superagent'; class Detail extends React.Component { constructor(props) { super(props); this.state = { mode: 'commits', commits: [], forks: [], pulls: [], }; } componentWillMount() {...
node_modules/@material-ui/core/es/Select/Select.js
pcclarke/civ-techs
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import { mergeClasses } from '@material-ui/styles'; import SelectInput from './SelectInput'; import formC...
ajax/libs/forerunnerdb/1.4.27/fdb-core+views.js
nolsherry/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/containers/PaymentView/CreditCard.js
JamesJin038801/CampID
import React, { Component } from 'react'; import { Text, TextInput, View, Platform, TouchableOpacity, Image, Alert, } from 'react-native'; import { connect } from 'react-redux'; import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; import Icon from 'react-native-vector-icons/...
src/esm/components/graphics/icons-next/bank-card-icon-next/index.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["color", "title"]; import React from 'react'; import PropTypes from 'prop-types'; export var BankCardIconNext = function BankCardIconNext(_ref) { var...
stories/form/index.js
JerryBerton/dh-component
import React from 'react'; import { storiesOf, action, linkTo } from '@kadira/storybook'; import withReadme from 'storybook-readme/with-readme'; import InputDemo from './input'; import FormDemo from './form'; import inputReadme from './input.md'; const addWithInfoOptions = { inline: true, propTables: false, source: ...