path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/containers/Asians/_components/ViewLockedRound/TraineeFeedback/LargeTraineeFeedback/Instance/AdjudicatorDisplay.js
westoncolemanl/tabbr-web
import React from 'react' import { connect } from 'react-redux' import List, { ListItem, ListItemText } from 'material-ui/List' export default connect(mapStateToProps)(({ adjudicatorId, adjudicatorScoresThisRound, adjudicatorsById }) => { const findAdjudicatorScore = adjudicatorScoreToMatch => adjudicator...
app/components/Map/Marker.js
Donluigimx/transporta2_admin
import React from 'react'; import PropTypes from 'prop-types'; import './style.css'; const Marker = ({bounce, pulse, clickAction, busStopId}) => ( <div style={{cursor: 'pointer'}} onClick={ () => clickAction(busStopId)}> <div className={`pin ${bounce ? 'bounce':''}`}/> {pulse ?<div clas...
packages/material-ui-icons/src/DeleteOutlineSharp.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M6 21h12V7H6v14zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4h-3.5z" /></g></React.Fragment> , 'DeleteOutlineSharp');
src/components/Header.js
googlefonts/japanese
import React from 'react'; import PropTypes from 'prop-types'; import FitText from '@kennethormandy/react-fittext'; import FontList from '../components/FontList'; const HeaderColumn = (props) => { return ( <div className={`col-12 sm-col-6 px1 md-px2 ${props.className}`} lang={props.lang} > ...
src/plugin/BoobsPost/UserDisplayName.js
BoomBoobs/chrome-extension
import React from 'react'; import { props, pure, t, skinnable } from 'revenge'; import moment from 'moment'; @props({ boobs: t.Obj }) @pure @skinnable() export default class UserDisplayName extends React.Component { getLocals() { const { boobs } = this.props; return { createdAt: moment(boobs.get('...
src/components/Root.js
coryhouse/react-slingshot
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ConnectedRouter } from 'connected-react-router'; import { Provider } from 'react-redux'; import App from './App'; export default class Root extends Component { render() { const { store, history } = this.props; return ( ...
internals/templates/app.js
SenyOrg/kekecmed-frontend
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ import 'babel-polyfill'; /* eslint-disable import/no-unresolved, import/extensions */ // Load the manifest.json file and the .htaccess file import '!file?name=[name].[ext]!./manifest.json'; import 'file?name=[name]....
addons/docs/src/lib/convert/__testfixtures__/proptypes/scalars.js
storybooks/storybook
import React from 'react'; import PropTypes from 'prop-types'; export const Component = (props) => <>JSON.stringify(props)</>; Component.propTypes = { optionalBool: PropTypes.bool, optionalFunc: PropTypes.func, optionalNumber: PropTypes.number, optionalString: PropTypes.string, optionalSymbol: PropTypes.symb...
dist/lib/carbon-fields/assets/js/fields/components/media-gallery/list-item.js
ArtFever911/statrer-kit
/** * The external dependencies. */ import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { withHandlers } from 'recompose'; /** * The internal dependencies. */ import { preventDefault } from 'lib/helpers'; /** * Render a file upload field with a preview thumbnail of ...
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-bootstrap/0.31.0/es/PageHeader.js
Akkuma/npm-cache-benchmark
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 ...
node_modules/rx/dist/rx.compat.js
r3lik/r3lik.github.io
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExpor...
components/vectors/dots.js
blockstack/blockstack-site
import React from 'react' import { Svg } from '@components/vectors/index' const Dots = ({ color = 'ink', ...rest }) => { return ( <Svg color={color} viewBox="0 0 326 516" {...rest}> <path d="M3 28.5C3 29.3284 2.32843 30 1.5 30C0.671573 30 0 29.3284 0 28.5C0 27.6716 0.671573 27 1.5 27C2.32843 27 3 2...
src/routes/contact/Contact.js
taekungngamonosus/monoreact
/** * 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 PropTypes from 'prop-...
public/js/jquery-1.9.0.min.js
opavader/leanote
/*! 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...
src/index.js
joefearnley/forcast
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') ); // If you want your app to work offline and load f...
public/app/components/home/song-table-row.js
feedm3/unhypem
/** * This component is used to display a song as a table row. It also displays the songs streaming url status with a * corresponding background color. * * The component does not implement any click handler logic. It can only delegate to a click handler from the properties. * * @author Fabian Dietenberger */ 'u...
packages/forms/src/UIForm/fieldsets/Columns/Columns.component.js
Talend/ui
import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; import Widget from '../../Widget'; import theme from './Columns.scss'; export default function Columns(props) { const { schema, ...restProps } = props; return ( <div className={classNames('tf-columns', theme['tf-c...
src/routes/accounts/index.js
nambawan/g-old
import React from 'react'; import Layout from '../../components/Layout'; import { getSessionUser, getUser } from '../../reducers'; import { fetchProfileData } from '../../actions/user'; import AccountContainer from '../account/AccountContainer'; const title = 'User account'; async function action({ store, path }, { i...
src/tree/src/TreeNode.js
wisedu/bh-react
import React from 'react'; import {joinClasses, classSet} from 'rc-util'; import Animate from 'rc-animate'; import assign from 'object-assign'; const defaultTitle = '---'; class TreeNode extends React.Component { constructor(props) { super(props); ['handleExpand', 'handleCheck', 'handleContextMenu...
ajax/libs/jquery/1.11.2/jquery.min.js
terrymun/cdnjs
/*! 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...
ajax/libs/6to5/1.12.20/browser.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.to5=e()}}(function(){var define,module,exports;return...
misc/jquery.js
teeple/messaging_gateway
/*! * 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....
actor-apps/app-web/src/app/components/modals/create-group/ContactItem.react.js
allengaller/actor-platform
import React from 'react'; import AvatarItem from 'components/common/AvatarItem.react'; class ContactItem extends React.Component { static propTypes = { contact: React.PropTypes.object, onToggle: React.PropTypes.func } constructor(props) { super(props); this.onToggle = this.onToggle.bind(this)...
es5.js
nhz-io/react-canvas-component
module.exports = require('./dist/react-canvas-component.es5.js')
src/icons/italic.js
markdyousef/zen-editor
import React from 'react'; export default ({ ...props }) => { return ( <svg {...props} x="0px" y="0px" viewBox="0 0 16 16"> <g> <path d="M10.096,14.433l-0.155,0.659c-0.632,0.254-1.137,0.431-1.514,0.531c-0.378,0.1-0.7,0.149-0.968,0.149 c-0....
ajax/libs/preact/3.0.0-beta2/preact.min.js
kennynaoh/cdnjs
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.preact=n()}(this,function(){"use strict";function e(e,n,t){var r=t&&t._component&&t._componentConstructor===e.nodeName,i=v(t,e),a=!r&&i._component;return a&&o(a,"componentWillMount"),...
src/svg-icons/editor/insert-photo.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorInsertPhoto = (props) => ( <SvgIcon {...props}> <path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/> </SvgIcon> ); EditorI...
src/components/ChartMaker/Beat.js
BenGoldstein88/redux-chartmaker
import React from 'react'; export default class Beat extends React.Component { constructor(props) { super(props); this.state = { chord: '' } this.handleClick = this.handleClick.bind(this); this.handleKeyPress = this.handleKeyPress.bind(this); this.handleChange = this.handleChange.bind...
client/src/admin/config.js
Jeff-Tian/v
import React from 'react'; import config from '../../../config'; import Client from '../Client'; import {Container} from 'semantic-ui-react'; class Config extends React.Component { state = {config: JSON.stringify(config)}; async componentDidMount() { this.setState({config: JSON.stringify(await Client....
node_modules/react/lib/ReactServerRenderingTransaction.js
dwmorrisdev/ReactWeather
/** * Copyright 2014-2015, 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. * * @providesModule ...
searx/static/js/jquery-1.11.1.min.js
matejc/searx
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
node_modules/react-dom/lib/ReactInstanceMap.js
jongschneider/lyndaProject
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ 'use strict...
client/src/components/TranscriptView/Viewer.js
stanographer/aloft
import React from 'react'; import { connect } from 'react-redux'; import ShareDBBinding from 'sharedb-react-textbinding'; import IntersectionObserver from 'react-intersection-observer'; import IntersectionVisible from 'react-intersection-visible'; import { css } from 'react-emotion'; import { SyncLoader } from 'react-s...
src/containers/index/Index.js
lixiaoyang1992/react-native-starter-kit
import React from 'react'; import { ScrollView } from 'react-native'; import { List, Grid } from 'antd-mobile'; import { Actions } from 'react-native-router-flux'; const entries = [{ icon: 'https://os.alipayobjects.com/rmsportal/IptWdCkrtkAUfjE.png', text: '全部功能', onClick: () => Actions.QuickEntriesContainer(), ...
benchmarks/dom-comparison/src/implementations/react-fela-useFela/Dot.js
risetechnologies/fela
/* eslint-disable react/prop-types */ import React from 'react' import { useFela } from 'react-fela' const rule = ({ size, x, y, color }) => ({ position: 'absolute', cursor: 'pointer', width: 0, height: 0, borderColor: 'transparent', borderStyle: 'solid', borderTopWidth: 0, transform: 'translate(50%, 5...
ext/lib/site/topic-layout/topic-article-propuesta/comments/list/comment/replies/list/content/component.js
DemocraciaEnRed/vicentelopez
import React from 'react' import t from 't-component' import AutoGrowTextarea from 'lib/site/topic-layout/topic-article/comments/form/autogrow-textarea' export default function ReplyContent (props) { let Content = ( <div className='text' dangerouslySetInnerHTML={{ __html: props.textHtml }} /> ) ...
client/views/admin/invites/InvitesPage.js
VoiSmart/Rocket.Chat
import { Table } from '@rocket.chat/fuselage'; import { useMediaQuery } from '@rocket.chat/fuselage-hooks'; import React, { useState, useEffect } from 'react'; import GenericTable from '../../../components/GenericTable'; import Page from '../../../components/Page'; import { useEndpoint } from '../../../contexts/Server...
docs/app/Examples/modules/Popup/Usage/PopupExampleControlled.js
mohammed88/Semantic-UI-React
import React from 'react' import { Button, Grid, Header, Popup } from 'semantic-ui-react' const timeoutLength = 2500 class PopupExampleControlled extends React.Component { state = { isOpen: false } handleOpen = () => { this.setState({ isOpen: true }) this.timeout = setTimeout(() => { this.setState...
src/components/TripList.js
muiradams/plantogo
import React, { Component } from 'react'; import { connect } from 'react-redux'; import RaisedButton from 'material-ui/RaisedButton'; import TripCard from './TripCard'; import NewTripButton from './NewTripButton'; import * as actions from '../actions/'; class TripList extends Component { constructor(props) { s...
demo/js/jquery.min.js
R2D2-fwks/R2D2-fwks
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
app/views/ListsView.js
hippothesis/Recipezy
/* * Copyright 2017-present, Hippothesis, 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. */ 'use strict'; import React, { Component } from 'react'; import { Container, Content, Header, Left, Right, B...
test/specs/addons/Pagination/PaginationItem-test.js
Semantic-Org/Semantic-UI-React
import React from 'react' import PaginationItem from 'src/addons/Pagination/PaginationItem' import * as common from 'test/specs/commonTests' import { sandbox } from 'test/utils' describe('PaginationItem', () => { common.isConformant(PaginationItem) common.implementsCreateMethod(PaginationItem) describe('active...
ajax/libs/react/0.13.0-alpha.1/react.min.js
hibrahimsafak/cdnjs
/** * React v0.13.0-alpha.1 * * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same direc...
src/checkout/offer.js
bhongy/react-components
import React from 'react'; import { Route } from 'react-router-dom'; import { connect } from 'react-redux'; import { actions } from './store'; import { joinPathname } from './helpers'; import Spinner from './spinner'; import InvalidCode from './invalid-code'; import Start from './start'; import ChooseContinent from './...
example/examples/StaticMap.js
pjamrozowicz/react-native-maps
import React from 'react'; import { StyleSheet, View, Text, Dimensions, ScrollView, } from 'react-native'; import MapView from 'react-native-maps'; const { width, height } = Dimensions.get('window'); const ASPECT_RATIO = width / height; const LATITUDE = 37.78825; const LONGITUDE = -122.4324; const LATITUDE_...
ajax/libs/mobx/4.0.1/mobx.js
jonobr1/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Ve...
frontend/src/containers/Leaderboard.js
carlosascari/opencollective-website
import React, { Component } from 'react'; import { connect } from 'react-redux'; import PublicTopBar from '../containers/PublicTopBar'; import PublicFooter from '../components/PublicFooter'; import Currency from '../components/Currency'; export class Leaderboard extends Component { render() { return ( <d...
examples/next-speechchallenge/components/button.js
itslanguage/itslanguage-js
import React from 'react'; import PropTypes from 'prop-types'; import styles from './button.module.css'; function Button(props) { const { children, ...otherProps } = props; return ( // eslint-disable-next-line react/jsx-props-no-spreading <button type="button" className={styles.Button} {...otherProps}> ...
src/pages/404.js
meerasahib/meerablog1
import React from 'react'; import Helmet from 'react-helmet'; export default function OhNoFourOhFour() { return ( <div> <Helmet> <title>Oh No - Four oh Four!</title> </Helmet> <h1>Four oh Four</h1> </div> ); }
modules/distribution/src/privacy-policies/libs/jquery_1.11.3/jquery-1.11.3.js
wso2/product-bam
/*! * jQuery JavaScript Library v1.11.3 * 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: 2015-04-28T16:19Z */ (function( global, factory ) { if ...
App/Components/LandmarkList.js
quickresolve/CycleTheBay
"use strict"; import React, { Component } from 'react'; import { StyleSheet, Text, TouchableOpacity, ScrollView, Image, TabBarIOS, AlertIOS, ListView, View, AppActions, navigator } from 'react-native'; import Trail from './Trail' import Main from './Main' import Weather from './Weather' import L...
src/articles/2018-09-30-Suggestions/index.js
FaideWW/WoWAnalyzer
import React from 'react'; import { Link } from 'react-router-dom'; import { Zerotorescue } from 'CONTRIBUTORS'; import RegularArticle from 'interface/news/RegularArticle'; import RandomImageToMakeThisArticleLessBland from './weirdnelfandherfriend.png'; export default ( <RegularArticle title={<>What are <i>YOUR</i...
src/utils/index.js
cdebotton/react-redux-starter-kit
import React from 'react'; import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react'; export function createConstants (...constants) { return constants.reduce((acc, constant) => { acc[constant] = constant; return acc; }, {}); } export function createReducer (initialState, reducerMap) { ...
ajax/libs/video.js/5.11.9/alt/video.novtt.js
cdnjs/cdnjs
/** * @license * Video.js 5.11.9 <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> */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}...
src/Requests.js
TutorFox/TutorFox
import React from 'react'; import RequestPanel from './RequestPanel'; export default class Requests extends React.Component { render () { const reqs = this.props.requests.map((req, i) => { return ( <RequestPanel id={req.user} course={req.course} deleteRequest={this.props.deleteRequest.bind(null, ...
Example/index.android.js
cuonghuynhvan/react-native-camera-android-simple
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, View, Button } from 'react-native'; import Camera from 'react-native-camera-android-simple'; const Type = { FRONT: 'front', BACK: 'back' }; const styles = StyleSheet.create({ container: { flex: 1 }, preview: { flex:...
apps/mk-app-devtools/apps/mk-app-devtools-test/action.js
ziaochina/mk-demo
import React from 'react' import { action as MetaAction, AppLoader } from 'mk-meta-engine' import config from './config' class action { constructor(option) { this.metaAction = option.metaAction this.config = config.current } onInit = ({ component, injections }) => { this.component ...
src/javascript/index.js
Yanagiya/SOS_HAKATHON_TEMLATE
import 'babel/polyfill'; import React from 'react'; import { render } from 'react-dom'; import injectTapEventPlugin from 'react-tap-event-plugin'; import createHashHistory from 'history/lib/createHashHistory'; import Root from './Root'; /* Needed for onTouchTap Can go away when react 1.0 release Check this repo:...
docs/app/Examples/elements/Container/Variations/index.js
vageeshb/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 ContainerVariationsExamples = () => ( <ExampleSection title='Variations'> <Comp...
auth/src/components/common/Card.js
sgcharameli/ReactNativeAndReduxCourse
import React from 'react'; import { View } from 'react-native'; const Card = (props) => { return ( <View style={styles.containerStyle}> {props.children} </View> ); }; const styles = { containerStyle: { borderWidth: 1, borderRadius: 2, borderColor: '#ddd'...
ajax/libs/alexandernst-angular-multi-select/7.1.0/angular-multi-select.js
holtkamp/cdnjs
"use strict"; var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ...
test/integration/production-swcminify/pages/error-in-browser-render-status-code.js
azukaru/next.js
import React from 'react' export default class ErrorInRenderPage extends React.Component { render() { if (typeof window !== 'undefined') { const error = new Error('An Expected error occurred') // This will be extracted by getInitialProps in the _error page, // which will result in a different er...
node_modules/axios/lib/helpers/cookies.js
CallumRocks/ReduxSimpleStarter
'use strict'; var utils = require('./../utils'); module.exports = ( utils.isStandardBrowserEnv() ? // Standard browser envs support document.cookie (function standardBrowserEnv() { return { write: function write(name, value, expires, path, domain, secure) { var cookie = []; cookie.pus...
demo/M2XGPSDemo/js/lib/jquery-1.9.1.js
attm2x/m2x-gear-s
/*! * 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...
ajax/libs/ember-data.js/2.4.0/ember-data.js
sufuf3/cdnjs
(function(){ "use strict"; /*! * @overview Ember Data * @copyright Copyright 2011-2016 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version 2.4.0 */ var define, requireModule, require, requirejs; (function() ...
src/Eve-Corporation-Portal/Scripts/jquery-1.8.2.js
CreativeSolutionDevelopment/eve-corporation-portal
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
techCurriculum/ui/solutions/4.3/src/index.js
jennybkim/engineeringessentials
/** * Copyright 2017 Goldman Sachs. * 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 writ...
packages/vs-button/story.js
vivintsolar-oss/react-components
import React from 'react'; import { storiesOf } from '@storybook/react'; import { withKnobs, text, boolean } from '@storybook/addon-knobs'; import VSButton from './src/index'; const stories = storiesOf('Button', module); stories.addDecorator(withKnobs); stories.add('Primary', () => { return ( <VSButton d...
src/components/Dashboard/Feed.js
bibleexchange/be-front-new
import React from 'react'; import { Link } from 'react-router'; import { createFragmentContainer, graphql, } from 'react-relay/compat'; class Feed extends React.Component { render() { return (<h1>FEED {this.props.user.email}</h1>) } } Feed.propTypes = { viewer: React.PropTypes.object.isRequired, ...
ajax/libs/yui/3.2.0/event/event-focus-min.js
jrbasso/cdnjs
YUI.add("event-focus",function(e){var d=e.Event,c=e.Lang,a=c.isString,b=c.isFunction(e.DOM.create('<p onbeforeactivate=";">').onbeforeactivate);function f(h,g,j){var i="_"+h+"Notifiers";e.Event.define(h,{_attach:function(l,m,k){if(e.DOM.isWindow(l)){return d._attach([h,function(n){m.fire(n);},l]);}else{return d._attach...
mxcube3/ui/components/Tasks/AddSample.js
meguiraun/mxcube3
import React from 'react'; import { connect } from 'react-redux'; import { reduxForm } from 'redux-form'; import { Modal, ButtonToolbar, Button, Form } from 'react-bootstrap'; import { InputField, FieldsRow } from './fields'; import validate from './validate_add_sample'; class AddSample extends React.Component { con...
src/Popover/Popover.js
pradel/material-ui
import React from 'react'; import ReactDOM from 'react-dom'; import EventListener from 'react-event-listener'; import RenderToLayer from '../internal/RenderToLayer'; import propTypes from '../utils/propTypes'; import Paper from '../Paper'; import throttle from 'lodash.throttle'; import PopoverAnimationDefault from './P...
src/RequestPanel.js
TutorFox/TutorFox
import React from 'react'; export default class RequestPanel extends React.Component { constructor() { super(); this.state = {reqName: "", reqEmail: "", reqPhone: ""}; } componentDidMount() { var that = this; $.ajax({ url: '/users/' + this.props.id, dataType: 'json', success(da...
components/menu/IconMenu.js
showings/react-toolbox
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { themr } from 'react-css-themr'; import { MENU } from '../identifiers'; import InjectIconButton from '../button/IconButton'; import InjectMenu from './Menu'; const factory = (IconButton, Menu) => ...
src/drawer-content.js
2rajpx/fanavard-kid-nums
import React, { Component } from 'react'; import { BackAndroid, } from 'react-native'; import { Container, Content, Button, Icon, } from 'native-base'; import theme from './themes/base-theme'; export default class DrawerContent extends Component { render() { return ( <Container theme={theme} styl...
RNDemo/RNComment/node_modules/react-navigation/lib-rn/views/CardStack.js
995996812/Web
import React, { Component } from 'react'; import clamp from 'clamp'; import { Animated, StyleSheet, PanResponder, Platform, View, I18nManager, Easing } from 'react-native'; import Card from './Card'; import Header from './Header'; import NavigationActions from '../NavigationActions'; import addNavigationHelpers from ...
ajax/libs/yui/3.8.0/event-custom-base/event-custom-base-coverage.js
pc035860/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
app/src/routes/answer/components/sharing/sharing.spec.js
sproogen/itsgoingto.be
import React from 'react' import { render } from '@testing-library/react' import Sharing from './sharing' const defaultProps = { poll: { question: 'This is a question', }, } describe('(Route) answer', () => { describe('(Component) sharing', () => { describe('(Render)', () => { it('matches snapsh...
react-vr/Asteriods/v2/index.vr.js
nikgraf/webvr-experiments
import React from 'react'; import { Animated, AmbientLight, AppRegistry, asset, StyleSheet, Pano, Text, View, } from 'react-vr'; import Easing from 'Easing'; import World from './components/World'; import Asteroid01 from './components/Asteroid01'; import Cockpit from './components/Cockpit'; import Earth...
fields/types/geopoint/GeoPointColumn.js
stosorio/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/src/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/src/components/ItemsTableValue'; var GeoPointColumn = React.createClass({ displayName: 'GeoPointColumn', propTypes: { col: React.PropTypes.object, data: React.PropType...
src/search/facet-box/index.js
JabX/focus-components
import React from 'react'; import builder from 'focus-core/component/builder'; import type from 'focus-core/component/types'; import {translate} from 'focus-core/translation'; let assign = require('object-assign'); let omit = require('lodash/object/omit'); // Components let Facet = require('./facet').component; // M...
ajax/libs/mediaelement/1.1.4/jquery.js
ZDroid/cdnjs
/*! * 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/components/connect_bar.js
erik-sn/mslt
if (process.env.BROWSER) { require('../sass/admin.scss'); } import React from 'react'; const ConnectBar = () => ( <div id="connect-container" > <div className="connect-icon"> <a href="https://github.com/erik-sn"><img src="https://simpleicons.org/icons/github.svg" /></a> </div> <div cl...
components/SkipButton.android.js
FuYaoDe/react-native-app-intro
import React from 'react' import { Text, View, TouchableOpacity, Animated } from 'react-native'; export const SkipButton = ({ styles, onSkipBtnClick, isSkipBtnShow, leftTextColor, skipBtnLabel, skipFadeOpacity }) => { return ( <View style={[styles.btnContainer, { paddingBottom: 5, ...
ajax/libs/ember-data.js/0.0.14/ember-data.prod.js
honestree/cdnjs
(function() { var define, requireModule; (function() { var registry = {}, seen = {}; define = function(name, deps, callback) { registry[name] = { deps: deps, callback: callback }; }; requireModule = function(name) { if (seen[name]) { return seen[name]; } seen[name] = {}; var mod, deps, callb...
src/svg-icons/alert/error-outline.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AlertErrorOutline = (props) => ( <SvgIcon {...props}> <path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 ...
7.0.3/examples/wizard/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__e...
components/Deck/ContentModulesPanel/ContentQuestionsPanel/ContentQuestionsPanel.js
slidewiki/slidewiki-platform
import PropTypes from 'prop-types'; import React from 'react'; import {navigateAction} from 'fluxible-router'; import {connectToStores} from 'fluxible-addons-react'; import ContentQuestionsStore from '../../../../stores/ContentQuestionsStore'; import DeckViewStore from '../../../../stores/DeckViewStore'; import UserPro...
client/react/components/FileInput.js
electrified/notes
import React from 'react'; class FileInput extends React.Component { constructor(props) { super(props); this.onChange = this.onChange.bind(this); } onChange(e) { const { input: { onChange } } = this.props; onChange(e.target.files[0]); } render() { const { input: { value } } = this.props...
packages/react/src/components/UIShell/__tests__/SideNavMenu-test.js
carbon-design-system/carbon-components
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { mount } from 'enzyme'; import { SideNavMenu } from '../SideNavMenu'; import { SideNavMenuItem } from '../...
ajax/libs/webshim/1.15.1/dev/shims/es6.js
pcarrier/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
ajax/libs/angular-google-maps/1.0.11/angular-google-maps.js
rivanvx/cdnjs
/* Author Nick McCready Intersection of Objects if the arrays have something in common each intersecting object will be returned in an new array. */ (function() { _.intersectionObjects = function(array1, array2, comparison) { var res, _this = this; if (comparison == null) { compariso...
ajax/libs/rollbar.js/2.4.4/rollbar.noconflict.umd.js
jonobr1/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["rollbar"] = factory(); else root["rollb...
src/routes.js
sseppola/react-redux-universal-hot-example
import React from 'react'; import {IndexRoute, Route} from 'react-router'; import { isLoaded as isAuthLoaded, load as loadAuth } from 'redux/modules/auth'; import { App, Chat, Home, Widgets, About, Login, LoginSuccess, Survey, NotFound, } from 'containers'; export default (store) ...
example/src/App.js
networknt/react-schema-form
import React from 'react' import { ThemeProvider, StyledEngineProvider, createTheme, adaptV4Theme } from "@mui/material/styles"; import ExamplePage from "./ExamplePage"; const theme = createTheme(adaptV4Theme({ typography: { useNextVariants: true, fontSize: 22 } })); const App = () => { retu...
test/specs/views/Item/ItemMeta-test.js
vageeshb/Semantic-UI-React
import faker from 'faker' import React from 'react' import * as common from 'test/specs/commonTests' import ItemMeta from 'src/views/Item/ItemMeta' describe('ItemMeta', () => { common.isConformant(ItemMeta) common.rendersChildren(ItemMeta) describe('content prop', () => { it('renders text', () => { c...
tests/layouts/CoreLayout.spec.js
mklinga/potatoro
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
src/components/common/svg-icons/image/grain.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageGrain = (props) => ( <SvgIcon {...props}> <path d="M10 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12-8c1....
server.js
leckman/chapterbot
var express = require('express'); var path = require('path'); var logger = require('morgan'); var compression = require('compression'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var expressValidator = require('express-validator'); var dotenv = require('dotenv'); var React = r...
admin/src/route/Home.js
zentrope/webl
// // Copyright (c) 2017 Keith Irwin // // 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 (at your option) any later version. // // This program is distri...