path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/views/HomeView/HomeView.js
felixSchl/try-neodoc
/* @flow */ import React from 'react'; import Playground from 'containers/Playground'; export class HomeView extends React.Component { render () { /* eslint-disable max-len */ var forkmeImg = 'https://camo.githubusercontent.com/567c3a48d796e2fc06ea80409cc9dd82bf714434/68747470733a2f2f73332e616d617a6f6e617773...
src/entypo/Help.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Help'; let EntypoHelp = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M14.09,2.233C12.95,1.411,11.518,1,9.794,1C8.483,1,7.376,1.289,6.477,1.868C5.05,2.774,4.292,4.313,4.2,6.48...
docs/app/Examples/collections/Form/Types/index.js
Rohanhacker/Semantic-UI-React
import React from 'react' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import { Message, Icon } from 'src' const FormTypesExamples = () => ( <ExampleSection title='Types'> <ComponentExample tit...
src/components/HomePage.js
CostSheetApp/CostSheetsApp
import React from 'react'; import {Link} from 'react-router'; const HomePage = () => { return ( <div> <h1>React Slingshot</h1> <h2>Get Started</h2> <ol> <li>Review the <Link to="fuel-savings">demo app</Link></li> <li>Remove the demo and start coding: npm run remove-demo</li> ...
app/workoutForm.js
ExpedientSlow-Lorris/lambdaHIIT
'use strict'; import React from 'react'; import ExerciseFormList from './exerciseFormList'; import { getWorkoutInfo, saveWorkoutInfo } from './workoutModel'; let WorkoutForm = React.createClass({ getInitialState () { return {data: { name: 'workout name', exerciseRest: 15, setRest: 30, nu...
src/components/Products/All.js
shierby/storehome
import React from 'react'; class All extends React.Component { render() { return ( <div> <h1>All</h1> </div> ) } } export default All;
app/javascript/mastodon/features/compose/components/compose_form.js
h-izumi/mastodon
import React from 'react'; import CharacterCounter from './character_counter'; import Button from '../../../components/button'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import ReplyIndicatorContainer from '../containers/reply_indicator_container'; import Autosugges...
test/NavItemSpec.js
bbc/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import NavItem from '../src/NavItem'; describe('NavItem', () => { it('Should add active class', () => { let instance = ReactTestUtils.renderIntoDocument( <NavItem active={true}> Item content </NavItem> ); ...
node_modules/browser-sync/node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
joecacti/deskins
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'));
src/Parser/Druid/Restoration/Modules/Talents/Cultivation.js
enragednuke/WoWAnalyzer
import React from 'react'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import { formatPercentage } from 'common/format'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import Wrapper from 'common/Wrapper'; import SPELLS from 'common/SPELLS'; import Analyzer f...
front/src/utils/ebetsCategories.js
ethbets/ebets
/* Copyright (C) 2017 ethbets * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ import React from 'react'; const ebetsCategories = [ { name: 'Fighting', subcategory: [ { name: 'Boxing', ...
files/core-js/0.9.14/core.js
barisaydinoglu/jsdelivr
/** * core-js 0.9.14 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
src/scripts/Progress.js
whoisandie/yoda
'use strict'; import React from 'react'; export default React.createClass({ getDefaultProps() { return { height: 10, color: '#0bD318' } }, render() { var completed = this.props.completed; if (completed < 0) { completed = 0; } if (completed > 100) { completed = 1...
packages/material-ui-icons/src/BorderClearSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v-2h-2v2zm8 4h2v-2h-2v2zm0-4h2v-2h-2v2...
node_modules/case-sensitive-paths-webpack-plugin/demo/src/init.js
LuoPengFei/todo-app
import AppRoot from './AppRoot.component.js'; import React from 'react'; import ReactDOM from 'react-dom'; const app = { initialize() { ReactDOM.render(<AppRoot/>, document.getElementById('react-app-hook')); } }; app.initialize();
ajax/libs/F2/1.4.0/f2.js
kartikrao31/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/react-router/es/MemoryRouter.js
morselapp/shop_directory
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call &...
test/lib/www/regression/pjs-10690/jquery.js
ariya/phantomjs
/*! * 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...
ajax/libs/antd-mobile/1.1.4-beta.5/antd-mobile.min.js
ahocevar/cdnjs
/*! * antd-mobile v1.1.4-beta.5 * * 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 exports...
ajax/libs/graphiql/0.1.0/graphiql.min.js
IonicaBizauKitchen/cdnjs
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.GraphiQL=f()}}(function(){var define;return function e(...
src/svg-icons/image/wb-sunny.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageWbSunny = (props) => ( <SvgIcon {...props}> <path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7...
public/components/MyApp.js
rolandfung/project-ipsum
import React from 'react'; import actions from '../actions/ipsumActions.js'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { renderChart } from '../D3graphTemplate'; import { Panel, Grid, Row, Col, PageHeader, Button, Image} from 'react-bootstrap'; import request from '../util/restH...
client/src/components/List.js
courtneypattison/second-response
import React, { Component } from 'react'; import { withRouter } from 'react-router'; import { connect } from 'react-redux'; import Wrapper from './Wrapper'; import ListItem from './ListItem'; import Map from './Map'; import NeedModal from './NeedModal'; class ListView extends Component { constructor() { super()...
bin/files/javascript/js/HelloWorldSceneAR.js
viromedia/viro
'use strict'; import React, { Component } from 'react'; import {StyleSheet} from 'react-native'; import { ViroARScene, ViroText, ViroConstants, } from 'react-viro'; export default class HelloWorldSceneAR extends Component { constructor() { super(); // Set initial state here this.state = { ...
src/PageHeader.js
jakubsikora/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;
node_modules/react-icons/md/sd-storage.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdSdStorage = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m30 13.4v-6.8h-3.4v6.8h3.4z m-5 0v-6.8h-3.4v6.8h3.4z m-5 0v-6.8h-3.4v6.8h3.4z m10-10c1.8 0 3.4 1.4 3.4 3.2v26.8c0 1.8-1.6 3.2-3.4 3.2h-20c-1.8 0-3.4-1.4-3.4-3.2l0.1...
src/pages/Home/index.js
thisiskylierose/react-boilerplate
// @flow import React from 'react'; // import bootstrap from '../../../styles/bootstrap.less'; const Home = (): React$Element<*> => ( <div> <h2>Home page</h2> </div> ); export default Home;
ajax/libs/forerunnerdb/1.3.587/fdb-core+persist.min.js
jonobr1/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
packages/material-ui-icons/src/SignalCellular1BarSharp.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 fillOpacity=".3" d="M2 22h20V2L2 22z" /><path d="M12 12L2 22h10V12z" /></g></React.Fragment> , 'SignalCellular1BarSharp');
example/with-template/src/routes.js
iansinnott/react-static-webpack-plugin
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import { App, Home, About, NotFound } from './components.js'; export const routes = ( <Route path='/' component={App}> <IndexRoute title='App' component={Home} /> <Route path='about' title='App - About' component={About} /> <Ro...
src/containers/Locations/Location.js
zerkedev/zerke-app
import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { injectIntl, intlShape } from 'react-intl'; import muiThemeable from 'material-ui/styles/muiThemeable'; import { Activity } from '../../containers/Activity'; import { ResponsiveMenu } from 'mater...
ajax/libs/rxjs/2.3.8/rx.lite.compat.js
ppoffice/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
packages/material-ui-icons/src/TabRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h9v3c0 .55.45 1 1 1h7v9c0 .55-.45 1-1 1z" /> , 'TabRounded');
docs/src/app/components/pages/components/Popover/Page.js
tan-jerene/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import popoverReadmeText from './README'; import PopoverExampleSimple from './Ex...
lib/panels/Volume/index.js
Kitware/light-viz
import React from 'react'; import PropTypes from 'prop-types'; import equals from 'mout/src/array/equals'; import PieceWiseFunctionEditorWidget from 'paraviewweb/src/React/Widgets/PieceWiseFunctionEditorWidget'; import AbstractPanel from '../AbstractPanel'; import { getColorMap, getState } from '../../client'; import...
app/components/ImgBlock/index.js
g00dman5/freemouthmedia
/** * * ImgBlock * */ import React from 'react'; class ImgBlock extends React.PureComponent { constructor(props){ super(props); } render() { const img={ width:"100%", height:"100%", borderRadius:"25px", overflow:"hidden", } return ( <div style={this.props....
v6/static/v5/development/vue-portfolio/blog/development/js/jquery-1.11.2.min.js
BigBoss424/portfolio
/*! jQuery v1.11.2 | (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...
files/algoliasearch.zendesk-hc/1.0.6/algoliasearch.zendesk-hc.min.js
vvo/jsdelivr
/*! * Algolia Search For Zendesk's Help Center 1.0.6 * https://github.com/algolia/algoliasearch-zendesk * Copyright 2015 Algolia, Inc. and other contributors; Licensed MIT */ !function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b(require("jQuery")):"function"==typeof define&&define.amd?de...
src/svg-icons/av/add-to-queue.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvAddToQueue = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2zm0 14H3V5h18v12zm-5-7v2h-3v3h-2v-3H8v-2h3V7h2v3h3z"/> ...
app/containers/Institute/InstituteForm.js
kdprojects/nichesportapp
import React, { Component } from 'react'; import {connect} from 'react-redux'; import {Field, reduxForm, formValueSelector} from 'redux-form/immutable'; import MenuItem from 'material-ui/MenuItem'; import { SelectField, TextField } from 'redux-form-material-ui'; import countryList from 'components/countryList'; imp...
src/components/library/GitHubBanner.js
theshaune/react-animated-typography-experiments
import React from 'react'; import styled from 'styled-components'; const Container = styled.div` position: absolute; top: 0; right: 0; border: 0; `; const Image = styled.img` max-width: 100%; `; const GitHubBanner = () => ( <Container> <a href="https://github.com/theshaune/react-animated-typogr...
public/js/jquery-validation-1.13.1/lib/jquery-1.7.2.js
gaurav35/oxford
/*! * jQuery JavaScript Library v1.7.2 * 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/svg-icons/device/battery-alert.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryAlert = (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 4zM13 18h-2v-2h2v2zm0...
features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store-new/source/Tests/setupTests.js
pubudu538/carbon-apimgt
/* * Copyright (c) 2019, 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...
src/renderers/dom/client/__tests__/ReactDOM-test.js
szhigunov/react
/** * Copyright 2013-2015, 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. * * @emails react-co...
client/index.js
steveleec/fbsdkinreact
'use strict'; import React from 'react'; import ReactDOM from 'react-dom'; import Login from './components/Login' class FbSdkReact extends React.Component{ constructor(props) { super(props); this.state = { }; } render() { return ( <div> <Login /> </div> ); } }; React...
node_modules/react-icons/fa/motorcycle.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaMotorcycle = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m39.5 22.4q0.2 1.8-0.4 3.4t-1.7 2.8-2.7 1.8-3.4 0.6q-2.7-0.2-4.8-2.2t-2.3-4.7q-0.2-1.9 0.5-3.6t2-2.9l-1.2-1.9q-1.6 1.4-2.6 3.4t-0.9 4.2q0 0.4-0.3 0.8t-0.8 0.3h-5.6...
docs/src/app/components/pages/components/Divider/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 dividerReadmeText from './README'; import DividerExampleForm from './Exam...
examples/counter/containers/Root.js
soidid/note-redux
// import React, { Component } from 'react'; // import { Provider } from 'react-redux'; // import CounterApp from './CounterApp'; // import configureStore from '../store/configureStore'; // const store = configureStore(); // export default class Root extends Component { // render() { // return ( // <Provi...
src/IncidentStatistics.js
danriti/pagerduty-review
import math from 'mathjs'; import moment from 'moment-timezone'; import _ from 'moment-duration-format'; import React from 'react'; class IncidentStatisticsTable extends React.Component { constructor() { super(); this.statistics = new IncidentStatistics([]); } componentWillUpdate(nextProps) { this...
ajax/libs/yui/3.5.0pr6/datatable-body/datatable-body.js
MisatoTremor/cdnjs
YUI.add('datatable-body', function(Y) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isArray, ...
ajax/libs/rxjs/2.2.28/rx.all.js
wmkcc/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
admin/client/App/components/Navigation/Mobile/ListItem.js
cermati/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...
src/components/VerticalList.js
tmpaul06/gathering-client
import React from 'react'; export default class VerticalList extends React.Component { render() { let items = this.props.items || []; return ( <ul className='vertical-list'> {items.map((item, i) => { return (<li key={i} className='vertical-list-item'>{item}</li>); })} </...
ajax/libs/flocks.js/1.6.0/flocks.min.js
ruslanas/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function h(a){return"[object Array]"===Object.prototype.toString.call(a)}function l(a){return"undefined"===typeof a}function v(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function b(a,c){if("string"===type...
imports/ui/components/spinkit/LoadingCirclesChase/LoadingCirclesChase.js
pletcher/cltk_frontend
import React from 'react'; export default class LoadingCirclesChase extends React.Component { render() { return ( <div className="loading-spinner loading-spinner-circles-chase"> <div className="dot1"></div> <div className="dot2"></div> </div> ); } }
front-src/js/MessageBox.js
QQorp/QQat
import React from 'react'; import GlobalStore from './GlobalStore'; import GlobalAction from './GlobalAction'; import MessageList from './MessageList'; import MessageForm from './MessageForm'; var MessageBox = React.createClass({ getInitialState: function() { return { messages: [], currentChannel: '...
node_modules/material-ui/Avatar/Avatar.js
deepidea/brisk-table
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _inte...
ajax/libs/highcharts/3.0.10/highcharts.src.js
kartikrao31/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v3.0.10 (2014-03-10) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeou...
test/specs/modules/Dropdown/DropdownItem-test.js
mohammed88/Semantic-UI-React
import faker from 'faker' import React from 'react' import * as common from 'test/specs/commonTests' import { sandbox } from 'test/utils' import DropdownItem from 'src/modules/Dropdown/DropdownItem' import Flag from 'src/elements/Flag' describe('DropdownItem', () => { common.isConformant(DropdownItem) common.rend...
src/svg-icons/notification/do-not-disturb-on.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationDoNotDisturbOn = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/> </SvgIcon> ); NotificationDoNotDisturbOn = pure(No...
public/static/admin/lib/ueditor/1.4.3/third-party/jquery-1.10.2.min.js
lulutang/test_shop
/*! 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...
client/src/components/Navbar.js
jferrettiboke/react-auth-app-example
import React from 'react'; import { Link } from 'react-router'; export default (props) => { const logout = (e) => { e.preventDefault(); props.logout(); }; const links = ( (props.authenticated) ? <div> <div className="nav navbar-nav"> <Link to="/" className="nav-item nav-link"...
src/browser/createRoutes.js
puzzfuzz/othello-redux
import React from 'react'; import App from './app/App.react'; import Home from './home/Page.react'; import NotFound from './notfound/Page.react'; import Othello from './othello/Page.react'; import {IndexRoute, Route} from 'react-router'; export default function createRoutes(getState) { return ( <Route componen...
packages/material-ui-icons/src/CopyrightRounded.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="M10.08 10.86c.05-.33.16-.62.3-.87s.34-.46.59-.62c.24-.15.54-.22.91-.23.23.01.44.05.63.13.2.09.38.21.52.36s.25.33.34.53.13.42.14.64h1.79c-.02-...
src/app/containers/ButtonBar.js
lmcjt37/kulor-reactify
import React from 'react'; import Button from '../components/Button'; import ColourHelper from '../helper/colourHelper'; import themedButton from '../theme/themedButton'; export default class ButtonBar extends React.Component { constructor(props) { super(props); } handleClick(name) { swit...
packages/reactor-boilerplate/src/index.js
markbrocato/extjs-reactor
import React from 'react' import ReactDOM from 'react-dom' import { AppContainer } from 'react-hot-loader' import { launch } from '@extjs/reactor'; import App from './App' let viewport; const render = (Component, target) => { ReactDOM.render( <AppContainer> <Component/> </AppContainer>...
frontend/src/app/components/ExperimentTourDialog.js
dannycoates/testpilot
import React from 'react'; import classnames from 'classnames'; import { experimentL10nId } from '../lib/utils'; export default class ExperimentTourDialog extends React.Component { constructor(props) { super(props); this.state = { currentStep: 0 }; } l10nId(pieces) { return experimentL10nId(this.pr...
src/svg-icons/toggle/star-half.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleStarHalf = (props) => ( <SvgIcon {...props}> <path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15....
ajax/libs/angular-google-maps/1.0.2/angular-google-maps.js
perfect-pixell/cdnjs
/**! * The MIT License * * Copyright (c) 2010-2013 Google, Inc. http://angularjs.org * * 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 limitati...
test/test_helper.js
tpechacek/redux-blog
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
src/components/player.js
josebigio/PodCast
import React, { Component } from 'react'; import FontAwesome from 'react-fontawesome'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { initializeAudio, playAudio, pauseAudio, setAudioPosition } from '../actions' import Timer from './timer'; import ProgressBar from './progress...
packages/editor/src/components/Controls/Embedded/EmbeddedLayout.js
boldr/boldr
/* @flow */ import React from 'react'; import type { Node } from 'react'; import cn from 'classnames'; import { Video } from '../../Icons'; import { stopPropagation } from '../../../utils/common'; import Option from '../../Option'; export type Props = { expanded: boolean, onExpandEvent: Function, doCollapse: Fu...
static/js/jquery-1.8.3.js
cuihaoliang/Mobile-Security-Framework-MobSF
/*! * jQuery JavaScript Library v1.8.3 * 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: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
src/components/ProficiencyRating.js
daheim/daheim-app-ui
import React, {Component, PropTypes} from 'react' import RadioButton, {RadioButtonGroup} from 'material-ui/RadioButton' export default class ProficiencyRating extends Component { static propTypes = { onChange: PropTypes.func, readOnly: PropTypes.bool, itemStyle: PropTypes.object, values: PropTypes.o...
app/containers/RepoListItem/index.js
anneback/react-quiz
/** * RepoListItem * * Lists the name and the issue count of a repository */ import React from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { FormattedNumber } from 'react-intl'; import { makeSelectCurrentUser } from 'containers/App/selectors'; import...
src/index.js
barock19/react-hot-boilerplate
import React from 'react'; import App from './App'; React.render(<App />, document.getElementById('root'));
ajax/libs/material-ui/4.11.0/Hidden/HiddenCss.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@ba...
src/index.js
taikongfeizhu/webpack-develop-startkit
import React from 'react' import ReactDOM from 'react-dom' import createStore from './store/createStore' import AppContainer from './containers/AppContainer' import 'babel-polyfill' import 'static/styles/normalize.css' import 'static/styles/core.less' // ======================================================== // Sto...
lib/client.js
gramakri/filepizza
import React from 'react' import ReactRouter from 'react-router' import routes from './routes' import alt from './alt' import webrtcSupport from 'webrtcsupport' import SupportActions from './actions/SupportActions' let bootstrap = document.getElementById('bootstrap').innerHTML alt.bootstrap(bootstrap) window.FilePizz...
src/__tests__/react-count-to-test.js
pwolaq/react-count-to
jest.unmock('../react-count-to'); jest.useFakeTimers(); import React, { Component } from 'react'; import { findDOMNode } from 'react-dom'; import TestUtils from 'react-dom/test-utils'; import CountTo from '../react-count-to'; describe('CountTo', () => { let countTo; beforeEach(() => { global.Date.now = jest....
src/components/common/header/AppHeader.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { Grid, Row, Col } from 'react-flexbox-grid/lib'; import Link from 'react-router/lib/Link'; import FavoriteToggler from '../FavoriteToggler'; import { PERMISSION_LOGGED_IN } from '../../../lib/auth'; import Permissioned from '../Permissioned'; const...
js/CameraAdd.js
mkgilbert/ispy
/** * Created by Tanner Stevens on 11/9/2016. */ /** * Created by mkg on 11/6/2016. */ import React, { Component } from 'react'; import { Dimensions, ListView, StyleSheet, Text, TextInput, View, TouchableHighlight, Image } from 'react-native'; import { addCamera ...
src/components/Monsterparts/Admin.js
gthayer/monster-manager
import React from 'react'; import { Link } from 'react-router'; const Admin = React.createClass({ render() { const { monster } = this.props; return ( <div className="monster-admin"> <button href="#" className="btn btn-sm btn-primary" onClick={ e => this.props.add_to_encounter(monster) }>Add to Encounter<...
src/modules/search/components/SearchToolDropdown/SearchToolDropdown.js
CtrHellenicStudies/Commentary
import React from 'react'; import PropTypes from 'prop-types'; import FlatButton from 'material-ui/FlatButton'; import FontIcon from 'material-ui/FontIcon'; import IconButton from 'material-ui/IconButton'; const SearchToolDropdown = ({ name, children, open, toggle, disabled }) => ( <div className={`dropdown search-dr...
client/player/equipmentComponent.js
mordrax/cotwmtor
import React from 'react'; import { connect } from 'react-redux'; import _ from 'lodash'; import * as actions from '/actions/index.js'; //dragdrop import Container from '/client/misc/containerComponent.js'; import {ItemType, EquipmentSlotToItemType} from '/core/cotwContent.js'; export const Equipment = ({equipment, o...
node_modules/karma/node_modules/core-js/client/core.js
Praise-the-Sun/ilikevideoga.me
/** * core-js 1.2.5 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
src/components/topic/related/related-as-cards.js
twreporter/twreporter-react
import { shortenString } from '../../../utils/string' import base from './base' import Image from '@twreporter/react-article-components/lib/components/img-with-placeholder' import mq from '../../../utils/media-query' import React from 'react' import styled from 'styled-components' const ImageBorder = styled.div` ${m...
ajax/libs/react-slick/0.14.6/react-slick.js
pvnr0082t/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...
examples/snapshot/Link.react.js
aaron-goshine/jest
// Copyright 2004-present Facebook. All Rights Reserved. import React from 'react'; const STATUS = { NORMAL: 'normal', HOVERED: 'hovered', }; export default class Link extends React.Component { constructor() { super(); this._onMouseEnter = this._onMouseEnter.bind(this); this._onMouseLeave = this....
ajax/libs/react-native-web/0.0.0-466063b7e/exports/createElement/index.js
cdnjs/cdnjs
/** * Copyright (c) Nicolas Gallagher. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import AccessibilityUtil from '../../modules/AccessibilityUtil'; import createDOMProps from '../../modules/createDOMProps'; import React fro...
__tests__/index.android.js
AlekseiIvshin/CatchTheFox
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
node_modules/react-bootstrap/es/Popover.js
WatkinsSoftwareDevelopment/HowardsBarberShop
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
packages/material-ui-icons/src/AirplanemodeInactive.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let AirplanemodeInactive = props => <SvgIcon {...props}> <path d="M13 9V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5v3.68l7.83 7.83L21 16v-2l-8-5zM3 5.27l4.99 4.99L2 14v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19...
tests/components/GuessesComponent.spec.js
theosherry/react-hangman
import React from 'react' import TestUtils from 'react-addons-test-utils' import {GuessesComponent} from 'components/GuessesComponent/GuessesComponent' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function render...
client/src/pages/User/User.1.js
atflowers/pantryraid
import React, { Component } from "react"; import DeleteBtn from "../../components/DeleteBtn"; import Jumbotron from "../../components/Jumbotron"; import userData from "../../utils/userData"; import { Link } from "react-router-dom"; import { Col, Row, Container } from "../../components/Grid"; import { List, ListItem } f...
ajax/libs/react-data-grid/2.0.36/react-data-grid.js
him2him2/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/clappr/0.0.64/clappr.js
abbychau/cdnjs
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)...
test/checkbox-spec.js
bdsabian/material-ui-old
import React from 'react'; import Checkbox from 'checkbox'; import injectTheme from './fixtures/inject-theme'; const TestUtils = require('react-addons-test-utils'); describe('Checkbox', () => { const CHECKMARK_PATH = 'M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-...
src/svg-icons/maps/local-hospital.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalHospital = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z"/> </SvgIcon> ); MapsLocal...