path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/preSite/js/modules/header/header.js
Hoglar/hoglarblog
'use strict'; // Header gets imported into app.js import userAuthentication from '../../functionality/userAuthentication.js'; import capitalizeFirstLetter from '../../functionality/capitalizeFirstLetter.js'; // Gets props from app: loggedInUser, registerButtonClicked() import React from 'react'; export default class...
ajax/libs/inferno/1.0.0-beta24/inferno-mobx.js
emmy41124/cdnjs
/*! * inferno-mobx v1.0.0-beta24 * (c) 2016 Ryan Megidov * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./inferno-component'), require('./inferno'), require('./inferno-create-class'), require('./inf...
src/app/app.js
maybeShuo/react-qiniu-pr
import React, { Component } from 'react'; import ReactQiniu from 'react-qiniu'; export default class App extends Component { constructor (props) { super(props); this.onUpload = this.onUpload.bind(this); this.onDrop = this.onDrop.bind(this); this.handleUploadToQiniu = this.handleUpl...
src/components/pages/home/rating-card.js
translatium/translatium
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Button...
lib/components/ErrorPage.js
Ribeiro/filepizza
import ErrorStore from '../stores/ErrorStore' import React from 'react' import Spinner from './Spinner' export default class ErrorPage extends React.Component { constructor() { super() this.state = ErrorStore.getState() this._onChange = () => { this.setState(ErrorStore.getState()) } } co...
ajax/libs/yui/3.6.0pr3/event-focus/event-focus-min.js
JimBobSquarePants/cdnjs
YUI.add("event-focus",function(f){var d=f.Event,c=f.Lang,a=c.isString,e=f.Array.indexOf,b=c.isFunction(f.DOM.create('<p onbeforeactivate=";"/>').onbeforeactivate);function g(i,h,k){var j="_"+i+"Notifiers";f.Event.define(i,{_attach:function(m,n,l){if(f.DOM.isWindow(m)){return d._attach([i,function(o){n.fire(o);},m]);}el...
ajax/libs/aui/5.4.3/aui/js/aui-all.js
codevinsky/cdnjs
(function(e,t){function i(e){var t=ft[e]={};return Q.each(e.split(tt),function(e,i){t[i]=!0}),t}function n(e,i,n){if(n===t&&1===e.nodeType){var r="data-"+i.replace(mt,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:gt.test(n)?Q.parseJSON(n)...
src/DropdownDemo.js
sparty02/react-toolbox-demo
import React from 'react'; import Dropdown from 'react-toolbox/lib/dropdown'; class DropdownDemo extends React.Component { state = { albumSelected: 3, countrySelected: 'ES-es' }; albums = [ { value: 1, artist: 'Radiohead', album: 'In Rainbows', img: 'http://www.clasesdeperiodismo.com/wp-content/uplo...
src/containers/create-targets.js
MoveOnOrg/mop-frontend
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { loadTargets } from '../actions/createPetitionActions' import Targets from '../components/theme-giraffe/create-petition/ppp-steps/targets' import ConvoTargets from 'GiraffeUI/conversation/targets' // import Nati...
src/routes/admin/index.js
FamilyPlanerTeam/family-planner
/** * 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...
src/routes/Dashboard/components/quote.js
pmg1989/dva-admin
import React from 'react' import PropTypes from 'prop-types' import styles from './quote.less' function Quote ({ name, content, title, avatar }) { return ( <div className={styles.quote}> <div className={styles.inner}> {content} </div> <div className={styles.footer}> <div classNa...
client/node_modules/uu5g03/doc/main/client/src/data/source/uu5-bricks-outline-modal.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin} from '../common/common.js'; import {Modal} from './bricks.js'; export default React.createClass({ //@@viewOn:mixins mixins: [ BaseMixin, ElementaryMixin ], //@@viewOff:mixins //@@viewOn:statics statics: { tagName: 'UU5.Bricks.Out...
web_frontend/react_projectmanager/src/index.js
axnion/playground
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
ajax/libs/reactive-coffee/1.0.0/reactive-coffee.js
froala/cdnjs
(function() { var DepArray, DepCell, DepMap, DepMgr, Ev, FakeObsCell, FakeSrcCell, IndexedArray, IndexedDepArray, IndexedMappedDepArray, MappedDepArray, ObsArray, ObsCell, ObsMap, ObsMapEntryCell, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, SrcMapEntryCell, asyncBind, bind, depMgr, ev, events, firstWhere, flatten, ...
ajax/libs/reactive-coffee/1.1.1/reactive-coffee.min.js
kiwi89/cdnjs
(function(){var a,b=[].slice,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};a=function(a,c,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V...
ajax/libs/webshim/1.14.5-RC1/dev/shims/combos/26.js
jessepollak/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
src/Parser/Shaman/Restoration/Modules/Items/T20_4Set.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import calculateEffectiveHealing from 'Parser/Core/calculateEffectiveHealing'...
common/locales/fr/landing/firstRow.js
florianherrengt/react-redux-test
import React from 'react'; const headerLeft = <p>Premiere ligne gauche</p>; const contentLeft = ( <p> premier contenu gauche </p> ); const headerRight = (<p>Premiere ligne droite</p>); const contentRight = ( <p> Premier contenu droite </p> ); export default { headerLeft, conten...
ajax/libs/rxjs/2.1.1/rx.modern.js
nolsherry/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports && (typeof global == 'object' && global && global == global.global && (window = global...
node_modules/babel-plugin-check-es2015-constants/node_modules/core-js/client/library.js
fnando/babel-schmooze-sprockets
/** * core-js 2.4.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2016 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
src/components/common/Icon.js
alexandernanberg/minimal-react-boilerplate
import React from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' import preval from 'preval.macro' const iconMap = preval` const fs = require('fs') const { join, resolve } = require('path') const iconPath = resolve('public/icons') const icons = fs.readdirSync(iconPath) mo...
app/page/game/join.js
dazorni/9tac
import React from 'react'; import Game from '../../component/game'; import GameForm from '../../component/game-form'; class GameJoinPage extends React.Component { constructor(props) { super(props); let gameCode; if (props.params && props.params.gameCode) { gameCode = props.params.gameCode; } this.stat...
webpack.config.js
zero-coder/gamesfame
var path = require('path'); var webpack = require('webpack'); module.exports = { devtool: 'eval', entry: [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server', './src/index' ], output: { path: path.join(__dirname, 'dist'), filename: 'bundle.js', publicPath: ...
app/components/H3/index.js
samit4me/react-boilerplate
import React from 'react'; function H3(props) { return ( <h3 {...props} /> ); } export default H3;
ajax/libs/react-foundation-apps/0.6.0/react-foundation-apps.js
Rich-Harris/cdnjs
var RFA = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /*****...
app/containers/DevTools/index.js
pieval/electron-react-boilerplate
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; const DevTools = createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-q" defaultIsVisible={f...
src/views/WidgetList/widgets/Measures/Submissions/SubmissionsPage.js
GovReady/GovReady-Agent-Client
import React, { Component } from 'react'; import { PropTypes as PT } from 'prop-types'; import Messages from 'components/Messages'; import BackButton from 'components/BackButton'; import SubmissionsList from './SubmissionsList'; class MeasuresPage extends Component { render () { return ( <div> <div...
node_modules/react-bootstrap/es/FormControlFeedback.js
mohammed52/something.pk
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/components/FormSelect.js
w01fgang/elemental
import blacklist from 'blacklist'; import classNames from 'classnames'; import React from 'react'; import icons from '../icons'; module.exports = React.createClass({ displayName: 'FormSelect', propTypes: { alwaysValidate: React.PropTypes.bool, className: React.PropTypes.string, disabled: React.PropTypes.bool, ...
src/layouts/index.js
rgehan/rgehan.github.io
import React from 'react'; import PropTypes from 'prop-types' import { TypographyStyle, GoogleFont } from 'react-typography'; import { Helmet } from 'react-helmet'; import typography from '../utils/typography'; import Header from './Header.jsx'; import Layout from './Layout.jsx'; import HotjarTracking from '../compone...
ajax/libs/yui/3.5.0pr6/event-custom-base/event-custom-base.js
bspaulding/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
src/svg-icons/device/signal-wifi-off.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalWifiOff = (props) => ( <SvgIcon {...props}> <path d="M23.64 7c-.45-.34-4.93-4-11.64-4-1.5 0-2.89.19-4.15.48L18.18 13.8 23.64 7zm-6.6 8.22L3.27 1.44 2 2.72l2.05 2.06C1.91 5.76.59 6.82.36 7l11.63 14.4...
src/svg-icons/image/flash-off.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlashOff = (props) => ( <SvgIcon {...props}> <path d="M3.27 3L2 4.27l5 5V13h3v9l3.58-6.14L17.73 20 19 18.73 3.27 3zM17 10h-4l4-8H7v2.18l8.46 8.46L17 10z"/> </SvgIcon> ); ImageFlashOff = pure(ImageFlashOf...
resources/react/components/parts/schedule/ScheduleContents.js
fetus-hina/stat.ink
import PropTypes from 'prop-types'; import React from 'react'; import ScheduleContent from './ScheduleContent'; import esc from 'escape-html'; import { connect } from 'react-redux'; import { createUseStyles } from 'react-jss'; const useStyles = createUseStyles({ tabContentRoot: { display: 'flex', flexWrap: '...
app/javascript/mastodon/components/avatar_overlay.js
gol-cha/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { autoPlayGif } from '../initial_state'; export default class AvatarOverlay extends React.PureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, friend:...
src/LabelText.story.js
prometheusresearch/react-ui
/** * @flow */ import React from 'react'; import {storiesOf} from '@kadira/storybook'; import LabelText from './LabelText'; storiesOf('<LabelText />', module).add('Regular', () => ( <LabelText>I'm a label</LabelText> ));
ignite-base/App/Navigation/NavItems.js
lukabers/ignite
import React from 'react' import { TouchableOpacity } from 'react-native' import styles from './Styles/NavItemsStyle' import { Actions as NavigationActions } from 'react-native-router-flux' import Icon from 'react-native-vector-icons/FontAwesome' import { Colors, Metrics } from '../Themes' const openDrawer = () => { ...
packages/material-ui-icons/src/ChromeReaderModeRounded.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="M21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14c0 .55-.45 1-1 1h-8V6h8c.55 0 1 .45 1 1v11z" /><path d="M19....
components/SingleFlop.js
TopOfTheFlops/client-side
import React from 'react' import Header from './Header' import Nav from './Nav' import deleteFlop from '../api/deleteFlop' import voteFlop from '../api/voteFlop' function Flops ({state, dispatch}) { function goToCreateFlop (e) { dispatch({type: 'CHANGE_PAGE', payload: '/flops/new'}) } function goBack (e) {...
src/svg-icons/action/pan-tool.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPanTool = (props) => ( <SvgIcon {...props}> <path d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4...
stories/components/modal/index.js
sethbergman/operationcode_frontend
import React, { Component } from 'react'; import { storiesOf } from '@storybook/react'; import Modal from 'shared/components/modal/modal'; class ComponentWithModal extends Component { constructor() { super(); this.state = { isModalOpened: false, }; } handleOpen = () => { this.setState({ i...
app/javascript/mastodon/features/lists/components/new_list_form.js
dunn/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { changeListEditorTitle, submitListEditor } from '../../../actions/lists'; import IconButton from '../../../components/icon_button'; import { defineMessages, injectIntl } from 'react-intl'; const messages = def...
node_modules/babel-preset-stage-0/node_modules/babel-preset-stage-1/node_modules/babel-plugin-transform-class-constructor-call/node_modules/babel-runtime/helpers/typeof-react-element.js
bernardAdark/myCrib-doc
"use strict"; var _Symbol = require("babel-runtime/core-js/symbol")["default"]; exports["default"] = typeof _Symbol === "function" && _Symbol."for" && _Symbol."for"("react.element") || 60103; exports.__esModule = true;
Client/Components/LocationMarkerCallout.js
JabroniZambonis/pLot
import styles from '../Style/style.js' import React from 'react' import { View, Text, TouchableOpacity, Image } from 'react-native' import Icon from 'react-native-vector-icons/Entypo' import serverURL from '../Lib/url' export default LocationMarkerCallout = ( { description, navigator, key, coordinate, title, id, revi...
src/routes.js
gotrecillo/ManyMovies
import React from 'react'; import { Route, Redirect } from 'react-router'; import App from './containers/App'; export default ( <Route path="/" component={App}> <Redirect path="*" to="/" /> </Route> );
ajax/libs/jqwidgets/10.1.0/jqwidgets-react-tsx/jqxdockinglayout/react_jqxdockinglayout.umd.min.js
cdnjs/cdnjs
require("../../jqwidgets/jqxcore"),require("../../jqwidgets/jqxbuttons"),require("../../jqwidgets/jqxwindow"),require("../../jqwidgets/jqxribbon"),require("../../jqwidgets/jqxlayout"),require("../../jqwidgets/jqxmenu"),require("../../jqwidgets/jqxscrollbar"),require("../../jqwidgets/jqxdockinglayout"),function(t,e){"ob...
local-cli/wrong-react-native.js
geoffreyfloyd/react-native
#!/usr/bin/env node console.error([ '\033[31mLooks like you installed react-native globally, maybe you meant react-native-cli?', 'To fix the issue, run:\033[0m', 'npm uninstall -g react-native', 'npm install -g react-native-cli' ].join('\n'));
src/svg-icons/action/pets.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPets = (props) => ( <SvgIcon {...props}> <circle cx="4.5" cy="9.5" r="2.5"/><circle cx="9" cy="5.5" r="2.5"/><circle cx="15" cy="5.5" r="2.5"/><circle cx="19.5" cy="9.5" r="2.5"/><path d="M17.34 14.86c-.8...
ajax/libs/yui/3.8.0/event-focus/event-focus-coverage.js
underyx/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...
ajax/libs/yui/3.1.1/event-custom/event-custom-debug.js
featurist/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
src/components/RowDefinition.js
ttrentham/Griddle
import React, { Component } from 'react'; import PropTypes from 'prop-types'; export default class RowDefinition extends Component { static propTypes = { //Children can be either a single column definition or an array //of column definition objects //TODO: get this prop type working again /*children:...
src/webview/js/components/screens/elements.js
julianburr/sketch-debugger
import React, { Component } from 'react'; import LogList from 'components/console/log-list'; import _ from 'lodash'; import { connect } from 'react-redux'; import ElementTree from 'components/elements/element-tree'; const mapStateToProps = state => { return { tree: state.elements.tree }; }; @connect(mapStateT...
mobile/components/StyledText.js
AbrahamShubApps/OccasionMe
import React from 'react'; import { Text } from 'react-native'; export class MonoText extends React.Component { render() { return ( <Text {...this.props} style={[this.props.style, { fontFamily: 'space-mono' }]} /> ); } }
packages/material-ui-icons/legacy/PersonPinCircle.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><defs><path id="a" d="M0 0h24v24H0V0z" /></defs><path d="M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7zm0 2c1.1 0 2 .9 2 2 0 1.11-.9 2-2 2s-2-.89-2-2c0-1.1.9-2 2-2zm0 1...
packages/material-ui-icons/src/FlagRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M14.4 6l-.24-1.2c-.09-.46-.5-.8-.98-.8H6c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1s1-.45 1-1v-6h5.6l.24 1.2c.09.47.5.8.98.8H19c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1h-4.6z" /> , 'FlagRounded');
docs/app/Examples/modules/Dropdown/Content/DropdownExampleDivider.js
clemensw/stardust
import React from 'react' import { Dropdown } from 'semantic-ui-react' const DropdownExampleDivider = () => ( <Dropdown text='Filter' floating labeled button className='icon'> {/* <i class="filter icon"></i> */} <Dropdown.Menu> <Dropdown.Header icon='tags' content='Filter by tag' /> <Dropdown.Div...
tests/Rules-minLength-spec.js
optiopay/optiopay-form
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import Formsy from './..'; import { InputFactory } from './utils/TestInput'; const TestInput = InputFactory({ render() { return <input value={this.getValue()} readOnly/>; } }); const TestForm = React.createClass({ render() { re...
node_modules/react-icons/io/ios-alarm.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoIosAlarm = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m34.1 15l-4.3-4.1-0.7 0.7c2.7 2.5 4.4 6.2 4.4 10.2 0 3.4-1.2 6.5-3.3 8.9l2.9 3.5-1.1 0.8-2.7-3.4c-2.5 2.4-5.8 3.9-9.5 3.9-3.7 0-7-1.5-9.5-3.9l-2.8 3.4-0.9-0.8 2.8-3....
ajax/libs/ag-grid/4.1.4/lib/utils.js
froala/cdnjs
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.1.4 * @link http://www.ag-grid.com/ * @license MIT */ var FUNCTION_STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; var FUNCTION_ARGUMENT_NAMES = /([^\s,]+)/g; var Utils = (function () { ...
src/svg-icons/image/filter-8.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilter8 = (props) => ( <SvgIcon {...props}> <path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-8-2h2c1.1 0 2-.89 2-2v-1...
screens/CommentsScreen.js
sophiatao/mhacksx
import React from 'react'; import {View, Text, StyleSheet, FlatList, TextInput } from 'react-native'; import { Col, Grid, Row } from "react-native-easy-grid"; import Input from './Input'; const extractKey = ({id}) => id; export default class CommentsScreen extends React.Component { constructor(props) { su...
app/src/client/app/framework/MapPresentation.js
syrel/Open-Data
/** * Created by syrel on 22.05.17. */ import React from 'react'; import * as d3 from "d3"; import SvgPresentation from './SvgPresentation'; import _ from 'underscore' class MapLayer { constructor(index, presentation) { this.state = { evaluated: entity => entity, displayed: entit...
src/helpers/__tests__/connectData-test.js
lordakshaya/pages
import { expect } from 'chai'; import React from 'react'; import { div } from 'react-dom'; import connectData from '../connectData'; describe('connectData', () => { let fetchData; let fetchDataDeferred; let WrappedComponent; let DataComponent; beforeEach(() => { fetchData = 'fetchDataFunction'; fetc...
src/components/Drawer/demo/handler/index.js
lebra/lebra-components
import Drawer from '../../index'; import React, { Component } from 'react'; import { render } from 'react-dom'; import './index.less'; /** * 基础drawer,不带有handler */ class BaseDemo extends Component { constructor(props) { super(props); this.state = { open: false } } chang...
Examples/UIExplorer/SliderIOSExample.js
pj4533/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
packages/material-ui-icons/src/DevicesOtherOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3 6h18V4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V6zm10 6H9v1.78c-.61.55-1 1.33-1 2.22 0 .89.39 1.67 1 2.22V20h4v-1.78c.61-.55 1-1.34 1-2.22s-.39-1.67-1-2.22V12zm-2 5.5c-.83 0-1.5-.67-1.5-1.5s.67-1....
packages/material-ui-icons/src/RowingSharp.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M8.5 14.5L4 19l1.5 1.5L9 17h2l-2.5-2.5zM15 1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 20.01L18 24l-2.99-3.01V19.5l-7.1-7.09c-.31.05-.61.07-.91.07v-2.16c1.66.03 3.61-.87 4.67-2.04l...
src/components/common/footer/Footer.js
Khadosh/leoManga
import React from 'react'; import './Footer.scss'; const Footer = () => (<div className="AppLayout__Footer"><p>Some Footer</p></div>); export default Footer;
node_modules/react-icons/md/border-right.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdBorderRight = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m18.4 15v-3.4h3.2v3.4h-3.2z m0-6.6v-3.4h3.2v3.4h-3.2z m0 13.2v-3.2h3.2v3.2h-3.2z m6.6-13.2v-3.4h3.4v3.4h-3.4z m0 26.6v-3.4h3.4v3.4h-3.4z m6.6-30h3.4v30h-3.4v-30z ...
src/providers/PopupProvider.js
talibasya/redux-store-ancillary
import React from 'react' class PopupProvider extends React.Component { render () { const { children, popup } = this.props const Parent = React.cloneElement(children) let modifiedChildren = [] React.Children.forEach(children, child => { React.Children.forEach(child.props.children, child2 => ...
react_native_frontend/src/components/snapshots/_goals.js
CUNYTech/BudgetApp
import React, { Component } from 'react'; import { View, Text, StyleSheet, TouchableOpacity, Dimensions, ScrollView } from 'react-native'; import { Actions } from 'react-native-router-flux'; import { Goals } from '../../pages/goals.js'; import IndiGoal from '../goalHelpers/indiGoal.js'; import * as Progress from 'react...
avalon/tags/6dbd06e5a85ddc3145166944ae7eb632ce39cc28/public/javascripts/jquery-1.4.2.min.js
tessafallon/dhf
/*! * 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. ...
react-relative-portal/src/Dropdown.js
smartprogress/smartprogress.github.io
import React from 'react'; import RelativePortal from 'react-relative-portal'; export default class Hint extends React.Component { static propTypes = { children: React.PropTypes.any, position: React.PropTypes.oneOf(['left', 'right']), }; state = { show: false, }; render() { const { childre...
ajax/libs/angular-data/0.10.1/angular-data.js
voronianski/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 0.10.1 - Homepage <http://angular-data.pseudobry.com/> * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/> * @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE> * * @overview Data store for Angular.js...
dungeon-maker/src/components/DungeonGrid.js
sgottreu/dungeoneering
import React, { Component } from 'react'; import DungeonGridSlot from './DungeonGridSlot'; import '../css/DungeonGrid.css'; import {getEntity} from '../lib/Entity'; class DungeonGrid extends Component { // shouldComponentUpdate(nextProps) { // console.log(this.props.slots[0]); // return (JSON.stringify(nextProps....
src/javascript/components/Footer.js
maringerov/redux-react-router-example-app
import React, { Component } from 'react'; const styles = { layout: { height: '100px' }, footerText: { textAlign: 'right', padding: '40px 0', fontSize: '10px' } }; export default class Footer extends Component { render() { return ( <div style={styles.layout}> <div style...
src/parser/demonhunter/havoc/modules/talents/FelMastery.js
fyruna/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import TalentStatisticBox from 'interface/others/TalentStatisticBox'; import STATISTIC_ORDER from 'interface/others/STATISTIC_ORDER'; import Events from 'parser/core/Events'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import { formatT...
srcForIOS/components/ItemMultiSelectList.js
designrad/Jotunheimen-tracking
import React, { Component } from 'react'; import ReactNative from 'react-native'; const { StyleSheet, Text, View, TouchableOpacity, TextInput, TouchableHighlight, TouchableWithoutFeedback } = ReactNative; import InputText from './InputText'; import CheckBox from 'react-native-checkbox'; import update f...
docs/src/pages/demos/progress/LinearBuffer.js
AndriusBil/material-ui
/* eslint-disable flowtype/require-valid-file-annotation */ import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import { LinearProgress } from 'material-ui/Progress'; const styles = { root: { width: '100%', marginTop: 30, }, }; class LinearBuffe...
src/index.js
jwinut/poke
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import { Router,browserHistory } from 'react-router'; import reducers from './reducers'; import routes from './routes'; import promise from 'redux-promise'; import ...
src/Switch/Switch.stories.js
ctco/rosemary-ui
import React from 'react'; import { storiesOf } from '@storybook/react'; import Switch from './Switch'; storiesOf('Switch', module) .add('Controlled', () => <Switch onChange={value => console.log(value)} value={false} title="This is Title" />) .add('Checked Not Controlled', () => ( <Switch onChange={va...
tests/react_native_tests/test_data/native_code/Scrollview/app/components/UserConnect_4/index.js
ibhubs/sketch-components
/** * @flow */ import React from 'react' import PropTypes from 'prop-types' import { observer } from 'mobx-react/native' import styles from './styles' import UserConnect_4 from './component' @observer class UserConnect_4Wrapper extends React.Component { render() { return ( <UserConnect_4 {...thi...
ajax/libs/zxcvbn/1.0.3/zxcvbn.min.js
froala/cdnjs
(function(){var aC,aM,aK,aB,ah,ag,af,ae,ad,ac,ab,t,ap,aL,ao,r,o,m,l,k,i;ab=function(n){var p,q;q=[];for(p in n){q.push(p)}return 0===q.length};ap=function(n,p){return n.push.apply(n,p)};k=function(n,p){var w,u,s,v,q;v=n.split("");q=[];u=0;for(s=v.length;u<s;u++){w=v[u],q.push(p[w]||w)}return q.join("")};r=function(n,p)...
src/components/debian/original-wordmark/DebianOriginalWordmark.js
fpoumian/react-devicon
import React from 'react' import PropTypes from 'prop-types' import SVGDeviconInline from '../../_base/SVGDeviconInline' import iconSVG from './DebianOriginalWordmark.svg' /** DebianOriginalWordmark */ function DebianOriginalWordmark({ width, height, className }) { return ( <SVGDeviconInline className={'D...
src/svg-icons/maps/local-hospital.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalHospital = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z"/> </SvgIcon> ); MapsLocal...
examples/todomvc/components/Footer.js
calesce/redux-slider-monitor
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { SHOW_ALL, SHOW_MARKED, SHOW_UNMARKED } from '../constants/TodoFilters'; const FILTER_TITLES = { [SHOW_ALL]: 'All', [SHOW_UNMARKED]: 'Active', [SHOW_MARKED]: 'Completed' }; export default c...
web/application/applications.js
jgraichen/mnemosyne
import React from 'react' import { Panel } from '../components/panel' export class Applications extends React.Component { constructor(...args) { super(...args) } render() { return <Panel> <h2>Applications</h2> </Panel> } }
src/components/Charts/Sankey/index.js
wu-sheng/sky-walking-ui
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
client/src/components/Home.js
kevinladkins/newsfeed
import React from 'react' import Login from '../containers/Login' import {Link} from 'react-router-dom' const Home = (props) => <div> <h2 > Welcome! Log in below to view your newsfeed, or <Link className="link" to="/signup">click here</Link> to sign up. </h2> <Login history={props.history...
electron/app/components/TreeItem.js
zindlerb/motif
import React from 'react'; import classnames from 'classnames'; function Arrow(props) { return ( <span onClick={props.onClick} className={classnames('collapsableArrow c-pointer', { open: !props.isClosed })}> &#x25ba; </span> ); } const TreeItem = function (props) { let arrow; if ...
ajax/libs/rxjs/2.2.21/rx.lite.compat.js
SaravananRajaraman/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/js/components/input/datefilter/input_datefilter.js
rafaelfbs/realizejs
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from '../../../prop_types'; import { autobind, mixin } from '../../../utils/decorators'; import InputBase from '../input_base'; import InputDatefilterSelect from './input_datefilter_select'; import InputDatefilterBody from './input_datefilte...
node_modules/react-icons/io/android-phone-landscape.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoAndroidPhoneLandscape = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35 28c0 1.8-1.5 3.3-3.2 3.3h-28.6c-1.7 0-3.2-1.5-3.2-3.3v-16c0-1.8 1.5-3.2 3.2-3.2h28.6c1.7 0 3.2 1.4 3.2 3.2v16z m-28.7 0.4h22.5v-16.8h-22.5v16.8z"/><...
local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen.js
jasonnoahchoi/react-native
'use strict'; import React, { Component } from 'react'; import { Image, Platform, StyleSheet, } from 'react-native'; import ListItem from '../../components/ListItem'; import WelcomeText from './WelcomeText'; export default class WelcomeScreen extends Component { static navigationOptions = { title: 'Welc...
local-cli/templates/HelloWorld/__tests__/index.ios.js
PlexChat/react-native
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
ajax/libs/forerunnerdb/1.3.431/fdb-all.min.js
dlueth/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
ajax/libs/forerunnerdb/1.3.477/fdb-core+views.min.js
redmunds/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
app/components/HomeComponent/OverviewComponent.js
openexp/OpenEXP
import React, { Component } from 'react'; import { Grid, Header, Button, Segment } from 'semantic-ui-react'; import styles from '../styles/common.css'; import { EXPERIMENTS } from '../../constants/constants'; import SecondaryNavComponent from '../SecondaryNavComponent'; import PreviewExperimentComponent from '../Previe...
server/client/src/components/Dashboard.js
gsarpy/campaigner
import React from 'react'; import { Link } from 'react-router-dom'; const Dashboard = () => { return ( <div> <div className="fixed-action-btn"> <Link to={'/surveys/new'} className="btn-floating btn-large red"> <i className="large material-icons">note_add</i> </Link> </div> ...
ajax/libs/rxjs/2.3.1/rx.lite.extras.js
paleozogt/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, ...