path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/Merchello.Web.UI/Umbraco_Client/Tinymce3/Plugins/Legacyoutput/editor_plugin_src.js
MindfireTechnology/Merchello
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements...
node_modules/react-icons/io/ios-glasses-outline.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoIosGlassesOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m33.8 19.3h1.2v1.4h-1.2c-0.1 1.7-1 3.4-2.2 4.5-1.4 1.3-3.1 2-4.9 2-4 0-7.2-3.2-7.2-7.2 0-0.8-0.9-1.7-2-1.7s-2 0.9-2 1.7c0 4-3.2 7.2-7.2 7.2-1.8 0-3.5-0.7-4....
react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js
gpolitis/jitsi-meet
// @flow import _ from 'lodash'; import React, { Component } from 'react'; import { NativeModules, Text, TouchableHighlight, View } from 'react-native'; import { ColorSchemeRegistry } from '../../../base/color-scheme'; import { hideDialog, BottomSheet } from '../../../base/dialog'; import { translate } from '../../.....
src/svg-icons/communication/rss-feed.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationRssFeed = (props) => ( <SvgIcon {...props}> <circle cx="6.18" cy="17.82" r="2.18"/><path d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17...
source/lib/jquery/jquery-1.10.2.min.js
ssylvia/wilderness-50th-photos
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
packages/material-ui-icons/src/SignalWifi4BarLockTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20.5 9.5c.36 0 .71.04 1.05.11L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7L12 21.5l3.5-4.36V14.5c0-2.8 2.2-5 5-5zM23 16v-1.5c0-1.4-1.1-2.5-2.5-2.5S18 13.1 18 14.5V16c-.5 0-1 .5-1 1v4c0 .5.5 1...
site/src/components/DemoBox.js
Filsh/elemental-themeable
import React from 'react'; import classnames from 'classnames'; import E from '../../../src/constants'; const ALIGN_TRANSFORM = { 'center': 'center', 'left': 'flex-start', 'right': 'flex-end', }; var DemoBox = React.createClass({ propTypes: { align: React.PropTypes.oneOf(['center', 'left', 'right']), children...
features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store/source/src/app/components/Applications/Listing/ApplicationTable.js
dewmini/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
examples/shared-root/app.js
1000hz/react-router
import React from 'react'; import { history } from 'react-router/lib/HashHistory'; import { Router, Route, Link } from 'react-router'; var App = React.createClass({ render() { return ( <div> <p> This illustrates how routes can share UI w/o sharing the url, when routes have no pa...
src/components/home/play-button.js
supercandy/block-breaker
// Play button (home screen) import React, { Component } from 'react'; import { Animated, Easing, TouchableOpacity, View } from 'react-native'; import { Actions } from 'react-native-router-flux'; import Icon from 'react-native-vector-icons/FontAwesome'; import { ICON_COLOUR } from '../../util/constants'; // Cs...
ajax/libs/forerunnerdb/1.3.786/fdb-core.min.js
keicheng/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...
fields/types/textarray/TextArrayFilter.js
w01fgang/keystone
import React from 'react'; import { findDOMNode } from 'react-dom'; import { FormField, FormInput, FormSelect, } from '../../../admin/client/App/elemental'; const MODE_OPTIONS = [ { label: 'Contains', value: 'contains' }, { label: 'Exactly', value: 'exactly' }, { label: 'Begins with', value: 'beginsWith' }, { ...
src/Components/Footer.js
louisiaegerv/zephyr
import React from 'react'; var Footer = React.createClass({ render: function () { return( <div id="footer" className="container"> <div className="copyright"> <p>© ZEPHYR 2016</p> </div> <div className="creator"> <pre>Coded with ♥ by Louis Iae...
components/PhotoCollage.js
nickroberts404/meadowlab
import React, { Component } from 'react'; // div.stacked-photos contains the same photos as section 1 and 3, but I could not figure out how to // get them to stay on the same line after making div.collage flex-direction: column. // There a may be a way, but for now this was quicker, and makes no more requests than u...
lesson-7/todos/src/components/summaryPage/SummaryPage.js
msd-code-academy/lessons
import React from 'react' import { connect } from 'react-redux' import '../../styles/SummaryPage.css' import { fetchNotesAsync } from '../../Reducer'; class SummaryPage extends React.Component { componentWillMount() { this.props.dispatch(fetchNotesAsync()); } render() { return ( ...
components/Layout.js
stevenctl/tweebot-ui
import React from 'react'; import Header from '../containers/Header'; import Footer from './Footer'; import Sidebar from '../containers/Sidebar'; import config from 'react-global-configuration'; class Layout extends React.Component { constructor(){ super(); } render() { let body = ( ...
src/svg-icons/maps/streetview.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsStreetview = (props) => ( <SvgIcon {...props}> <path d="M12.56 14.33c-.34.27-.56.7-.56 1.17V21h7c1.1 0 2-.9 2-2v-5.98c-.94-.33-1.95-.52-3-.52-2.03 0-3.93.7-5.44 1.83z"/><circle cx="18" cy="6" r="5"/><path d...
src/containers/FullPageLayout.js
byoigres/minutes
import React from 'react'; import { FormattedMessage } from 'react-intl'; // import styles from './styles'; import styled from 'styled-components'; import Navbar from '../components/Navbar'; const FullPageLayout = styled.div` display: flex; justify-content: center; flex-direction: column; align-items: center; ...
src/svg-icons/hardware/cast-connected.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareCastConnected = (props) => ( <SvgIcon {...props}> <path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 ...
src/svg-icons/editor/format-line-spacing.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatLineSpacing = (props) => ( <SvgIcon {...props}> <path d="M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6V7zm4-2v2h12V5H10zm0 14h12v-2H10v2zm0-6h12v-2H10v2z"/> </SvgIcon> ); EditorFormatLineSpacing =...
node_modules/react-icons/md/vpn-lock.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdVpnLock = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m16.6 34.9v-3.3c-1.8 0-3.2-1.4-3.2-3.2v-1.8l-8.1-7.9c-0.2 0.9-0.3 1.9-0.3 2.9 0 6.8 5.1 12.5 11.6 13.3z m15-14.9h3.3c0.1 0.5 0.1 1.1 0.1 1.6 0 9.3-7.4 16.8-16.6 16.8s...
packages/wix-style-react/src/Carousel/Carousel.spec.js
wix/wix-style-react
import React from 'react'; import Carousel from './Carousel'; import carouselDriverFactory from './Carousel.private.driver'; import { carouselPrivateUniDriverFactory } from './Carousel.private.uni.driver'; import { createRendererWithDriver, createRendererWithUniDriver, } from '../../test/utils/unit'; describe('Ca...
react-pic-anmi/src/js/components/Loading.js
fengnovo/fengnovo-react-test
import React from 'react' class Loading extends React.Component{ constructor(props) { super(props) } render() { const {r,z,c} = this.props let wrap = {'width': r+'px','height':r+'px'} // let layout = { // 'position': 'absolute', // 'top': 0, /...
src/js/components/Lessons/Edit.js
appdev-academy/appdev.academy-react
import React from 'react' import { browserHistory } from 'react-router' import { inject, observer } from 'mobx-react' import Form from './Form' @inject('lessonsStore') @observer export default class Edit extends React.Component { constructor(props) { super(props) this.state = { errors: [] } }...
packages/react/src/__tests__/ReactProfilerDOM-test.internal.js
STRML/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'; let React; let ReactFeatureFlags; let ReactDOM; let SchedulerTracing; let Scheduler; let R...
ajax/libs/material-ui/5.0.0-alpha.7/esm/ButtonBase/ButtonBase.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import{elementTypeAcceptingRef,refType}from"@material-ui/utils";import useForkRef from".....
components/popup/__tests__/index.test.web.js
bccsafe/ant-design-mobile
import React from 'react'; // import { render } from 'enzyme'; // import { renderToJson } from 'enzyme-to-json'; import Popup from '../index.web'; describe('Popup', () => { it('renders correctly', () => { Popup.show(<div className="pop">Popup Content</div>); expect([document.querySelector('.pop')]).toHaveLen...
packages/demos/forms-demo/src/index.js
garth/cerebral
import React from 'react' import { render } from 'react-dom' import { Controller } from 'cerebral' import { Container } from '@cerebral/react' import Devtools from 'cerebral/devtools' import Router from '@cerebral/router' import app from './modules/app' import simple from './modules/simple' import App from './component...
react-redux-demo/运行不了或报错/real-world/src/containers/RepoPage.js
fengnovo/webpack-react
import React, { Component, PropTypes } from 'react' import { connect } from 'react-redux' import { loadRepo, loadStargazers } from '../actions' import Repo from '../components/Repo' import User from '../components/User' import List from '../components/List' const loadData = props => { const { fullName } = props pr...
common/static/js/vendor/pdfjs/viewer.js
jazkarta/edx-platform
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* Copyright 2012 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
docs/src/app/components/pages/components/RadioButton/Page.js
kittyjumbalaya/material-components-web
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import radioButtonReadmeText from './README'; import RadioButtonExampleSimple fr...
src/components/me/PasswordReset.js
zebras-filming-videos/streamr-web
import React from 'react' import Helmet from 'react-helmet' import { Link } from 'react-router-dom' import { Banner } from '../common/banners' import UserCardContainer from '../users/UserCardContainer' import { Field } from 'redux-form' import { Button } from '../buttons' import { FormError, FormRow } from '....
app/components/Preview.js
animalphase/bramble
// @flow // import React, { Component } from 'react'; import React from 'react'; import { connect } from 'react-redux'; import stateReturn from '../store/state-return.js'; import marked from 'marked'; import utils from '../utils.js'; // import updatePatchBody from '../actions/update-patch-body.js'; // import { Route, L...
src/components/video_list.js
erdgabios/react-youtube-search
import React from 'react'; import VideoListItem from './video_list_item'; const VideoList = (props) => { const videoItems = props.videos.map((video) => { return ( <VideoListItem onVideoSelect={props.onVideoSelect} key={video.etag} video={video} /> ); }); return ( ...
docs/src/examples/collections/Grid/Types/index.js
Semantic-Org/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/src/components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/src/components/ComponentDoc/ExampleSection' const GridTypesExamples = () => ( <ExampleSection title='Types'> <ComponentExample title='Grid' description='A basic...
src/components/__tests__/InfoBar-test.js
sslash/FINN.no-academy-demo
import React from 'react'; import ReactDOM from 'react-dom'; import {renderIntoDocument} from 'react-addons-test-utils'; import { expect} from 'chai'; import { InfoBar } from 'components'; import { Provider } from 'react-redux'; import {reduxReactRouter} from 'redux-router'; import createHistory from 'history/lib/creat...
src/components/App.js
ovidner/bitket
import React from 'react' import { Grid } from 'react-bootstrap' import { connect } from 'react-redux' import { withRouter } from 'react-router' import * as actions from '../actions' import * as selectors from '../selectors' import { Footer, Navbar, PurchaseModal } from './' const mapStateToProps = (state, props) =>...
app/javascript/mastodon/features/status/components/card.js
SerCom-KC/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import Immutable from 'immutable'; import ImmutablePropTypes from 'react-immutable-proptypes'; import punycode from 'punycode'; import classnames from 'classnames'; const IDNA_PREFIX = 'xn--'; const decodeIDNA = domain => { return domain .split('.')...
ajax/libs/6to5/3.0.14/browser.js
dada0423/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...
packages/material-ui-icons/src/CheckBoxOutlineBlank.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let CheckBoxOutlineBlank = props => <SvgIcon {...props}> <path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" /> </SvgIcon>; CheckBoxOutlineBlank = pure(Chec...
src/icons/KitchenIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class KitchenIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M36 4.02L12 4C9.79 4 8 5.79 8 8v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4V8c0-2.21-1.79-3.98-4-3.98zM36 40...
src/state/selectors.js
hugo-cardenas/lickit
import { createSelector } from 'reselect'; import { difference, groupBy, merge, uniq } from 'lodash'; import { getPathResolver } from '../track/pathResolver'; import { TYPE_ARTIST, TYPE_TAG } from '../search/filterTypes'; import { LICK_MODE_EDIT, LICK_MODE_VIEW } from './actions/lick/modes'; const getError = state => ...
src/components/common/svg-icons/device/add-alarm.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAddAlarm = (props) => ( <SvgIcon {...props}> <path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4....
ajax/libs/vue/1.0.26/vue.common.js
x112358/cdnjs
/*! * Vue.js v1.0.26 * (c) 2016 Evan You * Released under the MIT License. */ 'use strict'; function set(obj, key, val) { if (hasOwn(obj, key)) { obj[key] = val; return; } if (obj._isVue) { set(obj._data, key, val); return; } var ob = obj.__ob__; if (!ob) { obj[key] = val; retur...
ZhaoQi/ZhaoQi.Web/src/jquery-1.11.1.js
Ryan1985/ZhaoQi
/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-05-01T17:42Z */ (function( global, factory ) { if ...
src/svg-icons/av/playlist-add.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPlaylistAdd = (props) => ( <SvgIcon {...props}> <path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z"/> </SvgIcon> ); AvPlaylistAdd = pure(AvPlaylistAdd); AvPlaylistAdd...
examples/todos/src/components/todoTextInput.js
jbrodriguez/reactorx
import React, { Component, PropTypes } from 'react' import classnames from 'classnames' export default class TodoTextInput extends Component { constructor(props, context) { super(props, context) this.state = { text: this.props.text || '' } } handleSubmit(e) { const text = e.target.value.trim() if (e.w...
ajax/libs/react-router/2.0.9-rc4/ReactRouter.js
froala/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["ReactRouter"] = fac...
packages/watif-demo/src/app.js
jwillesen/watif
import React from 'react' import {shape, func} from 'prop-types' import {Display} from '@watif/display' import './app.css' export default class App extends React.Component { static propTypes = { adapter: shape({ loadStory: func, executeVerb: func, }), } constructor(...args) { super(...a...
src/js/pages/ShopsPage.js
micahstartnow/cncworkwebsite
import React from 'react'; import DocumentTitle from 'react-document-title'; import { UserProfileForm } from 'react-stormpath'; export default class ShopsPage extends React.Component { render() { return( <DocumentTitle title={`Shops with open work`}> <div className="container"> <div classN...
examples/montage/index.html.bundle-1-0.js
brenopolanski/todomvc
montageDefine("6364dae","core/range-controller",{dependencies:["montage","core/promise","collections/generic-collection"],factory:function(require,exports,module){var Montage = require("montage").Montage; var Promise = require("core/promise").Promise; var GenericCollection = require("collections/generic-collection"); ...
src/Parser/Shaman/Elemental/Modules/Talents/Ascendance.js
enragednuke/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import StatisticBox, { STA...
Js/Ui/Components/Growl/WarningGrowl.js
Webiny/Webiny
import React from 'react'; import _ from 'lodash'; import Webiny from 'webiny'; import Growl from './Growl'; class WarningGrowl extends Webiny.Ui.Component { } WarningGrowl.defaultProps = { title: null, ttl: 3000, sticky: false, message: null, type: 'warning', renderer() { return ( ...
ajax/libs/vue/2.0.0-beta.3/vue.common.js
holtkamp/cdnjs
'use strict'; /** * 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); } /** * Convert a input value to a number for persistence. * If the conversion fails, return original string. *...
ajax/libs/yui/3.13.0/event-custom-base/event-custom-base-coverage.js
AlicanC/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-custom-base/event-custom-base.js']) { __coverage__['build/event-custom-base/event-custom-base.js'] = {"path":"build/event-custom-base/event-custom-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,...
src/helpers/__tests__/getDataDependencies-test.js
gregsabo/redux-decagon
import { expect } from 'chai'; import React from 'react'; import { div } from 'react-dom'; import getDataDependencies from '../getDataDependencies'; describe('getDataDependencies', () => { let getState; let dispatch; let location; let params; let CompWithFetchData; let CompWithNoData; let CompWithFetchDa...
ajax/libs/graphiql/0.1.1/graphiql.js
hare1039/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.GraphiQL = f()...
src/app.js
asalhamed/kitematic
require.main.paths.splice(0, 0, process.env.NODE_PATH); import remote from 'remote'; var Menu = remote.require('menu'); import React from 'react'; import SetupStore from './stores/SetupStore'; import ipc from 'ipc'; import machine from './utils/DockerMachineUtil'; import metrics from './utils/MetricsUtil'; import templ...
client-web/client-web/src/components/Documentation.js
ppsari/final
import React from 'react' import MenuBar from '../components/MenuBar' import Footer from '../components/Footer' class MyDetailProperty extends React.Component { constructor(props) { super(props); this.state = { }; this.toggle = this.toggle.bind(this); } toggle() { this.setState({ mo...
src/svg-icons/device/battery-charging-full.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryChargingFull = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4zM11 20v-5.5H...
src/icons/GlyphSearch.js
ipfs/webui
import React from 'react' const GlyphSearch = props => ( <svg viewBox='0 0 100 100' {...props}> <path d='M80.27 73.51L65 58.22a25.8 25.8 0 1 0-7.28 6.91l15.45 15.48a4.77 4.77 0 0 0 6.73 0l.37-.36a4.78 4.78 0 0 0 0-6.74zM24.15 43.35a19.93 19.93 0 1 1 19.92 19.86 19.91 19.91 0 0 1-19.92-19.86z' /> </svg> ) expo...
node_modules/lite-server/node_modules/browser-sync/node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
lixiaoyufrank/MyPage
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
examples/todomvc/src/components/TodoItem.spec.js
lifeiscontent/redux
import React from 'react' import { createRenderer } from 'react-test-renderer/shallow'; import TodoItem from './TodoItem' import TodoTextInput from './TodoTextInput' const setup = ( editing = false ) => { const props = { todo: { id: 0, text: 'Use Redux', completed: false }, editTodo: je...
test/assertions/Asserter.js
tomkp/react-calendar-pane
import moment from 'moment'; import React from 'react'; import { findDOMNode } from 'react-dom'; import { Simulate, scryRenderedDOMComponentsWithClass, findRenderedDOMComponentWithClass, renderIntoDocument, } from 'react-dom/test-utils'; import chai from 'chai'; const expect = chai.expect; export default j...
src/svg-icons/image/exposure-zero.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageExposureZero = (props) => ( <SvgIcon {...props}> <path d="M16.14 12.5c0 1-.1 1.85-.3 2.55-.2.7-.48 1.27-.83 1.7-.36.44-.79.75-1.3.95-.51.2-1.07.3-1.7.3-.62 0-1.18-.1-1.69-.3-.51-.2-.95-.51-1.31-.95-.36-.44...
frontend/src/components/desktop/Webview/index.js
webrecorder/webrecorder
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import WebSocketHandler from 'helpers/ws'; import classNames from 'classnames'; import { withRouter } from 'react-router'; import { apiFetch, stripProtocol, setTitle } from 'helpers/utils'; import { autopilotCheck, autopilotReset, autopilotR...
example/src/screens/Types.js
MattDavies/react-native-navigation
import React from 'react'; import { StyleSheet, View, Text, ScrollView, TouchableHighlight } from 'react-native'; import Row from '../components/Row'; class Types extends React.Component { toggleDrawer = () => { this.props.navigator.toggleDrawer({ side: 'left', animated: true ...
docs/src/app/components/pages/components/Stepper/HorizontalLinearStepper.js
hai-cea/material-ui
import React from 'react'; import { Step, Stepper, StepLabel, } from 'material-ui/Stepper'; import RaisedButton from 'material-ui/RaisedButton'; import FlatButton from 'material-ui/FlatButton'; /** * Horizontal steppers are ideal when the contents of one step depend on an earlier step. * Avoid using long step ...
client/index.js
cgarvie/dchan
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App.jsx'; import injectTapEventPlugin from 'react-tap-event-plugin'; injectTapEventPlugin(); ReactDOM.render( <App />, document.getElementById('root') );
ajax/libs/crafty/0.5.4/crafty.js
JeyKeu/cdnjs
/** * crafty 0.5.4 * http://craftyjs.com/ * * Copyright 2013, Louis Stowasser * Dual licensed under the MIT or GPL licenses. */ (function (window, initComponents, undefined) { /**@ * #Crafty * @category Core * Select a set of or single entities by components or an entity's ID. * * Crafty ...
examples/query-params/app.js
carlosmontes/react-router
import React from 'react'; import { Router, Route, Link } from 'react-router'; var User = React.createClass({ render() { var { query } = this.props.location; var age = query && query.showAge ? '33' : ''; var { userID } = this.props.params; return ( <div className="User"> <h1>User id: {u...
ajax/libs/js-data/0.4.2/js-data.js
featurist/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file js-data.js * @version 0.4.2 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined"!=typeof ...
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
verniy6462/mastodon
import React from 'react'; import Dropdown, { DropdownTrigger, DropdownContent } from 'react-simple-dropdown'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { EmojiPicker as EmojiPickerAsync } from '../../ui/util/async-components'; const messages = defineMessages({...
react/List/List.js
morattoo/jekyll-react-firebase
import React, { Component } from 'react'; import Item from '../Item/item'; import Overlay from '../OverlayDescription/Overlay'; import * as Firebase from 'firebase'; import FilterSection from '../FilterOptions/FilterOptions' const config = { apiKey: "AIzaSyBzKbxj-T2dlOPvWOBfEu39j7XA0KhO7wA", authDomain: "gestion-...
ajax/libs/rxjs/2.2.14/rx.compat.js
stomita/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, 'u...
src/checkout/select-and-route.js
bhongy/react-components
import React from 'react'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; import { last } from 'lodash'; import { RaisedButton } from '../components/buttons'; class SelectAndRoute extends React.PureComponent { static defaultProps = { Button: RaisedButton }; handleClick = (ev...
release/darwin-x64/shokushu-darwin-x64/shokushu.app/Contents/Resources/app/app/components/DummyScreen.js
y-takey/shokushu
import _ from 'lodash'; import React, { Component } from 'react'; import styles from './DummyScreen.module.css'; const style = { margin: 0, padding: 0, backgroundColor: "#282c34", backgroundImage: "none", fontSize: "15px", fontFamily: "Menlo, Consolas, 'DejaVu Sans Mono', monospace", lineHeight: 1.2, c...
src/svg-icons/action/settings-remote.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsRemote = (props) => ( <SvgIcon {...props}> <path d="M15 9H9c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V10c0-.55-.45-1-1-1zm-3 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM7.05 6.05l1.41...
ajax/libs/webshim/1.15.1/dev/shims/moxie/js/moxie-html4.js
pvnr0082t/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/components/Github/LoadMoreButton.js
jseminck/react-native-github-feed
import React from 'react'; import { View, TouchableHighlight, Text } from 'react-native'; export default class LoadMoreButton extends React.Component { static propTypes = { onLoadMore: React.PropTypes.func.isRequired } render() { return ( <View style={styles.container}> ...
www/frontSrc/Header/Icons/ConfigurationIcon.js
jben94/centreon
import React from 'react' import SvgIcon from '@material-ui/core/SvgIcon' const ConfigurationIcon = (props) => ( <SvgIcon {...props}> <g> <path fill="#319ED5" d="M417,587l-5.9-0.4l-33.8-2.2l-5.8-0.3c-3.8-0.2-7.3-1.9-9.8-4.8l0,0c-2.5-2.8-3.8-6.5-3.5-10.3l0,0l0.4-5.8 l1.7-25.2l-3.5-1.5l-15.7,18.9l-3.7,4....
BUILD/js/components_js/admin-components/form-product/footer.js
kevincaicedo/MyStore-Front-end
import React from 'react' export default class FootForm extends React.Component { constructor(props) { super(props) } render(){ return <div className="panel-footer"> <span className="pull-left">Registrar un nuevo producto</span> <span className="pull-right"><i className...
src/containers/root/root-component.prod.js
craigbilner/cgol-redux
'use strict'; import React from 'react'; import { compose, createStore, applyMiddleware } from 'redux'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import allReducers from '../../reducers/index'; import App from '../app/app-component'; import { initGrid } from '../../action-creators'; con...
node_modules/react-icons/ti/starburst-outline.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiStarburstOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35.9 18.6l-3.1-2 1.7-3.4c0.2-0.5 0.2-1.1-0.1-1.5-0.2-0.5-0.7-0.8-1.3-0.9l-3.7-0.2-0.2-3.7c-0.1-0.6-0.4-1.1-0.9-1.3-0.5-0.3-1-0.3-1.5-0.1l-3.4 1.7-2-3.1c-0.6...
node_modules/rc-calendar/es/calendar/TimePickerButton.js
ZSMingNB/react-news
import _defineProperty from 'babel-runtime/helpers/defineProperty'; import React from 'react'; import classnames from 'classnames'; export default function TimePickerButton(_ref) { var _classnames; var prefixCls = _ref.prefixCls, locale = _ref.locale, showTimePicker = _ref.showTimePicker, onOpen...
src/routes/privacy/index.js
jessiepullaro414/kiwi
/** * 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...
app/component/Nav.js
vankai/hitokoto-pwa
import React from 'react'; import PropTypes from 'prop-types'; import QueueAnim from 'rc-queue-anim'; import {withRouter, HashRouter as Router, Route, Link} from 'react-router-dom' import hitokotoDriver from '../API/hitokotoDriver'; import {PANEL_OPEN} from '../actions' import { navWrapper, nav, navPhone, na...
src/apps/components/usermatch/usermatch_.js
janakuma/newLobby
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; class MatchMode extends React.Component { constructor(props) { super(props); this.state = { modeType: '', imgPath : '', activate: '', random: '' } this.selectMatch = this.selectMatch....
blueocean-material-icons/src/js/components/svg-icons/action/lock-outline.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionLockOutline = (props) => ( <SvgIcon {...props}> <path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39...
src/renderer/components/file-manager/type-selector.js
buttercup-pw/buttercup
import React from 'react'; import { Link } from 'react-router-dom'; import styled from 'styled-components'; import { brands } from '../../../shared/buttercup/brands'; const Wrapper = styled.div` flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); padding: var(--spacing-one); `; const LogoLink = sty...
src/components/Table/styles/Row.js
Bandwidth/shared-components
import React from 'react'; import styled from 'styled-components'; import get from 'extensions/themeGet'; const TableRow = styled.tr` border-top: ${get('thicknesses.normal')} solid ${get('colors.shadow.light')}; &:first-of-type { border-top: none; } ${({ onClick }) => (!!onClick ? 'cursor: pointer;' : ''...
ajax/libs/react/0.6.0/react.min.js
BenjaminVanRyseghem/cdnjs
!function(a,b){function e(){this._events=new Object}function f(a){a&&(a.delimiter&&(this.delimiter=a.delimiter),a.wildcard&&(this.wildcard=a.wildcard),this.wildcard&&(this.listenerTree=new Object))}function g(a){this._events=new Object,f.call(this,a)}function h(a,b,c,d){if(!c)return[];var e=[],f,g,i,j,k,l,m,n=b.length,...
view/zero-cola/src/pages/admin/AdminTagListPage.js
xuzhenyang/ZeroCola
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { Table, Divider, Form, Input, Button, message, Modal, Popconfirm } from 'antd'; import { request } from '../../common'; import { tokenKey } from '../../config'; import AdminLayout from '../../components/AdminLayout'; const FormIt...
client/layout/index.js
yeoh-joer/synapse
/** * External dependencies */ import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import page from 'page' /** * Internal dependencies */ import './style.scss' import 'client/lib/cidery' import 'client/lib/foundation' import Atom from 'public/images/atom.svg' import c...
src/hocs/withTheme.js
cdtinney/cdtinney.github.io
import React from 'react'; import theme from '../styles/theme.module.css'; export default function withTheme(Component) { return function ThemedComponent(props) { return ( <Component theme={theme} {...props} /> ); }; }
app/javascript/mastodon/containers/mastodon.js
sylph-sin-tyaku/mastodon
import React from 'react'; import { Provider, connect } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { INTRODUCTION_VERSION } from '../actions/onboarding'; import { BrowserRouter, Route } from 'react-router-dom'; import { ScrollContext } from 'reac...
react/src/containers/event.js
ga-aluminati/randomize
import React, { Component } from 'react'; import DrawingModalOrganizer from '../components/drawing-modal-organizer' import DrawingModalPair from '../components/drawing-modal-pair' import DrawingModalGroup from '../components/drawing-modal-group' import DrawingModalSequence from '../components/drawing-modal-sequence' im...
aiohttp_admin/static/react-admin/js/utils/inputs.js
aio-libs/aiohttp_admin
import React from 'react'; import { COMPONENTS } from '../constants'; export function getInputs(fields) { return Object.keys(fields).map(function(key, index) { let Component = COMPONENTS[fields[key].type] || COMPONENTS.TextInput; return ( <Component.component key={index} source={fiel...
src/containers/organizations/components/IntegrationConfigGenerator.js
kryptnostic/gallery
import React from 'react'; import styled from 'styled-components'; import StyledInput from '../../../components/controls/StyledInput'; import StyledSelect from '../../../components/controls/StyledSelect'; import InfoButton from '../../../components/buttons/InfoButton'; import { DATA_SQL_TYPES, exportTemplate } from '...
src/PageHeader.js
IveWong/react-bootstrap
import React from 'react'; import classNames from 'classnames'; const PageHeader = React.createClass({ render() { return ( <div {...this.props} className={classNames(this.props.className, 'page-header')}> <h1>{this.props.children}</h1> </div> ); } }); export default PageHeader;