path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/index.js
VasilyShelkov/scikic-app
import 'babel-polyfill'; import ReactDOM from 'react-dom'; import React from 'react'; import { Router, browserHistory, IndexRoute, Route } from 'react-router'; import { combineReducers, compose, applyMiddleware, createStore } from 'redux'; import thunkMiddleware from 'redux-thunk'; import { Provider } from 'react-redux...
src/svg-icons/maps/beenhere.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsBeenhere = (props) => ( <SvgIcon {...props}> <path d="M19 1H5c-1.1 0-1.99.9-1.99 2L3 15.93c0 .69.35 1.3.88 1.66L12 23l8.11-5.41c.53-.36.88-.97.88-1.66L21 3c0-1.1-.9-2-2-2zm-9 15l-5-5 1.41-1.41L10 13.17l7.59...
web/app/routes.js
sunkeyhub/jedi_monitor
import React from 'react'; import { Route, IndexRedirect, Link } from 'react-router'; import App from './components/App'; import StatPage from './components/pages/StatPage'; import OverviewSection from './components/sections/stat/routes/OverviewSection'; import TimingSection from './components/sections/stat/routes/Tim...
ajax/libs/angular.js/1.2.0/angular-scenario.js
fbender/cdnjs
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) {'use ...
node_modules/react-icons/md/arrow-downward.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdArrowDownward = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m33.4 20l-13.4 13.4-13.4-13.4 2.5-2.3 9.3 9.3v-20.4h3.2v20.4l9.4-9.3z"/></g> </Icon> ) export default MdArrowDownward
ajax/libs/intl-tel-input/5.7.8/js/intlTelInput.js
samthor/cdnjs
/* International Telephone Input v5.7.8 https://github.com/Bluefieldscom/intl-tel-input.git */ // wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js (function(factory) { if (typeof define === "function" && define.amd) { define([ "jquery" ], function($) { factory($, window...
ajax/libs/angular.js/0.9.19/angular-scenario.js
AlicanC/cdnjs
/*! * 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. ...
example/index.ios.js
esbenp/react-native-clean-form
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, View } from 'react-native'; import Container from './src' export default class example extends Component { render() { return ( <View style={styles.container}> <Container /> </View> ); } } const styles = S...
ajax/libs/rxjs/2.3.14/rx.lite.js
sreym/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...
react-router-training/src/modules/Repo.js
wefine/reactjs-guide
import React from 'react'; const Repo = (props) => { return ( <div> <h2>{props.params["repoName"]}</h2> </div> ) }; export default Repo;
src/containers/App/container/App.js
MeetDay/dreampark-web
/** * @Author: WangChao * @Date: 2017-07-20T08:58:19+08:00 * @Email: crazyitcoder9527@126.com * @Project: dreampark-web * @Last modified by: WangChao * @Last modified time: 2017-09-02T15:53:53+08:00 */ import React from 'react' import PropTypes from 'prop-types' import { Helmet } from 'react-helmet' import...
sites/all/modules/contrib/ctools/js/dependent.js
rxfu/library
/** * @file * Provides dependent visibility for form items in CTools' ajax forms. * * To your $form item definition add: * - '#process' => array('ctools_process_dependency'), * - '#dependency' => array('id-of-form-item' => array(list, of, values, that, * make, this, item, show), * * Special considerations: ...
docs/app/Examples/modules/Dimmer/Types/index.js
aabustamante/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const DimmerTypesExamples = () => ( <ExampleSection title='Types'> <ComponentExample title='Dimmer' description='A s...
ajax/libs/forerunnerdb/1.3.305/fdb-all.min.js
wil93/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...
src/server.js
zhangmhao/circle
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import 'babel-core/polyfill'; import path from 'path'; import express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import Router from './routes'; import Html from './components/Html'; const server = global....
src/renderers/dom/client/syntheticEvents/__tests__/SyntheticWheelEvent-test.js
staltz/react
/** * Copyright 2013-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. * * @emails react...
src/svg-icons/hardware/videogame-asset.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareVideogameAsset = (props) => ( <SvgIcon {...props}> <path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-...
experiments/index.js
jevakallio/react-derivable
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; import DerivableContainer from './../lib/DerivableContainer'; ReactDOM.render( <DerivableContainer component={App} />, document.getElementById('root') );
src/components/courses/CourseForm.js
DaniAkash/AdminPanel-with-React-on-ES6
import React from 'react'; import TextInput from '../common/TextInput'; import SelectInput from '../common/SelectInput'; const CourseForm = ({course, allAuthors, onSave, onChange, saving, errors}) => { return ( <form> <h1>Manage Courses</h1> <TextInput name="title" label="Title" ...
src/views/PlaygroundView.js
terakilobyte/terakilobyte.github.io
import React from 'react'; import ProjectWell from 'components/ProjectWell/ProjectWell'; import 'styles/PlaygroundView.scss'; const projects = [ { link: '/tictactoe', source: 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Tic_tac_toe.svg/2000px-Tic_tac_toe.svg.png' } ]; const PlaygroundView = ...
src/svg-icons/av/music-video.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvMusicVideo = (props) => ( <SvgIcon {...props}> <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-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.0...
src/editor/views/EditorView.js
bfncs/linopress
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { setFetching, setPage } from '../../redux/pages'; import { setSchema } from '../../redux/schema'; import Editor from '../components/Editor'; function saveContentPage(path, page) { const option...
client/tests/userComponents/roleSelector.spec.js
FlevianK/cp2-document-management-system
import expect from 'expect'; import React from 'react'; import roleDropdownData from '../../src/components/user/RoleSelector'; describe('role selector component', () => { describe('roleDropdownData', () => { it('should return role data formatted for use in dropdown', () => { const roles = [ { title...
client/src/containers/dev_tools/DevTools.js
thewizardplusplus/vk-group-stats
import React from 'react' import DockMonitor from 'redux-devtools-dock-monitor' import LogMonitor from 'redux-devtools-log-monitor' import {createDevTools} from 'redux-devtools' export const DevTools = createDevTools( <DockMonitor toggleVisibilityKey='ctrl-d' changePositionKey='ctrl-p'> <LogMonitor theme='tomorr...
node_modules/react-slick/examples/config.js
geng890518/editor-ui
export const baseUrl = (process.env.NODE_ENV === 'production') ? 'https://s3.amazonaws.com/static.neostack.com/img/react-slick' : '/img/react-slick'
ajax/libs/js-data/1.0.0-alpha.4-1/js-data.js
emmansun/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file js-data.js * @version 1.0.0-alpha.4-1 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined...
YEAR 3/SEM 1/MOBILE/mobile_exam_prep/components/__tests__/StyledText-test.js
Zephyrrus/ubb
import 'react-native'; import React from 'react'; import { MonoText } from '../StyledText'; import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create(<MonoText>Snapshot test!</MonoText>).toJSON(); expect(tree).toMatchSnapshot(); });
src/components/ComponentRenderer/ComponentRenderer.react.js
OpusCapitaBES/js-react-showroom-client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import './ComponentRendered.less'; import ComponentRendererElement from '../ComponentRendererElement'; import Documentation from '../Documentation'; import DefaultScopeComponent from '../DefaultScopeComponent'; import EmptyScopeComponent from...
src/svg-icons/av/not-interested.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvNotInterested = (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 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12...
src/js/components/navbar/navbar.js
holloway/mahara-mobile
/*jshint esnext: true */ import React from 'react'; import {PAGE, PAGE_URL} from '../../constants.js'; import MaharaBaseComponent from '../base.js'; var menuItems = [ {menuType: PAGE.USER, stringId:'menu_user'}, {menuType: PAGE.ADD, stringId:'menu_add'}, {menuType: PAGE.PENDING, stringId:...
boilerplate/App/Navigation/index.js
TelaClaims/ignite-tela-boilerplate
import React from 'react' import * as ReactNavigation from 'react-navigation' import { connect } from 'react-redux' import RootNav from './root-nav' // here is our redux-aware our smart component function ReduxNavigation (props) { const { dispatch, nav } = props const navigation = ReactNavigation.addNavigationHelp...
docs/src/app/components/pages/components/Drawer/ExampleSimple.js
hwo411/material-ui
import React from 'react'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import RaisedButton from 'material-ui/RaisedButton'; export default class DrawerSimpleExample extends React.Component { constructor(props) { super(props); this.state = {open: false}; } handl...
ajax/libs/yui/3.10.2/datatable-core/datatable-core.js
narikei/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
eventkit_cloud/ui/static/ui/app/tests/Notification/NotificationMessage.spec.js
venicegeo/eventkit-cloud
import React from 'react'; import { createShallow } from '@material-ui/core/test-utils'; import sinon from 'sinon'; import { Link } from 'react-router-dom'; import { NotificationMessage } from '../../components/Notification/NotificationMessage'; describe('NotificationMessage component', () => { const run = { ...
packages/react-jsx-highcharts/test/components/PolygonSeries/PolygonSeries.spec.js
AlexMayants/react-jsx-highcharts
import React from 'react'; import { shallow } from 'enzyme'; import PolygonSeries from '../../../src/components/PolygonSeries/PolygonSeries'; import Series from '../../../src/components/Series'; describe('<PolygonSeries />', function () { it('renders a <Series />', function () { const wrapper = shallow(<Polygo...
src/svg-icons/hardware/memory.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareMemory = (props) => ( <SvgIcon {...props}> <path d="M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 ...
packages/icons/src/dv/GraphQL.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function DvGraphQL(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M39.067 28.752a3.55 3.55 0 0 1 2.724 3.44 3.57 3.57 0 0 1-3.538 3.595 3.547 3.547 0 0 1-2.69-1.196l-8.178 4.72a3.568 3.568 0 0 1-4.976 4.313 3.561 3....
docs/src/layouts/wrapper.js
colindresj/nuclear-js
import React from 'react' import { BASE_URL } from '../globals' const CSS_PATH = BASE_URL + 'assets/css/output.css' const JS_PATH = BASE_URL + 'app.js' const GA_SCRIPT = `(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEle...
client/app/about/index.js
nebulae-io/coteries
import React, { Component } from 'react'; import styles from './style.scss'; import Flex from 'components/flex'; function mapStateToProps(state) { return {}; } function mapDispatchToProps(dispatch) { return { todoActions: bindActionCreators(todoActionCreators, dispatch), counterActions: bindActionCreators...
src/components/Chat/Menu/Menu.js
fabianobizarro/chat-app
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { removeUser } from '../../Login/actions'; import { clearMessages, toggleUsersMenu, selectThread } from '../actions'; export class Menu extends Component { constructor(props) { super(props); this.state = { to...
src/client/components/EditButtonToolbar.js
gearz-lab/gearz
import React from 'react'; import { ButtonToolbar, Button }from 'react-bootstrap' var Layout = React.createClass({ render: function () { let { submitting } = this.props; return ( <ButtonToolbar className="button-toolbar"> <Button className="pull-right" bsStyle="succes...
packages/material-ui-icons/src/AccountBalance.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z" /> , 'AccountBalance');
src/svg-icons/places/hot-tub.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesHotTub = (props) => ( <SvgIcon {...props}> <circle cx="7" cy="6" r="2"/><path d="M11.15 12c-.31-.22-.59-.46-.82-.72l-1.4-1.55c-.19-.21-.43-.38-.69-.5-.29-.14-.62-.23-.96-.23h-.03C6.01 9 5 10.01 5 11.25V12...
lib/floox_provider.js
fatfisz/floox
import React from 'react'; import Floox from './floox_class'; const FlooxProvider = React.createClass({ propTypes: { children: React.PropTypes.element.isRequired, floox: React.PropTypes.instanceOf(Floox).isRequired, }, childContextTypes: { floox: React.PropTypes.instanceOf(Floox).isRequired, }, ...
src/components/Goggles.js
kelsonic/Kelsonic
// Dependencies import 'aframe'; import React from 'react'; const Goggles = () => ( <a-cylinder color="#101010" height="0.02" radius="0.8" > <a-animation attribute="rotation" delay="1000" dur="750" fill="both" from="-270 0 0" to="-90 0 0" /> <a-animation...
app/javascript/mastodon/components/button.js
imas/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class Button extends React.PureComponent { static propTypes = { text: PropTypes.node, onClick: PropTypes.func, disabled: PropTypes.bool, block: PropTypes.bool, secondary: PropTypes....
src/components/DataGrid/Grid.js
sanyamagrawal/royalgeni
import React from 'react'; import ReactDataGrid from 'react-data-grid'; import './DataGrid.scss'; const _rows = []; class Grid extends React.Component { static propTypes = { idProperty: React.PropTypes.string.isRequired, dataSource: React.PropTypes.array.isRequired, columns: React.PropTyp...
src/views/Icons/GlyphiconsSocial/GlyphiconsSocial.js
hungtruongquoc/shipper_front
import React, { Component } from 'react'; class GlyphiconsSocial extends Component { render() { return ( <div className="animated fadeIn"> <div className="card"> <div className="card-header"> <strong>GLYPHICONS</strong> Social </div> <div className="card-bl...
app/utils/map-utils.js
pandemic-1707/pandemic-1707
import React from 'react' import cities from '../../functions/data/cities' import L, { divIcon } from 'leaflet' import { Marker, Polyline, Tooltip } from 'react-leaflet' export function mapDataToMarkers(cities) { return Object.keys(cities).map(key => { const city = cities[key] // only render a number of the ...
test/NavItemSpec.js
roderickwang/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import NavItem from '../src/NavItem'; describe('NavItem', function () { it('Should add active class', function () { let instance = ReactTestUtils.renderIntoDocument( <NavItem active={true}> Item content </NavIte...
main.js
lifeiscontent/OpenPoGoUI
import 'babel-polyfill'; import 'whatwg-fetch'; import React from 'react'; import ReactDOM from 'react-dom'; import FastClick from 'fastclick'; import { Provider } from 'react-redux'; import store from './core/store'; import router from './core/router'; import history from './core/history'; let routes = require('./r...
ajax/libs/forerunnerdb/1.3.728/fdb-core.min.js
sufuf3/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...
examples/ariatemplates/js/lib/aria/ariatemplates-1.3.5.js
nordfjord/todomvc
/* * Aria Templates 1.3.5 - 22 Feb 2013 * * Copyright 2009-2013 Amadeus s.a.s. * Licensed 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/licenses/LICENSE-2.0 * * Un...
src/home/Music.js
crosslandwa/chippanfire-site
import React from 'react' import SectionHeader from './SectionHeader' import ExternalLink from '../external-link' const Music = props => ( <> <SectionHeader id="music" label="Music" /> <h2 className="cpf-header--small">Dry Stone Will</h2> <p>Dark pop, an English folk lilt and lush guitar-led backing</p>...
packages/nova-core/lib/containers/withNew.js
JstnEdr/Telescope
/* Generic mutation wrapper to insert a new document in a collection and update a related query on the client with the new item and a new total item count. Sample mutation: mutation moviesNew($document: MoviesInput) { moviesNew(document: $document) { ...MoviesNewFormFragment } } Arguments: -...
ajax/libs/jquery.fancytree/2.8.0/jquery.fancytree-all.min.js
sujonvidia/cdnjs
/*! jQuery Fancytree Plugin - 2.8.0 - 2015-02-08T17:56 * https://github.com/mar10/fancytree * Copyright (c) 2015 Martin Wendt; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( [ "jquery" ], factory ); } else { factory( jQuery ); } }(function( $ ) { !function...
src/svg-icons/action/find-replace.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFindReplace = (props) => ( <SvgIcon {...props}> <path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1....
src/parser/shaman/restoration/modules/features/StatValues.js
sMteX/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import BaseHealerStatValues from 'parser/shared/modules/features/BaseHealerStatValues'; import STAT from 'parser/shared/modules/features/STAT'; import StatTracker from 'parser/shared/modules/StatTracker'; import HealingValue from 'parser/shared/modules/Hea...
ajax/libs/forerunnerdb/1.3.928/fdb-core.js
honestree/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...
src/botPage/view/TradeInfoPanel/index.js
binary-com/binary-bot
import React, { Component } from 'react'; import { observer as globalObserver } from '../../../common/utils/observer'; import { translate } from '../../../common/i18n'; import Summary from './Summary'; import TradeTable from './TradeTable'; import RunButton from './RunButton'; import ClearButton from './ClearButton'; i...
src/common/components/OutlineButton.js
reedlaw/read-it
// @flow import type { ButtonProps } from './Button'; import React from 'react'; import Button from './Button'; const OutlineButton = (props: ButtonProps) => ( <Button // TODO: Recheck after Flow 0.38, propValues should not be required. gray={true} // eslint-disable-line react/jsx-boolean-value outline={...
ajax/libs/yasqe/1.5.1/yasqe.bundled.min.js
underyx/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,i,r)...
actor-apps/app-web/src/app/components/modals/AppCacheUpdate.react.js
ketoo/actor-platform
import React from 'react'; import Modal from 'react-modal'; //import pureRender from 'pure-render-decorator'; import { Styles, FlatButton } from 'material-ui'; import AppCacheStore from 'stores/AppCacheStore'; import AppCacheActionCreators from 'actions/AppCacheActionCreators'; import { KeyCodes } from 'constants/Act...
src/pages/home.js
michaelnyu/michaelnyu.github.io
import React from 'react'; import PostEntry from '~/src/components/PostEntry'; import POSTS from '~/posts'; const Home = () => { return ( <> {Object.entries(POSTS).map(postEntry => { const [key, metadata] = postEntry; return ( <PostEntry key={key} title={me...
src/gm3/components/map/jump-to-zoom.js
geomoose/gm3
/* * The MIT License (MIT) * * Copyright (c) 2016-2019 Dan "Ducky" Little * * 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...
web/thirdparty/jquery-ui/jquery-ui-1.11.2/external/jquery/jquery.js
mo/git-source-metrics
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
app/components/H2/index.js
shinetimes/web-storm
import React from 'react'; import styles from './styles.css'; function H2(props) { return ( <h2 className={styles.heading2} { ...props } /> ); } export default H2;
src/routes/register/index.js
RomanovRoman/react-starter-kit
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 '../../compo...
packages/react-scripts/fixtures/kitchensink/src/index.js
brysgo/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById(...
ajax/libs/yasr/2.4.1/yasr.bundled.min.js
wmkcc/cdnjs
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.YASR=t()}}(function(){var t;return function e(t,n,r){...
packages/reactor-kitchensink/src/examples/FormFields/ContainerField/ContainerField.js
sencha/extjs-reactor
import React, { Component } from 'react'; import { ContainerField, FormPanel, RadioField, Container, Panel, CheckBoxField, TextField } from '@extjs/ext-react'; export default class ContainerFieldExample extends Component { render() { return ( <Container layout="vbox" padding="10" maxWidth="660...
test/Placeholder.js
passcod/kitr-helpers
'use strict' import { test } from 'tap' import React from 'react' test('Placeholder', (t) => { t.plan(1) t.ok(<div>world</div>, 'the world is fine') })
src/components/Checkbox.js
angeloocana/angeloocana
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { FormattedMessage } from 'react-intl'; const Label = styled.label` cursor: 'pointer'; padding-top: ${({ theme }) => theme.scale(-1)}; padding-bottom: ${({ theme }) => theme.scale(0)}; padding-left: ${...
files/jquery.handsontable/0.10.3/jquery.handsontable.full.js
AdityaManohar/jsdelivr
/** * Handsontable 0.10.3 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright 2012, Marcin Warpechowski * Licensed under the MIT license. * http://handsontable.com/ * * Date: Mon Feb 10 2014 14:15:11 GMT+0100 (CET) */ /*jslin...
app/components/SubNavigation/index.js
projectcashmere/web-server
/** * * SubNavigation * */ import React from 'react'; import styled from 'styled-components'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; import Tab from '../Tab'; const Div = styled.div` background-color: #eeeeee; height: 45px; display: flex; justify-content: center; ...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/CssInclusion.js
HelpfulHuman/helpful-react-scripts
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import './assets/style.css'; export default () => <p id="feature-css-inclusion">We love useless text.</p>;
theme/src/components/checkoutForm/stepContacts.js
cezerin/cezerin
import React from 'react'; import { Field, reduxForm } from 'redux-form'; import { themeSettings, text } from '../../lib/settings'; import { formatCurrency } from '../../lib/helper'; import InputField from './inputField'; const validateRequired = value => value && value.length > 0 ? undefined : text.required; const ...
frontend/src/Artist/Index/Banners/Options/ArtistIndexBannerOptionsModalContent.js
lidarr/Lidarr
import _ from 'lodash'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Form from 'Components/Form/Form'; import FormGroup from 'Components/Form/FormGroup'; import FormInputGroup from 'Components/Form/FormInputGroup'; import FormLabel from 'Components/Form/FormLabel'; import Button ...
examples/index.ios.js
alex-react/react-native-swiper
'use strict' var React = require('react-native') var { AppRegistry, } = React // var swiper = require('./examples/basic') var swiper = require('./examples/swiper') // var swiper = require('./examples/swiper_number') // var swiper = require('./examples/phone') AppRegistry.registerComponent('swiper', () => swiper)
src/components/App.js
lxgreen/flickr-viewr
import React, { Component } from 'react'; import {PropTypes} from 'prop-types'; import ImageContainer from './ImageContainer'; import Spinner from './Spinner'; import {saveState} from '../statePersistence'; class App extends Component { componentWillMount() { const {store} = this.context; this.uns...
examples/InvertedChart/index.js
AlexMayants/react-jsx-highcharts
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render( <App />, document.getElementById('root') );
lib/jquery-1.10.2.min.js
keswanikaran/BB-url-manager
/*! 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/index.js
imraan7/Gaimed_Evenementen
import 'babel-polyfill' import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import { Router, IndexRoute, Route, browserHistory } from 'react-router' import { syncHistoryWithStore } from 'react-router-redux' import configureStore from './store/configureStore' const store...
packages/material-ui-icons/src/AddCircleOutline.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let AddCircleOutline = props => <SvgIcon {...props}> <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8...
ajax/libs/forerunnerdb/1.3.624/fdb-core.min.js
holtkamp/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...
app/javascript/mastodon/features/compose/components/search.js
MitarashiDango/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Overlay from 'react-overlays/lib/Overlay'; import Motion from '../../ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import { searchEnabled } from '../...
internals/templates/app.js
ReelTalkers/reeltalk-web
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ import 'babel-polyfill' // TODO constrain eslint import/no-unresolved rule to this block // Load the manifest.json file and the .htaccess file import 'file?name=[name].[ext]!./manifest.json' // eslint-disable-line ...
client/index.js
vudayagirivaibhav/freecodecamp
import Rx from 'rx'; import React from 'react'; import Fetchr from 'fetchr'; import debugFactory from 'debug'; import { Router } from 'react-router'; import { history } from 'react-router/lib/BrowserHistory'; import { hydrate } from 'thundercats'; import { Render } from 'thundercats-react'; import { app$ } from '../co...
test/pods/size/components/List.js
slightlytyler/mocksy
import { expect, assert } from 'chai'; import { stub } from 'sinon'; import React from 'react'; import sd from 'skin-deep'; import { isElementOfType } from 'react-addons-test-utils'; import shallowRender from '../../../test-utils/shallow-render'; import { size } from 'lodash'; import SizeList from 'pods/size/component...
ajax/libs/vkui/4.29.0/cjs/components/PromoBanner/PromoBanner.js
cdnjs/cdnjs
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _jsxRuntime = req...
src/Popup.js
Incubity/react-big-calendar
import React from 'react'; import getOffset from 'dom-helpers/query/offset'; import getScrollTop from 'dom-helpers/query/scrollTop'; import getScrollLeft from 'dom-helpers/query/scrollLeft'; import EventCell from './EventCell'; import { isSelected } from './utils/selection'; import localizer from './localizer'; import...
ajax/libs/angular.js/0.10.4/angular.js
AMoo-Miki/cdnjs
/** * @license AngularJS v0.10.4 * (c) 2010-2011 AngularJS http://angularjs.org * License: MIT */ 'use strict'; (function(window, document, undefined){ //////////////////////////////////// if (typeof document.getAttribute == $undefined) document.getAttribute = function() {}; /** * @ngdoc function * @name ang...
local-cli/templates/HelloWorld/index.ios.js
aaron-goshine/react-native
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class HelloWorld extends Component { render() { return ( <View style={styles.containe...
src/App.js
battaile/time-tracking
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import Project from './Project'; import AddProject from './AddProject'; import Footer from './Footer'; import ErrorBoundary from './ErrorBoundary'; import * as db from './database'; import { appName } from './constants'; import './App.css'; ex...
stack/src/components/AppRoutes.js
isabellewei/deephealth
'use strict'; import React from 'react'; import { Router, browserHistory } from 'react-router'; import routes from '../routes'; export default class AppRoutes extends React.Component { render() { return ( <Router history={browserHistory} routes={routes} onUpdate={() => window.scrollTo(0, 0)}/> ); } ...
app/javascript/mastodon/features/ui/components/actions_modal.js
NS-Kazuki/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import StatusContent from '../../../components/status_content'; import Avatar from '../../../components/avatar'; import Relative...
website/core/WebPlayer.js
eduardinni/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...
packages/strapi-plugin-content-manager/admin/src/components/TableRow/index.js
skelpook/strapi
/** * * TableRow * */ import React from 'react'; import { Link } from 'react-router'; import _ from 'lodash'; import styles from './styles.scss'; class TableRow extends React.Component { constructor(props) { super(props); this.goEditPage = this.goEditPage.bind(this); } /** * Return a formatted ...
app/components/queue/editMessageModal.js
ritishgumber/dashboard-ui
import React from 'react'; import {connect} from 'react-redux'; import RaisedButton from 'material-ui/RaisedButton'; import {Modal, Button, FormControl} from 'react-bootstrap'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; import AceEditor from 'react-ace'; import 'brac...
static/ticker-control.js
joequant/sptrader
import React from 'react'; import {Button, FormControl} from 'react-bootstrap'; import {AgGridReact} from 'ag-grid-react'; export default class TickerControl extends React.Component { constructor(props) { super(props); this.state = { tickers_add: '' }; this.onChange = this.onChange.bind(this); this.add_t...