path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/components/Posts/Single/Common/Common.component.js
cajacko/RememberWhen
// @flow import React, { Component } from 'react'; import withRouter from '@cajacko/lib/components/HOCs/withRouter'; import Form from '@cajacko/lib/components/Forms/Form'; import { ensureDate } from '@cajacko/lib/utils/dates'; import PostsSingle from './Common.render'; import type { ReactRouter } from '../../../../typ...
app/components/specificComponents/CookItemWithData/index.js
romainquellec/cuistot
import React from 'react'; import Container from './container'; import Card from './card'; import Card_description from './card_description'; import Card_text from './card_text'; import Card_pro from './card_pro'; import A from 'components/genericComponents/A/cook'; import Description from './description'; import Birt...
src/index.js
jackiejohnston/redux-readable
import React from 'react' import ReactDOM from 'react-dom' import { BrowserRouter } from 'react-router-dom' import './index.css' import App from './components/App' import registerServiceWorker from './registerServiceWorker' import { createStore, applyMiddleware, compose } from 'redux' import logger from 'redux-logger' ...
ajax/libs/crafty/0.7.0/crafty.js
jdh8/cdnjs
/** * craftyjs 0.6.3 * http://craftyjs.com/ * * Copyright 2014, Louis Stowasser * Dual licensed under the MIT or GPL licenses. */ (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+...
build/svg-icons/image/compare.js
pancho111203/material-ui
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
generators/nfeb/templates/htmls/pcweb/pageapp.js
Horve/generator-nlife
/** * @jsdoc function * @name <%= appname %>.page:<%= pageName %> * @description * # <%= classedName %> * page of the <%= appname %> * `<<%= classedName %>App/>` main file */ import React from 'react'; import NLDownload from '../common/nl_download.js'; import NLDownloadType from '../../../../global_define/downl...
lib/Components/SevenHours.js
Kalikoze/weatherly
import React from 'react'; import { HourlyWeather } from './HourlyWeather'; export const SevenHours = props => { const hourlyArray = props.weatherData.hourly_forecast.splice(0, 7); return ( <div className="hourly-weather"> {hourlyArray.map((hour, i) => <HourlyWeather weatherData={hour} index={i} key={i} ...
admin/client/App/components/Navigation/Mobile/ListItem.js
pr1ntr/keystone
/** * A list item of the mobile navigation */ import React from 'react'; import { Link } from 'react-router'; const MobileListItem = React.createClass({ displayName: 'MobileListItem', propTypes: { children: React.PropTypes.node.isRequired, className: React.PropTypes.string, href: React.PropTypes.string.isRe...
executor/htdocs/lib/jquery-1.8.0.min.js
owulveryck/gorchestrator
/*! jQuery v@1.8.0 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==...
modules/__tests__/Redirect-test.js
neebz/react-router
/*eslint-env mocha */ import expect from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import Redirect from '../Redirect' import Router from '../Router' import Route from '../Route' describe('A <Redirect>', function () { let node beforeEach(function () { node =...
react-native/project/my_first_rn_app/__tests__/App-test.js
khaosdoctor/my-notes
/** * @format */ import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { renderer.create(<App />); });
ajax/libs/F2/1.3.2/f2.no-bootstrap.js
SirenHound/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...
client/containers/creators/alternativeQuestionList.js
TecProgPurrsuit/TeamBasedLearningApp
/** * This file is responsible for rendering the alternatives question lists. * * @summary Component for rendering alternatives question lists. * * @class AlternativeQuestionList */ import React, { Component } from 'react'; import AlternativeQuestionItem from './alternativeQuestionItem'; class AlternativeQuestionList...
src/components/pages/class.js
yiweimatou/yiweimatou-mobile
import React from 'react' class Class extends React.Component { render(){ return ( <div>Class</div> ) } } export default Class
ajax/libs/yasqe/1.5.3/yasqe.bundled.min.js
eduardo-costa/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,r,i)...
ajax/libs/video.js/4.12.5/video.dev.js
SirenHound/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
client/src/client-only-routes/ShowUnsubscribed.js
pahosler/freecodecamp
import React from 'react'; import PropTypes from 'prop-types'; import { Grid, Panel, Button } from '@freecodecamp/react-bootstrap'; import Helmet from 'react-helmet'; import env from '../../config/env.json'; import Layout from '../components/layouts/Default'; import FullWidthRow from '../components/helpers/FullWidthRo...
ajax/libs/primereact/6.5.0/dock/dock.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames, ObjectUtils, Ripple } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { f...
examples/basic-usage-guide/MyForm.js
mkatanski/strap-forms
import React from 'react' import Form from './components/Form' import Input from './components/Input' import SubmitButton from './components/SubmitButton' const apiSimulate = ms => new Promise(resolve => setTimeout(resolve, ms)) class MyForm extends React.Component { handleSubmit = ({ values }) => { // eslint-...
src/Header.js
drop-table-ryhmatyo/tekislauta-front
import React from 'react'; import { Link } from 'react-router'; import HeaderBoardList from './HeaderBoardList'; import MaintenanceMessageBanner from './MaintenanceMessageBanner'; import './styles/Header.css'; const Header = () => ( <div className="Header"> <MaintenanceMessageBanner date="2016-11-02"> ...
pootle/static/js/auth/components/SignInForm.js
phlax/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 assign from 'object-assign'; import React from 'rea...
2-alpha/src/components/RestrictionSitesPreview.js
saturninoharris/primer-design
import _ from 'lodash' import React from 'react' import styled from 'styled-components' import { lighten } from 'polished' import * as api from '../api' const Container = styled.div` display: flex; flex-wrap: nowrap; justify-content: space-between; ` const REItem = styled.div` &&& p { margin-bottom: 0; ...
example/react-router-redux/routes.js
babotech/redux-router-preload
import {App, Child, Parent} from './components' import React from 'react' import {Route} from 'react-router' export default ( <Route path="/" component={App}> <Route path="parent" component={Parent}> <Route path="child" component={Child} /> <Route path="child/:id" component={Child} /> </Route> ...
src/panels/JobMonitor/LogFold.js
Kitware/HPCCloud
import React from 'react'; import PropTypes from 'prop-types'; import style from 'HPCCloudStyle/JobMonitor.mcss'; import state from 'HPCCloudStyle/States.mcss'; export default class LogFold extends React.Component { constructor(props) { super(props); this.state = { open: false, }; this.toggleO...
packages/react-widgets/src/Calendar.js
haneev/react-widgets
import React from 'react'; import { findDOMNode } from 'react-dom'; import PropTypes from 'prop-types'; import cn from 'classnames'; import uncontrollable from 'uncontrollable'; import { autoFocus } from 'react-component-managers'; import Widget from './Widget'; import Header from './Header'; import Footer from './Foo...
client/src/components/profile/components/HeatMap.js
BhaveshSGupta/FreeCodeCamp
import React from 'react'; import PropTypes from 'prop-types'; import CalendarHeatMap from 'react-calendar-heatmap'; import ReactTooltip from 'react-tooltip'; import addDays from 'date-fns/add_days'; import addMonths from 'date-fns/add_months'; import startOfDay from 'date-fns/start_of_day'; import format from 'date-fn...
actor-apps/app-web/src/app/components/activity/GroupProfileMembers.react.js
bunnyblue/actor-platform
import _ from 'lodash'; import React from 'react'; import { PureRenderMixin } from 'react/addons'; import DialogActionCreators from 'actions/DialogActionCreators'; import LoginStore from 'stores/LoginStore'; import AvatarItem from 'components/common/AvatarItem.react'; const GroupProfileMembers = React.createClass(...
packages/material-ui-icons/src/VideocamOff.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M21 6.5l-4 4V7c0-.55-.45-1-1-1H9.82L21 17.18V6.5zM3.27 2L2 3.27 4.73 6H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.21 0 .39-.08.54-.18L19.73 21 21 19.73 3.27 2z" /></g> , 'VideocamOff');
app/components/Application.js
dariobanfi/react-avocado-starter
import React from 'react'; import Switch from 'react-router-dom/Switch'; import Route from 'react-router-dom/Route'; import Helmet from 'react-helmet'; import config from '../../config'; import '../styles/globals'; import routes from '../routes'; import Header from './header/Header'; import Footer from './footer/Foote...
webpack.config.js
swessar/gifs
var debug = process.env.NODE_ENV !== "production"; var webpack = require('webpack'); module.exports = { context: __dirname + '/src', devtool: debug ? 'inline-sourcemap' : null, entry: './index.js', module: { loaders: [ { test: /\.js$/, exclude: /node_modules(?!\/react-redux-firebase)/...
packages/material-ui-icons/src/CameraRearTwoTone.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><path d="M7 16h10V2H7v14zm4.99-13c1.1 0 2 .9 2 2C14 6.1 13.1 7 12 7c-1.11 0-2-.9-2-2s.89-2 1.99-2z" opacity=".3" /><path d="M5 20v2h5v2l3-3-3-3v2zM14 ...
files/videojs/5.0.0-rc.33/video.js
bonbon197/jsdelivr
/** * @license * Video.js 5.0.0-rc.33 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
react-flux-mui/js/material-ui/docs/src/app/components/pages/components/List/Page.js
pbogdan/react-flux-mui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import listReadmeText from './README'; import listExampleSimpleCode from '!raw!....
src/components/GameScene.js
spcoder/movietrivia
import React, { Component } from 'react'; import QuestionScene from './QuestionScene'; import { connect } from 'react-redux'; import { actionCreators } from './GameState'; class GameScene extends Component { questionDone = () => { this.props.dispatch(actionCreators.bumpQuestionNumber()); } render() { ret...
src/renderer/components/notification.js
sirbrillig/gitnews-menubar
import React from 'react'; import Gridicon from 'gridicons'; import debugFactory from 'debug'; import date from 'date-fns'; import EnsuredImage from './ensured-image'; import MuteIcon from './mute-icon'; const debug = debugFactory('gitnews-menubar'); export default function Notification({ note, openUrl, markRead, ...
src/layouts/layout-5-6.js
binary-com/binary-next-gen
import React from 'react'; export default (components, className, onClick) => ( <div className={className + ' horizontal'} onClick={onClick}> {components[0]} {components[1]} {components[2]} {components[3]} {components[4]} </div> );
src/components/UI/__tests__/Input.spec.js
diegocasmo/workouter
import React from 'react' import {expect} from 'chai' import {mount} from 'enzyme' import {Formik, Form, Field, ErrorMessage} from 'formik' import {string, object} from 'yup' import {Input} from '../Input' describe('<Input/>', () => { let props = null beforeEach(() => { props = { name: 'foo', labe...
src/svg-icons/hardware/gamepad.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareGamepad = (props) => ( <SvgIcon {...props}> <path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"/> </SvgIcon> ); HardwareGamepad = pure(Hardw...
wp-includes/js/jquery/jquery.js
7Mears/eating-house
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
news/routes/Show/Show.js
pahosler/freecodecamp
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { withRouter } from 'react-router-dom'; import Helmet from 'react-helmet'; import Youtube from 'react-youtube'; import { Image } from 'react-bootstrap'; import Author from './components/Author'; import { Loader, Spacer } from '../../....
frontend/src/CategoryDeleter/CategoryDeleter.js
swpease/MoodJournal
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Button from 'material-ui/Button'; import IconButton from 'material-ui/IconButton'; import Dialog, { DialogActions, DialogContent, DialogContentText, DialogTitle, } from 'material-ui/Dialog'; import DeleteForever from 'material-...
app/containers/App/index.js
SergejKasper/churchfathers
/** * * App.react.js * * This component is the skeleton around the actual pages, and should only * contain code that should be seen on all pages. (e.g. navigation bar) * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If...
client/components/releases-list-item.js
pradel/octon
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Router from 'next/router'; import onlyUpdateForKeys from 'recompose/onlyUpdateForKeys'; // import classnames from 'classnames'; import styled from 'styled-components'; import Avatar from 'material-ui/Avatar'; import Typography from 'ma...
ajax/libs/react-data-grid/1.0.21/react-data-grid.js
wout/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...
ajax/libs/mediaelement/2.2.4/jquery.js
zhengyongbo/cdnjs
/*! * jQuery JavaScript Library v1.6.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/Man.js
leoasis/enter-hangman
import React from 'react'; const space = <span>&nbsp;</span>; export default class Man extends React.Component { render() { const level = this.props.level; const parts = { head: level >= 7 && 'X' || level >= 1 && 'O' || space, trunk: level >= 2 && '|' || space, leftArm: level >= 3 && '/' |...
addons/background/src/index.js
rhalff/storybook
import React from 'react'; import { polyfill } from 'react-lifecycles-compat'; import PropTypes from 'prop-types'; import addons from '@storybook/addons'; export class BackgroundDecorator extends React.Component { constructor(props) { super(props); const { channel } = props; // A channel is explicitly...
docs/src/app/components/pages/components/Paper/ExampleRounded.js
ruifortes/material-ui
import React from 'react'; import Paper from 'material-ui/Paper'; const style = { height: 100, width: 100, margin: 20, textAlign: 'center', display: 'inline-block', }; const PaperExampleRounded = () => ( <div> <Paper style={style} zDepth={1} rounded={false} /> <Paper style={style} zDepth={2} round...
app/components/Tabs/Tabs.js
lgarcin/LatexElectronReact
// @flow import React, { Component } from 'react'; import styles from './Tabs.css'; import TabBarHandler from '../../containers/Tabs/TabBarHandler'; import EditorListHandler from '../../containers/Tabs/EditorListHandler'; export default class Tabs extends Component { render() { return ( <div> <div...
node_modules/react-icons/fa/xing.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaXing = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m17.8 14.9q-0.2 0.4-5.7 10.2-0.6 1-1.5 1h-5.3q-0.5 0-0.7-0.4t0-0.8l5.7-10q0 0 0 0l-3.6-6.2q-0.3-0.5-0.1-0.9 0.2-0.3 0.8-0.3h5.3q0.9 0 1.5 1z m18-14.3q0.3 0.3 0 0.8l-11.8...
src/components/NotFoundPage/NotFoundPage.js
dstirling/MyApp
/* * React.js Starter Kit * Copyright (c) 2014 Konstantin Tarkus (@koistya), KriaSoft LLC. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ 'use strict'; //require('./NotFoundPage.less'); import React from 'react'; export defa...
client/components/radio/index.js
yeoh-joer/synapse
/** * External Dependencies */ import React from 'react' import { omit } from 'lodash' /** * Internal Dependencies */ import './style.scss' import classNames from 'client/lib/class-names' export default class Radio extends React.PureComponent { render() { const { id, children, className } = this.props ...
client/components/ask-panel.js
guyonroche/quaero
import React, { Component } from 'react'; import FormContainer from './utils/form-container'; import { openModal, askQuestion } from '../actions'; const UserWall = ({onSignup, onLogin}) => ( <div> <p>You need to be logged in to ask questions here</p> <p> Please <button onClick={onSignup}>Sign Up...
test/helpers/shallowRenderHelper.js
surce2010/react-webpack-gallery
/** * Function to get the shallow output for a given component * As we are using phantom.js, we also need to include the fn.proto.bind shim! * * @see http://simonsmith.io/unit-testing-react-components-without-a-dom/ * @author somonsmith */ import React from 'react'; import TestUtils from 'react-addons-test-utils'...
client/js/app.js
tohashi/vihta
import React from 'react'; import ReactDOM from 'react-dom'; import 'babel-polyfill'; import { createStore, combineReducers, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import { Router, Route, IndexRoute, browserHistory } from 'react-router' import { syncHistoryWithStore, routerReducer } from ...
src/Question.js
ColeTownsend/React-Quiz-Module
import React, { Component } from 'react'; var defStyle = { color: 'black', fontFamily: '"SF UI Text",-apple-system, monospace', lineHeight: '40px' }; var formStyle = { height: '20', border: 'none', borderBottom: '2px solid #04B7FF', outline: 'none', boxShadow: 'none', margin: '0', ...
src/svg-icons/file/folder.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileFolder = (props) => ( <SvgIcon {...props}> <path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/> </SvgIcon> ); FileFolder = pure(FileFolder); FileFolder.d...
pages/components/drawers.js
allanalexandre/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/components/drawers', false, /\.(md|js|tsx)$/); const reqSource = require.context( '!raw-loader!../../...
reduxBasicApp/src/js/containers/todoApp.js
wandarkaf/React-Bible
import React from 'react'; import AddTodo from '../components/addTodo.js'; import VisibleTodoList from '../components/visibleTodoList.js'; import Footer from '../components/footer.js'; const TodoApp = () => ( <div> <AddTodo /> <VisibleTodoList /> <Footer /> </div> ); export default TodoApp;
files/rtc/3.1.2/rtc.min.js
AdityaManohar/jsdelivr
!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.RTC=e()}}(function(){return function e(t,n,r){functio...
ajax/libs/react-data-grid/1.0.47/react-data-grid.min.js
Piicksarn/cdnjs
!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 exports?exports.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th...
src/server/render.js
Xerios/mobx-isomorphic-starter
import React from 'react' import ReactDOMServer from 'react-dom/server' import { match, RouterContext } from 'react-router' import { Provider } from 'mobx-react' import fetchData from './helpers/fetchData' import Html from '../client/containers/shared/Html.jsx' import {createServerState} from '../client/state' impor...
src/index.js
prasadjay/react-test
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/app.js'; import registerServiceWorker from './misc/registerServiceWorker'; import { BrowserRouter } from 'react-router-dom' ReactDOM.render(<BrowserRouter> <App /> </BrowserRouter>, document.getElementById('root')); regis...
node_modules/node_modules/material-ui/svg-icons/action/aspect-ratio.js
SerendpityZOEY/Solr-Search-React-UI
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
examples/shared-root/app.js
chunwei/react-router
import React from 'react'; 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 path, they never match themselves but their chil...
packages/icons/src/md/hardware/Scanner.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdScanner(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M39.52 20.3A4.01 4.01 0 0 1 42 24v11c0 2.21-1.79 4-4 4H10c-2.21 0-4-1.79-4-4v-8c0-2.21 1.79-4 4-4h25.26L7 12.76 8.37 9l31.15 11.3zM14 33v-4h-4v4h4zm2...
js/gitment.js
Hao-Tju/Hao-Tju.github.io
var Gitment = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /*...
app/config/routes.js
joshikeerti/react-es6-weather
import React from 'react'; import { RouteHandler, Link, Route, Router, hashHistory,IndexRoute } from 'react-router'; import Main from '../containers/Main'; import HomeContainer from '../containers/HomeContainer'; import ForecastContainer from '../containers/ForecastContainer'; import DetailContainer from '../container...
FourtyTwo.Client/src/containers/app.js
valorl/FourtyTwo
import React from 'react'; import { connect } from 'react-redux'; import { browserHistory } from 'react-router'; import { rehydrateAuth } from '../actions'; import Auth0Lock from 'auth0-lock'; import Authorized from './authorized'; class App extends React.Component { componentWillMount() { console.log(this.props...
src/Glyphicon.js
adampickeral/react-bootstrap
import React from 'react'; import classNames from 'classnames'; const Glyphicon = React.createClass({ propTypes: { /** * bootstrap className * @private */ bsClass: React.PropTypes.string, /** * An icon name. See e.g. http://getbootstrap.com/components/#glyphicons */ glyph: Re...
ajax/libs/videomail-client/1.8.1/videomail-client.min.js
sashberd/cdnjs
require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)}...
ajax/libs/react-inlinesvg/0.6.1/react-inlinesvg.js
nolsherry/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.ReactInlineSVG...
app/javascript/mastodon/features/favourited_statuses/index.js
dunn/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchFavouritedStatuses, expandFavouritedStatuses } from '../../actions/favourites'; import Column from '../ui/components/column'; import ColumnHeade...
ajax/libs/react-router/1.0.0-beta3/ReactRouter.js
Piicksarn/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/material-ui-icons/src/StrikethroughSOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M7.24 8.75c-.26-.48-.39-1.03-.39-1.67 0-.61.13-1.16.4-1.67.26-.5.63-.93 1.11-1.29.48-.35 1.05-.63 1.7-.83.66-.19 1.39-.29 2.18-.29.81 0 1.54.11 2.21.34.66.22 1.23.54 1.69.94.47.4.83.88...
packages/material-ui-icons/src/LocationDisabledOutlined.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="M23 13v-2h-2.06c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06c-.98.11-1.91.38-2.77.78l1.53 1.53C10.46 5.13 11.22 5 12 5c3.87 0 7 3.13 7 7 0 .79-.13...
src/components/screens/Maintenance.js
whphhg/vcash-ui
import React from 'react' import { translate } from 'react-i18next' import { Route } from 'react-router-dom' import { inject, observer } from 'mobx-react' /** Components */ import Console from '../utilities/Console.js' import Header from '../Header.js' import Footer from '../Footer.js' import MaintenanceMenu from '../...
lib/werkzeug/debug/shared/jquery.js
awagnon/maraschino
/*! * jQuery JavaScript Library v1.4.4 * 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. ...
Console/app/node_modules/rc-progress/es/Circle.js
RisenEsports/RisenEsports.github.io
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runt...
samples/react-redux-patient-demographics-example/src/common/FormsyMaskedInput.js
GoTeamEpsilon/angular-to-react
import React from 'react' import Formsy from 'formsy-react' import MaskedInput from 'react-text-mask' export const FormsyMaskedInput = React.createClass({ mixins: [Formsy.Mixin], sanitize(value) { if (this.props.sanitizationFunction) { return this.props.sanitizationFunction(value) } return valu...
src/FormGroup.js
snadn/react-bootstrap
import React from 'react'; import classNames from 'classnames'; class FormGroup extends React.Component { render() { let classes = { 'form-group': !this.props.standalone, 'form-group-lg': !this.props.standalone && this.props.bsSize === 'large', 'form-group-sm': !this.props.standalone && this.pr...
front/__tests__/components/OAuth.spec.js
ytorii/tebukuro
import React from 'react' import {Map} from 'immutable' import OAuthComponent from '../../client/components/OAuth' import {shallow} from 'enzyme' import toJson from 'enzyme-to-json' describe('OAuth', () => { const subject = (auth) => (shallow(<OAuthComponent auth={auth} />)) test('render Signin', () => { cons...
src/components/Footer.js
finom/gh-embed
import React from 'react'; export default () => (<footer className="github-embed-footer"> Embedded via <a href="https://github.com/finom/github-embed" target="_blank" rel="noopener noreferrer" > github-embed </a> </footer>);
packages/wix-style-react/src/DropdownBase/docs/index.story.js
wix/wix-style-react
import React from 'react'; import { header, tabs, tab, description, importExample, example, divider, title, api, testkit, playground, } from 'wix-storybook-utils/Sections'; import { storySettings } from './storySettings'; import DropdownBase from '..'; import TextButton from '../../TextButton'; i...
ajax/libs/react-redux/7.1.2-alpha.0/react-redux.js
cdnjs/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('redux'), require('react-dom')) : typeof define === 'function' && define.amd ? define(['exports', 'react', 'redux', 'react-dom'], factory) : (global = global || self, factory(global...
examples/real-world/containers/DevTools.js
redux-china/redux
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="H" changePositionKey="W"> <LogMonitor /> </Dock...
src/todo-app.js
wederch/meetup-workshop
import React from 'react'; import ReactDOM from 'react-dom'; import TodoList from './todo-list/todo-list'; import TodoForm from './todo-form/todo-form'; import styles from './todo-app.scss'; export default class TodoApp extends React.Component { constructor(props) { super(props); this.state = {data: []}; ...
ajax/libs/yui/3.6.0/event-focus/event-focus-min.js
mival/cdnjs
YUI.add("event-focus",function(f){var d=f.Event,c=f.Lang,a=c.isString,e=f.Array.indexOf,b=c.isFunction(f.DOM.create('<p onbeforeactivate=";"/>').onbeforeactivate);function g(i,h,k){var j="_"+i+"Notifiers";f.Event.define(i,{_attach:function(m,n,l){if(f.DOM.isWindow(m)){return d._attach([i,function(o){n.fire(o);},m]);}el...
files/rxjs/2.1.20/rx.js
as-com/jsdelivr
// 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 &&...
examples/counter/index.js
quamen/redux
import React from 'react'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; const store = configureStore(); React.render( <Provider store={store}> {() => <App />} </Provider>, document.getElementById('root') );
src/Components/Footer.js
jdamiron/portfolio
import React, { Component } from 'react'; class Footer extends Component { render() { if(this.props.data){ var networks= this.props.data.social.map(function(network){ return <li key={network.name}><a href={network.url}><i className={network.className}></i></a></li> }) } return ( ...
src/components/Sigmet/ContainerHeader.spec.js
maartenplieger/GeoWeb-FrontEnd
import React from 'react'; import ContainerHeader from './ContainerHeader'; import { mount, shallow } from 'enzyme'; import { Row } from 'reactstrap'; const TOGGLE_ACTION = 'TOGGLE_ACTION'; const testDispatch = sinon.spy(); const testActions = { toggleContainerAction: (evt) => { return TOGGLE_ACTION; } }; describe('(...
src/hook.js
TGPSKI/cavy
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import TestHookStore from './TestHookStore'; // Public: Higher-order React component to factilitate adding hooks to the // global test hook store. // // WrappedComponent - Component to be wrapped, will be passed an initial // ...
ajax/libs/semantic-ui-react/0.56.7/semantic-ui-react.min.js
menuka94/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.semanticUIReact=t(require("React"),require("ReactDOM")):e.semanticUIReact=t(e.React,e.ReactDOM)}(t...
examples/js_static_example/app.js
NuCivic/react-dash
/** * A very simple Dashboard implementation using * a settings object */ import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { settings } from './settings'; import { Dashboard } from '../../src/ReactDashboard'; import 'fixed-data-table/dist/fixed-data-table.min.css'; /** * The setti...
src/parser/shared/modules/spells/bfa/essences/WorldveinResonance.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS/index'; import SpellLink from 'common/SpellLink'; import { formatDuration, formatPercentage, formatNumber } from 'common/format'; import { calculatePrimaryStat } from 'common/stats'; import StatTracker from 'parser/shared/modules/StatTracker'; import Uptime...
node_modules/babel-preset-stage-0/node_modules/babel-preset-stage-1/node_modules/babel-preset-stage-2/node_modules/babel-plugin-transform-decorators/node_modules/babel-helper-define-map/node_modules/babel-helper-function-name/node_modules/babel-traverse/lib/path/lib/virtual-types.js
vivekparekh8/LearningReact
"use strict"; exports.__esModule = true; exports.Flow = exports.Pure = exports.Generated = exports.User = exports.Var = exports.BlockScoped = exports.Referenced = exports.Scope = exports.Expression = exports.Statement = exports.BindingIdentifier = exports.ReferencedMemberExpression = exports.ReferencedIdentifier = und...
app/javascript/mastodon/features/favourited_statuses/index.js
PlantsNetwork/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchFavouritedStatuses, expandFavouritedStatuses } from '../../actions/favourites'; import Column from '../ui/components/column'; import ColumnHeade...
js/vendor/jquery-1.10.2.min.js
CaitW/cart575final
/*! 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...
Libraries/Storage/AsyncStorage.js
CodeLinkIO/react-native
/** * Copyright (c) 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. * * @provides...