path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/components/ConfigModal.js | google/stijl | // Copyright 2016 Google 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 or agreed to in ... |
src/components/invest/InvestForm.js | oraclesorg/ico-wizard | import React from 'react'
import { inject, observer } from 'mobx-react'
import { Field, FormSpy } from 'react-final-form'
import { INVESTMENT_OPTIONS } from '../../utils/constants'
import { InputField2 } from '../Common/InputField2'
import { composeValidators, isDecimalPlacesNotGreaterThan, isRequired } from '../../uti... |
src/redux/utils/createDevToolsWindow.js | tiengtinh/react-redux-animated-posts | import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import DevTools from '../../containers/DevToolsWindow'
export default function createDevToolsWindow (store) {
const win = window.open(
null,
'redux-devtools', // give it a name so it reuses the same window
`... |
app/containers/HomePage.js | JumpingRock/react-sandbox-site | // @flow
import React, { Component } from 'react';
import Home from '../components/Home';
export default class HomePage extends Component {
render() {
return (
<Home />
);
}
}
|
docs/app/Examples/collections/Table/Variations/TableExampleVerticalAlign.js | ben174/Semantic-UI-React | import React from 'react'
import { Table } from 'semantic-ui-react'
const TableExampleVerticalAlign = () => {
return (
<Table striped>
<Table.Header>
<Table.Row>
<Table.HeaderCell>Name</Table.HeaderCell>
<Table.HeaderCell>Status</Table.HeaderCell>
<Table.HeaderCell>Not... |
node_modules/react-icons/md/loyalty.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const MdLoyalty = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m28.8 25.5c0.7-0.8 1.2-1.8 1.2-3 0-2.3-1.9-4.1-4.1-4.1-1.2 0-2.2 0.4-3 1.1l-1.3 1.3-1.1-1.3c-0.8-0.8-1.8-1.1-3-1.1-2.3 0-4.1 1.8-4.1 4.1 0 1.2 0.4 2.2 1.1 3l7.1 7.1z ... |
ajax/libs/mediaelement/2.8.2/jquery.js | zhangbg/cdnjs | /*!
* jQuery JavaScript Library v1.7
* 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.
*... |
test/specs/addons/Portal/Portal-test.js | koenvg/Semantic-UI-React | import React from 'react'
import { unmountComponentAtNode } from 'react-dom'
import { domEvent, sandbox } from 'test/utils'
import Portal from 'src/addons/Portal/Portal'
let attachTo
let wrapper
const wrapperMount = (node, opts) => {
wrapper = mount(node, opts)
return wrapper
}
describe('Portal', () => {
befo... |
fluxible-router/app.js | jeffreywescott/flux-examples | /**
* Copyright 2014, Yahoo! Inc.
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
import React from 'react';
import Fluxible from 'fluxible';
import Application from './components/Application';
import RouteStore from './stores/RouteStore';
import ApplicationStore from... |
pages/error/index.js | a76/eric | /**
* React Static Boilerplate
* https://github.com/kriasoft/react-static-boilerplate
*
* Copyright © 2015-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';
... |
Meteor_React_Udemy_Tut/employees/client/components/employee_detail.js | illuminos/Practice | import React from 'react';
const EmployeeDetail = ({employee})=>{
const {name, email, phone, avatar} = employee;
return(
<div className="thumbnail">
<img src={avatar}/>
<div className = "caption">
<h3>{name}</h3>
<ul className="list-group">
<li cl... |
node_modules/enzyme/src/MountedTraversal.js | taforyou/testtesttest-yo | import isEmpty from 'lodash/isEmpty';
import values from 'object.values';
import isSubset from 'is-subset';
import {
internalInstance,
nodeEqual,
nodeMatches,
propsOfNode,
isFunctionalComponent,
splitSelector,
selectorType,
isCompoundSelector,
AND,
SELECTOR,
nodeHasType,
nodeHasProperty,
} from ... |
src/svg-icons/navigation/chevron-left.js | mtsandeep/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NavigationChevronLeft = (props) => (
<SvgIcon {...props}>
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
</SvgIcon>
);
NavigationChevronLeft = pure(NavigationChevronLeft);
NavigationChevronLeft.dis... |
ajax/libs/yui/3.10.2/event-focus/event-focus.js | wmkcc/cdnjs | YUI.add('event-focus', function (Y, NAME) {
/**
* Adds bubbling and delegation support to DOM events focus and blur.
*
* @module event
* @submodule event-focus
*/
var Event = Y.Event,
YLang = Y.Lang,
isString = YLang.isString,
arrayIndex = Y.Array.indexOf,
useActivate = (function() {
... |
ajax/libs/babel-core/5.2.6/browser-polyfill.js | wout/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... |
stories/dashboard.js | bodiddlie/npk-ui | import React from 'react'
import { BrowserRouter, Link } from 'react-router-dom'
import { ThemeProvider } from 'styled-components'
import 'font-awesome/css/font-awesome.css'
import { Dashboard } from '../src'
import logo from './cog_logo.png'
export function Basic() {
return (
<BrowserRouter>
<Dashboard
... |
files/rxjs/2.4.1/rx.lite.js | ntd/jsdelivr | // 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... |
www/js/vendor/mediaelement/jquery.js | milankragujevic/beatzklaud | /*!
* 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... |
ui/src/js/password/resetPassword/SendRequest.js | Dica-Developer/weplantaforest | import axios from 'axios';
import counterpart from 'counterpart';
import he from 'he';
import React, { Component } from 'react';
import IconButton from '../../common/components/IconButton';
import InputText from '../../common/components/InputText';
import Notification from '../../common/components/Notification';
expor... |
src/skillskit/store/withStore.js | sprucelabsai/react-sprucebot | import React from 'react'
import {
createStore as createRedux,
applyMiddleware,
compose,
bindActionCreators,
combineReducers
} from 'redux'
import { Provider } from 'react-redux'
import thunk from 'redux-thunk'
import withRedux from 'next-redux-wrapper'
import coreActions from './actions'
import coreReducers from ... |
src/containers/navbar-container.js | meikooy/sotakuva-webapp | import React from 'react';
import {connect} from 'react-redux';
import Component from '../components/layout/navbar';
import {inputChange, search} from '../modules/global-search/actions';
import {getSearchText} from '../modules/global-search/selectors';
import {goTo, navigate} from '../modules/navigation/actions';
impor... |
web/js/app/Teamer.js | Andreas-Schoenefeldt/simple-courses | 'use strict'; // -- generated by app/static/jsx/app/Teamer.jsx --
// -- do not edit this file directly --
//
// this module handles the CRUD operations on course types
define(['react', 'react-dom', 'jquery', 'util/debug', 'util/messaging', 'data/Teamer', 'util/translator', 'util/Datatable', 'util/actions'... |
app/javascript/mastodon/features/blocks/index.js | kibousoft/mastodon | import React from 'react';
import { connect } from 'react-redux';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import LoadingIndicator from '../../components/loading_indicator';
import { ScrollContainer } from 'react-router-scroll-4';
import Column from '../ui/componen... |
01/Foo.js | razh/react-intro-fall-2015 | import React from 'react';
export default class Foo extends React.Component {
render() {
return <div>Foo</div>;
}
}
|
ajax/libs/inferno-compat/1.0.0-beta38/inferno-compat.min.js | seogi1004/cdnjs | !function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("./inferno-component"),require("./inferno")):"function"==typeof define&&define.amd?define(["exports","inferno-component","inferno"],e):e(n.Inferno=n.Inferno||{},n.Inferno.Component,n.Inferno)}(this,function(n,e,r){"use strict";functio... |
docs/src/sections/TableSection.js | dozoisch/react-bootstrap | import React from 'react';
import Anchor from '../Anchor';
import PropTable from '../PropTable';
import ReactPlayground from '../ReactPlayground';
import Samples from '../Samples';
export default function TableSection() {
return (
<div className="bs-docs-section">
<h2 className="page-header">
<Anc... |
app/scripts/components/report-linechart.js | hustbill/network-verification-ui | import React from 'react';
import { connect } from 'react-redux';
import LineChart from 'react-linechart';
import '../../styles/styles.css';
import {
toggleTroubleshootingMenu,
resetLocalViewState,
clickDownloadGraph
} from '../actions/app-actions';
class ReportChart extends React.Component {
constructor(prop... |
test/fixtures/example-app/Tile/Tile.js | zaptree/pyradux | import React from 'react';
import {connect} from 'react-redux';
import Restaurant from './Restaurant';
import Movie from './Movie';
class App extends React.Component{
changeUserName(){
const { username } = this.props;
const action = {
type: 'SET_USERNAME',
value: username === 'bob' ? 'nick': 'bo... |
ajax/libs/rx-player/2.0.0-alpha5/rx-player.js | cdnjs/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["RxPlayer"] = factory();
else
root["RxPl... |
application/components/Button.js | chriteixeira/sample-react-native-firebase-app | 'use strict';
import React, { Component } from 'react';
import ReactNative, {
StyleSheet,
Text,
View,
TouchableHighlight
} from 'react-native';
const styles = require('../styles/styles.js')
class Button extends Component {
render() {
return (
<View style={styles.button}>
... |
test/js/AR/arHitTest.js | viromedia/viro | /**
* Copyright (c) 2017-present, Viro Media, 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.
*/
import Re... |
WebSite/WebSiteTechnics/bootstrap-site/CSS · Bootstrap_fichiers/jquery.js | RopiMons/RopiDocs | /*! 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... |
src/section.js | xorkevin/stratosphere | import React from 'react';
import Container from 'container';
class Section extends React.Component {
render(){
let id = "";
if(this.props.id){
id = this.props.id;
}
if(this.props.container){
return <section id={id}>
<Container padded={this.props.padded}>
{ this.props.s... |
actor-apps/app-web/src/app/components/modals/AppCacheUpdate.react.js | lstNull/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/components/search_bar.js | Skytim/YoutubeReact | import React, { Component } from 'react';
class SearchBar extends React.Component {
constructor(props) {
super(props);
this.state = { term: '' };
}
render() {
return (
<div className="search-bar">
<input
value={this.state.term}
... |
src/components/TiltEffect/TiltEffect.js | deslee/deslee-static-isomorphic | import React, { Component } from 'react';
import styles from './TiltEffect.extra.css';
import withStyles from '../../decorators/withStyles';
import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';
import fulltilt from './fulltilt'
import GyroNorm from 'gyronorm';
function mouseMove(e) {
var containers = document.... |
examples/05 Customize/Handles and Previews/Container.js | numso/react-dnd | import React, { Component } from 'react';
import { DragDropContext } from 'react-dnd';
import HTML5Backend from 'react-dnd/modules/backends/HTML5';
import BoxWithImage from './BoxWithImage';
import BoxWithHandle from './BoxWithHandle';
@DragDropContext(HTML5Backend)
export default class Container extends Component {
... |
packages/react-instantsearch-dom/src/components/__tests__/Menu.js | algolia/react-instantsearch | import React from 'react';
import renderer from 'react-test-renderer';
import Enzyme, { mount } from 'enzyme';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
import Link from '../Link';
import Menu from '../Menu';
Enzyme.configure({ adapter: new Adapter() });
jest.mock('../../widgets/Highlight', () => () =... |
node_modules/react-icons/md/gps-fixed.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const MdGpsFixed = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m20 31.6q4.8 0 8.2-3.4t3.4-8.2-3.4-8.2-8.2-3.4-8.2 3.4-3.4 8.2 3.4 8.2 8.2 3.4z m14.9-13.2h3.5v3.2h-3.5q-0.5 5.3-4.3 9t-9 4.3v3.5h-3.2v-3.5q-5.3-0.5-9-4.3t-4.3-9h-3.... |
ajax/libs/react-highcharts/3.0.0/index.js | dlueth/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["Highcharts"] = fact... |
static/src/components/Modals/AddAccount.js | tferreira/piggydime | import React from 'react'
import { FormattedMessage, injectIntl } from 'react-intl'
import Dialog from 'material-ui/Dialog'
import FlatButton from 'material-ui/FlatButton'
import FloatingActionButton from 'material-ui/FloatingActionButton'
import DatePicker from 'material-ui/DatePicker'
import ContentAdd from 'material... |
ajax/libs/forerunnerdb/1.3.475/fdb-legacy.js | brix/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... |
stories/examples/CardAlignment.js | reactstrap/reactstrap | import React from 'react';
import { Card, Button, CardTitle, CardText } from 'reactstrap';
const Example = (props) => {
return (
<div>
<Card body>
<CardTitle tag="h5">Special Title Treatment</CardTitle>
<CardText>With supporting text below as a natural lead-in to additional content.</CardTe... |
src/components/Spinner.js | vieiralucas/reakedex | import React from 'react';
const Spinner = () => (
<div className="spinner">
<div className="bounce1"></div>
<div className="bounce2"></div>
<div className="bounce3"></div>
</div>
);
export default Spinner;
|
stories/MUI/forms/formBaseControls.stories.js | VulcanJS/Vulcan | import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
// import { linkTo } from '@storybook/addon-links';
import { Components } from 'meteor/vulcan:core';
import 'meteor/vulcan:forms';
import { withKnobs, boolean } from '@storybook/addon-knobs';
con... |
src/components/App.js | aibolik/my-todomvc | import React from 'react'
import { browserHistory, Router } from 'react-router'
import { Provider } from 'react-redux'
import PropTypes from 'prop-types'
class App extends React.Component {
static propTypes = {
store: PropTypes.object.isRequired,
routes: PropTypes.object.isRequired,
}
shouldComponentUpd... |
ajax/libs/aui/5.4.1/aui/js/aui-dependencies.js | sparkgeo/cdnjs | !function(a,b){function c(a){var b=ob[a]={};return $.each(a.split(bb),function(a,c){b[c]=!0}),b}function d(a,c,d){if(d===b&&1===a.nodeType){var e="data-"+c.replace(qb,"-$1").toLowerCase();if(d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:pb.test(d)?$.parseJSON(d)... |
src/svg-icons/image/movie-filter.js | manchesergit/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageMovieFilter = (props) => (
<SvgIcon {...props}>
<path d="M18 4l2 3h-3l-2-3h-2l2 3h-3l-2-3H8l2 3H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4zm-6.75 11.25L10 18l-1.25-2.75L6 14l2.7... |
ajax/libs/react-autosuggest/3.7.4/autosuggest.js | kennynaoh/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("React"));
else if(typeof define === 'function' && define.amd)
define(["React"], factory);
else if(typeof exports === 'object')
exports["Autosuggest"] = fac... |
files/rxjs/3.0.0/rx.lite.js | AdityaManohar/jsdelivr | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'function': true,
'object': true
};
var
freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && expo... |
web/src/main/webapp/WEB-INF/static/comp/zTree/js/jquery-1.4.4.min.js | luowei/es | /*!
* jQuery JavaScript Library v1.4.4
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/parser/ui/DistanceRadar.js | yajinni/WoWAnalyzer | import React from 'react';
import PropTypes from 'prop-types';
import { formatNumber } from 'common/format';
import { Tooltip } from 'interface';
import DistanceRadarRing from './DistanceRadarRing';
const Radar = ({ distance, size, style, playerColor }) => {
const pixelsPerYard = size / 40;
return (
<div
... |
analysis/monkbrewmaster/src/modules/spells/BreathOfFire.js | anom0ly/WoWAnalyzer | import { t } from '@lingui/macro';
import { formatPercentage } from 'common/format';
import SPELLS from 'common/SPELLS';
import { SpellLink } from 'interface';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import Events from 'parser/core/Events';
import Enemies from 'parser/shared/modules/Enemies';
... |
my-app/src/index.js | obb12/seinataulu | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register()... |
ajax/libs/js-data/2.2.0/js-data.js | kiwi89/cdnjs | /*!
* js-data
* @version 2.2.0 - Homepage <http://www.js-data.io/>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Robust framework-agnostic data store.
*/
(function webpackUniversalModul... |
test/BadgeSpec.js | egauci/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import ReactDOM from 'react-dom';
import Badge from '../src/Badge';
describe('Badge', () => {
it('Should output a badge with content', () => {
let instance = ReactTestUtils.renderIntoDocument(
<Badge>
<strong>Content... |
src/SplitButton.js | kwnccc/react-bootstrap | /* eslint react/prop-types: [2, {ignore: "bsSize"}] */
/* BootstrapMixin contains `bsSize` type validation */
import React from 'react';
import classNames from 'classnames';
import BootstrapMixin from './BootstrapMixin';
import DropdownStateMixin from './DropdownStateMixin';
import Button from './Button';
import Butto... |
client/modules/core/components/main_layout.js | mantrajs/mantra-sample-blog-app | import React from 'react';
import Navigation from './navigation';
const Layout = ({content = () => null }) => (
<div>
<header>
<h1>Mantra Voice</h1>
<Navigation />
</header>
<div>
{content()}
</div>
<footer>
<small>Built with <a href='https://github.com/kadirahq/mantra'>Mantra</... |
frontend/myblog/src/account/index.js | shady831213/myBlog | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import Button from 'material-ui/Button';
import { MenuList } from 'material-ui/Menu';
import Grow from 'material-ui/transitions/Grow';
import Paper from 'material-ui/Paper';
import { withStyles } from 'material-ui/styles... |
docs-ui/components/colors.stories.js | ifduyue/sentry | import React from 'react';
import {storiesOf} from '@storybook/react';
import {withInfo} from '@storybook/addon-info';
import styled from 'react-emotion';
import {Flex} from 'grid-emotion';
import theme from 'app/utils/theme';
storiesOf('Colors', module).add(
'Default',
withInfo('Top level colors')(() => {
co... |
src/components/SiteFooter/SiteFooter.js | tabulatech/tabula-web | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
// import { setLanguage } from 'redux-i18n';
import styles from './SiteFooter.scss'; // eslint-disable-line
// import { fae }
// import styles from './Team.scss'; // eslint-disable-line
class SiteFoote... |
src/containers/Asians/Published/BreakRounds/index.js | westoncolemanl/tabbr-web | import React from 'react'
import { connect } from 'react-redux'
import PublishedBreakRound from 'containers/Asians/_components/PublishedBreakRound'
import ViewMatchUps from './ViewMatchUps'
import NoMatchUps from './NoMatchUps'
export default connect(mapStateToProps)(({
breakRounds,
breakRooms,
match,
tournam... |
files/core-js/0.9.5/core.js | Metrakit/jsdelivr | /**
* Core.js 0.9.5
* 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 = {};
/******... |
app/components/vultask/CreateTask.js | superhuahua/xunfengES | import React from 'react';
import { Modal, Button, Transfer, Input, Form, Icon, notification } from 'antd';
import axios from 'axios';
const FormItem = Form.Item;
class CreateTask extends React.Component{
constructor(props){
super(props);
this.state = {
visible: false,
tar... |
src/QuickBooksOnlineAccessAuthExample/Scripts/jquery-1.8.2.js | rachmann/qboAccess | /* NUGET: BEGIN LICENSE TEXT
*
* Microsoft grants you the right to use these script files for the sole
* purpose of either: (i) interacting through your browser with the Microsoft
* website or online service, subject to the applicable licensing or use
* terms; or (ii) using the files as included with a Microsoft ... |
programming/php/laravel/resources/assets/js/bootstrap.js | at-ishikawa/samples |
window._ = require('lodash');
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features such as modals and tabs. This
* code may be modified to fit the specific needs of your application.
*/
window.$ = window.jQuery = require('jquery');
require('boot... |
webpack/containers/Application/Menu.js | stbenjam/katello | import React from 'react';
import { Route } from 'react-router-dom';
import { DropdownKebab, MenuItem } from 'patternfly-react';
import { links } from './config';
const dropDownItems = links.map(({ text, path }) => (
<Route
key={path}
render={({ history }) => (
<MenuItem
onClick={() => {
... |
DecibelVV/scripts/jquery.min.js | sharat543/sharat543.github.io | /*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc... |
ajax/libs/6to5/2.4.1/browser.js | wmkcc/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return... |
src/index.js | watsonink/obscure-harbor-78183 | import React from 'react';
import ReactDOM from 'react-dom';
import App from './app/App';
import DevTools from './DevTools';
import { Provider } from 'react-redux';
import configureStore from './configureStore';
const store = configureStore();
let Root;
if (process.env.NODE_ENV === 'development') {
Root = () => (
... |
.storybook/components/TextInputStory.js | hellobrian/carbon-components-react | import React from 'react';
import { action, storiesOf } from '@storybook/react';
import TextInput from '../../components/TextInput';
const TextInputProps = {
className: 'some-class',
id: 'test2',
labelText: 'Text Input',
onClick: action('onClick'),
onChange: action('onChange'),
placeholder: 'Hint text here... |
app/javascript/mastodon/features/explore/suggestions.js | cobodo/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import AccountCard from 'mastodon/features/directory/components/account_card';
import LoadingIndicator from 'mastodon/components/loading_indicator';
import { connect } from 'react-redux';
import { ... |
courses/react-course/src/Containers/Layout/components/UserItem/UserItem.js | Zengineers/Academy | import React from 'react';
import './user-item.css';
const UserItem = (props) => {
/**
* return {string}
*/
const handleName = () => {
const { user: { name: { first, last } } } = props;
const userNameArr = [];
if(first) userNameArr.push(first);
if(last) userNameArr.push(last);
return userNameArr.join('... |
ajax/libs/yasqe/2.0.1/yasqe.bundled.min.js | vuonghuuphuc/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,r,i)... |
react-client/src/components/LocoMap.js | rc-locos/rc-locos | import React from 'react';
import PureRenderMixin from 'react-addons-pure-render-mixin';
import {connect} from 'react-redux';
import {Map, Marker, InfoWindow, GoogleApiWrapper} from 'google-maps-react';
import {List} from 'immutable';
import InfoWindow2 from './InfoWindow';
import * as actions from '../actions';
ex... |
src/pages/_layouts/DefaultLayout.js | guloggratis/zoria | import React from 'react';
import {Style} from '../../components';
const propTypes = {
title : React.PropTypes.string
};
const defaultProps = {
title : "no title given"
};
export class DefaultLayout extends React.Component {
render() {
return (
<html lang='da'>
<head>
<meta charset='UTF-8'/>
<tit... |
client/app/containers/RoutePage/index.js | katharosada/bus-shaming | import React from 'react';
import { connect } from 'react-redux';
import { compose } from 'redux';
import {
loadRoute,
} from './actions';
function RouteDisplay(props) {
const route = props.route;
return <div>
<h1>Bus route { route.get('short_name') }</h1>
<p>{ route.get('long_name') }</p>
<p>{ rout... |
ajax/libs/forerunnerdb/1.3.823/fdb-all.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... |
chapter-10/todo_react_motion/src/index.js | mocheng/react-and-redux | import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-redux';
import TodoApp from './TodoApp';
import store from './Store.js';
ReactDOM.render(
<Provider store={store}>
<TodoApp />
</Provider>,
document.getElementById('root')
);
|
files/jquery/1.9.1/jquery-1.9.1.min.js | Heark/jsdelivr | /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery.min.map
*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return... |
src/routes/SkillList/components/SkillList.js | BigBlueDot/SMT4AEncyclopedia | /**
* Created by bigbl on 2/26/2017.
*/
import React from 'react';
import skill from '../../../data/skill.json';
import Griddle from 'griddle-react';
import { Link } from 'react-router';
const columnMetadata = [{
columnName: "SkillName",
displayName: "SkillName",
sortable: true,
},{
columnName: "SkillType",
... |
app/javascript/mastodon/features/ui/components/modal_loading.js | anon5r/mastonon | import React from 'react';
import LoadingIndicator from '../../../components/loading_indicator';
// Keep the markup in sync with <BundleModalError />
// (make sure they have the same dimensions)
const ModalLoading = () => (
<div className='modal-root__modal error-modal'>
<div className='error-modal__body'>
... |
src/svg-icons/device/gps-fixed.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceGpsFixed = (props) => (
<SvgIcon {...props}>
<path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.1... |
packages/material-ui-icons/src/ScoreTwoTone.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="M5 19h8l-4-4z" opacity=".3" /><path d="M5 16.5l4-4 4 4 6-6V5H5v11.5zM12 6h1.5v3l2-3h1.7l-2 3 2 3h-1.7l-2-3v3H12V6zM7 8.25h2.5V7.5H7V6h4v3.75H... |
packages/icons/src/md/editor/Title.js | suitejs/suitejs | import React from 'react';
import IconBase from '@suitejs/icon-base';
function MdTitle(props) {
return (
<IconBase viewBox="0 0 48 48" {...props}>
<polygon points="10 9 10 15 21 15 21 39 27 39 27 15 38 15 38 9" />
</IconBase>
);
}
export default MdTitle;
|
src/DatePicker/components/DatePicker.js | jmcriffey/react-ui | import React from 'react';
import {
BLUR_DELAY_MS,
debounce,
getClassName,
noop
} from '../../utils';
import Calendar from './Calendar';
class DatePicker extends React.Component {
constructor(...args) {
super(...args);
const today = this.getToday();
this.state = {
... |
src/components/Todo/Todo.js | epicsharp/react-boilerplate | import React, { PropTypes, Component } from 'react'
import { ListGroupItem } from 'react-bootstrap'
import {} from './Todo.scss'
class Todo extends Component {
constructor () {
super()
this.onClick = this.onClick.bind(this)
}
onClick (e) {
this.props.onClick(this.props.id)
}
render () {
re... |
src/containers/views/ThemeManifest.js | ashmaroli/jekyll-admin | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import _ from 'underscore';
import DocumentTitle from 'react-document-title';
import { fetchTheme } from '../../ducks/the... |
node_modules/rc-echarts/example/bar/index.js | wiflsnmo/react_study2 | import React, { Component } from 'react';
import Chart from '../../src';
export default class App extends Component {
render() {
const options = {
title : {
text: '某地区蒸发量和降水量',
subtext: '纯属虚构'
},
tooltip : {
trigger: 'axis'
},
legend: {
data:... |
ajax/libs/angular.js/0.10.3/angular-scenario.js | icco/cdnjs | /*!
* jQuery JavaScript Library v1.6.4
* 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.
... |
assets/node_modules/material-ui/lib/svg-icons/hardware/speaker.js | migzisreallywewwhat/techno-site | 'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var HardwareSpeaker = React.createClass({
displayName: 'HardwareSpeaker',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
... |
mobile/components/app/NavigationBar.js | MatthieuLemoine/open-image-feed | import React, { Component } from 'react';
import { View } from 'react-native';
import ToolbarContainer from '../../containers/app/ToolbarContainer';
const withNavigationBar = (Wrapped, hide) =>
class WithNavigationBar extends Component { // (1)
static renderNavigationBar() {
return hide ? <View /> :... |
pages/less.js | Cspeisman/cspeisman.github.io | import React from 'react'
import './example.less'
import DocumentTitle from 'react-document-title'
import { config } from 'config'
export default class Less extends React.Component {
render () {
return (
<DocumentTitle title={`${config.siteTitle} | Hi lessy friends`}>
<div>
<h1
... |
app/javascript/mastodon/features/ui/components/modal_root.js | MastodonCloud/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import Base from '../../../components/modal_root';
import BundleContainer from '../containers/bundle_container';
import BundleModalError from './bundle_modal_error';
import ModalLoading from './modal_loading';
import ActionsModal from './actions_modal';
imp... |
src/routes.js | zhouxuanpo/Big-Demo | import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from './App.js';
import Home from './components/Home/Home.js';
import About from './components/About/About.js';
import GithubInfo from './components/GithubInfo/GithubInfo.js';
import Blog from './components/Blog/Blog.js';
import Sk... |
docs/components/HomePage/index.js | collegepulse/material-react-components | import CodeFormatter from '../CodeFormatter';
import React from 'react';
import Typography from '../../../src/Typography';
function Base() {
return (
<div>
<Typography
component="p"
type="title"
>
Installation
</Typography>
<CodeFormatter code="npm install material... |
ajax/libs/preact/5.0.0-beta2/preact.dev.js | sashberd/cdnjs | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.preact = global.preact || {})));
}(this, function (exports) { 'use strict';
function VNode(nodeName, attri... |
modules/components/CalendarPlan.js | SomethingSexy/react-planner | import React, { Component } from 'react';
import RND from 'react-rnd';
const resize = {
// top: true,
bottom: true
};
const style = {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
border: 'solid 1px #ddd',
background: '#f0f0f0',
};
const grid = [50, 50];
class CalendarItem... |
docs/src/app/components/pages/components/SelectField/ExampleSimple.js | xmityaz/material-ui | import React from 'react';
import SelectField from 'material-ui/SelectField';
import MenuItem from 'material-ui/MenuItem';
const styles = {
customWidth: {
width: 150,
},
};
export default class SelectFieldExampleSimple extends React.Component {
constructor(props) {
super(props);
this.state = {value... |
draft-js-counter-plugin/src/LineCounter/__test__/index.js | koaninc/draft-js-plugins | import React from 'react';
import { mount } from 'enzyme';
import { expect } from 'chai';
import { EditorState, ContentState } from 'draft-js';
import createCounterPlugin from '../../index';
describe('CounterPlugin Line Counter', () => {
const createEditorStateFromText = (text) => {
const contentState = ContentS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.