path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
fields/types/Field.js
frontyard/keystone
import classnames from 'classnames'; import evalDependsOn from '../utils/evalDependsOn.js'; import React from 'react'; import { findDOMNode } from 'react-dom'; import { FormField, FormInput, FormNote } from '../../admin/client/App/elemental'; import blacklist from 'blacklist'; import CollapsedFieldLabel from '../compon...
client/modules/Module/__tests__/components/Section.spec.js
Muisti/muisti
import React from 'react'; import test from 'ava'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import { Section } from '../../components/Section'; import { mountWithIntl, shallowWithIntl } from '../../../../util/react-intl-test-helper'; import * as moduleActions from '../../ModuleActions'; import valid...
js/app.js
octavioturra/CampusWhy
/** * * app.js * * This is the entry file for the application, mostly just setup and boilerplate * code. Routes are configured at the end of this file! * */ // Load the ServiceWorker, the Cache polyfill, the manifest.json file and the .htaccess file // import 'file?name=[name].[ext]!../serviceworker.js'; import...
app/workoutForm.js
ExpedientSlow-Lorris/lambdaHIIT
'use strict'; import React from 'react'; import ExerciseFormList from './exerciseFormList'; import { getWorkoutInfo, saveWorkoutInfo } from './workoutModel'; let WorkoutForm = React.createClass({ getInitialState () { return {data: { name: 'workout name', exerciseRest: 15, setRest: 30, nu...
packages/material-ui-icons/src/ToggleOnOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M17 6H7c-3.31 0-6 2.69-6 6s2.69 6 6 6h10c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 10H7c-2.21 0-4-1.79-4-4s1.79-4 4-4h10c2.21 0 4 1.79 4 4s-1.79 4-4 4z" />...
src/admin/client/modules/products/edit/additional/components/productCategorySelect.js
cezerin/cezerin
import React from 'react'; import { Field, FieldArray, reduxForm } from 'redux-form'; import messages from 'lib/text'; import style from './style.css'; import CategorySelect from 'modules/productCategories/select'; import FontIcon from 'material-ui/FontIcon'; import Dialog from 'material-ui/Dialog'; import FlatButton f...
src/js/react/components/Home/Logout.js
mandricore/react-vue2-apollo
import React from 'react'; import { hashHistory } from 'react-router'; import { NavItem } from 'react-bootstrap'; class Logout extends React.Component { constructor(props) { super(props); this.logoutUser = this.logoutUser.bind(this); } logoutUser() { localStorage.clear(); hashHistory.push('/');...
actor-apps/app-web/src/app/components/activity/GroupProfileMembers.react.js
treejames/actor-platform
import _ from 'lodash'; import React from 'react'; import { PureRenderMixin } from 'react/addons'; import DialogActionCreators from 'actions/DialogActionCreators'; import LoginStore from 'stores/LoginStore'; import AvatarItem from 'components/common/AvatarItem.react'; const GroupProfileMembers = React.createClass(...
spec/javascripts/jsx/grading/GradingPeriodSetSpec.js
djbender/canvas-lms
/* * Copyright (C) 2016 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
es/components/WaitList/Position.js
welovekpop/uwave-web-welovekpop.club
import _jsx from "@babel/runtime/helpers/builtin/jsx"; import React from 'react'; import PropTypes from 'prop-types'; import MuiAvatar from "@material-ui/core/es/Avatar"; var Position = function Position(_ref) { var position = _ref.position; return _jsx(MuiAvatar, { className: "WaitlistRow-position" }, void ...
src/components/Configuration/index.js
saitodisse/md-list
import React from 'react'; import {connect} from 'cerebral-view-react'; import styles from './styles'; import ConfigurationField from './ConfigurationField'; import _ from 'lodash/fp'; export default connect({ configurations: 'configurations.*', user_configurations: 'login.user.configurations.*', user_id: 'login...
js/app.js
pletcher/mission-hacks
import 'babel-polyfill' import '../css/app.css' import { browserHistory } from 'react-router' import { Provider } from 'react-redux' import { RelayRouter } from 'react-router-relay' import cookies from 'lib/cookies' import React from 'react' import ReactDOM from 'react-dom' import Relay from 'react-relay' import route...
ajax/libs/video.js/5.0.0-rc.59/video.js
iamJoeTaylor/cdnjs
/** * @license * Video.js 5.0.0-rc.59 <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...
examples/with-redux-code-splitting/containers/about.js
BlancheXu/test
import React from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { namespaceConfig } from 'fast-redux' import Link from 'next/link' const DEFAULT_STATE = { version: 1 } const { actionCreator, getState: getAboutState } = namespaceConfig( 'about', DEFAULT_STATE ) co...
client/modules/App/components/Header/Header.js
b3j0f/lechangement
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; // Import Style import './Header.css'; class Header extends Component { render() { return ( <nav className="nav"> <div> <h1 className={styles['site-title'...
src/routes/login/index.js
AaronHartigan/DudeTruck
/** * 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'; import Layout from '../../co...
__tests__/components/Section-test.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import Section from '../../src/js/components/Section'; // needed because this: // https://github.com/facebook/jest/issues/1353 jest.mock('react-dom'); describe('Section', () =>...
src/module/stepzilla.js
ccjeng/coin
import React, { Component } from 'react'; import Promise from 'promise'; export default class StepZilla extends Component { constructor(props) { super(props); this.state = { showPreviousBtn: false, showNextBtn: true, compState: this.props.startAtStep, navState: this.getNavStates(0, t...
src/data.org.js
kfnxu/fantastic-waffle
import React from 'react'; import Assessment from 'material-ui/svg-icons/action/assessment'; import GridOn from 'material-ui/svg-icons/image/grid-on'; import PermIdentity from 'material-ui/svg-icons/action/perm-identity'; import Web from 'material-ui/svg-icons/av/web'; import {cyan600, pink600, purple600} from 'materia...
src/svg-icons/action/loyalty.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionLoyalty = (props) => ( <SvgIcon {...props}> <path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86....
js/components/AudioPlayer.react.js
calebwoods/memorize_ephesians
/* * AudioPlayer */ import React, { Component } from 'react'; import Combokeys from 'combokeys' import { asyncPlayAudio, asyncPauseAudio } from '../actions/AppActions'; class AudioPlayer extends Component { renderPlayButton() { const { dispatch } = this.props; this._audioElement = null; return ( ...
app/javascript/mastodon/containers/mastodon.js
imas/mastodon
import React from 'react'; import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { BrowserRouter, Route } from 'react-router-dom'; import { ScrollContext } from 'react-router-scroll-4'; import UI from '../features/ui'; import { fetchCust...
app/containers/Sign/index.js
coocooooo/webapp
/** * SignupPage * * Email Sign Up */ import React from 'react'; // components import { Grid, Container } from 'semantic-ui-react'; import SubMenu from './SubMenu.js'; function Sign(props) { return ( <Grid columns="equal"> <Grid.Row> <Grid.Column only="computer"> </Grid.Column> ...
example/src/pages/Style.js
ethanselzer/react-touch-position
import React, { Component } from 'react'; import { Col, Grid, Jumbotron, Row } from 'react-bootstrap'; import Helmet from 'react-helmet'; import Style from '../components/Style'; import Header from '../components/Header'; import 'bootstrap/dist/css/bootstrap.css'; import '../../styles/app.css'; class StyleP...
ajax/libs/yui/3.11.0/event-focus/event-focus-debug.js
j0k3r/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/yui/3.17.1/scrollview-base/scrollview-base-debug.js
IonicaBizauKitchen/cdnjs
/* YUI 3.17.1 (build 0eb5a52) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview *...
src/svg-icons/notification/airline-seat-legroom-reduced.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAirlineSeatLegroomReduced = (props) => ( <SvgIcon {...props}> <path d="M19.97 19.2c.18.96-.55 1.8-1.47 1.8H14v-3l1-4H9c-1.65 0-3-1.35-3-3V3h6v6h5c1.1 0 2 .9 2 2l-2 7h1.44c.73 0 1.39.49 1.53 1.2zM5 1...
src/svg-icons/action/settings-backup-restore.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsBackupRestore = (props) => ( <SvgIcon {...props}> <path d="M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2....
concrete/js/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
deidak/concrete
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements...
lib/components/TabView/index.js
gmtcreators/atom-solidity
'use babel' // Copyright 2018 Etheratom Authors // This file is part of Etheratom. // Etheratom is free software: 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 // (at your option) any la...
docs/client/components/pages/Video/CustomAddVideoVideoEditor/VideoAdd/index.js
koaninc/draft-js-plugins
import React, { Component } from 'react'; import styles from './styles.css'; export default class VideoAdd extends Component { // Start the popover closed state = { url: '', open: false, }; // When the popover is open and users click anywhere on the page, // the popover should close componentDidMo...
pootle/static/js/admin/components/Search.js
r-o-b-b-i-e/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import cx from 'classnames'; import React from 'react'; i...
src/server/helpers/html.js
canonical-websites/build.snapcraft.io
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import ReactDOM from 'react-dom/server'; import Helmet from 'react-helmet'; import { Provider } from 'react-redux'; import { conf } from '../helpers/config'; import style from '../../common/style/vanilla/css/footer.css'; const GAID = conf....
ajax/libs/react-popper/0.4.0/react-popper.js
holtkamp/cdnjs
/*! * React Popper 0.4.0 * https://github.com/souporserious/react-popper * Copyright (c) 2017 React Popper Authors */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else i...
src/Parser/Hunter/Shared/Modules/Features/FocusChart/FocusComponent.js
hasseboulen/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; const FocusComponent = ({ categories, abilities, passive, focusBySecondCoord, overCapBySecondCoord }) => { if (!abilities) { return <div>Loading...</div>; } ret...
core/modules/quickedit/js/views/AppView.js
vlkff/reiscout-form
/** * @file * A Backbone View that controls the overall "in-place editing application". * * @see Drupal.quickedit.AppModel */ (function ($, _, Backbone, Drupal) { 'use strict'; // Indicates whether the page should be reloaded after in-place editing has // shut down. A page reload is necessary to re-instat...
src/scenes/App/components/Footer/index.js
jsza/tempus-website
import React from 'react' import './styles.styl' const Footer = ({ className, ...props }) => <footer className={'App-footer ' + (className || '')} {...props} > <ul className="links"> <li> <a href="http://steampowered.com/"> <i className="fab fa-steam-symbol" /> Powered by Stea...
ajax/libs/muicss/0.6.5/extra/mui-react-combined.min.js
sufuf3/cdnjs
!function(e){var t=e.babelHelpers={};t.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.createClass=function(){function e(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.definePro...
geonode/monitoring/frontend/monitoring/src/containers/main.js
francbartoli/geonode
/* ######################################################################### # # Copyright (C) 2019 OSGeo # # This program is free software: 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 # ...
lib/railspack/templates/index.js
jdmorlan/railspack
import React from 'react' import ReactDOM from 'react-dom' import { registerComponent } from 'registerComponent' // Register any components that you want to call in your Rails views // using the react_component view_helper const domReadyEvent = (typeof TurboLinks !== 'undefined') ? 'turbolinks:load' : 'DOMContentLoa...
src/svg-icons/av/closed-caption.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvClosedCaption = (props) => ( <SvgIcon {...props}> <path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.5...
app/src/containers/admin/News.js
ouxu/NEUQ-OJ
/** * Created by out_xu on 17/3/25. */ import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import { delNews, editNews, getNews, getNewsList } from 'actions' import NewsManage from 'components/admin/News' export default connect( state => ({ admin: state.admin }), dispatch => bi...
ajax/libs/yui/3.11.0pr1/event-focus/event-focus-coverage.js
ppoffice/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-focus/event-focus.js']) { __coverage__['build/event-focus/event-focus.js'] = {"path":"build/event-focus/event-focus.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"...
src/views/base/carousels/Carousels.js
mrholek/CoreUI-React
import React from 'react' import { CCard, CCardBody, CCardHeader, CCarousel, CCarouselCaption, CCarouselItem, CCol, CRow, } from '@coreui/react' import { DocsCallout, DocsExample } from 'src/components' import AngularImg from 'src/assets/images/angular.jpg' import ReactImg from 'src/assets/images/react...
src/svg-icons/action/eject.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionEject = (props) => ( <SvgIcon {...props}> <path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"/> </SvgIcon> ); ActionEject = pure(ActionEject); ActionEject.displayName = 'ActionEject'; ActionEject.muiName = 'Svg...
files/rxjs/2.5.2/rx.compat.js
vousk/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...
ajax/libs/video.js/4.12.8/video.dev.js
gaearon/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
RNLearning/z-day04-Estore/Main/Launch.js
ivanl001/ReactNative-Learning
/** * Created by feng on 16/12/9. */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; var IMMain = require('./Main'); var IMLaunch = React.createClass({ // getDefaultProps方法 getDefaultProps(){ return{ } }, ...
boxroom/archive/backup-js-bling-2018-04-28/boxroom/archive/js-surface-2018-01-27/boxroom/archive/2018-01-11/src/main/js-surface-react.js
js-works/js-surface
import adaptReactLikeComponentSystem from './adaption/adaptReactLikeComponentSystem'; import React from 'react'; import ReactDOM from 'react-dom'; function reactMount(content, targetNode) { ReactDOM.render(content, targetNode); return () => ReactDOM.unmountComponentAtNode(targetNode); } const { createEl...
test/fixtures/spread/actual.js
layershifter/babel-plugin-transform-react-handled-props
import PropTypes from 'prop-types'; import React from 'react'; const someProps = { active: PropTypes.boolean }; function Example() { return <div />; } Example.propTypes = { ...someProps, children: PropTypes.node, className: PropTypes.string }; export default Example;
test/test_helper.js
daveprochazka/ReduxSimpleStarter
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'...
ajax/libs/react-bootstrap-typeahead/0.9.2/react-bootstrap-typeahead.min.js
seogi1004/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.ReactBootstrapTypeahead=t(require("react"),require("react-dom")):e.ReactBootstrapTypeahead=t(e.R...
src/components/pages/Overview/Overview.js
TheKooxd/cat-analytics-dashboard
import React from 'react'; import style from './Overview.less'; import DoughnutGraph from '../../graphs/DoughnutGraph/DoughnutGraph'; import axios from 'axios'; class Overview extends React.Component { constructor(props) { super(props); this.state = {statArray: [0,0,0,0]} } componentDidMount() { axi...
lang/java/ipc/src/main/java/org/apache/avro/ipc/stats/static/jquery-1.4.2.min.js
DrAA/avro
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
client/components/about/About.js
ygotthilf/react-fullstack-boilerplate
import React from 'react'; export default class Component extends React.Component { render() { return ( <div>Create by me</div> ); } }
ajax/libs/jquery/1.11.0-beta3/jquery.min.js
honestree/cdnjs
/*! jQuery v1.11.0-beta3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}(this,function(a){var ...
app/javascript/mastodon/features/home_timeline/index.js
hugogameiro/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { expandHomeTimeline } from '../../actions/timelines'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader from '../../comp...
src/main.js
kyoyadmoon/fuzzy-hw1
/** * 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 'babel-polyfill'; im...
wrappers/html.js
caryfuk/architektka
import React from 'react' import Helmet from 'react-helmet' import { config } from 'config' module.exports = React.createClass({ propTypes () { return { router: React.PropTypes.object, } }, render () { const page = this.props.route.page.data return ( <div dangerouslySetInnerHTML={{ __...
app/javascript/mastodon/features/pinned_statuses/index.js
rainyday/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchPinnedStatuses } from '../../actions/pin_statuses'; import Column from '../ui/components/column'; import ColumnBackButtonSlim from '../../compon...
pages/people/ccgalindog.js
pcm-ca/pcm-ca.github.io
import React from 'react' import { Link } from 'react-router' import Helmet from 'react-helmet' import { config } from 'config' import { prefixLink } from 'gatsby-helpers' import bib from './bib' import info from './info' import PersonPage from '../../components/PersonPage' export default class Index extends React.Co...
www/assets/js/lib/jquery/jquery-1.7.2.min.js
ferycode/starter-public-edition-3
/*! 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...
lib/components/Message.js
davidbecker6081/ConnectME
import React from 'react'; const Message = ({ recipient, sender, message, date, loggedInUser }) => { const colorOfMessage = sender.name === loggedInUser.displayName ? 'message-loggedInUser' : 'message-otherUser'; const textDateClass = sender.name === loggedInUser.displayName ? 'text-date-user' : 'text-date-recip...
stories/list.stories.js
isogon/material-components
import React from 'react' import { storiesOf } from '@storybook/react' import wrapStory from './decorators/wrapStory' import AvatarsAndActions from '../src/components/list/demos/AvatarsAndActions.js' import AvatarsAndControls from '../src/components/list/demos/AvatarsAndControls.js' import Icons from '../src/component...
13. ReactJS Fundamentals - Feb 2019/03. Events and Forms/Fog-App/src/DynamicForm/LoginForm.js
zrusev/SoftUni_2016
import React from 'react'; import './login.css'; class LogInForm extends React.Component { constructor(props) { super(props); this.state = { usernameLogin: '', passwordLogin: '' } } handleChange = event => { this.setState({ [event.target.i...
src/main/webapp/static/mCustomScrollbar/demo/js/minified/jquery-1.9.1.min.js
wangshuai112/jeesite
/*! 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...
ajax/libs/forerunnerdb/1.3.441/fdb-legacy.js
honestree/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/containers/DevTools.js
vamcc/react-redux-demo
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 /...
examples/custom-server-hapi/pages/index.js
sedubois/next.js
import React from 'react' import Link from 'next/link' export default () => ( <ul> <li><Link href='/b' as='/a'><a>a</a></Link></li> <li><Link href='/a' as='/b'><a>b</a></Link></li> </ul> )
native/ChatItem/ChatItem.js
abdurrahmanekr/react-chat-elements
import React, { Component } from 'react'; import styles from './ChatItemStyle.js'; import Avatar from '../Avatar/Avatar'; import { View, Text, Image, } from 'react-native'; export class ChatItem extends Component { render() { return ( <View style={styles.rceContai...
ui/src/js/common/components/RadioButton.js
Dica-Developer/weplantaforest
import React, { Component } from 'react'; require('./radioButton.less'); export default class RadioButton extends Component { constructor() { super(); } render() { return ( <div className="radioButton"> <input type="radio" checked={this.props.checked} id={this.props.id} value={this.props....
ajax/libs/forerunnerdb/1.3.553/fdb-all.js
kiwi89/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...
components/TableHeaders.js
michael-lowe-nz/NBA-battles
import React from 'react' import sortPlayers from '../lib/sortPlayers' import ColumnHeader from './table/ColumnHeader' module.exports = ({ state, dispatch }) => { function sortColumn () { const sortedPlayers = sortPlayers(state.players, 'pts', true) dispatch({type: 'UPDATE_PLAYER_ARRAY', payload: sortedPlay...
sites/all/modules/jquery_update/replace/jquery/1.7/jquery.js
lueimg/can
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/components/stam.js
nushicoco/books_rabbit
/** * Created by einav on 3/20/17. */ import React from 'react'; const stam = () => { return ( <div className="dropdown"> <span>Mouse over me</span> <div className="dropdown-content"> <p>Hello World!</p> </div> </div> ); }; export defaul...
rgb_app/src/app.js
dalmago/embarcados
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { StyleSheet, Text, View, Button, TouchableOpacity, TouchableHighlight, ToastAndroid, } from 'react-native'; import BluetoothSerial from 'react-native-bluetooth-serial...
examples/sharedlinks/sharedlinks-webapp/src/dialogs/AddLinkDialog.js
szopu/django-rest-registration
import React, { Component } from 'react'; import TextField from 'material-ui/TextField'; import OKCancelDialog from './OKCancelDialog'; import getFormFieldChangeHandler from './getFormFieldChangeHandler'; export default class AddLinkDialog extends Component { initialState = { formData: { title: "", ...
src/MultiSelector/Option.js
appier/react-component-template
import React from 'react'; import classnames from 'classnames'; const Option = React.createClass({ getDefaultProps() { return { currentIndex: 0, index: 0, data: {}, selectValue: ()=>{}, updateCurrentIndex: ()=>{}, }; }, render(){ const {props} = this; const { ...
src/components/Hero/HeroBackground.js
Bartekus/r3
import React from 'react'; import styles from './Hero.scss'; export default class HeroBackground extends React.Component { static displayName = 'HeroBackground'; static propTypes = { image: React.PropTypes.string.isRequired, }; render() { return ( <div className={ styles.background } style={ { b...
docs/modals/4.0.0/tests/WBC/assets/js/gui.js
WestpacCXTeam/GUI-source
/*! 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...
packages/material-ui-icons/src/DoNotDisturb.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4....
packages/kickoff-scripts/fixtures/kitchensink/src/features/syntax/Generators.js
TryKickoff/create-kickoff-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function* load(limit) { let i = 1; while (i <= limit)...
website2/website/pages/en/release-notes.js
twitter/heron
const React = require('react'); const CompLibrary = require('../../core/CompLibrary'); const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; const CWD = process.cwd(); const siteConfig = require(`${CWD}/siteConfi...
ajax/libs/react-modal/0.0.3/react-modal.js
upgle/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.ReactModal=e()}}(function(){var define,module,exports...
ajax/libs/react-router/0.13.0/ReactRouter.min.js
vuonghuuphuc/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactRouter=e(require("react")):t.ReactRouter=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])return n[r].e...
src/svg-icons/notification/adb.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAdb = (props) => ( <SvgIcon {...props}> <path d="M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5v4zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14...
ajax/libs/pdf.js/1.9.661/compatibility.js
BenjaminVanRyseghem/cdnjs
/* Copyright 2017 Mozilla Foundation * * 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/__tests__/Foo-test.js
wahengchang/react-test-must-know
import React from 'react'; import { shallow, mount, render } from 'enzyme'; import Foo from '../Foo'; describe('Test Button and Text inside div', function() { const wrapper = shallow(<Foo />); it('Test init status', function() { expect(wrapper.find('h4').length).toBe(1); expect(wrapper.find('h4').at(0).t...
node_modules/react-bootstrap/es/Glyphicon.js
superKaigon/TheCave
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 ...
parent/rest/src/main/webapp/lib/ember-data/ember-data.js
DaviCastro/FrameWork
(function(global){ var define, requireModule, require, requirejs; (function() { var _isArray; if (!Array.isArray) { _isArray = function (x) { return Object.prototype.toString.call(x) === "[object Array]"; }; } else { _isArray = Array.isArray; } var registry = {}, seen = {}, state = {}; ...
client_apps/canvas_quiz_statistics/test/unit/views/summary/report_test.js
wye0220/shindig-canvas
define(function(require) { var Subject = require('jsx!views/summary/report'); var $ = require('canvas_packages/jquery'); describe('Views.Summary.Report', function() { this.reactSuite({ type: Subject }); it('should render', function() {}); it('should be a button if it can be generated', fun...
node_modules/react-bootstrap/es/MediaList.js
ivanhristov92/bookingCalendar
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/js/components/icons/base/AddCircle.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
ajax/libs/yasgui/1.0.11/yasgui.min.js
ematsusaka/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.YASGUI=e()}}(function(){var e;return function t(e,n,r...
react-flux-mui/js/material-ui/src/svg-icons/image/monochrome-photos.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageMonochromePhotos = (props) => ( <SvgIcon {...props}> <path d="M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3...
app/controller.js
mkawalec/manifold
import Mustache from 'mustache'; import fs from 'fs'; import fluxApp from 'fluxapp'; import fetcher from 'fluxapp-fetch'; import path from 'path'; import Promise from 'bluebird'; import React from 'react'; import 'manifold/bootstrap'; import StaticController from 'app/static/controller'; import Routes from 'app/route...
src/app.spec.js
sjcrank/viz-data-generator
import test from 'ava'; import { shallow } from 'enzyme'; import React from 'react'; import { StyleSheetTestUtils } from 'aphrodite'; import App from './app'; import Header from './component/header'; import ActionButton from './component/actionButton'; import ConfigTile from './configTile'; import DataTile from './data...
src/client/index.js
adamarthurryan/dubdiff
import React from 'react' import ReactDOM from 'react-dom' import * as Redux from 'redux' import {Provider} from 'react-redux' // import createBrowserHistory from 'history/lib/createBrowserHistory' import {Router, browserHistory} from 'react-router' import thunk from 'redux-thunk' import * as reducers from '../c...
src/js/pages/LeisureProfilePage.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import connectToStores from '../utils/connectToStores'; import translate from '../i18n/Translate'; import LocaleStore from '../stores/LocaleStore'; import RegisterStore from '../stores/RegisterStore'; import Button from '../components/ui/Butt...
ajax/libs/graphiql/0.2.4/graphiql.js
Piicksarn/cdnjs
(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!=="undefined"){g=self}else{g=this}g.GraphiQL = f()...