path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
node_modules/react-bootstrap/lib/Navbar.js
C0deSamurai/muzjiks
'use strict'; exports.__esModule = true; var _extends3 = require('babel-runtime/helpers/extends'); var _extends4 = _interopRequireDefault(_extends3); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProper...
src/client.js
Viral-MediaLab/viralSitePubPub
/** * THIS IS THE ENTRY POINT FOR THE CLIENT, JUST LIKE server.js IS THE ENTRY POINT FOR THE SERVER. */ import 'babel/polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import createHistory from 'history/lib/createBrowserHistory'; import createStore from './redux/create'; import ApiClient from '....
packages/cockpit/ui/src/components/Account.js
iurimatias/embark-framework
import React from 'react'; import {Row, Col, Card, CardHeader, CardBody} from 'reactstrap'; import PropTypes from 'prop-types'; import Description from './Description'; import CardTitleIdenticon from './CardTitleIdenticon'; const Account = ({account}) => ( <Row> <Col> <Card> <CardHeader> ...
src/views/createRoutes.js
mjhm/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 RequireLogin from 'views/RequireLogin'; import LoginSuccess from 'views/LoginSuccess'; ...
app/containers/companies/components/edit-company/index.js
kimurakenshi/caravanas
import { connect } from 'react-redux'; import { saveCompany, setListMode } from 'app/actions/company-actions'; import { getCompanyById, hasCompany } from 'app/reducers'; import React, { Component } from 'react'; import COMPANY_LIST_MODE from '../company-list/enum'; import Modal from 'app/components/modal'; import Raise...
app/src/components/ui/Loading.js
zhanglun/fist
import React, { Component } from 'react'; export class ColorfulBarLoading extends Component { constructor(props) { super(props); this.state = { text: props.text, }; } render() { return ( <div className="loading loading-colorfulbar"> <div className="loading-elem"> <d...
src/Glyphicon.js
simonliubo/react-ui
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import styleMaps from './styleMaps'; const Glyphicon = React.createClass({ mixins: [BootstrapMixin], propTypes: { glyph: React.PropTypes.oneOf(styleMaps.GLYPHS).isRequired }, getDefaultProps() {...
ajax/libs/x-editable/1.4.5/bootstrap-editable/js/bootstrap-editable.js
cnbin/cdnjs
/*! X-editable - v1.4.5 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
tests/flow/react/createElementRequiredProp_string.js
existentialism/prettier
// @flow import React from 'react'; class Bar extends React.Component { props: { test: number, }; render() { return ( <div> {this.props.test} </div> ) } } class Foo extends React.Component { render() { const Cmp = Math.random() < 0.5 ? 'div' : Bar; return (<Cmp/>); ...
src/components/Date.js
jdebarochez/todometer
import React from 'react'; import { connect } from 'react-redux'; import { setDate, resetAll } from '../actions.js'; import { getDate } from '../reducers/date.js'; import moment from 'moment'; class Date extends React.Component { constructor(props) { super(props); this.setDate = this.setDate.bind(this); } ...
platforms/server/controllers/serverRenderCtrl.js
timmyLan/isomorphism-koa2-react
/** * Server 端的路由控制 */ import React from 'react'; import {RouterContext} from 'react-router'; // 导入服务端渲染的方法 renderToString import {renderToString} from 'react-dom/server'; import {Provider} from 'react-redux'; import config from '../../common/config'; // 和浏览器端共用应用的状态数据 import configureStore from '../../../app/store/c...
js/pages/tola_management_pages/audit_log/index.js
mercycorps/TolaActivity
import React from 'react' import ReactDOM from 'react-dom' import {ProgramAuditLogStore} from './models' import {IndexView} from './views' /* * Model/Store setup */ const store = new ProgramAuditLogStore( jsContext.program_id, jsContext.program_name, ) ReactDOM.render( <IndexView store={store} />, d...
examples/official-storybook/components/NamedExportButton.js
storybooks/react-storybook
import React from 'react'; import PropTypes from 'prop-types'; import BaseButton from './BaseButton'; const NamedExportButton = props => <BaseButton {...props} />; NamedExportButton.defaultProps = { disabled: false, onClick: () => {}, style: {}, }; NamedExportButton.propTypes = { /** Boolean indicating wheth...
app/components/selectedPrinters/index.js
MakersLab/farm-client
import React from 'react'; import style from './style.css'; const SelectedPrinters = ({ selectedPrinters }) => ( <div className={style.selectedPrinters}> <span>Selected printers</span> <ul> {selectedPrinters.map(printerName => (<li className={style.selectedPrintersLine}>{printerName}</li>))} </ul> ...
app/src/Frontend/modules/weui/pages/searchbar/index.js
ptphp/ptphp
/** * Created by n7best. */ "use strict"; import React from 'react'; import Page from '../../component/page'; import SampleData from './nameDB'; import { //main component SearchBar, //for display data Panel, PanelHeader, PanelBody, PanelFooter, MediaBox, MediaBoxHeader, Medi...
docs/app/Examples/addons/Radio/Types/RadioExampleRadio.js
koenvg/Semantic-UI-React
import React from 'react' import { Radio } from 'semantic-ui-react' const RadioExampleRadio = () => ( <Radio label='Make my profile visible' /> ) export default RadioExampleRadio
client/extensions/woocommerce/woocommerce-services/components/query-labels/index.js
Automattic/woocommerce-services
/** @format */ /** * External dependencies */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; /** * Internal dependencies */ import QueryLabelSettings from 'woocommerce/woocommerce-services/components/...
src/script/view/Login.js
Wreulicke/react-example
import React from 'react'; import { ClassComponent } from '../module/container/Application'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import TextField from 'material-ui/TextField'; import handler from '../module/functions/handler'; import enter from '../module/functions...
src/components/mongodb/original-wordmark/MongodbOriginalWordmark.js
fpoumian/react-devicon
import React from 'react' import PropTypes from 'prop-types' import SVGDeviconInline from '../../_base/SVGDeviconInline' import iconSVG from './MongodbOriginalWordmark.svg' /** MongodbOriginalWordmark */ function MongodbOriginalWordmark({ width, height, className }) { return ( <SVGDeviconInline className=...
src/svg-icons/file/cloud-queue.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileCloudQueue = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.9...
src/app/component/nav-link/nav-link.story.js
all3dp/printing-engine-client
import React from 'react' import {storiesOf} from '@storybook/react' import {action} from '@storybook/addon-actions' import NavLink from '.' import placeholderIcon from '../../../asset/icon/placeholder.svg' storiesOf('NavLink', module) .add('default', () => ( <NavLink onClick={action('onClick')} label="Nav But...
src/layouts/AuthLayout/AuthLayout.js
danielriley06/react-redux-chat-example
import React from 'react' import log from 'middleware/logger' import './AuthLayout.scss' import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider' export const AuthLayout = ({ children }) => { return ( <div> <MuiThemeProvider> <div className='loginContainer'> <div className='core...
stories/Typography.stories.js
LIQIDTechnology/liqid-react-components
import React from 'react'; import { Headline, validTypes } from '../src/components/Typography'; import { storiesOf } from '@storybook/react'; validTypes.map(type => { storiesOf('Typography', module).add(`Headline ${type}`, () => ( <div> <Headline tag="h1" type={type}> {`Tag: <h1...
src/pages/base/induction.js
voidxnull/libertysoil-site
/* This file is a part of libertysoil.org website Copyright (C) 2015 Loki Education (Social Enterprise) 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 License, o...
modules/gui/src/widget/checkButton.js
openforis/sepal
import {Button} from 'widget/button' import PropTypes from 'prop-types' import React from 'react' import styles from './checkButton.module.css' export class CheckButton extends React.Component { constructor() { super() this.onToggle = this.onToggle.bind(this) } render() { const {ch...
packages/material-ui-icons/src/FlashOnTwoTone.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="M17 10h-4l3-8H7v11h3v9z" /></g></React.Fragment> , 'FlashOnTwoTone');
ajax/libs/forerunnerdb/1.3.394/fdb-legacy.min.js
sashberd/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...
packages/material-ui-icons/src/Fireplace.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M2 2v20h20V2H2zm9.86 14.96c.76-.24 1.4-1.04 1.53-1.63.13-.56-.1-1.05-.2-1.6-.08-.46-.07-.85.08-1.28.54 1.21 2.15 1.64 1.98 3.18-.19 1.7-2.11 2.38-3.39 1.33zM20 20h-2v-2h-2.02c.63-.84 1.02-1.87 1.02-3 ...
app/assets/scripts/components/results-panel.js
worldbank-cdrp/disaster-risk-explorer
import React from 'react' import multiDownload from 'multi-download' import { showModalCalc, newCalcId } from '../actions' import { graphCols, calcDropItems } from '../constants' import { getMapId } from '../utils/map-id' import { shortenNumber } from '../utils/format' import { t } from '../utils/i18n' import c from '...
dva/wd/src/routes/User/Register.js
imuntil/React
import React from 'react' import { connect } from 'dva' import { Link } from 'dva/router' import { Toast } from 'antd-mobile' import ZInput from '../../components/Form/ZInput.js' import ZCode from '../../components/Form/ZCode.js' import { regexp } from '../../services/ct.js' import { verifyPhone, getVerifyCode } from '...
resources/jestPreprocessor.js
DreamingPiggy/immutable-js
// preprocessor.js var fs = require('fs'); var path = require('path'); var typescript = require('typescript'); var react = require('react-tools'); var CACHE_DIR = path.join(path.resolve(__dirname + '/../build')); function isFileNewer(a, b) { try { return fs.statSync(a).mtime > fs.statSync(b).mtime; } catch (e...
tools/lib/routes-loader.js
miql/voila-davis
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import glob from 'glob'; import { join } from 'path'; export default function(source) { this.cacheable(); const target = this.target; const callback = this.async...
packages/material-ui-icons/src/SettingsCell.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SettingsCell = props => <SvgIcon {...props}> <path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z" /> ...
packages/material-ui-icons/lib/PhotoAlbumTwoTone.js
mbrookes/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
ajax/libs/radium/0.18.0/radium.js
him2him2/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["Radium"] = factory(...
ajax/libs/yui/3.4.0pr2/event-custom/event-custom-debug.js
honestree/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...
app/client/lag/lagacy/components/Text.js
Exper1ence/qinxiaoguyi
/** * Created by Exper1ence on 2016/12/31. */ import React from 'react'; import Component from './Component'; import View from './View'; export default class Text extends Component { _run({children, style,}) { return ( <View style={{ ...style, }}> {...
src/app.js
nguoihocnghe/react-workshop-basic
import React, { Component } from 'react'; import cool from 'cool-ascii-faces'; import MyButton from './components/my-button'; export default class App extends Component { constructor() { super(); // Initialize state this.state = { count: 0, faces: [] }; } render() { // JSX code ...
ajax/libs/firebase/8.0.1/firebase-auth.js
cdnjs/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("@firebase/app")):"function"==typeof define&&define.amd?define(["@firebase/app"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).firebase)}(this,function(e){"use strict";try{(function(){function t(t){return t&&"object"==typeof t&&"...
ajax/libs/forerunnerdb/1.3.482/fdb-core.min.js
emmy41124/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/minixs/setIntervalMixin.js
lockys/Angelcrunch-react
import React from 'react'; const setIntervalMixin = { componentWillMount: function() { this.intervals = []; }, setInterval: function() { this.intervals.push(setInterval.apply(null, arguments)); }, componentWillUnmount: function() { this.intervals.map(clearInterval); } }; export default setInte...
src/mixins/style-propable.js
yongxu/material-ui
import React from 'react'; import {mergeStyles, mergeAndPrefix} from '../utils/styles'; /** * This mixin isn't necessary and will be removed soon. DO NOT USE! * * All internal components that use this mixin should be switched to the * `styleUtils` that this mixin now wraps. Notice the method signature of * the `p...
pages/blog/test-article-two.js
bannik/hole
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import React, { Component } from 'react'; export default class extends Component { render() { return ( <div> <h1>Test Article 2</h1> <p>Co...
docs/build.js
tigerandgirl/ssc-refer
/* eslint no-console: 0 */ import fsp from 'fs-promise'; import path from 'path'; import React from 'react'; import ReactDOMServer from 'react-dom/server'; import {match, RouterContext} from 'react-router'; import Root from './src/Root'; import routes from './src/Routes'; import metadata from './generate-metadata'; ...
src/icons/IosToggleOutline.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosToggleOutline extends React.Component { render() { if(this.props.bare) { return <g> <g> <g> <path d="M128,320c26.467,0,48,21.533,48,48s-21.533,48-48,48s-48-21.533-48-48S101.533,320,128,320 M128,304 c...
ajax/libs/mobx/2.1.3/mobx.umd.min.js
emmy41124/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:...
src/pages/createOrder.js
OpenCollective/frontend
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages } from 'react-intl'; import { graphql, compose } from 'react-apollo'; import gql from 'graphql-tag'; import { get, pick } from 'lodash'; import { Router } from '../server/pages'; import ErrorPage from '../components/ErrorPage'; imp...
docs/src/app/components/pages/components/FloatingActionButton/ExampleSimple.js
hwo411/material-ui
import React from 'react'; import FloatingActionButton from 'material-ui/FloatingActionButton'; import ContentAdd from 'material-ui/svg-icons/content/add'; const style = { marginRight: 20, }; /** * Default size and `mini` FABs, in primary (default), `secondary` and `disabled` colors. */ const FloatingActionButton...
client/node_modules/uu5g03/doc/main/server/public/data/source/uu5-bricks-nav-bar-header.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin, ContentMixin} from '../common/common.js'; import Button from './button.js'; import Glyphicon from './glyphicon.js'; import './nav-bar-header.less'; export default React.createClass({ //@@viewOn:mixins mixins: [ BaseMixin, ElementaryMixin, ...
src/components/comments/StreamComments.js
zebras-filming-videos/streamr-web
import React from 'react' import ReactCSSTransitionGroup from 'react-addons-css-transition-group' import NewCommentContainer from './NewCommentContainer' import Bundle from '../Bundle' import loadCommentContainer from 'bundle-loader!./CommentContainer' export default ({ streamId, comments, isLoggedIn }) => ( ...
ajax/libs/react/0.12.0/JSXTransformer.js
francescoagati/cdnjs
/** * JSXTransformer v0.12.0 */ !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.JSXTransformer=e()}...
web/assets/js/blog.js
xuqiantong/NY_Auto
import React from 'react'; import ReactDOM from 'react-dom'; import App from './blogpage/App'; ReactDOM.render( <App />, document.getElementById('blogpage') );
pages/index.js
dearwish/gatsby-starter-clean
import React from 'react' import { Link } from 'react-router' import { prefixLink } from 'gatsby-helpers' import Helmet from "react-helmet" import { config } from 'config' export default class Index extends React.Component { render () { return ( <div> <Helmet title={config.siteTitle} ...
src/components/KeystoreUploader/CurrentWallet.js
chochinlu/ens-bid-dapp
import React from 'react'; import './CurrentWallet.css'; export const CurrentWallet = (props) => ( <div className="CurrentWallet"> <h2>Current Wallet</h2> <p> <span>Address: </span> {props.address} </p> <p> <span>Balance: </span> {props.balance} ETH </p> </div> );
src/main.js
mizki9577/orbit
/* @flow */ import 'react-mdl/extra/material.min.css' import 'react-mdl/extra/material.min.js' import '../manifest.json' import '../icon.png' import React from 'react' import ReactDOM from 'react-dom' import App from './components/App.js' if (typeof navigator.serviceWorker !== 'undefined') { navigator.serviceWork...
ajax/libs/rxjs/2.3.5/rx.compat.js
a8m/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...
src/svg-icons/av/fast-rewind.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFastRewind = (props) => ( <SvgIcon {...props}> <path d="M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z"/> </SvgIcon> ); AvFastRewind = pure(AvFastRewind); AvFastRewind.displayName = 'AvFastRewind'; AvFastRewin...
public/src/demo.js
codelegant/react-action
/** * Author: CodeLai * Email: codelai@dotdotbuy.com * DateTime: 2016/7/15 16:58 */ import '../css/product.css'; import React from 'react'; import ReactDOM from 'react-dom'; import Component from './demo/SpreadAttributes'; import Avatar from './demo/Avatar'; import CustomOl from './demo/MulitipleComponents'; import...
ajax/libs/clappr/0.0.100/clappr.js
RoryStolzenberg/cdnjs
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)...
js/components/TanksInAlert.js
msldiarra/signals-ui
import React from 'react'; import Relay from 'react-relay'; import AlertBar from './AlertBar' import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; class TanksInAlert extends React.Component { render() { var bars = this.props.tanks.tanksInAlert.edges.map(function(edge){ retu...
app/javascript/mastodon/features/public_timeline/index.js
pinfort/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader fro...
test/app/components/TodoTextInput.spec.js
Gamble715/buy-now
import { expect } from 'chai'; import sinon from 'sinon'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import TodoTextInput from '../../../app/components/TodoTextInput'; import style from '../../../app/components/TodoTextInput.css'; function setup(propOverrides) { const props = { o...
src/svg-icons/content/remove.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRemove = (props) => ( <SvgIcon {...props}> <path d="M19 13H5v-2h14v2z"/> </SvgIcon> ); ContentRemove = pure(ContentRemove); ContentRemove.displayName = 'ContentRemove'; ContentRemove.muiName = 'SvgIcon...
src/svg-icons/image/looks-5.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLooks5 = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 6h-4v2h2c1.1 0 2 .89 2 2v2c0 1.11-.9 2-2 2H9v-2h4v-2H9V7h6v2z"/> </SvgI...
ajax/libs/6to5/3.0.8/browser-polyfill.js
Teino1978-Corp/Teino1978-Corp-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...
files/polymer/0.5.5-rc1/polymer.js
Craga89/jsdelivr
/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be f...
ajax/libs/jQRangeSlider/4.2.8/jQRangeSliderBar.js
mscharl/cdnjs
/** * jQRangeSlider * A javascript slider selector that supports dates * * Copyright (C) Guillaume Gautreau 2012 * Dual licensed under the MIT or GPL Version 2 licenses. * */ (function($, undefined){ "use strict"; $.widget("ui.rangeSliderBar", $.ui.rangeSliderDraggable, { options: { leftHandle: null, ...
example/src/pages/Home.js
ethanselzer/react-image-magnify
import React, { Component } from 'react'; import Helmet from 'react-helmet'; import Header from '../components/Header'; import 'bootstrap/dist/css/bootstrap.css'; import '../styles/app.css'; import { Clearfix, Col, Grid, Jumbotron, Nav, NavItem, Panel, Row } from 'react-bootstrap'; e...
client/components/Flass/Lecture/Comment/ReplyPostComment.js
Nexters/flass
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import color from '~/css/base/colors.scss'; const ReplayPostCommentView = styled.div` padding-left: 35px; padding-top: 15px; padding-right: 15px; padding-bottom: 25px; background-color: ${color['silver-two'...
ajax/libs/react-router/0.7.0/react-router.js
nareshs435/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.ReactRouter=e()}}(function(){var define,module,export...
src/svg-icons/editor/mode-comment.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorModeComment = (props) => ( <SvgIcon {...props}> <path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18z"/> </SvgIcon> ); EditorModeComment = pure(EditorModeComment); Edito...
src/react/LogMonitorEntryAction.js
bloodyowl/redux-devtools
import React from 'react'; import JSONTree from './JSONTree'; const styles = { actionBar: { paddingTop: 8, paddingBottom: 7, paddingLeft: 16 }, payload: { margin: 0, overflow: 'auto' } }; export default class LogMonitorAction extends React.Component { renderPayload(payload) { return...
Code_Examples/801Ugly/libraries/p5.sound.js
bensk/SE8_p5js
/*! p5.sound.js v0.3.0 2016-01-31 */ (function (root, factory) { if (typeof define === 'function' && define.amd) define('p5.sound', ['p5'], function (p5) { (factory(p5));}); else if (typeof exports === 'object') factory(require('../p5')); else factory(root['p5']); }(this, function (p5) { /** * p5....
wp-includes/js/jquery/jquery.js
dconcepcion79/WordPress_TestBuild
/*! jQuery v1.11.1 | (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...
src/svg-icons/action/gavel.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionGavel = (props) => ( <SvgIcon {...props}> <path d="M1 21h12v2H1zM5.245 8.07l2.83-2.827 14.14 14.142-2.828 2.828zM12.317 1l5.657 5.656-2.83 2.83-5.654-5.66zM3.825 9.485l5.657 5.657-2.828 2.828-5.657-5.657z...
web/widget/ueditor_qiniu/third-party/video-js/video.dev.js
windysay/jstudy
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
ajax/libs/es6-shim/0.23.0/es6-shim.js
tjbp/cdnjs
/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.23.0 * see https://github.com/paulmillr/es6-shim/blob/0.22.2/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-...
definitions/npm/react-onclickoutside_v6.x.x/flow_v0.57.1-/test_react-onclickoutside_v6.x.x.js
doberkofler/flow-typed
//@flow import React from 'react'; import onClickOutside, { IGNORE_CLASS_NAME } from 'react-onclickoutside'; IGNORE_CLASS_NAME.slice(); // $ExpectError Cannot perform arithmetic operation because string literal `ignore-react-onclickoutside` [1] is not a number. IGNORE_CLASS_NAME - 1; // class and const are in same ...
app/scripts/common/Footer/footer.js
express-global-solutions/timesheet
import './footer.scss'; import React, { Component } from 'react'; class Footer extends Component { render() { return ( <div className="footer"> <div className="info container"> <div className="col-sm-6"> <p className="design">Design by Express Global LLC | All Rights Reserved</p> ...
src/new/js/jquery.min.js
tmustafa123/ProjectSPM1
/*! jQuery v1.11.3 | (c) 2005, 2015 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...
webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/TasksDonutChart/TasksDonutChart.stories.js
adamruzicka/foreman-tasks
import React from 'react'; import { number, text, select, action } from '@theforeman/stories'; import { TASKS_DONUT_CHART_FOCUSED_ON_OPTIONS_ARRAY } from './TasksDonutChartConstants'; import TasksDonutChart from './TasksDonutChart'; export default { title: 'TasksDashboard/TasksCardsGrid/Charts/TasksDonutChart', c...
src/components/rails/plain-wordmark/RailsPlainWordmark.js
fpoumian/react-devicon
import React from 'react' import PropTypes from 'prop-types' import SVGDeviconInline from '../../_base/SVGDeviconInline' import iconSVG from './RailsPlainWordmark.svg' /** RailsPlainWordmark */ function RailsPlainWordmark({ width, height, className }) { return ( <SVGDeviconInline className={'RailsPlainWor...
src/components/AppNavDrawer/AppNavDrawerFooter.js
TarikHuber/react-redux-material-starter-kit
import React, { Component } from 'react'; import { List, Subheader} from 'material-ui'; import Divider from 'material-ui/Divider'; import config from '../../config'; const styles={ content:{ marginLeft:'6px', } }; class AppNavDrawerFooter extends Component { render() { return ( <List > ...
src/views/dictionary/adjectivd/AdjectivdTable.js
bostontrader/senmaker
// @flow import React from 'react' import AdjectivdRow from './AdjectivdRow' function AdjectivdTable(props:Object):?Object { let adjectivdTable:?Object = null const sortedAdjectivds:Object = props.adjectivd.getIn(['dict','coll']).sort((a,b)=>{ if (a.get('base') < b.get('base')) {return -1 } ...
lib/yuilib/3.9.1/build/datatable-core/datatable-core-debug.js
orvsd-skol/moodle25
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. 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 @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, ...
sites/all/modules/contrib/ctools/js/dependent.js
Gibe/Drupal6
// $Id: dependent.js,v 1.4.2.2 2009/10/05 23:38:33 merlinofchaos Exp $ /** * @file * * Written by dmitrig01 (Dmitri Gaskin) for CTools; this provides dependent * visibility for form items in CTools' ajax forms. * * To your $form item definition add: * - '#process' => array('CTools_process_dependency'), * - Add ...
examples/todomvc/containers/Root.prod.js
calesce/redux-slider-monitor
import React from 'react'; import PropTypes from 'prop-types'; import { Provider } from 'react-redux'; import TodoApp from './TodoApp'; const Root = ({ store }) => ( <Provider store={store}> <div> <TodoApp /> </div> </Provider> ); Root.propTypes = { store: PropTypes.object.isRequired }; export de...
components/SVG/SVG.js
owennicol/yaiza
// React import React from 'react' const SVG = (props) => ( <svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" version="1.1" width={props.width} height={props.height} viewBox={`0 0 ${props.width} ${props.height}`} preserveAspectRatio="xMidYMid meet" clas...
frontend/src/components/Content/index.js
XiaocongDong/mongodb-backup-manager
import React, { Component } from 'react'; export default class Content extends Component { render() { return (<div className="app-content"> { this.props.children } </div>) } }
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/rc-time-picker/es/Combobox.js
bhathiya/test
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/inherits'; import React, { Component } from 'react'; im...
app/packs/src/components/UserInfoIcon.js
ComPlat/chemotion_ELN
import React from 'react'; import PropTypes from 'prop-types'; const UserInfoIcon = ({type}) =>{ switch(type) { case 'Person': return <i className="fa fa-user" aria-hidden="true"/> case 'Group': return <i className="fa fa-users" aria-hidden="true"/> default: return <i className="fa fa-...
packages/mineral-ui-icons/src/IconWeb.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 IconWeb(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps}> ...
fields/types/relationship/RelationshipColumn.js
geminiyellow/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/src/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/src/components/ItemsTableValue'; const moreIndicatorStyle = { color: '#bbb', fontSize: '.8rem', fontWeight: 500, marginLeft: 8, }; var RelationshipColumn = React.create...
src/components/UserPointsCoin.js
TomClarkson/hanzi-gold-web
import React from 'react'; import {Motion, spring} from 'react-motion'; var lighterBg = '#FDD661'; var darkerBg = '#EAB700'; var darkerBorder = '#DF9E04'; var lighterBorder = '#FAC15B'; var navbarBg = '#FDDE4A'; var pointsCoinStyle = { outerWrapper: { height: 40, width: 40, borderRadius: 40, display: 'flex'...
src/pages/services.js
Centrico/centrico
import React from 'react' import Layout from "../components/layout" import Link from 'gatsby-link' import ContactForm from '../components/form' import { Grid, Container, Image, Header, Input, Form, Button, Segment, Label } from 'semantic-ui-react' // Icons import UxHmIcon from '../images/ux-hm-icon.png' import Manageme...
docs/src/app/components/pages/components/Tabs/ExampleControlled.js
andrejunges/material-ui
import React from 'react'; import {Tabs, Tab} from 'material-ui/Tabs'; const styles = { headline: { fontSize: 24, paddingTop: 16, marginBottom: 12, fontWeight: 400, }, }; export default class TabsExampleControlled extends React.Component { constructor(props) { super(props); this.state =...
docs/app/Examples/elements/Header/Variations/HeaderExampleAttached.js
mohammed88/Semantic-UI-React
import React from 'react' import { Header, Segment } from 'semantic-ui-react' const HeaderExampleAttached = () => ( <div> <Header as='h2' attached='top'> Attached Header </Header> <Segment attached> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ...
example/index.js
sinisavukovic/react-component-boilerplate
import React from 'react'; import ReactDOM from 'react-dom'; import App from '../src'; ReactDOM.render(<App />, document.getElementById('app'));
ajax/libs/react-swipe/2.0.3/react-swipe.min.js
BenjaminVanRyseghem/cdnjs
!function(e,o){"undefined"!=typeof module&&module.exports?module.exports=o(require("react/addons"),require("swipe-js-iso")):e.ReactSwipe=o(e.React,e.Swipe)}(this,function(e,o){var i={container:{overflow:"hidden",visibility:"hidden",position:"relative"},wrapper:{overflow:"hidden",position:"relative"},child:{"float":"lef...
ajax/libs/material-ui/4.9.2/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');