path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/components/BoardPage.js
fazo96/ipfs-boards
import React from 'react' import { Switch, Route } from 'react-router-dom' import Board from '../containers/Board' import BoardEditor from '../containers/BoardEditor' import PostEditor from '../containers/PostEditor' import WithStats from '../containers/WithStats' function BoardPage({ match, address, posts, metadata }...
packages/xo-web/src/xo-app/backup/index.js
vatesfr/xo-web
import _ from 'intl' import addSubscriptions from 'add-subscriptions' import ButtonLink from 'button-link' import decorate from 'apply-decorators' import Icon from 'icon' import React from 'react' import Tooltip from 'tooltip' import { adminOnly, connectStore, routes } from 'utils' import { Card, CardHeader, CardBlock ...
src/pages/rosa-fina.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='Rosa Fina' /> )
app/components/Stats/TableRow.js
sysrex/sysrex
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class TableRow extends Component { getValue() { return this.props.link.length ? ( <a href={`${this.props.link}`}>{this.props.value}</a> ) : this.props.value; } render() { return ( <tr> <td width="70%">{...
packages/material-ui-icons/src/Forward30Outlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M18 13c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6v4l5-5-5-5v4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8h-2zm-7.46 2.22c-.06.05-.12.09-.2.12s-.17.04-.27.04c-.09 0-.17-.01-.25-.04s-.14-.06-.2-.11-.1-.1-.13...
src/components/FormFuec.js
aurigadl/EnvReactAsk
import React from 'react' import SelectInput from './SelectInput.js' import {remoteData} from '../utils/mrequest'; import { message, DatePicker, Modal, Table, Card , Form , Input , Col, Row, Button, Icon} from 'antd'; const { RangePicker } = DatePicker; const FormItem = Form.Item; const InputGroup = Input.Group; ...
ajax/libs/angular.js/1.1.5/angular-scenario.js
menuka94/cdnjs
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
src/svg-icons/navigation/subdirectory-arrow-right.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationSubdirectoryArrowRight = (props) => ( <SvgIcon {...props}> <path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"/> </SvgIcon> ); NavigationSubdirectoryArrowRight = pure(Navigat...
src/main/webapp/static/js/club/view/nav/app.js
weijiafen/antBlog
import React from 'react'; import { Row, Col , Menu } from 'antd'; import homeService from'../../service/homeService'; import nav_icon from '../../../../images/logo.png'; import {redirect} from '../../util/function.js' import PubSub from 'pubsub-js'; var Navbar=React.createClass({ getInitialState() { let current=th...
src/lib/reactors/ListGroups/ListGroups.js
ynunokawa/react-webmap
// Copyright (c) 2016 Yusuke Nunokawa (https://ynunokawa.github.io) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to us...
packages/ringcentral-widgets-docs/src/app/pages/Components/Modal/Demo.js
ringcentral/ringcentral-js-widget
import React, { Component } from 'react'; // eslint-disable-next-line import Modal from 'ringcentral-widgets/components/Modal'; import { Button } from 'ringcentral-widgets/components/Button'; const props = {}; props.currentLocale = 'en-US'; /** * A example of `Modal` */ class ModalDemo extends Component { constru...
ajax/libs/webshim/1.15.3/dev/shims/moxie/js/moxie-swf.js
jimmybyrum/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 ...
client/app/components/H3/index.js
jjt/ffsssshh
import React from 'react'; class H3 extends React.Component { render() { return ( <h3>{ this.props.children }</h3> ); } } export default H3;
app/imports/client/Pages/Article/Components/DropdownRelatedItem.js
FractalFlows/Emergence
/* * Built by Astrocoders * @flow */ //Modules import React from 'react' import styled from 'styled-components' import { white, blue300, grey100, grey200, grey500, grey800, } from 'material-ui/styles/colors' //Styled Components const ArticleItemRow = styled.div` padding: 7px; display: flex; align...
app/views/Proposals/Proposal/Budgeting/Partial/Partial.js
RcKeller/STF-Refresh
import React from 'react' import PropTypes from 'prop-types' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import api from '../../../../../services' import _ from 'lodash' import { Select, Alert, message } from 'antd' const Option = Select.Option import { Boundary, Spr...
src/index.js
guatedude2/bunyan-remote-devtool
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import { createStore, applyMiddleware } from 'redux'; import reducers from './reducers'; import { App } from './containers/App'; let store = createStore( reducers, applyMiddlewar...
ajax/libs/yui/3.13.0/scrollview-base/scrollview-base.js
steve-ng/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
index.android.js
ontappl/rn
import React from 'react'; import {AppRegistry,} from 'react-native'; import {Provider,} from 'react-redux'; import * as storage from 'redux-storage'; import createStorageEngine from 'redux-storage-engine-reactnativeasyncstorage'; import {initCrashlytics,} from './src/analytics'; import {configureStore,} from './src/c...
src/client.js
apazzolini/rook
import React from 'react'; import ReactDOM from 'react-dom'; import { browserHistory as history, match } from 'react-router'; import useScroll from 'scroll-behavior/lib/useStandardScroll'; import createStore from './redux/createStore'; import ApiClient from './redux/middleware/ApiRequest/ApiClient'; import fetchData f...
src/data/mutations/location/index.js
chunkiat82/rarebeauty-ui
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../.....
src/svg-icons/editor/multiline-chart.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorMultilineChart = (props) => ( <SvgIcon {...props}> <path d="M22 6.92l-1.41-1.41-2.85 3.21C15.68 6.4 12.83 5 9.61 5 6.72 5 4.07 6.16 2 8l1.42 1.42C5.12 7.93 7.27 7 9.61 7c2.74 0 5.09 1.26 6.77 3.24l-2.88 3...
app/packs/src/components/search/Search.js
ComPlat/chemotion_ELN
import React from 'react'; import { Glyphicon, ButtonGroup, Button, DropdownButton, MenuItem, Form, FormControl, Radio, Grid, Row, Col } from 'react-bootstrap'; import PropTypes from 'prop-types'; import AutoCompleteInput from './AutoCompleteInput'; import StructureEditorModal from '../structure_editor/StructureEdi...
client/src/components/AuthBadge/index.js
Pairboard/Pairboard
import React from 'react'; import { observer } from 'mobx-react'; import AuthBadgeComponent from './AuthBadge'; import authStore from '../../stores/auth'; class AuthBadgeConnected extends React.Component { componentDidMount() { authStore.checkAuth(); } render() { return ( <AuthBadgeComponent ...
src/components/QuestionList.js
gsans/handsup-react
import React from 'react' import PropTypes from 'prop-types' import Question from './Question' import { graphql } from 'react-apollo' import update from 'immutability-helper' import { isDuplicate, POLLING_TIME } from '../utils/helpers' import Loading from './Loading' import QUESTIONS_QUERY from '../graphql/Questions....
web/test/components/DataStoresContainer_test.js
mrcnc/spatialconnect-server
/* global describe, it, before, after */ import React from 'react'; import expect from 'expect'; import { shallow } from 'enzyme'; import { DataStoresContainer } from '../../containers/DataStoresContainer'; import DataStoresList from '../../components/DataStoresList'; import mockDataStores from '../data/mockDataStores'...
examples/typescript-react/node_modules/react/dist/react-with-addons.js
subbu1435/subramanyam
/** * React (with addons) v0.13.3 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefine...
config/webpack.config.prod.js
dronesmith/Dronesmith-Ground-Control
var path = require('path'); var autoprefixer = require('autoprefixer'); var webpack = require('webpack'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var url = require('url'); var paths = require('./paths'); var homepagePath = require(paths.ap...
src/client/pages/Projects.js
jmhill/justinmhill-site
import React from 'react'; export default class Projects extends React.Component { render() { return ( <p>Hello Projects page!</p> ); } }
src/App.js
breyana/huge-manatee-to-do-list
import React, { Component } from 'react'; import logo from '../public/huemanatee.gif'; import './App.css'; import List from './List' import TodoForm from './TodoForm' class App extends Component { constructor(props) { super(props) this.state = { items: [] } } componentWillMount() { this.g...
packages/mineral-ui-icons/src/IconPictureInPicture.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 IconPictureInPicture(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...i...
client/tests/components/elements/Pagination.spec.js
andela-iukwuoma/docman
import React from 'react'; import expect from 'expect'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import enzymify from 'expect-enzyme'; import Pagination from '../../../components/elements/Pagination'; expect.extend(enzymify()); const nextPage = sinon.spy(() => Promise.resolve()); function setup(pa...
UniversityGroup/Scripts/jquery.min.js
manishsingh10895/unversitygroup
/*! 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...
wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/js/jquery/jquery.js
alex11/Wordpress-Blog
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
js-old/src/modals/VaultSelector/vaultSelector.spec.js
destenson/ethcore--parity
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any lat...
ajax/libs/yui/3.9.0pr2/scrollview-base/scrollview-base.js
holtkamp/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie, NATIVE_TRA...
Magistrate/client/index.js
Pondidum/Magistrate
import 'babel-polyfill' import React from 'react' import { render } from 'react-dom' import { createStore, applyMiddleware } from 'redux'; import { Provider } from 'react-redux' import remoteMiddleware from './infrastructure/remoteMiddleware' import { hashHistory } from 'react-router' import { syncHistory, routerRedu...
ajax/libs/rsuite/0.0.5/suite.js
sashberd/cdnjs
/*! Last update: Mon Jun 06 2016 14:23:00 GMT+0800 (CST) */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Suite=t():e.Suite=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r]....
pootle/static/js/admin/components/Language/LanguageEdit.js
translate/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import LanguageForm from './La...
src/svg-icons/av/fast-forward.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFastForward = (props) => ( <SvgIcon {...props}> <path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z"/> </SvgIcon> ); AvFastForward = pure(AvFastForward); AvFastForward.displayName = 'AvFastForward'; AvFastForw...
lib/ui/components/Mocks/styled.js
500tech/bdsm
import React from 'react'; import styled from 'styled-components'; import { Div, Span } from 'ui/components/common/base'; export const TabsContainer = styled(Div)` display: flex; flex-direction: row; border-bottom: ${(props) => props.theme.lightBorder}; `; export const Tab = styled(Div)` padding: 2px ${(props...
node_modules/react-icons/io/arrow-right-b.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoArrowRightB = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m14.5 32.3c-0.2 0.1-0.5 0.2-0.7 0.2-0.8 0-1.3-0.6-1.3-1.3v-22.4c0-0.7 0.5-1.3 1.3-1.3 0.2 0 0.4 0.1 0.6 0.2l0.2 0.2 12.2 10.6c0.4 0.4 0.7 0.9 0.7 1.5s-0.3 1.1-0.7...
ajax/libs/monaco-editor/0.5.1/min/vs/editor/editor.main.nls.zh-cn.js
nolsherry/cdnjs
/*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.5.2(d49899a916fd99840f6f9178f2dd06e0e7013646) * Released under the MIT license * https://github.com/Microsoft/vscode/blob/master/LICENSE.txt *-------------------------------------...
client/src/component/application/FormSignUp.js
guiquanz/react-ui-builder
var React = require('react'); var ReactBootstrap = require('react-bootstrap'); var Grid = ReactBootstrap.Grid; var Row = ReactBootstrap.Row; var Col = ReactBootstrap.Col; var Panel = ReactBootstrap.Panel; var Alert = ReactBootstrap.Alert; var Button = ReactBootstrap.Button; var Input = ReactBootstrap.Input; var Modal...
src/components/layout.js
ArchivedRepos/git-splainin
'use strict'; const React = require('react'); const ConfigTab = require('./config-tab'); const TemplateTab = require('./template-tab'); const Menu = require('../primed/menu'); const MenuItem = require('../primed/menu-item'); class Layout extends React.Component { constructor(...args){ super(...args); thi...
src/components/details_list.js
emertola/eform-findings-tool
import React, { Component } from 'react'; export default class DetailsList extends Component { render() { const {id, content, type, onRemoveFinding} = this.props; let identifier = null; if(type) { switch(type) { case 0: identifier = 'i-passed'; break; case 2: identifier = 'i-minor'; ...
admin/src/components/Layout/LayoutBody.js
alexpriceonline/JumpCMS
import React from 'react'; const LayoutBody = ({ children }) => ( <div> { children } <style jsx>{` div { background: white; border-radius: 3px; padding: 20px; } `}</style> </div> ); export default LayoutBody;
public/app/src/components/Col.js
wjwu/blog
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; const Col = props => { const cls = classNames({ [`col-xs-${props.xs}`]: props.xs, [`col-sm-${props.sm}`]: props.sm, [`col-md-${props.md}`]: props.md, [`col-lg-${props.lg}`]: props.lg }); return ( ...
docs/app/Examples/elements/List/Types/ListExampleLink.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { List } from 'semantic-ui-react' const ListExampleLink = () => ( <List link> <List.Item active>Home</List.Item> <List.Item as='a'>About</List.Item> <List.Item as='a'>Jobs</List.Item> <List.Item as='a'>Team</List.Item> </List> ) export default ListExampleLink
examples/universal/server/server.js
tatsuhino/reactPractice
/* eslint-disable no-console, no-use-before-define */ import path from 'path' import Express from 'express' import qs from 'qs' import webpack from 'webpack' import webpackDevMiddleware from 'webpack-dev-middleware' import webpackHotMiddleware from 'webpack-hot-middleware' import webpackConfig from '../webpack.config...
frontend/src/index.js
rossnomann/playlog
import 'whatwg-fetch'; import React from 'react'; import ReactDOM from 'react-dom'; import {Provider} from 'react-redux'; import App from './app'; import {store} from './redux'; import './index.css'; ReactDOM.render( <Provider store={store}> <App /> </Provider>, document.getElementById('root') );...
docs/src/app/components/pages/components/Snackbar/ExampleAction.js
kasra-co/material-ui
import React from 'react'; import Snackbar from 'material-ui/Snackbar'; import TextField from 'material-ui/TextField'; import RaisedButton from 'material-ui/RaisedButton'; export default class SnackbarExampleSimple extends React.Component { constructor(props) { super(props); this.state = { autoHideDur...
src/docs/layout.js
gabrielcsapo/psychic-ui
import React from 'react'; import './style.css'; import '../../dist/psychic.min.css'; import 'code-prettify/src/prettify.js'; class Layout extends React.Component { render () { const { children } = this.props; return ( <div> { children } </div> ); } } export default Layout;
ajax/libs/es6-shim/0.25.0/es6-shim.js
pvnr0082t/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.25.0 * see https://github.com/paulmillr/es6-shim/blob/0.25.0/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-...
Mr.Mining/MikeTheMiner/Santas_helpers/Sia_wallet/resources/app/plugins/Wallet/js/components/confirmationdialog.js
patel344/Mr.Miner
import React from 'react' import PropTypes from 'prop-types' const ConfirmationDialog = ({seed, password, error, actions}) => { const onCancelClick = () => actions.hideConfirmationDialog() const onOkClick = (e) => { e.preventDefault() if (e.target.seed.value === seed && e.target.password.value === password) { ...
client/tests/documentComponents/documentRole.spec.js
FlevianK/cp2-document-management-system
import expect from 'expect'; import React from 'react'; import { DocumentRole } from '../../src/components/document/DocumentRole'; import { shallow } from 'enzyme'; describe('role documents component', () => { const props = { actions: { loadDoc: () => Promise.resolve(), loadRoleDocuments: () => Promi...
ajax/libs/rxjs/2.2.2/rx.js
hibrahimsafak/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
src/components/PlaylistManager/Panel/index.js
u-wave/web
import cx from 'clsx'; import React from 'react'; import PropTypes from 'prop-types'; import CircularProgress from '@mui/material/CircularProgress'; import BaseMediaList from '../../MediaList/BaseMediaList'; import PlaylistMeta from './Meta'; import PlaylistEmpty from './PlaylistEmpty'; import PlaylistFilterEmpty from ...
09-react-todos/src/app/todo-list.js
iproduct/course-node-express-react
import React from 'react'; import Todo from './todo'; import { ReactTransitionGroup } from 'react-transition-group'; const TodoList = ({ todos, filter, ...rest }) => ( <ul className="todo-list list-group"> {todos .filter(todo => filter === 'all' ? true : todo.status === filter) .map(todo =...
ReactApp/src/Cards/Program/FridayProgram.js
hoh/FolkMarsinne
import React, { Component } from 'react'; import {blue100} from 'material-ui/styles/colors' import {DayProgram} from './ProgramComponents' import {BandDescriptions} from './BandDescriptions' const fridayPlan = [ {hour: '', 'groups': []}, {hour: '20h', 'groups': [false, {name: 'Baila Tocamos (BE) bal', dur...
src/components/Account/RegisterForm.js
elstgav/stair-climber
import React from 'react' const RegisterForm = ({ handleFormSubmit, handleInputChange, toggle }) => <form onSubmit={handleFormSubmit}> <fieldset className="form-group"> <label htmlFor="name">Name</label> <input id="name" name="name" type="text" className="form-control"...
__tests__/redux-connect.spec.js
sageapp/redux-connect
/* eslint-disable react/prop-types */ import Promise from 'bluebird'; import React from 'react'; import { Provider, connect } from 'react-redux'; import { Router, createMemoryHistory, match, Route, IndexRoute } from 'react-router'; import { createStore, combineReducers } from 'redux'; import { mount, render } from 'enz...
modules/gui/src/app/home/body/process/recipe/mosaic/panels/aoi/eeTableSection.js
openforis/sepal
import {Form} from 'widget/form/form' import {Layout} from 'widget/layout' import {PreviewMap} from './previewMap' import {RecipeActions} from '../../mosaicRecipe' import {Subject, map, takeUntil} from 'rxjs' import {compose} from 'compose' import {msg} from 'translate' import {selectFrom} from 'stateUtils' import {wit...
src/components/navbar.js
mdmad7/rebeccaspplus
import React from 'react'; import Link from 'gatsby-link'; import logo from '../images/logo.svg'; export default props => ( <div className="navbar"> <div className="navbar-wrapper"> <Link to={`/`} className="header-brand"> {/* <img src={logo} alt="navbar logo" className="navbar-logo" /> */} ...
src/client/2012/js/vendor/jquery-1.8.2.min.js
playnodeconf/playnode.io
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==...
src/svg-icons/action/dns.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDns = (props) => ( <SvgIcon {...props}> <path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v...
docs/app/Examples/collections/Grid/Variations/GridExampleRelaxedVery.js
ben174/Semantic-UI-React
import React from 'react' import { Grid, Image } from 'semantic-ui-react' const GridExampleRelaxedVery = () => ( <Grid relaxed='very' columns={4}> <Grid.Column> <Image src='http://semantic-ui.com/images/wireframe/image.png' /> </Grid.Column> <Grid.Column> <Image src='http://semantic-ui.com/im...
actor-apps/app-web/src/app/components/sidebar/ContactsSection.react.js
lstNull/actor-platform
import _ from 'lodash'; import React from 'react'; import { Styles, RaisedButton } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import ContactStore from 'stores/ContactStore'; import ContactActionCreators from 'actions/ContactActionCreators'; import AddContactStore from 'stores/AddContactStore'...
ajax/libs/bla/1.7.0/bla.js
brix/cdnjs
/** * @module vow * @author Filatov Dmitry <dfilatov@yandex-team.ru> * @version 0.4.9 * @license * Dual licensed under the MIT and GPL licenses: * * http://www.opensource.org/licenses/mit-license.php * * http://www.gnu.org/licenses/gpl.html */ (function(global) { var undef, nextTick = (function() { ...
test/containers/admin/AdminHomePage.js
caTUstrophy/frontend
// must emulate DOM _very first_ import '../../helpers/emulateDom'; import unexpected from 'unexpected'; import unexpectedReact from 'unexpected-react'; import unexpectedSinon from 'unexpected-sinon'; import sinon from 'sinon'; const expect = unexpected.clone() .use(unexpectedReact) .use(unexpectedSinon); impor...
src/js/components/icons/base/Atm.js
odedre/grommet-final
/** * @description Atm SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. * @proper...
blueocean-material-icons/src/js/components/svg-icons/image/crop.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ImageCrop = (props) => ( <SvgIcon {...props}> <path d="M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"/> </SvgIcon> ); ImageCrop.displayName = 'ImageCrop'; ImageCrop.muiName = 'SvgIcon'; export defaul...
src/components/PlaceValueSwitch.js
scolab/Exploding-Dots-PIXI
import React from 'react'; import PropTypes from 'prop-types'; import img from './images/place_value.gif'; const PlaceValueSwitch = (props) => { /* eslint-disable no-dupe-keys */ return ( <button className="topRightMenuItem" style={{ background: '#efefef', /* For browsers that do not suppor...
maodou/posts/client/components/admin/postsAdd.js
wuyang910217/meteor-react-redux-base
import React from 'react'; import Helmet from 'react-helmet'; export default (props) => { return ( <div className="admin-package-wrapper row"> <Helmet title='添加新文章' /> <div className="col-sm-12"> <h1 style={{marginBottom: '20px'}}>添加新文章</h1> <form onSubmit={(e) => props....
icons/AndroidPrint.js
fbfeix/react-icons
'use strict'; var React = require('react'); var IconBase = require(__dirname + 'components/IconBase/IconBase'); var AndroidPrint = React.createClass({ displayName: 'AndroidPrint', render: function render() { return React.createElement( IconBase, null, React.createElement( 'g', null, React.cr...
src/svg-icons/hardware/headset-mic.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareHeadsetMic = (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-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z"/> ...
ajax/libs/forerunnerdb/1.3.20/fdb-all.js
Amomo/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...
theme/twentieth_cent_2_2/javascript/jquery_1_11.js
orvsd-skol/moodle25
/*! * 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 ...
spec/helperSpec.js
ho1234c/Dumbledore
describe('In helper', function () { const SlackBot = require('../lib/helper/slackBot'); const { atob, capitalizeFirstLetter } = require('../lib/helper/common'); const { OUTPUT } = require('../lib/const'); let token; let slackBot; const fake = { type: 'message', channel: 'C7A6B2CHF', user: 'U7B9...
ajax/libs/analytics.js/2.3.6/analytics.js
the-destro/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
ajax/libs/muicss/0.7.1/extra/mui-react-combined.min.js
hare1039/cdnjs
!function(e){var t=e.babelHelpers={};t.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.createClass=function(){function e(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.definePro...
src/SideBarAddChannel.js
nachein/rss-feeder
import React, { Component } from 'react'; class SideBarAddChannel extends Component { render(){ return (<li className="list-group-item side-bar-add-channel" key={this.props.id}> <button type="button" className="btn btn-default"> <span className="glyphicon glyphicon-plus"></span>...
src/components/AuthorBooksList.js
flintovich/book-react-app
import React, { Component } from 'react'; export default class App extends Component { constructor(props) { super(props); } render() { return ( <ul> {this.props.books.map(function(book){ return ( <li> <h3 className="title"><a href={`#book-list/${book.id}...
test/compile.js
jrwebdev/ngreact-test-utils
import React from 'react'; import ngReact from 'ngreact'; import {compile} from '../src/index'; const ShoppingListItem = (props) => ( <li className="shopping-list-item"> <div className="shopping-list-item__item">{props.item}</div> <div className="shopping-list-item__qty">{props.qty}</div> </li...
packages/material-ui-icons/src/PhoneOutlined.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="M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-...
ajax/libs/react-data-grid/0.13.16/react-data-grid.min.js
seogi1004/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react")):e.ReactDataGrid=t(e.React)}(this,function(e){return function(e){function t(o){if(r[o])return r[...
fields/types/password/PasswordField.js
mekanics/keystone
import React from 'react'; import Field from '../Field'; import { Button, FormInput, InputGroup } from 'elemental'; module.exports = Field.create({ displayName: 'PasswordField', getInitialState () { return { passwordIsSet: this.props.value ? true : false, showChangeUI: this.props.mode === 'create' ? true :...
ajax/libs/antd-mobile/2.2.13/antd-mobile.min.js
joeyparrish/cdnjs
/*! * * antd-mobile v2.2.13 * * Copyright 2015-present, Alipay, Inc. * All rights reserved. * */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof...
src/pages/building-a-design-system/index.js
zaneriley/personal-site
import React from 'react'; import recommendedPages from '../../relatedPages.json'; import Layout from '../../../components/Layout'; import Link from '../../../components/Link'; import LinkExternal from '../../../components/LinkExternal'; import About from '../../../components/About'; import IconChromeBar from '../../.....
ajax/libs/yasr/1.1.6/yasr.min.js
stuartpb/cdnjs
!function(e){if("object"==typeof exports)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.YASR=e()}}(function(){var e;return function t(e,n,r){function i(a,s){if(!n[a]){if(!e...
docs/src/app/components/pages/components/Divider/ExampleList.js
skarnecki/material-ui
import React from 'react'; import Divider from 'material-ui/Divider'; import {List, ListItem} from 'material-ui/List'; import MobileTearSheet from '../../../MobileTearSheet'; const DividerExampleList = () => ( <MobileTearSheet height={250}> <List> <ListItem insetChildren={true} primaryText="Janet Perkins B...
ajax/libs/F2/1.3.0/f2.no-bootstrap.js
julianromera/cdnjs
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
node_modules/komada/node_modules/discord.js/src/client/actions/MessageReactionRemoveAll.js
SuvanL/delet
const Action = require('./Action'); const Constants = require('../../util/Constants'); class MessageReactionRemoveAll extends Action { handle(data) { const channel = this.client.channels.get(data.channel_id); if (!channel || channel.type === 'voice') return false; const message = channel.messages.get(da...
src/Resizer.js
tkqubo/react-split-pane
'use strict'; import React from 'react'; let Resizer = React.createClass({ onMouseDown(event) { this.props.onMouseDown(event); }, render() { const split = this.props.split; const classes = ['Resizer', split]; return <span className={classes.join(' ')} onMouseDown={this.o...
node_modules/react-icons/io/ios-thunderstorm.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoIosThunderstorm = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m21.5 21.3h3.1l-6.9 10 2.3-7.5h-4.1l1.2-6.3h5.6z m-5.4-5h8.3l-1.2 3.7h3.7l-2.6 3.8h1.5c2.8 0 5.1-2.4 5.1-5.2s-2.3-5.1-5.1-5.1h-0.6c-0.6-2.7-3-4.7-5.9-4.7-3.4 ...
lib/cli/test/fixtures/update_package_organisations/stories/Welcome.js
rhalff/storybook
import React from 'react'; const styles = { main: { margin: 15, maxWidth: 600, lineHeight: 1.4, fontFamily: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif', }, logo: { width: 200, }, link: { color: '#1474f3', textDecoration: 'none', borderBottom: '1px ...
src/common/syntax-select/index.js
stylelint/stylelint-demo
import PropTypes from 'prop-types'; import React from 'react'; import styles from './index.css'; const syntaxes = [ { name: 'CSS', id: 'css', }, { name: 'SCSS', id: 'scss', }, { name: 'Sass', id: 'sass', }, { name: 'Less', id: 'less', }, { name: 'SugarSS', id: 'sugarss', }, { name: 'H...
ajax/libs/react-data-grid/0.14.23/react-data-grid.js
jdh8/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...
test/DropdownButtonSpec.js
BespokeInsights/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import DropdownButton from '../src/DropdownButton'; import DropdownMenu from '../src/DropdownMenu'; import MenuItem from '../src/MenuItem'; import { shouldWarn } from './helpers'; describe('DropdownButton', function() { const simpleD...
src/components/ComplexListView.js
inProgress-team/react-native-meteor
'use strict'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ListView } from 'react-native'; import Data from '../Data'; export default class MeteorListView extends Component { static propTypes = { elements: PropTypes.func.isRequired, renderRow: PropTypes.func.isRequ...
ajax/libs/forerunnerdb/1.3.647/fdb-all.min.js
Piicksarn/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...