path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
packages/headings/tests/react/index.js
govau/uikit
import React from 'react'; import ReactDOM from 'react-dom'; import AUheading from './headings.js'; ReactDOM.render( <div className="split-wrapper"> <div className="split"> <h2>headings</h2> <AUheading size="xxxl" level="6">au-display-xxxl on h1</AUheading> <AUheading size="xxl" level="5">au-display-xx...
src/svg-icons/hardware/speaker.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareSpeaker = (props) => ( <SvgIcon {...props}> <path d="M17 2H7c-1.1 0-2 .9-2 2v16c0 1.1.9 1.99 2 1.99L17 22c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-5 2c1.1 0 2 .9 2 2s-.9 2-2 2c-1.11 0-2-.9-2-2s.89-2 2-2zm0 16c...
__tests__/index.android.js
CodeLanka/ez-net-app
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/components/common/svg-icons/image/leak-add.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLeakAdd = (props) => ( <SvgIcon {...props}> <path d="M6 3H3v3c1.66 0 3-1.34 3-3zm8 0h-2c0 4.97-4.03 9-9 9v2c6.08 0 11-4.93 11-11zm-4 0H8c0 2.76-2.24 5-5 5v2c3.87 0 7-3.13 7-7zm0 18h2c0-4.97 4.03-9 9-9v-2c-...
app/components/Login/index.js
sanglnv/blog-app
/* eslint-disable no-trailing-spaces,flowtype-errors/show-errors,max-len */ /** * Created by sanglnv on 6/30/17. */ // @flow import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { TextInput, Checkbox, Button } from 'react-desktop'; import { Field } from 'redux-form'; import styles from...
app/scripts/Block/__tests__/pages/NewBlockPage.spec.js
igr-santos/hub-client
import React from 'react' import { shallow } from 'enzyme' import { expect } from 'chai' import { NewBlockPage } from '../../pages/NewBlockPage' import { BLOCK_LAYOUTS } from '../../../constants/BlockLayouts' describe('app/scripts/Block/components/NewBlockPage', () => { let wrapper const props = { dispatch: (...
src/components/slider/AssetImage.js
g8extended/Character-Generator
import React from 'react'; const AssetImage = ( ({ file }) => ( <img src={file.src} style={file.computedStyle} onContextMenu={e => e.preventDefault()} /> ) ); export default AssetImage;
ajax/libs/yui/3.17.2/event-custom-base/event-custom-base.js
robfletcher/cdnjs
/* 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/yui/3.12.0/event-focus/event-focus-coverage.js
dmsanchez86/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-focus/event-focus.js']) { __coverage__['build/event-focus/event-focus.js'] = {"path":"build/event-focus/event-focus.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":0,"13":0,"14":0,"15":0,"...
packages/material-ui-icons/src/DirectionsWalkRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M13.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM9.8 8.9L7.24 21.81c-.13.61.35 1.19.98 1.19h.08c.47 0 .87-.32.98-.78L10.9 15l2.1 2v5c0 .55....
ajax/libs/rxjs/4.0.6/rx.all.js
bootcdn/cdnjs
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExpor...
user_guide/searchindex.js
azizulj8/umyogya
Search.setIndex({envversion:42,terms:{linebreak:24,fopen_read_write_create_strict:122,file_upload:11,some_librari:134,yellow:[6,138],poorli:98,four:[158,94,59,144,60,134,130,136,133],ofb:85,prefix:[],oldest:136,hate:140,optimize_databas:81,consider:[59,34],"0x7f":34,whose:34,accur:[0,34,123,160,47,101],aug:98,my_contro...
src/svg-icons/image/edit.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageEdit = (props) => ( <SvgIcon {...props}> <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/> ...
src/panel/Panel.js
alelk/houses-building-website
/** * Panel * * Created by Alex Elkin on 19.10.2017. */ import React from 'react'; import PropTypes from 'prop-types' import './Panel.css' const Panel = ({className, children, centerVertically}) => { return ( <div className={`Panel${(className && ' ' + className) || ''}${(centerVertically && ' center...
classic/src/scenes/mailboxes/src/Components/WaveboxWebView/WaveboxWebView.js
wavebox/waveboxapp
import React from 'react' import PropTypes from 'prop-types' import BrowserView from 'wbui/Guest/BrowserView' import { URL } from 'url' import { WAVEBOX_CAPTURE_URLS, WAVEBOX_CAPTURE_URL_HOSTNAMES } from 'shared/constants' import pkg from 'package.json' import WaveboxWebViewLoadbar from './WaveboxWebViewLoadbar' im...
src/components/Pomodoro.js
seanyboy49/Caprese
import React from 'react'; import '../styles/Pomodoro.css' class Pomodoro extends React.Component { constructor(props) { super(props); this.state = { running: false, timeRemaining: 1500000, previousTime: 0 } this.onTick = this.onTick.bind(this); this.onStart = this.onStart.bin...
ajax/libs/zeroclipboard/2.0.1/ZeroClipboard.Core.js
Sneezry/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.0.1 */ (function(window, undefined) { "use strict";...
node_modules/react-icons/ti/zoom.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiZoom = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m21.7 6.7c-6.5 0-11.7 5.2-11.7 11.6 0 1.3 0.2 2.5 0.6 3.7l-2.1 2.1-1.7 1.7c-0.9 0.9-1.5 2.3-1.5 3.7 0 2.8 2.4 5.2 5.2 5.2 1.3 0 2.5-0.5 3.5-1.3l0.2-0.1 0.1-0.1 3.7-3.8c1...
docs/client/components/shared/SocialBar/index.js
dagopert/draft-js-plugins
import React, { Component } from 'react'; import TwitterButton from '../TwitterButton'; import FacebookButton from '../FacebookButton'; import GithubButton from '../GithubButton'; import styles from './styles.css'; export default class SocialBar extends Component { render() { return ( <div className={styl...
src/components/FirstChild/index.js
MatthewKosloski/howlongago
import React from 'react'; const FirstChild = ({children}) => { const childrenArray = React.Children.toArray(children); return childrenArray[0] || null; } export default FirstChild;
packages/material-ui/src/Zoom/Zoom.js
allanalexandre/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; import { duration } from '../styles/transitions'; import withTheme from '../styles/withTheme'; import { reflow, getTransitionProps } from '../transitions/utils'; import { useForkRef } from '../utils/react...
src/routes/error/index.js
machix/mm-inventory
/** * 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 ErrorPage from './Err...
src/route/Home/ContentRouter.js
simors/yjbAdmin
/** * Created by yangyang on 2017/9/11. */ import React from 'react' import {Route, Switch} from 'react-router-dom' import Dashboard from '../../route/dashboard' import {SystemNotification, PromotionNotification} from '../../route/notification/'; import {EndUser} from '../enduser/' import {AdminUser} from '../adminus...
saga/seata-saga-statemachine-designer/src/components/EditorContextMenu/FlowContextMenu.js
seata/seata
import React from 'react'; import { NodeMenu, EdgeMenu, GroupMenu, MultiMenu, CanvasMenu, ContextMenu } from 'gg-editor'; import MenuItem from './MenuItem'; import styles from './index.less'; const FlowContextMenu = () => { return ( <ContextMenu className={styles.contextMenu}> <NodeMenu> <MenuItem ...
src/svg-icons/image/collections.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCollections = (props) => ( <SvgIcon {...props}> <path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"/> ...
src/components/component/socialIcon/index.js
MoosemanStudios/app.moosecraft.us
import React from 'react'; import PropTypes from 'prop-types'; import { STATIC } from 'config/project'; import misc from 'src/styles/misc.scss'; const SocialIcon = ({ network, link }) => ( <a href={link}><img src={`${STATIC.img}/social/${network}.png`} alt={network} className={misc.padding} /></a> ); SocialIcon.pr...
ajax/libs/shariff/1.7.0/shariff.js
hasantayyar/cdnjs
/* * shariff - v1.4.6 - 15.12.2014 * https://github.com/heiseonline/shariff * Copyright (c) 2014 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli * Licensed under the MIT <http://www.opensource.org/licenses/mit-license.php> license */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){...
lb-template/default/js/jquery.js
SpaHost/libresocialblog
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
administrador/src/index.js
jecr/elnaranjo
import 'bootstrap/dist/css/bootstrap.css'; import 'bootstrap/dist/css/bootstrap-theme.css'; import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
ajax/libs/vue/2.2.5/vue.runtime.esm.js
holtkamp/cdnjs
/*! * Vue.js v2.2.5 * (c) 2014-2017 Evan You * Released under the MIT License. */ /* */ /** * Convert a value to a string that is actually rendered. */ function _toString (val) { return val == null ? '' : typeof val === 'object' ? JSON.stringify(val, null, 2) : String(val) } /** * Conver...
janua-web/ext/classic/classic/test/specs/util/FocusableContainer.js
mesocentrefc/Janua-SMS
describe("Ext.util.FocusableContainer", function() { var forward = true, backward = false, autoId = 0, focusAndWait = jasmine.focusAndWait, pressTab = jasmine.pressTabKey, pressArrow = jasmine.pressArrowKey, waitForFocus = jasmine.waitForFocus, expectF...
src/Month.js
intljusticemission/react-big-calendar
import PropTypes from 'prop-types' import React from 'react' import { findDOMNode } from 'react-dom' import clsx from 'clsx' import * as dates from './utils/dates' import chunk from 'lodash/chunk' import { navigate, views } from './utils/constants' import { notify } from './utils/helpers' import getPosition from 'dom...
src/svg-icons/notification/wc.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationWc = (props) => ( <SvgIcon {...props}> <path d="M5.5 22v-7.5H4V9c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5.5H9.5V22h-4zM18 22v-6h3l-2.54-7.63C18.18 7.55 17.42 7 16.56 7h-.12c-.86 0-1.63.55-1.9 1.37L12 16h3v6...
src/views/uploadview.react.js
Cron-J/CSV-REE
import React from 'react'; import Fileuploader from './fileuploader.react'; class UploadView extends React.Component { constructor(props) { super(props); } componentWillReceiveProps(nextProps) { this.props = nextProps; } onupload = (file) => { if (this.props.onDataSubmit) { this.props.onD...
node_modules/react-icons/md/play-circle-outline.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdPlayCircleOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 33.4q5.5 0 9.4-4t4-9.4-4-9.4-9.4-4-9.4 4-4 9.4 4 9.4 9.4 4z m0-30q6.9 0 11.8 4.8t4.8 11.8-4.8 11.8-11.8 4.8-11.8-4.8-4.8-11.8 4.8-11.8 11.8-4.8z m-3.4 2...
app/components/specificComponents/SearchWorkShopForm/index.js
romainquellec/cuistot
/** * * SearchWorkShopForm * */ import React from 'react'; import Button from 'components/genericComponents/Button'; import Form from 'components/genericComponents/Form'; import Geosuggest from 'components/specificComponents/GeoSuggest'; import { intlShape, injectIntl, FormattedMessage } from 'react-intl'; import mes...
ajax/libs/yui/3.8.0pr1/event-focus/event-focus-min.js
yinghunglai/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
ajax/libs/react-bootstrap-table/2.4.3/react-bootstrap-table.js
dc-js/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
src/components/programs/inshelter/ProgramList.js
KidsFirstProject/KidsFirstProject.github.io
import React from 'react'; import { Col, Row, Media } from 'react-bootstrap'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faCircle } from '@fortawesome/free-solid-svg-icons'; import programs from '../../../data/programs/programs'; const ProgramList = () => ( <Row> {programs.map((pr...
src/components/ErrorPage/ErrorPage.js
Agies/ads-report
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { PropTypes, Component } from 'react'; import withStyles from '../../decorators/withStyles'; import styles from './ErrorPage.css'; @withStyles(styles) class ErrorPage extends Component { static contextTypes = { onSetTitle: P...
docs/src/IntroductionPage.js
mmartche/boilerplate-shop
import React from 'react'; import CodeExample from './CodeExample'; import NavMain from './NavMain'; import PageHeader from './PageHeader'; import PageFooter from './PageFooter'; const IntroductionPage = React.createClass({ render() { return ( <div> <NavMain activePage="introduction" /> <...
src/svg-icons/editor/vertical-align-top.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorVerticalAlignTop = (props) => ( <SvgIcon {...props}> <path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"/> </SvgIcon> ); EditorVerticalAlignTop = pure(EditorVerticalAlignTop); EditorVerticalAlignTop.dis...
packages/lore-hook-dialog/src/config.js
lore/lore-forms
/* eslint no-param-reassign: "off" */ import React from 'react'; import ReactDOM from 'react-dom'; import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; import { Provider } from 'react-redux'; // templates import Dialog from './templates/Dialog'; export default { /** * DOM Elem...
test/development/basic/next-dynamic/components/hello-context.js
JeromeFitz/next.js
import React from 'react' import PropTypes from 'prop-types' export default class extends React.Component { static contextTypes = { data: PropTypes.object, } render() { const { data } = this.context return <div>{data.title}</div> } }
src/svg-icons/editor/border-outer.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderOuter = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v2h2V7zm0 4h-2v2h2v-2zm4 0h-2v2h2v-2zM3 3v18h18V3H3zm16 16H5V5h14v14zm-6-4h-2v2h2v-2zm-4-4H7v2h2v-2z"/> </SvgIcon> ); EditorBorderOuter =...
src/components/cell.js
thepeted/dungeon-crawler
import React from 'react'; export default ({ cell, distance, visible, zone }) => { let opacityValue = cell.opacity; if (visible && distance > 10) { opacityValue = 0; } else if (cell.type !== 0) { opacityValue = 1; } return ( <div className={cell.type ? `${cell.type} cell` : `back-${zone} cell`} style...
packages/material-ui-icons/src/SignalCellular4BarSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M2 22h20V2L2 22z" /> , 'SignalCellular4BarSharp');
KayaCMS-Admin/frontend/src/pages/RedirectEdit.js
abono/Kaya-CMS
import React, { useState, useReducer, useEffect } from 'react'; import { Button, Container, Form, FormGroup, Input, Label } from 'reactstrap'; import { Link, useParams, useNavigate } from 'react-router-dom'; import { APICallInit, APICallState } from "../services/ServiceUtil"; import { GetRedirect, CreateRedirect, Upda...
actor-apps/app-web/src/app/components/common/Banner.react.js
zillachan/actor-platform
import React from 'react'; import BannerActionCreators from 'actions/BannerActionCreators'; class Banner extends React.Component { constructor(props) { super(props); if (window.localStorage.getItem('banner_jump') === null) { BannerActionCreators.show(); } } onClose = () => { BannerActionC...
packages/bonde-admin/src/mobrender/components/block.spec.js
ourcities/rebu-client
/* eslint-disable no-unused-expressions */ import React from 'react' import { expect } from 'chai' import { shallow } from 'enzyme' import Block from '@/mobrender/components/block' import Widget from '@/mobrender/components/widget.connected' import BlockChangeBackground from '@/mobrender/components/block-change-backgr...
frontend/src/components/eois/cells/unsolicitedSectorCell.js
unicef/un-partner-portal
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { selectSector } from '../../../store'; const renderShortCell = data => data.map(sector => sector.name).join(', '); const UnsolicitedSectorCell = (props) => { const { id, sectors } = props; return ( <...
web/assets/jquery/jquery.min.js
alixmut/my_project_web
/*! 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...
assets/jqwidgets/demos/react/app/expander/loadingdataondemand/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxExpander from '../../../jqwidgets-react/react_jqxexpander.js'; class App extends React.Component { componentDidMount() { $.ajax({ url: '../sampledata/jqxexpanderxmldata.xml', type: 'GET', success: (d...
reports/report_000/data/jquery/jquery.min.js
belissent/GrampsDynamicWebReport
/*! 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...
ajax/libs/yui/3.8.0pr1/event-focus/event-focus.js
menuka94/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
packages/material-ui-icons/src/FilterHdr.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z" /></React.Fragment> , 'FilterHdr');
githubApp/js/pages/my/CustomKeyPage.js
anchoretics/ztf-work-app
/** * Created by lingfengliang on 2017/3/17. */ import React, { Component } from 'react'; import { StyleSheet, TextInput, View, ScrollView, Image, TouchableOpacity, ListView, RefreshControl } from 'react-native'; import NavigationBar from '../../Components/NavigationBar'; import { Lis...
packages/material-ui-icons/src/SettingsInputComponent.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-...
src/svg-icons/hardware/headset.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareHeadset = (props) => ( <SvgIcon {...props}> <path d="M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h3c1.66 0 3-1.34 3-3v-7c0-4.97-4.03-9-9-9z"/> </SvgIcon> ...
client/src/components/Page.js
rantav/reversim-summit-2017
import React, { Component } from 'react'; import Navbar from './Navbar'; import Footer from "./Footer"; class Page extends Component { componentDidMount() { document.title = this.props.title || "Reversim Summit 2017"; } render() { const { children, isHome, user, isSmallScreen, onLogout } = this....
ajax/libs/yasqe/2.3.5/yasqe.bundled.min.js
sajochiu/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,i,r)...
node_modules/react-bootstrap/es/ButtonGroup.js
geng890518/editor-ui
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 ...
ajax/libs/yui/3.3.0pr2/event/event-focus-debug.js
2947721120/cdnjs
YUI.add('event-focus', function(Y) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, useActivate = YLang.isFunction( Y.DOM.create('<p onbeforeactivate="...
examples/basic/src/components/WrappedButton/WrappedButton.js
bluetidepro/react-styleguidist
import React, { Component } from 'react'; import PropTypes from 'prop-types'; /** * A button wrapped by a Decorator/Enhancer * * @version 1.0.1 * @author [Jeremy Gayed](https://github.com/tizmagik) * @deprecated Use the [only true button](#button) instead */ const WrappedButton = ({ color, size, children }) => {...
node_modules/react/lib/ReactUpdateQueue.js
rajendrav5/webpack2.0
/** * Copyright 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
react/src/sui/ModalComponent.js
ineffablep/simple-ui
import React from 'react'; class Modal extends React.Component { constructor(props) { super(props); this.handlerClose = this.handlerClose.bind(this); this.state = { toggleVisible: false }; } componentWillReceiveProps() { this.setState({ toggleVisible: this.props.showModal });...
src/mixins/style-propable.js
SBP07/frontend
import React from 'react'; import ImmutabilityHelper from '../utils/immutability-helper'; import Styles from '../utils/styles'; // This mixin isn't necessary and will be removed in v0.11 /** * @params: * styles = Current styles. * props = New style properties that will override the current style. */ export defau...
web/src/Sign.js
Novemser/InMemoryTelecomService
/** * Created by kevin on 12/10/2016. */ import React from 'react'; import SimpleDialog from './Dialog'; import TextField from 'material-ui/TextField'; import RaisedButton from 'material-ui/RaisedButton'; import {hashHistory } from 'react-router' import $ from 'jquery'; import Auth from './Auth' import API from './AP...
ajax/libs/yui/3.13.0/datatable-core/datatable-core-coverage.js
coupang/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-core/datatable-core.js']) { __coverage__['build/datatable-core/datatable-core.js'] = {"path":"build/datatable-core/datatable-core.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":0,"13"...
components/index.js
TrRo26/personal-site-react
import React from 'react' import ReactDOM from 'react-dom' import { BrowserRouter as Router, Route, Link } from 'react-router-dom' import App from './app.js' import AboutMain from './content/about/about_main.js' import ProjectsMain from './content/projects/projects_main.js' import BlogMain from './content/blog/blog_mai...
packages/material-ui-icons/src/PermPhoneMsgTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g opacity=".3"><path d="M15.2 18.21c1.21.41 2.48.67 3.8.76v-1.5c-.88-.07-1.75-.22-2.6-.45l-1.2 1.19zM6.54 5h-1.5c.09 1.32.35 2.59.75 3.79l1.2-1.21c-.24-...
client/scripts/components/user/dashboard/confirmation-message/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...
ajax/libs/react-bootstrap/0.22.5/react-bootstrap.js
CyrusSUEN/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["ReactBootstrap"] = ...
client/src/containers/ContactContainer.js
redcom/pinstery
// @flow import type { State, ErrorsType } from '../store/CommonStoreTypes'; import React from 'react'; import { connect } from 'react-redux'; import { WrapperFlex, Title, ContactForm } from '../components'; import { sendContactMessage } from '../actions/ContactActions'; const ContactContainer = ({ error = null, ...
ajax/libs/material-ui/4.9.4/esm/internal/svg-icons/Cancel.js
cdnjs/cdnjs
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon(React.createElement("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 ...
examples/with-custom-target-babel-config/src/App.js
jaredpalmer/razzle
import React from 'react'; import { Route, Switch } from 'react-router-dom'; import Home from './Home'; const App = () => ( <Switch> <Route exact path="/" component={Home} /> </Switch> ); export default App;
jenkins-design-language/src/js/components/material-ui/svg-icons/editor/show-chart.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const EditorShowChart = (props) => ( <SvgIcon {...props}> <path d="M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"/> </SvgIcon> ); EditorShowChart.displayName = 'EditorShowChart'; EditorShowChart.muiName = 'SvgIcon'; export defau...
src/index.js
vicai/MusicMoodzon
import { Provider } from 'react-redux'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import store from './store'; ReactDOM.render( <Provider store={store}> <App /> </Provider>, document.getElementById('root') );
modules/contacts/client/components/ContactPresentational.js
Trustroots/trustroots
import React from 'react'; import PropTypes from 'prop-types'; import { Trans, useTranslation } from 'react-i18next'; import '@/config/client/i18n'; import Avatar from '@/modules/users/client/components/Avatar.component'; export default function ContactPresentational({ className, contact, avatarSize = 128, hid...
src/components/Chart.js
JoshuaCoquelle/redux-weather-app
import _ from 'lodash'; import React from 'react'; import { Sparklines, SparklinesLine, SparklinesReferenceLine } from 'react-sparklines'; /** * Finds the average temperature for the current city. * * @param {array} data */ const average = (data) => { return _.round( _.sum(data) / data.length ); ...
ajax/libs/clappr/0.0.30/clappr.js
andyinabox/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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
src/collections/Form/FormDropdown.js
Semantic-Org/Semantic-UI-React
import PropTypes from 'prop-types' import React from 'react' import { getElementType, getUnhandledProps } from '../../lib' import Dropdown from '../../modules/Dropdown' import FormField from './FormField' /** * Sugar for <Form.Field control={Dropdown} />. * @see Dropdown * @see Form */ function FormDropdown(props...
client/src/index.js
codeforgso/GoVote
import React from 'react'; import { render } from 'react-dom'; import './style.css'; import App from './components/App.jsx'; import registerServiceWorker from './registerServiceWorker'; render(<App />, document.getElementById('root')); registerServiceWorker();
js/barber/AppointmentCanceled.js
BarberHour/barber-hour
import React, { Component } from 'react'; import { View, Text, StyleSheet, StatusBar, Platform } from 'react-native'; import Logo from '../common/Logo'; import Button from '../common/Button'; export default class AppointmentCanceled extends Component { _openMain() { this.props.navigator.pop(); } ...
src/components/Map/Map.js
Futurealms/noDelay.co
import React from 'react'; import AppStore from '../../stores/AppStore.js'; import { Row, Column, Link, Callout, Colors } from 'react-foundation'; import { GoogleMapLoader, GoogleMap, Marker } from 'react-google-maps'; const getAirports = () => AppStore.getAirports(); const getFrom = () => AppStore.getFrom(); const ge...
core/media/dhtmlxGrid/dhtmlxGrid/codebase/dhtmlxgrid.js
IanLawrence/InnovationManagement
//v.2.5 build 91111 /* Copyright DHTMLX LTD. http://www.dhtmlx.com You allowed to use this component or parts of it under GPL terms To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com */ var globalActiveDHTMLGridObject;String.prototype._dhx_trim=function(){re...
src/svg-icons/image/edit.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageEdit = (props) => ( <SvgIcon {...props}> <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/> ...
src/Parser/Druid/Balance/Modules/Features/CancelledCasts.js
hasseboulen/WoWAnalyzer
import React from 'react'; import Wrapper from 'common/Wrapper'; import CoreCancelledCasts from 'Parser/Core/Modules/CancelledCasts'; import { formatPercentage } from 'common/format'; import { STATISTIC_ORDER } from 'Main/StatisticBox'; class CancelledCasts extends CoreCancelledCasts { get suggestionThresholds() {...
chrome/app/inject/index.js
omega-prime/omega
import React from 'react'; window.addEventListener('load', () => { let injectDOM = document.createElement('div'); injectDOM.className = 'inject-react-example'; injectDOM.style.margin = '0 auto'; injectDOM.style.width = '1200px'; injectDOM.style.height = '800px'; document.body.appendChild(injectDOM); let...
app/javascript/packs/components/patch-list-item.js
eric-wood/minilogue-patches
import React from 'react'; import moment from 'moment'; import StarRating from './star-rating'; import TagList from './tag-list'; import uploadPatch from '../midi'; import { propTypes as midiPropTypes } from './with-midi'; class PatchListItem extends React.Component { constructor(props) { super(props); this...
app/components/shared/Autocomplete/loader.js
buildkite/frontend
import React from 'react'; import Spinner from 'app/components/shared/Spinner'; export default class Loader extends React.PureComponent { static displayName = "Autocomplete.Loader"; render() { return ( <li className="center py3"><Spinner /></li> ); } }
src/app.js
refugeehackathon/mapfix
import 'babel-core/polyfill'; import 'normalize.css/normalize.css'; import 'leaflet/dist/leaflet.css'; import './style.css'; import './print.css'; import React from 'react'; import AppContainer from './app-container'; window.document.addEventListener('DOMContentLoaded', () => { const appEl = window.document.getElem...
app/views/DietPreferencesView.js
hippothesis/Recipezy
/* * Copyright 2017-present, Hippothesis, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; import React, { Component } from 'react'; import { Body, Button, Container, Content, ...
ajax/libs/webshim/1.14.3-RC1/dev/shims/moxie/js/moxie.js
MMore/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
src/client/components/ProConProvider.js
psu-hci/ReactiveThinker
import React from 'react'; import { Provider } from 'react-redux'; import configureStore from '../store/configureStore'; import ProConApp from './ProConComponent/ProConApp'; import { ProConContainer } from './ProConComponent/ProConPage/ProCons/ProConContainer'; const store = configureStore(); class ProConProvider ext...
examples/js/custom/insert-button/default-custom-insert-button.js
echaouchna/react-bootstrap-tab
/* eslint max-len: 0 */ /* eslint no-unused-vars: 0 */ /* eslint no-alert: 0 */ /* eslint no-console: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn, InsertButton } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for...
Paco-Polymer/bower_components/polymer/polymer.js
athoo/paco
/** * @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/core-js/0.8.3/core.js
voronianski/cdnjs
/** * Core.js 0.8.3 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ var __e = null, __g = null; (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...
src/components/Title.js
MarceloProjetos/react-router-node-red
import React from 'react' import { Row } from 'react-bootstrap'; const Title = props => ( <Row> <h1>{props.title}</h1> </Row> ) export default Title;
assets/jqwidgets/demos/react/app/chart/spiderchart/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxChart from '../../../jqwidgets-react/react_jqxchart.js'; import JqxDropDownList from '../../../jqwidgets-react/react_jqxdropdownlist.js'; import JqxSlider from '../../../jqwidgets-react/react_jqxslider.js'; import JqxCheckBox from '../../../jqwidge...