target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
index.js
CoffeeApp/clientSide
import React from 'react' import ReactDOM from 'react-dom' import { createStore, applyMiddleware } from 'redux' import thunk from 'redux-thunk' import createLogger from 'redux-logger' import reducer from './reducers' import initialState from './state' import api from './lib/api' import Root from './containers/Root' imp...
grunt/config/populist.js
zenlambda/react
'use strict'; module.exports = function(grunt) { var jasmine = { rootDirectory: 'build/jasmine', // This syntax means to require and expose the 'jasmine' module // (build/jasmine/jasmine.js) as global.jasmine, and to require the // 'all' module (build/jasmine/all.js) but not expose it globally. a...
src/containers/App.js
kyleaclark/nba-trade-machine
import React from 'react'; import { Route } from 'react-router-dom'; import Home from './Home'; import './App.css'; const App = () => ( <div> <header className='header'> <h1>Fake Trade Machine</h1> </header> <main className='app'> <Route exact path="/" component={Home} /> </main> </di...
src/main/frontend/src/script/widgets/Wizard/index.spec.js
m544498510/may-swim-app
/** * * @author : Mei XinLin * @version : 1.0 */ import React from 'react'; import {shallow,mount} from 'enzyme'; import Wizard from './index'; describe('widget Wizard', () => { describe('(render)', () => { let _wrapper; before(() => { _wrapper = shallow( <Wizard> <TestTag ...
IQMail_App/index.android.js
victorditadi/IQApp
/** * 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 IQMail_App extends Component { render() { return ( <View style={styles.containe...
ajax/libs/react-instantsearch/4.1.0-beta.3/Dom.js
sashberd/cdnjs
/*! ReactInstantSearch 4.1.0-beta.3 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof def...
ajax/libs/backbone-react-component/0.4.1/backbone-react-component.js
wallin/cdnjs
/** * Backbone.React.Component * @version 0.4.1 * @author "Magalhas" José Magalhães <magalhas@gmail.com> * @license MIT <http://opensource.org/licenses/MIT> */ (function (factory) { if (typeof define === 'function' && define.amd) define(['react', 'backbone', 'underscore'], factory); else if (typeof module ...
src/pages/conference/people/staff/edit/rolesActive.js
sunway-official/acm-admin
import React, { Component } from 'react'; import { ListItem, Toggle } from 'material-ui'; import { graphql, compose } from 'react-apollo'; import { connect } from 'react-redux'; import { queries, mutations } from '../helpers'; class RoleItem extends Component { constructor(props) { super(props); this.handleUp...
ajax/libs/aui/5.6.7/aui/js/aui-dependencies.js
bspaulding/cdnjs
!function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(....
src/index.js
ildafon/react-video-player
require('offline-plugin/runtime').install(); import React from 'react'; import {render} from 'react-dom'; import App from './components/App'; render(<App/>, document.getElementById('mount'));
test/test_helper.js
BlakeRedwolf/reduxblog
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...
actor-apps/app-web/src/app/components/modals/Contacts.react.js
zillachan/actor-platform
// // Deprecated // import _ from 'lodash'; import React from 'react'; import { PureRenderMixin } from 'react/addons'; import ContactActionCreators from 'actions/ContactActionCreators'; import DialogActionCreators from 'actions/DialogActionCreators'; import ContactStore from 'stores/ContactStore'; import Modal from...
ajax/libs/react/0.13.0-beta.1/react-with-addons.min.js
athanclark/cdnjs
/** * React (with addons) v0.13.0-beta.1 * * Copyright 2013-2014, 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 t...
ajax/libs/rxjs/2.4.3/rx.lite.compat.js
contolini/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 }; ...
src/client/assets/javascripts/features/mapper/components/Properties/Properties.js
tlodge/uibuilder
import React, { Component } from 'react'; import CSSTransitionGroup from 'react-addons-css-transition-group'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Flex, Box } from 'reflexbox'; import '../../../../../styles/index.scss'; import Tabs from 'react-md/lib/Tabs/Tabs'; ...
example/src/components/common/PulseCircleLayer.js
bsudekum/react-native-mapbox-gl
import React from 'react'; import PropTypes from 'prop-types'; import {Animated} from 'react-native'; import MapboxGL from '@mapbox/react-native-mapbox-gl'; const styles = MapboxGL.StyleSheet.create({ innerCircle: { circleColor: 'white', circleStrokeWidth: 1, circleStrokeColor: '#c6d2e1', }, innerCir...
packages/material-ui-icons/src/AirlineSeatReclineNormalSharp.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.59 5.41c-.78-.78-.78-2.05 0-2.83s2.05-.78 2.83 0 .78 2.05 0 2.83c-.79.79-2.05.79-2.83 0zM6 19V7H4v14h11v-2H6zm14 1.07L14.93 15H11.5v-3.68c...
modules/index/index.js
sunkeysun/antd-redux-starter
/** * 入口模块 * * @author : Sunkey */ import '../../common/globals' import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import configureStore from './store/configureStore' import App from './containers/App' import '../../common/styles/antd.css' const store = configureS...
webpack/webpack-react/node_modules/react/dist/react-with-addons.js
uraway/Learnings
/** * React (with addons) v0.14.3 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undef...
ajax/libs/vuetify/1.1.5/vuetify.js
jonobr1/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("vue")); else if(typeof define === 'function' && define.amd) define(["vue"], factory); else if(typeof exports === 'object') exports["Vuetify"] = factory(req...
front_end/src/pages/Tiles/TileEditPage.js
ncloudioj/splice
import React, { Component } from 'react'; import { connect } from 'react-redux'; import reactMixin from 'react-mixin'; import { Link, Lifecycle } from 'react-router'; import { updateDocTitle } from 'actions/App/AppActions'; import { fetchHierarchy } from 'actions/App/BreadCrumbActions'; import TileForm from 'componen...
node_modules/react-router/es/IndexLink.js
NickingMeSpace/questionnaire
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; import React from 'react'; import createReactClass from 'crea...
gapclose-frontend/components/loginForm.js
conanbatt/gapclose
import Link from 'next/link' import Head from 'next/head' import React from 'react'; import { Modal } from 'react-bootstrap'; import 'isomorphic-fetch'; import { logIn } from '../utils/auth'; export default class LoginForm extends React.Component { constructor(props){ super(props); this.state = {}; } o...
univention-openvpn/display_users/lib/jquery-1.11.1.min.js
bytemine/univention-openvpn
/*! 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...
packages/material-ui-icons/src/WhereToVoteRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 2C8.14 2 5 5.14 5 9c0 4.17 4.42 9.92 6.23 12.11.4.48 1.13.48 1.53 0C14.58 18.92 19 13.17 19 9c0-3.86-3.14-7-7-7zm4.31 6.16l-5.13 5.13c-.39.3...
client/src/components/FontAwesome/index.js
deoxxa/don
// @flow import classNames from 'classnames/bind'; import styles from 'font-awesome/css/font-awesome.css'; import React, { Component } from 'react'; const cx = classNames.bind(styles); export default class FontAwesome extends Component { props: { icon: string, className?: string }; render() { const { icon, ...
ajax/libs/react-bootstrap-table/3.3.8/react-bootstrap-table.min.js
ahocevar/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.ReactBootstrapTable=t(require("react"),require("react-dom")):e.ReactBootstrapTable=t(e.React,e.R...
packages/material-ui-icons/src/PowerInputTwoTone.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="M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z" /></g></React.Fragment> , 'PowerInputTwoTone');
client/modules/App/__tests__/Components/Footer.spec.js
Dokvel/outfit_ua
import React from 'react'; import test from 'ava'; import { shallow } from 'enzyme'; import { Footer } from '../../components/Footer/Footer'; test('renders the footer properly', t => { const wrapper = shallow( <Footer /> ); t.is(wrapper.find('p').length, 2); t.is(wrapper.find('p').first().text(), '© 2016 ...
sdncon/ui/static/js/thirdparty/jquery-1.9.1.js
mandeepdhami/netvirt-ctrl
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
src/pages/theme-creator.js
getinsomnia/insomnia.rest
import React from 'react'; import SocialCards from '../components/social-cards'; import Link from '../components/link'; import Title from '../partials/title'; import ColorPicker from './color-picker'; import { Tab, Tabs } from 'react-tabify'; const themes = [ 'Default', 'Success', 'Notice', 'Warning', 'Dang...
packages/material-ui-icons/src/StarBorder.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let StarBorder = 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.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.7...
components/subscriptions/SubscriptionSelector.js
resource-watch/resource-watch
import React from 'react'; import PropTypes from 'prop-types'; // Components import SelectInput from 'components/form/SelectInput'; import Input from 'components/form/Input'; import Field from 'components/form/Field'; class SubscriptionSelector extends React.Component { render() { const { datasets, ...
test/unit/client/common/components/footer.js
jmeas/moolah
import React from 'react'; import {Link} from 'react-router'; import {shallow} from 'enzyme'; import Footer from '../../../../../client/common/components/footer'; describe('Footer', function() { describe('rendering', () => { it('should be a footer el', () => { const wrapper = shallow(<Footer/>); expe...
modules/__tests__/transitionHooks-test.js
ArmendGashi/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect, { spyOn } from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import execSteps from './execSteps' import Router from '../Router' describe('When a router enters a branch', function () { let node, Dashb...
src/routes/not-found/index.js
mcbeath/mcbeath-react-shop
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; const title = 'Page Not Fou...
fields/types/code/CodeField.js
alobodig/keystone
import _ from 'lodash'; import CodeMirror from 'codemirror'; import Field from '../Field'; import React from 'react'; import { findDOMNode } from 'react-dom'; import { FormInput } from '../../../admin/client/App/elemental'; import classnames from 'classnames'; /** * TODO: * - Remove dependency on lodash */ // See ...
packages/material-ui-icons/src/AirlineSeatReclineNormalTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M7.59 5.41c-.78-.78-.78-2.05 0-2.83s2.05-.78 2.83 0 .78 2.05 0 2.83c-.79.79-2.05.79-2.83 0zM6 16V7H4v9c0 2.76 2.24 5 5 5h6v-2H9c-1.66 0-3-1.34-3-3zm14 4.07L14.93 15H11.5v-3.68c1.4 1.15 3.6 2.16 5.5 2....
packages/material-ui-icons/src/FormatLineSpacing.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6V7zm4-2v2h12V5H10zm0 14h12v-2H10v2zm0-6h12v-2H10v2z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment> , 'FormatLineSpacing');
src/index.js
francocorreasosa/ClimaUY
import React from 'react'; import { AppRegistry } from 'react-native'; import { Provider } from 'react-redux'; import AppWithNavigation from './navigation'; import store from './store'; const ClimaUY = () => ( <Provider store={store}> <AppWithNavigation /> </Provider> ); AppRegistry.registerComponent('ClimaUY...
Dnn.AdminExperience/ClientSide/Dnn.React.Common/src/Pager/pager.stories.js
EPTamminga/Dnn.Platform
import React from "react"; import { storiesOf } from "@storybook/react"; import { action } from "@storybook/addon-actions"; import Pager from "./index"; storiesOf("Pager", module).add("with content", () => ( <Pager totalRecords={100} onPageChanged={action("changed")} /> )); storiesOf("Pager", ...
packages/material-ui-icons/src/TextFormatTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z" /></React.Fragment> , 'TextFormatTwoTone'...
src/views/LoanDetails/LoanDetails.js
folio-org/ui-users
import React from 'react'; import { FormattedMessage, FormattedTime, injectIntl, } from 'react-intl'; import { compose } from 'redux'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import { get, upperFirst, isEmpty, } from 'lodash'; import { ChangeDueDateDialog } from '@folio...
app/assets/scripts/components/checkbox.js
energy-data/market-opportunities
import React from 'react' import { toggleArrayElement } from '../utils' const CheckboxGroup = React.createClass({ propTypes: { layerId: React.PropTypes.string, value: React.PropTypes.string, selected: React.PropTypes.array, updateLayerFilter: React.PropTypes.func }, render: function () { c...
packages/material-ui-icons/src/LaunchOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" /></React.Fr...
ajax/libs/vue-material/1.0.0-beta-8/components/MdCard/index.js
jonobr1/cdnjs
!(function(e,t){var n,r;if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{n=t("object"==typeof exports?require("vue"):e.Vue);for(r in n)("object"==typeof exports?exports:e)[r]=n[r]}})("undefined"!=typeof self?self:t...
ajax/libs/forerunnerdb/1.4.64/fdb-core+persist.js
nolsherry/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...
node_modules/react-router/es6/RouterContext.js
tacrow/tacrow
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _extends = Object.assign || function (target) { for (var i = 1; i < argum...
node_modules/eslint-config-airbnb/test/test-react-order.js
jessest/hugo-foundation-sass
import test from 'tape'; import { CLIEngine } from 'eslint'; import eslintrc from '../'; import reactRules from '../rules/react'; import reactA11yRules from '../rules/react-a11y'; const cli = new CLIEngine({ useEslintrc: false, baseConfig: eslintrc, rules: { // It is okay to import devDependencies in tests....
packages/material-ui-icons/src/PermIdentityRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 ...
docs/src/app/components/pages/components/Toggle/ExampleSimple.js
andrejunges/material-ui
import React from 'react'; import Toggle from 'material-ui/Toggle'; const styles = { block: { maxWidth: 250, }, toggle: { marginBottom: 16, }, }; const ToggleExampleSimple = () => ( <div style={styles.block}> <Toggle label="Simple" style={styles.toggle} /> <Toggle label...
react/features/feedback/components/FeedbackDialog.web.js
jitsi/jitsi-meet
// @flow import { FieldTextAreaStateless } from '@atlaskit/field-text-area'; import StarIcon from '@atlaskit/icon/glyph/star'; import StarFilledIcon from '@atlaskit/icon/glyph/star-filled'; import React, { Component } from 'react'; import type { Dispatch } from 'redux'; import { createFeedbackOpenEvent, sendA...
src/containers/NotFound/NotFound.js
k2truong/pagrader
import React from 'react'; export default function NotFound() { return ( <div className="container"> <h1>Doh! 404!</h1> <p>These are <em>not</em> the droids you are looking for!</p> </div> ); }
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
mayermi/Platypus
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'));
ajax/libs/backbone-react-component/0.5.1/backbone-react-component.js
begriffs/cdnjs
/** * Backbone.React.Component * @version 0.5.1 * @author "Magalhas" José Magalhães <magalhas@gmail.com> * @license MIT <http://opensource.org/licenses/MIT> */ 'use strict'; (function (root, factory) { if (typeof define === 'function' && define.amd) define(['react', 'backbone', 'underscore'], factory); els...
ajax/libs/ui-router-extras/0.0.4-preview/ct-ui-router-extras.js
hanbyul-here/cdnjs
angular.module("ct.ui.router.extras", [ 'ui.router' ]); //define(['angularAMD'], function (angularAMD) { var app = angular.module("ct.ui.router.extras"); app.service("$deepStateRedirect", function ($rootScope, $state) { var lastSubstate = {}; var lastParams = {}; var deepStateRedirectsByName = {}; ...
index.js
jefflau/react-dropdown
'use strict'; import React from 'react'; import classNames from 'classnames'; class Dropdown extends React.Component { displayName: 'Dropdown' constructor(props) { super(props); this.state = { selected: props.value || { label: props.placeholder || 'Select...', value: '' }, isOpen: false ...
packages/material-ui-icons/src/SlowMotionVideo.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SlowMotionVideo = props => <SvgIcon {...props}> <path d="M13.05 9.79L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zM11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1....
node_modules/react-bootstrap/es/PaginationButton.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 ...
src/index.js
chickencyj/gallery-by-react
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import GalleryByReactApp from './components/Main'; // Render the main component into the dom ReactDOM.render(<GalleryByReactApp/>, document.getElementById('app'));
imports/Client/Components/userBook/Book.js
darodriguez15/booksWebDev
import React, { Component } from 'react'; import PropTypes from "prop-types"; import { Meteor } from 'meteor/meteor'; import ReactDOM from 'react-dom'; import { Books } from '../../../api/books'; import { createContainer } from 'meteor/react-meteor-data'; // Task component - represents a single todo item class Book ex...
src/routes/system/Admin/Search.js
daizhen256/i5xwxdoctor-web
import React from 'react' import PropTypes from 'prop-types' import { Form, Button, Row, Col, Icon } from 'antd' import SearchGroup from '../../../components/Search' const Search = ({ field, keyword, addPower, onSearch, onAdd, form: { getFieldDecorator, validateFields, getFieldsValue } }) => ...
browser/app/js/components/InputGroup.js
dutchcoders/minio
/* * Minio Cloud Storage (C) 2016 Minio, Inc. * * 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 * * Unless required by applicable law...
src/index.js
kriasoft/react-static-boilerplate
/** * React Starter Kit for Firebase * https://github.com/kriasoft/react-firebase-starter * Copyright (c) 2015-present Kriasoft | MIT License */ import React from 'react'; import ReactDOM from 'react-dom'; import qs from 'query-string'; import { createBrowserHistory } from 'history'; import App from './common/App...
src/components/App.js
dominic-blain/viper-visualizer
import React from 'react'; import ReactDOM from 'react-dom'; import ActionCreators from '../actions/ActionCreators'; import { Provider, connect } from 'react-redux'; import store from '../store/store.js'; import styles from '../styles/main.less'; import { version } from '../../package.json'; // Components import Toolba...
example/src/components/BasicExample.js
ethanselzer/react-touch-position
import React from 'react'; import ReactTouchPosition from 'react-touch-position'; import TouchPositionLabel from './TouchPositionLabel'; import InstructionsLabel from './InstructionsLabel'; export default class extends React.Component { render() { return ( <ReactTouchPosition {...{ ...
src/components/common/task.js
7022Andre/kitti
import React from 'react'; import { Link } from 'react-router-dom'; import '../../css/task.css'; import tasks from '../../data/tasks'; export default (props) => { return ( <div className="tasks"> <div className="task-buttons"> <Link to="/main"> <button className="btn btn-warning">GO BACK<...
app/pages/Character/CharacterSheet/Field.js
Technaesthetic/ua-tools
import React from 'react'; import * as CharacterActions from '../../../actions/CharacterActions'; import { Form, FormGroup, ControlLabel, FormControl } from 'react-bootstrap'; import TextInput from '../../../utils/TextInput' export default class Field extends React.Component { constructor() { super(); this....
src/client/index.js
sanchitgangwar/remind-plus
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { BrowserRouter, Route } from 'react-router-dom'; import { AppContainer } from 'react-hot-loader'; import { MuiThemeProvider } from 'material-ui/styles'; import Root from 'Universal/components/AppContainer'; i...
react-app/src/containers/ParentEditFormContainer.js
floodfx/gma-village
import React, { Component } from 'react'; import ParentForm from '../components/ParentForm'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import LoadingIndicator from '../components/LoadingIndicator'; import Alert from '../components/Alert'; import { ActionCreators } from '../actio...
docs/src/app/components/pages/components/LinearProgress/ExampleSimple.js
pradel/material-ui
import React from 'react'; import LinearProgress from 'material-ui/LinearProgress'; const LinearProgressExampleSimple = () => ( <LinearProgress mode="indeterminate" /> ); export default LinearProgressExampleSimple;
ajax/libs/core-js/0.1.1/shim.js
sajochiu/cdnjs
/** * Core.js 0.1.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2014 Denis Pushkarev */ !function(returnThis, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
src/containers/DevToolsWindow.js
uschen/react-redux-universal-rendering-starter
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; export default createDevTools( <LogMonitor /> );
ajax/libs/react-datepicker/0.32.0/react-datepicker.js
jonobr1/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("moment"), require("react"), require("react-onclickoutside"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["moment", "rea...
opentech/static_src/src/app/src/submissionsByStatusIndex.js
OpenTechFund/WebApp
import React from 'react'; import ReactDOM from 'react-dom'; import Modal from 'react-modal'; import { Provider } from 'react-redux'; import { ConnectedRouter } from 'connected-react-router'; import SubmissionsByStatusApp from './SubmissionsByStatusApp'; import createStore, { history } from '@redux/store'; const con...
node_modules/react-icons/md/perm-camera-mic.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdPermCameraMic = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m23.4 21.6v-6.6q0-1.3-1.1-2.3t-2.3-1.1-2.3 1.1-1.1 2.3v6.6q0 1.4 1.1 2.4t2.3 1 2.3-1 1.1-2.4z m10-13.2q1.3 0 2.3 0.9t0.9 2.3v20q0 1.4-0.9 2.4t-2.3 1h-11.8v-3.5q...
js/components/organisms/UserPanel/UserPanel.react.js
Freizeitler/curcooma-game
/* * User Panel: Organism * TODO: put dl into organism */ import React, { Component } from 'react'; import UserInfo from '../../molecules/UserInfo/UserInfo.react'; export default class UserPanel extends Component { render() { var combinedClasses = this.props.colorClass + ' controls'; return ( <aside ...
docs/static/js/21.af255cdf.chunk.js
yurizhang/ishow
webpackJsonp([21],{198:function(n,e,t){"use strict";function o(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function i(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?n:e}function ...
src/index.html.js
fdecampredon/hackathon
import React from 'react'; export default function createHTML(stats) { stats = stats.toJson(); let main = stats.assetsByChunkName.main; return ( '<!DOCTYPE html>' + React.renderToString( <html> <head> <meta name="format-detection" content="telephone=no" /> <meta name="ms...
docs/src/pages/demos/tables/SpanningTable.js
Kagami/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import TableCell from '@material-ui/core/TableCell'; import TableHead from '@material-ui/core/TableHead'...
docs/src/app/pages/components/Toggle/ExampleToggleLoading.js
GetAmbassador/react-ions
import React from 'react' import Toggle from 'react-ions/lib/components/Toggle' class ExampleToggleLoading extends React.Component { constructor(props) { super(props) } state = { loading: false } handleChange = event => { this.setState({loading: true}) setTimeout(() =...
ajax/libs/forerunnerdb/1.3.509/fdb-core+persist.js
tonytomov/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...
ajax/libs/react/0.4.2/react.min.js
bdukes/cdnjs
/** * React v0.4.2 * * Copyright 2013 Facebook, Inc. * * 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 * * Unless required by applicabl...
src/index.js
lukastillmann/oeffimonitor
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
src/components/navigation.js
cosmowiki/cosmowiki
import React from 'react'; import Search from './search'; const Navigation = ({ appUrl }) => { return ( <div id="menus" className="pure-u-1 pure-u-lg-5-6"> <nav id="mobileMenu" className="pure-menu custom-restricted-width pure-u-1-6"> <a id="mobileMenuToggle" className="menu-link" href="#" title="N...
src/Spinner/examples.js
narqo/react-islands
import React from 'react'; import App from '../App'; import Spinner from './index.js'; import Button from '../Button'; class Example extends React.Component { constructor(props) { super(props); this.state = { progress: false, }; this.onButtonClick = this.onButtonClick...
frontend/component/CommentEditor.js
sijia-c/practice-node-project
import React from 'react'; import jQuery from 'jquery'; import {addTopic} from '../lib/client'; import {redirectURL} from '../lib/utils'; import MarkdownEditor from './MarkdownEditor'; export default class CommentEditor extends React.Component { constructor(props) { super(props); this.state = props.comment ...
ajax/libs/yui/3.3.0/event/event-min.js
boneskull/cdnjs
var GLOBAL_ENV=YUI.Env;if(!GLOBAL_ENV._ready){GLOBAL_ENV._ready=function(){GLOBAL_ENV.DOMReady=true;GLOBAL_ENV.remove(YUI.config.doc,"DOMContentLoaded",GLOBAL_ENV._ready);};GLOBAL_ENV.add(YUI.config.doc,"DOMContentLoaded",GLOBAL_ENV._ready);}YUI.add("event-base",function(e){e.publish("domready",{fireOnce:true,async:tru...
src/components/Search/Index.js
DarwinSmith/tentara-pelajar-client
import React, { Component } from 'react'; import List from './List.js' import Recomendation from './Recomendation.js' class Index extends Component { render() { return ( <div className="Index columns"> {/*<List />*/} {/*<Recomendation />*/} </div> ); } } export default Index;
src/Base/pages/Page404.js
jirkae/hobby_hub
import React from 'react'; const Page404 = () => { return ( <div className="homepage"> 404 </div> ); }; export default Page404;
node_modules/jslint/lib/jslint-latest.js
freakserv/cdn
// jslint.js // 2015-10-29 // Copyright (c) 2015 Douglas Crockford (www.JSLint.com) // 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 ...
app/index.js
aaroncox/vessel
import React from 'react'; import { render } from 'react-dom'; import AppProvider from './app'; render( <AppProvider />, document.getElementById('root') );
tests/Rules-isAlphanumeric-spec.js
track0x1/formsy-react
import React from 'react'; import TestUtils from 'react-dom/test-utils'; import Formsy from './..'; import { InputFactory } from './utils/TestInput'; const TestInput = InputFactory({ render() { return <input value={this.props.getValue()} readOnly/>; } }); class TestForm extends React.Component { render() {...
src/components/Resume/Skills/SkillBar.js
karajrish/karajrish.github.io
import React from 'react'; import PropTypes from 'prop-types'; const SkillBar = ({ data, categories }) => { const { category, competency, title } = data; // TODO: Consider averaging colors const titleStyle = { background: categories .filter((cat) => category.includes(cat.name)) .map((cat) => cat...
src/svg-icons/image/timer-off.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTimerOff = (props) => ( <SvgIcon {...props}> <path d="M19.04 4.55l-1.42 1.42C16.07 4.74 14.12 4 12 4c-1.83 0-3.53.55-4.95 1.48l1.46 1.46C9.53 6.35 10.73 6 12 6c3.87 0 7 3.13 7 7 0 1.27-.35 2.47-.94 3.49l1....
js/jquery.js
mburnejko/website
/*! 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...
src/layouts/CoreLayout.js
liuminosity/dage
import React from 'react'; import 'styles/core.scss'; export default class CoreLayout extends React.Component { static propTypes = { children : React.PropTypes.element } constructor () { super(); } render () { return ( <div className='page-container'> <div className='view-containe...
src/components/EditBox.js
mirman-school/my-schedule
import React from "react"; import { Button, Popup, Input } from 'semantic-ui-react'; export default class EditBox extends React.Component { render(){ var myId = "edit-" + this.props.id + "-text"; var content = ( <div> <Input focus placeholder={this.props.fillerText} id=...
app/js/sign-up/views/_recovery-information.js
blockstack/blockstack-browser
/** * Recovery information failed * * This screen is only shown if the emails we are sending failed to send. */ import React from 'react' import { ShellScreen, Type, Shell } from '@blockstack/ui' import PropTypes from 'prop-types' class RecoverInformationScreen extends React.Component { render() { const { ...
app/javascript/mastodon/features/hashtag_timeline/index.js
res-ac/mstdn.res.ac
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader from '../../components/column_header'; import { expandHashtagTimeline } from '...