target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
html.js
frontendyteam/www.frontendy.com
import React from 'react' import DocumentTitle from 'react-document-title' import { prefixLink } from 'gatsby-helpers' import { TypographyStyle, GoogleFont } from 'react-typography' import typography from './utils/typography' const BUILD_TIME = new Date().getTime() module.exports = React.createClass({ propTypes ()...
ajax/libs/react-inlinesvg/0.5.1/react-inlinesvg.min.js
holtkamp/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;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.ReactInlineSVG=e()}}(function(){return function e(t,n,r...
docs/src/examples/modules/Checkbox/States/index.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Message } from 'semantic-ui-react' import ComponentExample from 'docs/src/components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/src/components/ComponentDoc/ExampleSection' const CheckboxStatesExamples = () => ( <ExampleSection title='States'> <ComponentExa...
app/components/MyProfileBox/index.js
yoohan-dex/myBlog
/** * * MyProfileBox * */ import React from 'react'; import styles from './styles.css'; function MyProfileBox() { return ( <div className={styles.myProfileBox}> </div> ); } export default MyProfileBox;
web/index.js
mrcnc/spatialconnect-server
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware, combineReducers } from 'redux'; import thunk from 'redux-thunk'; import { createLogger } from 'redux-logger'; import { Router, Route, IndexRoute, browserHistory } from 'react-rou...
views/ios/main.js
MervynFang/playwithreactnative
/** * @Author: MervynFang * @Date: 2016,May,01 18:08:02 * @Last modified by: Mervyn * @Last modified time: 2016,Aug,01 01:17:14 */ import React, { Component } from 'react'; import { StyleSheet, Text, View, Alert, ScrollView, Image, Platform, ToastAndroid, TouchableHighlight, TouchableOpacity }...
containerComponents/src/PersonList.js
wandarkaf/React-Bible
import React, { Component } from 'react'; class PersonList extends Component { render() { return <ul>{this.props.people.map(this.renderPerson)}</ul> } renderPerson(person) { return <li key={person.sha1}>{person.name.first} {person.name.last}</li> } } export default PersonList;
src/js/schedule-app/components/filters/index.js
DevFestNordeste/ne.devfest.com.br
import React from 'react'; import Popover from 'react-popover'; export const FilterCheckbox = ({ checked, onChange, label, ...props }) => ( <label className="schedule_category" { ...props }> <input checked={checked} type="checkbox" onChange={onChange} /> {` ${label}`} </label> ) expo...
ajax/libs/js-data/2.2.3/js-data.js
jdh8/cdnjs
/*! * js-data * @version 2.2.3 - 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...
ajax/libs/can.js/4.0.0-pre.3/can.all.min.js
seogi1004/cdnjs
!function(e,t,n){var i=t.define,a=function(e){var n,i=e.split("."),a=t;for(n=0;n<i.length&&a;n++)a=a[i[n]];return a},r=function(e,n){var i,a,r,o=e.split("."),s=t;for(i=0;i<o.length-1;i++)(r=s[a=o[i]])||(r=s[a]={}),s=r;s[a=o[o.length-1]]=n},o=function(e){if(!e||!e.__esModule)return!1;var t={__esModule:!0,default:!0};for...
ajax/libs/react-router/0.9.0/react-router.min.js
ppoffice/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.ReactRouter=e()}}(function(){var define;return functi...
ajax/libs/jquery.fancytree/2.8.1/jquery.fancytree-all.js
maruilian11/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.8.1 * @dat...
pages/secret.js
jayzehngebot/dod3
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import React, { Component } from 'react'; export default class extends Component { render() { return ( <div> <h1>secret</h1> <p>123</p> ...
files/react/0.10.0/JSXTransformer.js
dnbard/jsdelivr
/** * JSXTransformer v0.10.0 */ !function(e){if("object"==typeof exports)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.JSXTransformer=e()}}(function(){var define,module,...
src/containers/EventListContainer.js
chrisfitkin/cf-event-planner-3
import { connect } from 'react-redux' import { toggleEvent } from '../actions' import EventList from '../components/EventList' const getVisibleEvents = (events, filter) => { events.sort(function(a, b){ return b.id-a.id }) switch (filter) { case 'SHOW_ALL': return events case 'SHOW_FAVORITE': ...
app/components/admin/step5/before.js
7hci/surfboard
import React from 'react'; import { Page, InputGroupCheckbox } from '../../shared/index'; const Step5Before = (props) => { const { tasks, spinner, handleClickSkip, handleClickStart } = props; return ( <Page model="form.onboarding" content={ <div className="card-block"> {tasks.map(...
ajax/libs/primereact/7.0.0/selectbutton/selectbutton.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames, ObjectUtils } from 'primereact/utils'; import { Ripple } from 'primereact/ripple'; import { tip } from 'primereact/tooltip'; function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Arr...
nailgun/static/views/controls.js
huntxu/fuel-web
/* * Copyright 2014 Mirantis, 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 ...
src/components/views/settings/ChangeDisplayName.js
aperezdc/matrix-react-sdk
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2018 New Vector Ltd 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 la...
test/CollapsibleNavSpec.js
adampickeral/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Navbar from '../src/Navbar'; import CollapsibleNav from '../src/CollapsibleNav'; import Nav from '../src/Nav'; import NavItem from '../src/NavItem'; describe('CollapsibleNav', function () { it('Should create div and add collapse...
src/Slider/testkit/Slider.js
skyiea/wix-style-react
import React from 'react'; import ReactDOM from 'react-dom'; import ReactTestUtils from 'react-dom/test-utils'; import $ from 'jquery'; import Slider from '../Slider'; const sliderDriverFactory = component => { const $component = $(component); const $sliderHandles = $(component).find('.slider-handle'); const $sl...
frontend/app_v2/src/common/icons/UnfoldMore.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' /** * @summary UnfoldMore * @component * * @param {object} props * * @returns {node} jsx markup */ function UnfoldMore({ styling }) { return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" className={styling}> <path d="M0 0h24...
curator-web/src/js/components/common/filmBubble.js
rajeshnaroth/curator
import React from 'react' import { Link } from 'react-router' import Title from './title' import Ratings from './ratings' import Views from './views' import Description from './description' import { getVideoDetails } from '../../actions' const FilmBubble = React.createClass({ componentWillMount: function() { //t...
api/index.js
IniZio/USTFetch
import React from 'react' import { AsyncStorage } from 'react-native' import io from 'socket.io-client' const SERVER_URL = 'http://192.168.31.144' // const SERVER_URL = 'http://10.89.80.125' // const SERVER_URL = 'http://10.89.151.157' export const SOCKET_URL = `${SERVER_URL}:8081` const API_URL = `${SERVER_URL}:8080...
src/components/about.js
jorgerobles/LaserWeb4
/** * About module. * @module */ // React import React from 'react' import { ButtonToolbar, Button } from 'react-bootstrap' import Icon from './font-awesome' /** * About component. * * @extends module:react~React~Component * @param {Object} props Component properties. */ class About extends React.Component { ...
src/CollapsibleMixin.js
Cellule/react-bootstrap
import React from 'react'; import TransitionEvents from './utils/TransitionEvents'; const CollapsibleMixin = { propTypes: { defaultExpanded: React.PropTypes.bool, expanded: React.PropTypes.bool }, getInitialState(){ let defaultExpanded = this.props.defaultExpanded != null ? this.props.default...
packages/material-ui-icons/src/PowerOffSharp.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="M18 14.49V9c0-1.1-.9-2-2-2V3h-2v4h-3.88l7.69 7.69.19-.2zM10 3H8v1.88l2 2zM4.12 3.84L2.71 5.25l3.34 3.34c-.03.13-.05.27-.05.4v5.51L9.5 18v3h5v...
Pillion_nik/Pillion_files/jquery.min.js
nikz99/sample
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
app/components/PocketOverview.js
thirdicrypto/darkwallet-electron-ui
import React, { Component } from 'react'; import SendFormSimple from './SendFormSimple'; import StealthAddress from './StealthAddress'; import PendingPayments from './PendingPayments'; export default class PocketOverview extends Component { render() { return ( <div className="columns"> <SendFormSimple /> <Pendin...
template/app/components/clicker/index.js
andreasrs/roc-base-web-react
import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { click } from '../../redux/clicker'; import styles from './style.scss'; function mapStateToProps(state) { return { clicker: state.clicker }; } function mapDispatchToProps(dispatch) {...
frontend/src/screens/selection-viewer/selection-viewer.js
linea-it/qlf
import React from 'react'; import Paper from '@material-ui/core/Paper'; import { withStyles } from '@material-ui/core/styles'; import PropTypes from 'prop-types'; import Petals from '../../components/petals/petals'; import Radio from '@material-ui/core/Radio'; import RadioGroup from '@material-ui/core/RadioGroup'; impo...
docs/pages/components/image-list.js
lgollut/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'components/image-list'; const requireDemo = require.context('docs/src/pages/components/image-list', false, /\.(js|tsx)$/); const ...
frontend/src/DiscoverMovie/DiscoverMovieFooterLabel.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import SpinnerIcon from 'Components/SpinnerIcon'; import { icons } from 'Helpers/Props'; import styles from './DiscoverMovieFooterLabel.css'; function DiscoverMovieFooterLabel(props) { const { className, label, isSaving } = props; return...
ui/kirk/src/Dashboard/index.js
socx/Kirk
import React from 'react' const Dashboard = (props) => ( <div> <h1>Dashboard</h1> <p>{console.log(props)}</p> </div> ) export default Dashboard
example/src/screens/Actions.js
luggit/react-native-navigation
import React from 'react'; import {StyleSheet, ScrollView} from 'react-native'; import Row from '../components/Row'; class Actions extends React.Component { constructor(props) { super(props); this._fab = false; this._rightButton = null; this._contextualMenu = false; this._...
definitions/npm/expo-camera_v4.x.x/flow_v0.104.x-/test_expo-camera.js
splodingsocks/FlowTyped
// @flow import React from 'react'; import { it, describe } from 'flow-typed-test'; import { Camera, Constants } from 'expo-camera'; describe('opaque props', () => { it('should passes when used properly', () => { <Camera type={Constants.Type.front} flashMode={Constants.FlashMode.off} autoFocus...
app/components/add-variable-button.js
BrackCurly/qwery-me
import React from 'react'; import Toggle from '../containers/toggle'; import ToggleButton from './toggle-button'; import VariableTypeSelect from './variable-type-select'; export default class AddVariableButton extends React.Component { render () { return ( <div className="add-variable-button"> <Tog...
node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
aspanu/threeSeaShells
/** * Copyright (c) 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. * * Facebook,...
pathfinder/architecturestack/src/Report.js
leanix/leanix-custom-reports
import React, { Component } from 'react'; import CommonQueries from './common/CommonGraphQLQueries'; import DataIndex from './common/DataIndex'; import Utilities from './common/Utilities'; import SelectField from './SelectField'; import Checkbox from './Checkbox'; import Legend from './Legend'; import Matrix from './Ma...
src/components/listen/soundPlayerContainer.js
cannoneyed/tmm-glare
import React from 'react' import { stopAllOther, addToPlayedStore } from './utils/audioStore.js' import { connect } from 'react-redux' import * as listenActions from 'src/core/listen' import { getNextUnlockedTrack } from 'src/core/selectors/listen' let { PropTypes, Component } = React class SoundPlayerContainer exte...
src/MixMenu/MixMenu.js
znewton/myxx-client
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import firebase from 'firebase/app'; import 'firebase/auth'; import 'firebase/database'; import './MixMenu.scss'; import Mix from './Mix/Mix.js'; import ClassNameBuilder from '../lib/ClassNameBuilder/ClassNameBuilder'; export defa...
admin/client/App/screens/Item/components/FooterBar.js
pr1ntr/keystone
import React from 'react'; import blacklist from 'blacklist'; import assign from 'object-assign'; var FooterBar = React.createClass({ propTypes: { style: React.PropTypes.object, }, getDefaultProps () { return { style: {}, }; }, getInitialState () { return { position: 'relative', width: 'auto', ...
packages/material-ui-icons/src/SettingsVoiceRounded.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="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm3.08-14c-.42...
app/main.js
longgame/koa-react-demo
import React from 'react'; import { render } from 'react-dom'; import { Router, Route, Link } from 'react-router'; import './styles/main.scss'; import Counter from './components/Counter'; import TodoList from './components/TodoList'; import About from './components/About'; import Navbar from './components/Navbar'; im...
src/components/AutoComplete/AutoCompleteList.js
mrc535s/react-autocomplete
import React from 'react'; import AutoCompleteListItem from './AutoCompleteListItem'; export default class AutoCompleteList extends React.Component { constructor(props) { super(props); } render() { const styles = { borderRight: 'solid 1px grey', borderLeft: 'solid 1px grey', borderBottom: 'solid 1px ...
lib-module/layout/DefaultLayout.js
turacojs/fody
import React from 'react'; import { Html, Head, Body } from './index'; export default (function (_ref) { var helmet = _ref.helmet, content = _ref.content; return React.createElement( Html, { helmet: helmet }, React.createElement(Head, { helmet: helmet }), React.createElement( Body, ...
third_party/seasocks/src/main/web/_jquery.min.js
FRC1296/CheezyDriver2016
/*! * jQuery JavaScript Library v1.5.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
client/comps/app.js
nko5/lisezmoi
import React from 'react' import { connect } from 'react-redux' import * as actions from '../action-creators' import Main from './main' import Sidebar from './sidebar' import About from './about' import End from './end' import Footer from './footer' const stateToProps = state => ({ userId: state.userId, users: sta...
modules/__tests__/serverRendering-test.js
andreftavares/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import createLocation from 'history/lib/createLocation' import RoutingContext from '../RoutingContext' import match from '../match' import Link from '../Link' describe('server rendering', function () { let App...
ajax/libs/rxjs/2.3.20/rx.compat.js
zhangbg/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...
js/App/Components/SensorDetails/SubViews/CalendarModalComponent.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or *...
src/components/Patterns/LeftPane/PatternsLeftPaneComponent.js
coolshare/ReactReduxStarterKit
import React from 'react'; import classNames from 'classnames'; import InfiniteTree from 'react-infinite-tree'; import 'react-infinite-tree/dist/react-infinite-tree.css'; import cs from '../../../services/CommunicationService' export default class PatternsLeftPane extends React.Component { tree = null; compon...
ajax/libs/video.js/5.0.0-rc.98/video.js
froala/cdnjs
/** * @license * Video.js 5.0.0-rc.98 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
app/scripts/components/DocsManagement/__tests__/Updater-test.js
andela-ekupara/DcManFrontEnd
import React from 'react'; import expect from 'expect'; import sinon from 'sinon'; import {mount,shallow} from 'enzyme'; import * as DocActions from '../../../actions/DocumentActions'; import DocStore from '../../../stores/DocumentStore'; import Updater from '../Updater.jsx'; describe('Document Update Component Tests'...
introToDynamicHTML/bower_components/backbone/backbone.js
sidathgithub/screencasts
// Backbone.js 1.1.2 // (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(root, factory) { // Set up Backbone appropriately for ...
ajax/libs/yui/3.4.0/yui/yui-debug.js
wackyapples/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
application/ui/pages/login.js
areida/spacesynter
'use strict'; import React from 'react'; import Button from '../components/buttons/button'; class Login extends React.Component { constructor(props) { super(props); this.state = { loggedIn : props.flux.store('Token').isLoggedIn() }; } componentDidMount() { ...
app/javascript/mastodon/containers/timeline_container.js
verniy6462/mastodon
import React from 'react'; import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { hydrateStore } from '../actions/store'; import { IntlProvider, addLocaleData } from 'react-intl'; import { getLocale } from '../locales'; import PublicTim...
data-browser-ui/public/app/components/tableComponents/td/listComponents/genericAddToList.js
CloudBoost/cloudboost
import React from 'react'; import ReactDOM from 'react-dom'; import Dropzone from 'react-dropzone'; import SelectRelation from '../relationComponents/selectRelation.js' import FilePicker from '../filePicker' class GenericAddToList extends React.Component { constructor(){ super() this.state = { isOpenSelect:fal...
src/svg-icons/image/blur-off.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBlurOff = (props) => ( <SvgIcon {...props}> <path d="M14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm-.2 4.48l.2.02c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5l.02.2c.09.67.61 1.19 1.28 1.2...
public/js/components/trends/TrendContainer.react.js
MadushikaPerera/Coupley
import React from 'react'; import List from 'material-ui/lib/lists/list'; import Divider from 'material-ui/lib/divider'; import TextField from 'material-ui/lib/text-field'; import TrendsStore from '../../stores/TrendsStore'; import TrendsAction from '../../actions/TrendsAction'; import Trend from './trendbox.react'; im...
test/AlertSpec.js
RichardLitt/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Alert from '../src/Alert'; describe('Alert', function () { it('Should output a alert with message', function () { let instance = ReactTestUtils.renderIntoDocument( <Alert> <strong>Message</strong> </Alert...
src/layouts/index.js
hologram-io/docs
import React from 'react' import Helmet from 'react-helmet' import { Navbar } from '../components' import '../scss/main.scss' import { SEO_DEFAULTS } from '../constants' const { TITLE, DESCRIPTION, KEYWORDS } = SEO_DEFAULTS; /* This layout is applied to any page in the "pages" folder. */ class Basic extends React.Co...
src/Grid/Grid.js
react-mdl/react-mdl
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import clamp from 'clamp'; import shadows from '../utils/shadows'; const propTypes = { className: PropTypes.string, component: PropTypes.oneOfType([ PropTypes.string, PropTypes.element, P...
src/ButtonGroup.js
tonylinyy/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; const ButtonGroup = React.createClass({ mixins: [BootstrapMixin], propTypes: { vertical: React.PropTypes.bool, justified: React.PropTypes.b...
src/Button/Button.spec.js
dsslimshaddy/material-ui
// @flow import React from 'react'; import { assert } from 'chai'; import { createShallow, createRender, getClasses } from '../test-utils'; import Button from './Button'; describe('<Button />', () => { let shallow; let render; let classes; before(() => { shallow = createShallow({ dive: true }); rende...
docs/api/swagger-ui-standalone-preset.js
phenoscape/owlery
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.SwaggerUIStandalonePreset=e():t.SwaggerUIStandalonePreset=e()}(this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var...
examples/js/column-filter/date-filter-programmatically.js
echaouchna/react-bootstrap-tab
/* eslint max-len: 0 */ /* eslint no-unused-vars: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; const startDate = new Date(2015, 0, 1); const endDate = new Date(); ...
app/components/ComingSoon/ComingSoon.js
saelili/F3C_Website
import React from 'react' import PropTypes from 'prop-types' const ComingSoon = ({ title }) => ( <div style={{ width: '100%', minHeight: '100vh', display: 'flex', justifyContent: 'center', alignItems: 'center' }}> {title} Page Coming Soon. </div> ) ComingSoon.propTypes = { ...
app/index.js
gilbertgede/RepYourself
import { persistStore, } from 'redux-persist' import { render, } from 'react-dom' import React from 'react' import shortid from 'shortid' import { ACTIONS, } from './constants/Constants' import { newUser, } from './utils/backendRequests' import { configureStore } from './store/configureStore' import App from './contai...
ajax/libs/forerunnerdb/1.3.749/fdb-all.js
Amomo/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...
webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
adamruzicka/katello
import React from 'react'; import { translate as __ } from 'foremanReact/common/I18n'; import { headerFormatter, cellFormatter, } from '../../../../move_to_foreman/components/common/table'; import ProfileRpmsCellFormatter from './ProfileRpmsCellFormatter'; const TableSchema = [ { property: 'name', header...
src/svg-icons/places/rv-hookup.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesRvHookup = (props) => ( <SvgIcon {...props}> <path d="M20 17v-6c0-1.1-.9-2-2-2H7V7l-3 3 3 3v-2h4v3H4v3c0 1.1.9 2 2 2h2c0 1.66 1.34 3 3 3s3-1.34 3-3h8v-2h-2zm-9 3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1...
ajax/libs/foundation/4.2.3/js/vendor/jquery.min.js
billpull/cdnjs
!function(a,b){function J(a){var b=a.length,c=u.type(a);return u.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||"function"!==c&&(0===b||"number"==typeof b&&b>0&&b-1 in a)}function L(a){var b=K[a]={};return u.each(a.match(w)||[],function(a,c){b[c]=!0}),b}function O(a,c,d,e){if(u.acceptData(a)){var f,g,h=u.expando,i=a....
private/storybook/config.js
SIB-Colombia/biodiversity_catalogue_v2_frontend
// https://github.com/diegohaz/arc/wiki/Storybook import React from 'react' import { configure, addDecorator } from '@kadira/storybook' import { BrowserRouter } from 'react-router-dom' import { ThemeProvider } from 'styled-components' import theme from 'components/themes/default' const req = require.context('component...
client/modules/App/components/Footer/Footer.js
moscow-freecodecamp/fluffy-spoon
import React from 'react'; import { FormattedMessage } from 'react-intl'; // Import Style import styles from './Footer.css'; // Import Images import bg from '../../header-bk.png'; export function Footer() { return ( <div style={{ background: `#FFF url(${bg}) center` }} className={styles.footer}> <p>&copy...
src/components/conversations-tutorial-card.js
colinmegill/polis-admin-console
/* * Copyright 2012-present, Polis Technology 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 for non-commercial use can be found in the PATENTS file * in the sam...
ajax/libs/material-ui/4.9.3/esm/Tooltip/Tooltip.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import React from 'react';...
client/src/components/InfluenceComponent/InfluenceComponent.js
Taidine/masks-character-tracker
import React, { Component } from 'react'; import ReactTooltip from 'react-tooltip'; import EditableInput from '../EditableInput/EditableInput'; import './styles.css'; class InfluenceComponent extends Component { constructor(props) { super(); this.state = { key: '', }; } componentWillReceivePr...
ajax/libs/rxjs/2.3.25/rx.lite.compat.js
CyrusSUEN/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/containers/DevTools.js
dfala/high-club
import React from 'react' import { createDevTools } from 'redux-devtools' import LogMonitor from 'redux-devtools-log-monitor' import DockMonitor from 'redux-devtools-dock-monitor' export default createDevTools( <DockMonitor toggleVisibilityKey='ctrl-h' changePositionKey='ctrl-q' > <LogMonitor theme='twil...
node_modules/react-router/es6/RouterContext.js
Cole-Campbell/ReduxIntro
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...
vendor/ngReact/karma.config.js
jzinma/jzinma.github.io
module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '.', frameworks: ['jasmine', 'browserify'], // list of files / patterns to load in the browser files: [ 'node_modules/angular/angular.js', 'ngReact.js', 'test...
redux/todoList/src/components/todoInput/todoInput.js
yuanzhaokang/myAwesomeSimpleDemo
import { ADD_LIST } from '../todoList/actions'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import './todoInput.scss'; class TodoInput extends Component { constructor(props) { super(props); this.state = { value: '' }; } render() { ...
src/S1/index.js
raffidil/garnanain
import React from 'react'; import { IconButton, Grid, Cell, Dialog, DialogTitle, DialogContent, Icon, Spinner, } from 'react-mdl'; import { shuffle } from 'underscore'; import Layout from '../../components/Layout'; import ResultDialog from '../../components/ResultDialog'; import s from '../Questionstyle...
src/parser/hunter/survival/modules/spells/WildfireBomb.js
fyruna/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import { formatPercentage } from 'common/format'; import StatisticBox from 'interface/others/StatisticBox'; import SpellIcon from 'common/SpellIcon'; import Enemies from 'parser/shared/modules/Enemies'; import ...
client/modules/App/components/DevTools.js
CODEINAE/todoy
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-w" > <LogMonitor /> ...
test/componets-test.js
Trivardy/Trivardy
import React from 'react'; import { expect } from 'chai'; import { shallow, mount, render } from 'enzyme'; import sinon from 'sinon'; import configureStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import { Provider } from 'react-redux'; import TestUtils from 'react-addons-test-utils'; import FetchBar ...
src/CollapsibleMixin.js
PeterDaveHello/react-bootstrap
import React from 'react'; import TransitionEvents from './utils/TransitionEvents'; import deprecationWarning from './utils/deprecationWarning'; let warned = false; const CollapsibleMixin = { propTypes: { defaultExpanded: React.PropTypes.bool, expanded: React.PropTypes.bool }, getInitialState(){ l...
ajax/libs/preact/5.0.1-beta.14/preact.min.js
jdh8/cdnjs
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.preact=e.preact||{})}(this,function(e){function n(e,n,t){this.nodeName=e,this.attributes=n,this.children=t,this.key=n&&n.key}function t(e,n){if(n)for(var t in n)e[t]=n[t];return...
docs/js/apache-maven-fluido-1.6.min.js
daverix/zxing
/*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-12-17T15:27Z */ (function(b,a){if(typeof module==="ob...
ajax/libs/jquery.fancytree/2.6.0/src/jquery.fancytree.js
sullivanmatt/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2006-2014, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.6.0 * @dat...
src/Logout/index.js
MLsandbox/MLsandbox
import React, { Component } from 'react'; import { Redirect } from 'react-router-dom'; import { connect } from 'react-redux'; import '../Sandbox/Drawer/drawerStyles.css'; class Logout extends Component { constructor (props) { super (props); this.logoutHandler = this.logoutHandler.bind(this); } logoutHan...
examples/js/keyboard-nav/nav-with-select-table.js
AllenFang/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; products.push({ id: id, ...
ajax/libs/primereact/6.5.1/carousel/carousel.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { UniqueComponentId, DomHandler, classNames, Ripple } from 'primereact/core'; function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return ar...
js/App/Components/Location/AddLocation/TimeZoneContinent.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or *...
ajax/libs/react/0.12.0-rc1/JSXTransformer.js
joeylakay/cdnjs
/** * JSXTransformer v0.12.0-rc1 */ !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.JSXTransformer=...
src/components/metadata/MetaSimple.js
jekyll/jekyll-admin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import TextareaAutosize from 'react-textarea-autosize'; import DateTimePicker from 'react-widgets/lib/DateTimePicker'; import DropdownList from 'react-widgets/lib/DropdownList'; import moment from 'moment'; import momentLocalizer from 'react-...
docs/app/Examples/modules/Progress/States/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' import { Message } from 'semantic-ui-react' const ProgressStatesExamples = () => ( <ExampleSection title='States'> <Message info>...
src/svg-icons/av/play-circle-outline.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPlayCircleOutline = (props) => ( <SvgIcon {...props}> <path d="M10 16.5l6-4.5-6-4.5v9zM12 2C6.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-3.59 8-8 ...