path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/common/NotFound.js
FredBoat/fredboat.com
import React, { Component } from 'react'; import "./css/NotFound.css"; const messages = [ "Lost at sea...", "Wait. Where is the water?", "Where'd the music go?" ]; function chosenMessage(message) { return messages[Math.floor(Math.random() * messages.length)] } class NotFound extends Component { render() { ...
app/src/components/ColorScaleLegend/ColorScaleLegend.js
WoundedPixels/us-population
// @flow import React, { Component } from 'react'; import * as d3 from 'd3'; import './ColorScaleLegend.css'; class ColorScaleLegend extends Component { render() { const { blockHeight, blockWidth, colorScale, format, values } = this.props; return ( <div className="ColorScaleLegend" s...
public/js/jquery.min.js
prasunsultania/node-express-mongoose-demo
/*! 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...
src/elements/BootButton/BootButtonToolbar.js
shengnian/shengnian-ui-react
import React from 'react' import PropTypes from 'prop-types' import cx from 'classnames' import { mapToCssModules } from '../../lib/' const propTypes = { tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]), 'aria-label': PropTypes.string, className: PropTypes.string, cssModule: PropTypes.object, rol...
ajax/libs/ink/2.2.1/js/ink.js
a8m/cdnjs
(function() { 'use strict'; /** * @module Ink_1 */ /** * global object * * @class Ink */ // skip redefinition of Ink core if ('Ink' in window) { return; } // internal data /* * NOTE: * invoke Ink.setPath('Ink', '/Ink/'); before requiring local...
packages/material-ui-icons/src/SpeakerNotesOffRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M1.91 2.36c-.35-.35-.92-.35-1.27 0s-.35.92 0 1.27l1.38 1.38L2 22l4-4h9l5.09 5.09c.35.35.92.35 1.27 0s.35-.92 0-1.27L1.91 2.36zM7 14c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-3c-.55 0-1-.45-1-1...
ajax/libs/react-native-web/0.17.2/cjs/modules/useElementLayout/index.js
cdnjs/cdnjs
"use strict"; exports.__esModule = true; exports.default = useElementLayout; var _ExecutionEnvironment = require("fbjs/lib/ExecutionEnvironment"); var _useLayoutEffect = _interopRequireDefault(require("../useLayoutEffect")); var _UIManager = _interopRequireDefault(require("../../exports/UIManager")); function _int...
assets/js/main.min.js
fabricejumel/fabricejumel.github.io
--- layout: --- /*! * Minimal Mistakes Jekyll Theme 4.4.1 by Michael Rose * Copyright 2017 Michael Rose - mademistakes.com | @mmistakes * Licensed under MIT */ !function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuer...
src/containers/Form/DateTimePage.js
Aus0049/react-component
/** * Created by Aus on 2017/7/26. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {DateTime} from '../../components/Form/' import Tools from '../../components/Tools/Tools' import moment from 'moment' class DateTimePage extends React.Component { constructor (pr...
ajax/libs/forerunnerdb/1.3.42/fdb-core.min.js
jdh8/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...
src/js/components/Layer/stories/Notification.js
grommet/grommet
import React from 'react'; import { Add, FormClose, StatusGood } from 'grommet-icons'; import { Box, Button, Layer, Text } from 'grommet'; export const NotificationLayer = () => { const [open, setOpen] = React.useState(); const onOpen = () => { setOpen(true); setTimeout(() => { setOpen(undefined);...
src/index.js
dorono/resistance-calendar-frontend
import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter as Router } from 'react-router-dom'; import routes from './routes/routes'; import './style/global.sass'; ReactDOM.render( <Router> {routes} </Router>, document.getElementById('root') );
src/components/common/PeriodicEditableWordCloudDataCard.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { injectIntl } from 'react-intl'; import EditableWordCloudDataCard from './EditableWordCloudDataCard'; import withTimePeriods from './hocs/PeriodicContent'; import { calculateTimePeriods } from '../../lib/dateUtil'; const PeriodicEditableWordCloudDa...
blueocean-material-icons/src/js/components/svg-icons/image/crop-square.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ImageCropSquare = (props) => ( <SvgIcon {...props}> <path d="M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H6V6h12v12z"/> </SvgIcon> ); ImageCropSquare.displayName = 'ImageCropSquare'; ImageCropSquare.muiNa...
ajax/libs/primereact/8.0.0-rc.2/ripple/ripple.esm.min.js
cdnjs/cdnjs
import*as e from"react";import r from"primereact/api";import{useMountEffect as t,useUpdateEffect as n,useUnmountEffect as u}from"primereact/hooks";import{DomHandler as c}from"primereact/utils";var i=e.memo(e.forwardRef((function(){var i=e.useRef(null),o=e.useRef(null),a=function(){return i.current&&i.current.parentElem...
src/js/components/input/checkbox/input_checkbox_group.js
rafaelfbs/realizejs
import React from 'react'; import PropTypes from '../../../prop_types'; import { mixin } from '../../../utils/decorators'; import { ensureIsArray } from '../../../utils/array'; import InputBase from '../input_base'; import { CssClassMixin, SelectComponentMixin } from '../../../mixins'; import { InputCheckbox, Labe...
src/components/TrustPublishForm/index.js
iris-dni/iris-frontend
import React from 'react'; import { reduxForm } from 'redux-form'; import settings from 'settings'; import { updatePetition } from 'actions/PetitionActions'; import trustPublishValidator from 'form/trustPublishValidator'; import assignPetitionData from 'form/assignPetitionData'; import Fieldset from 'components/Fieldse...
ajax/libs/aui/5.6.8/aui/js/aui-dependencies.js
emijrp/cdnjs
!function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(....
chrome/app/popup/index.js
omega-prime/omega
import React from 'react'; import 'todomvc-app-css/index.css'; chrome.storage.local.get('state', (obj) => { let state = obj.state; if (state) { window.state = JSON.parse(state); } let Root = require('../../../app/todoapp/Root'); React.render( <Root />, document.querySelector('#root') ); });
src/view/dashboard/components/recentSales.js
fishmankkk/mircowater2.0
import React from 'react' import PropTypes from 'prop-types' import { Table, Tag } from 'antd' import { color } from 'utils' import styles from './recentSales.less' const status = { 1: { color: color.green, text: 'SALE', }, 2: { color: color.yellow, text: 'REJECT', }, 3: { color: color.re...
packages/icons/src/md/device/SignalWifi0Bar.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdSignalWifi0Bar(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path fillOpacity=".3" d="M24.3 42.98L47.56 14c-.9-.68-9.85-8-23.28-8C10.85 6 1.9 13.32 1 14l23.26 28.98.02.02.02-.02z" /> </...
src/Avatar/Avatar.spec.js
rscnt/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Avatar from './Avatar'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Avatar />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node) => shallow(node, {context: ...
ajax/libs/zeroclipboard/2.0.3/ZeroClipboard.js
extend1994/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.0.3 */ (function(window, undefined) { "use strict";...
antd-dva/game-ui-editor/src/components/GlobalLeft/AnotherResTree.js
JianmingXia/StudyTest
import React from 'react'; import { connect } from 'dva'; import { Tree } from 'antd'; import PropTypes from 'prop-types'; const TreeNode = Tree.TreeNode; const AnotherResTree = ({ anotherrestree } ) => { const loop = data => data.map((item) => { if (item.children && item.children.length) { return <TreeNo...
ajax/libs/forerunnerdb/1.3.395/fdb-legacy.min.js
seogi1004/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...
demo/tile-bounding-box.js
joelburget/d4
// see https://bl.ocks.org/mbostock/eb0c48375fcdcdc00c54a92724733d0d import React from 'react'; import {geoMercator, geoPath} from 'd3-geo'; import {tile} from 'd3-tile'; import topojson from 'topojson'; import us from '../data/us.json'; const pi = Math.PI; const tau = 2 * pi; const width = 960; const height = 600;...
themes/frontend/assets/vendor/node_modules/reactify/node_modules/react-tools/src/core/__tests__/ReactIdentity-test.js
fonea/velon
/** * Copyright 2013-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. * * @emails react-co...
ajax/libs/cellx/1.6.75/cellx.js
joeyparrish/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.cellx = factory()); }(this, (function () { 'use strict'; var ErrorLogger = { _handler: null, /** * @typesign (handler:...
src/app/components/Icon/index.js
nhardy/web-scaffold
// @flow import React from 'react'; import cx from 'classnames'; import styles from './styles.styl'; // eslint-disable-next-line react/require-default-props const Icon = ({ name, className, image = false, ...props }: { name: string, className?: string, image?: boolean }) => { let Svg; try { // eslint-disabl...
assets/jqwidgets/demos/react/app/grid/spreadsheet/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js'; import JqxButton from '../../../jqwidgets-react/react_jqxbuttons.js'; class App extends React.Component { componentDidMount() { this.refs.myButton.on('click', () => { t...
lib/components/ResultsCore/ResultsCore.js
christielynam/do-you
import React from 'react'; import './ResultsCore.css'; const ResultsCore = ({ personality_blend, personality_types, }) => { const complementConflict = personality_blend.details.map( object => { return ( <div className='complement-conflict'> <h6>{ object.title }</h6> <p>{ object.body }</p> ...
www/windows/terminalWindow/components/Multiplexer/Pane/DropIndicator/index.js
AlmirKadric-org/exTerm-electron
import React from 'react'; import classNames from 'classnames'; import { observer } from 'mobx-react'; import './styles.less'; export default observer( class Overlay extends React.Component { render() { return ( <div className={ classNames('drop-indicator', 'fill', this.props.className) }> <div clas...
packages/material-ui-icons/src/ScreenLockLandscapeOutlined.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 5H3c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-2 12H5V7h14v10zm-9-1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1v-1c0-...
app/home/GDHalfHourHot.js
jo-liu/GD
/** * Created by Jo on 2017/8/30. */ import React, { Component } from 'react'; import { StyleSheet, Text, View, TouchableOpacity, Image, ListView, Dimensions, DeviceEventEmitter, } from 'react-native'; // 第三方 import {PullList} from 'react-native-pull'; const {width, height} = Dimens...
examples/passing-props-to-children/app.js
taion/rrtr
import React from 'react' import { render } from 'react-dom' import { browserHistory, Router, Route, Link } from 'rrtr' import './app.css' const App = React.createClass({ contextTypes: { router: React.PropTypes.object.isRequired }, getInitialState() { return { tacos: [ { name: 'duck confit...
misc/jquery.js
Jos9021/drupalcommerceone
/*! * 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....
ajax/libs/yui/3.1.2/event-custom/event-custom-base.js
SirenHound/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...
client/modules/App/components/DevTools.js
Hitzk0pf/BetterBackPacking
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-w" > <LogMonitor /> ...
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-block-scoping/node_modules/babel-traverse/lib/path/lib/hoister.js
igMartin/Redux-Tinder
"use strict"; exports.__esModule = true; var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck"); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _getIterator2 = require("babel-runtime/core-js/get-iterator"); var _getIterator3 = _interopRequireDefault(_getIterator2); var _babel...
src/components/general/StateSelector.js
katima-g33k/blu-react-desktop
/* eslint react/no-did-mount-set-state: 0 */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { DEFAULT_STATE_VALUE } from '../../lib/constants'; import I18n from '../../lib/i18n'; import { Select } from './formInputs'; import { State } from '../../lib/models'; export default clas...
web/js/jquery_jquery-1.10.2_1.js
alex-ception/project-mgmt
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
src/svg-icons/image/grid-off.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageGridOff = (props) => ( <SvgIcon {...props}> <path d="M8 4v1.45l2 2V4h4v4h-3.45l2 2H14v1.45l2 2V10h4v4h-3.45l2 2H20v1.45l2 2V4c0-1.1-.9-2-2-2H4.55l2 2H8zm8 0h4v4h-4V4zM1.27 1.27L0 2.55l2 2V20c0 1.1.9 2 2 2h...
src/components/OrderSummary/OrderSummary.js
jzhang300/carbon-components-react
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Link from '../Link'; export class OrderSummary extends Component { static propTypes = { children: PropTypes.node, className: PropTypes.string, }; render() { const { children, cla...
node_modules/react-material-icons/icons/content/add-circle.js
jotamaggi/react-calendar-app
'use strict'; var React = require('react'); var mui = require('material-ui'); var SvgIcon = mui.SvgIcon; var ContentAddCircle = React.createClass({ displayName: 'ContentAddCircle', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: ...
actor-apps/app-web/src/app/components/JoinGroup.react.js
liuzwei/actor-platform
import React from 'react'; import requireAuth from 'utils/require-auth'; import DialogActionCreators from 'actions/DialogActionCreators'; import JoinGroupActions from 'actions/JoinGroupActions'; import JoinGroupStore from 'stores/JoinGroupStore'; // eslint-disable-line class JoinGroup extends React.Component { st...
src/js/components/cart/app-cart-button.js
rafaelkyrdan/flux-app
import React from 'react'; export default (props) => { return ( <button className="btn btn-default btn-sm" onClick={ props.handler }>{props.txt}</button> ); };
ajax/libs/react/0.11.0/react-with-addons.min.js
nagyist/OpenF2-cdnjs
/** * React (with addons) v0.11.0 * * Copyright 2013-2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
src/components/SavoringToolResponseContainer/SavoringToolResponseContainer.js
goldylucks/adamgoldman.me
// @flow import React from 'react' import axios from 'axios' import { nn } from '../../utils' type Props = { toolSlug: string, children: React.Node, user: Object, onLogin: Function, onUpdateUser: Function, } export default class SavoringToolResponseContainer extends React.Component<Props> { state = { ...
src/parser/deathknight/blood/modules/features/DeathStrikeTiming.js
sMteX/WoWAnalyzer
import React from 'react'; import SelfHealTimingGraph from 'parser/shared/modules/features/SelfHealTimingGraph'; import SPELLS from 'common/SPELLS'; class DeathStrikeTiming extends SelfHealTimingGraph { constructor(...args) { super(...args); this.selfHealSpell = SPELLS.DEATH_STRIKE_HEAL; this.tabTitle ...
gui/static/angular-components/hunt/hunts-list-directive.js
ksmaheshkumar/grr
'use strict'; goog.provide('grrUi.hunt.huntsListDirective.HuntsListController'); goog.provide('grrUi.hunt.huntsListDirective.HuntsListDirective'); goog.scope(function() { /** * Controller for HuntsListDirective. * * @constructor * @param {!angular.Scope} $scope * @param {!angularUi.$modal} $modal Bootstrap UI...
src/esm/components/graphics/icons/burger-icon/index.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["mainColor", "hoverColor", "isActive", "iconTitle", "title", "width", "height", "isAnimatedOnHover", "style", "className"]; import React from 'react'; ...
app/containers/main/main.container.js
rohankangale2011/react-native-fblogin
import React, { Component } from 'react'; import { Text, View, Dimensions, ActivityIndicator } from 'react-native'; import data from '../../common/data'; import ApiUtils from '../../common/api-utils'; import FabComponent from '../../common/fab.component'; import ModalComponent from '../../common/modal'; import MainComp...
modules/Router.js
batmanimal/react-router
import React from 'react' import warning from 'warning' import createHashHistory from 'history/lib/createHashHistory' import { createRoutes } from './RouteUtils' import RoutingContext from './RoutingContext' import useRoutes from './useRoutes' import { routes } from './PropTypes' const { func, object } = React.PropTyp...
src/hooks/useFieldScope.js
tannerlinsley/react-form
import React from 'react' // import { FormContextProvider } from './useFormContext' export default function useFieldScope(contextValue) { const FieldScopeRef = React.useRef() const FieldScopeApiRef = React.useRef() FieldScopeApiRef.current = contextValue // Create a new form element if (!FieldScopeRef.cur...
src/svg-icons/action/pets.js
barakmitz/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...
docs/API/swagger-ui-bundle.js
teharrison/AWE
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(function(){try{return require("esprima")}catch(e){}}()):"function"==typeof define&&define.amd?define(["esprima"],t):"object"==typeof exports?exports.SwaggerUIBundle=t(function(){try{return require("esprima")}catch(e){}}()):e.SwaggerUIBund...
newclient/scripts/components/admin/disclosure-filter-by-disposition/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program 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, either version 3 of the Lic...
packages/react-devtools-shell/src/app/InspectableElements/SimpleValues.js
flarnie/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import React from 'react'; export default function SimpleValues() { return ( <ChildComponent string="abc"...
src/Tab.js
downzer0/react-tabs
import React from 'react'; class Tab extends React.Component { constructor(props) { super(props); this.state = { expanded: this.props.index === this.props.selectedIndex, selected: this.props.index === this.props.selectedIndex }; if (this.props.index === this.props.selectedIndex && this.p...
src/DragAndDrop/index.js
reactivers/react-mcw
import React from 'react' export default class DragAndDrop extends React.Component{ state={}; componentDidMount() { this.oldMouseDown = document.onmousedown; this.oldMouseUp = document.onmouseup; document.onmouseup = function (e) { this.setState({dad: false}); ...
2017-devsummit/programming-patterns-and-api-fundamentals/demos/new/framework/dist/components/attribution.js
ycabon/presentations
'use strict'; define(['exports', 'react', 'esri/core/watchUtils', 'esri/widgets/Attribution/AttributionViewModel'], function (exports, _react, _watchUtils, _AttributionViewModel) { Object.defineProperty(exports, "__esModule", { value: true }); var _react2 = _interopRequireDefault(_react); var _watchUtils...
src/layouts/index.js
vitorbarbosa19/ziro-online
import React from 'react' import PropTypes from 'prop-types' import Helmet from 'react-helmet' import ReactGA from 'react-ga' import OktaSignIn from '@okta/okta-signin-widget' import HeaderLoggedIn from '../components/HeaderLoggedIn' import HeaderLoggedOut from '../components/HeaderLoggedOut' import UserAlreadyRegister...
src/components/Passenger/Passenger.js
ezmionline/rd-jagertrain-display
import React, { Component } from 'react'; import styles from './Passenger.scss'; import withStyles from '../../decorators/withStyles'; @withStyles(styles) class Passenger extends Component { propTypes: { passenger: React.PropTypes.object.isRequired, } render() { return ( <div className="Passenger...
src/components/UnknownNobt/UnknownNobt.js
nobt-io/frontend
import React from 'react'; import BrandedAppBar from '../BrandedAppBar/BrandedAppBar'; import styles from './UnknownNobt.scss'; import { FontIcon } from 'react-toolbox-legacy/lib/font_icon/index'; export default function UnknownNobt() { return ( <div> <BrandedAppBar /> <div className={styles.contain...
ajax/libs/forerunnerdb/1.3.472/fdb-core.min.js
rlugojr/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...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/material-ui/svg-icons/action/important-devices.js
bhathiya/test
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
src/svg-icons/communication/live-help.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationLiveHelp = (props) => ( <SvgIcon {...props}> <path d="M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 16h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 11.9 13 12.5 13...
src/svg-icons/device/signal-cellular-connected-no-internet-2-bar.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularConnectedNoInternet2Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M22 8V2L2 22h16V8z"/><path d="M14 22V10L2 22h12zm6-12v8h2v-8h-2zm0 12h2v-2h-2v2z"/> </SvgIcon> ); Devi...
server/sonar-web/src/main/js/apps/permission-templates/components/ListItem.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
node_modules/babel-core/lib/traversal/path/lib/hoister.js
PsukheDelos/react-cms
"use strict"; exports.__esModule = true; // istanbul ignore next function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj;...
sam-front/src/components/Tag.js
atgse/sam
import React from 'react'; import Chip from 'material-ui/Chip'; import AutoComplete from 'material-ui/AutoComplete'; import isObject from 'lodash/isObject'; import isFunction from 'lodash/isFunction'; import { flexWrapperStyle } from '../style'; import { toArray } from '../helpers'; const tagStyle = { margin: '0.5...
test/PanelGroupSpec.js
mcraiganthony/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import PanelGroup from '../src/PanelGroup'; import Panel from '../src/Panel'; describe('PanelGroup', function () { it('Should pass bsStyle to Panels', function () { let instance = ReactTestUtils.renderIntoDocument( <PanelGrou...
stories/Loading.js
ecmadao/light-ui
import React from 'react'; import { storiesOf } from '@storybook/react'; import LoadingWrapper from '../examples/LoadingWrapper'; storiesOf('Loading', module) .add('No closeable', () => ( <LoadingWrapper /> )) .add('Closeable, without callback', () => ( <LoadingWrapper closeAble={true} /> )) .add('Cl...
static/src/components/Home/index.js
PMA-2020/pma-translation-hub
import React from 'react'; export const Home = () => <section> <div className="container text-center"> <h1>Hello</h1> </div> </section>;
test/specs/collections/Form/FormFieldButton-test.js
Rohanhacker/Semantic-UI-React
import React from 'react' import FormButton from 'src/collections/Form/FormButton' import Button from 'src/elements/Button/Button' import * as common from 'test/specs/commonTests' describe('FormButton', () => { common.isConformant(FormButton) it('renders a FormField with a Button control', () => { shallow(<F...
tests/SingleDropdownList/SingleDropdownList.js
divyanshu013/reactivebase
import React from 'react'; import { ReactiveBase, SingleDropdownList, ReactiveList } from '../../app/app.js'; import {config} from './config'; import { mount } from 'enzyme'; function testComponent(cb) { const onData = function(res, err) { cb(res, err); } const component = mount( <ReactiveBase app={config.R...
ajax/libs/react/0.4.2/react.min.js
bdukes/cdnjs
/** * React v0.4.2 * * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
packages/material-ui-icons/src/ChildFriendlyRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M13 3.08V10h8c0-4.03-2.98-7.37-6.86-7.92-.6-.09-1.14.39-1.14 1zm6.32 12.81C20.37 14.54 21 12.84 21 11H6.44l-.68-1.43C5.6 9.22 5.24 9 4.86 9H3c-....
ajax/libs/primereact/7.0.0-rc.1/scrollpanel/scrollpanel.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { DomHandler, classNames } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i...
components/Map/ControlLayer/ControlLayer.js
rdjpalmer/bloom
import PropTypes from 'prop-types'; import React from 'react'; import cx from 'classnames'; import Control from '../Control/Control'; import ControlGroup from '../ControlGroup/ControlGroup'; import ControlIcon from '../Control/ControlIcon'; import css from './ControlLayer.css'; const ControlLayer = (props) => { co...
src/components/aboutme.js
mazairaj/thejulianmaz
import React from 'react'; import SvgIcon from 'react-icons-kit'; import { instagram } from 'react-icons-kit/fa'; import { linkedin } from 'react-icons-kit/fa'; import { github } from 'react-icons-kit/fa'; import { facebook } from 'react-icons-kit/fa'; const About = function () { return ( <div style={{ display: ...
ajax/libs/rxjs/2.3.21/rx.all.compat.js
bragma/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 }; ...
test/GridSpec.js
kwnccc/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Grid from '../src/Grid'; describe('Grid', function () { it('uses "div" by default', function () { let instance = ReactTestUtils.renderIntoDocument( <Grid /> ); assert.equal(React.findDOMNode(instance).nodeName...
ajax/libs/aui/5.6.5/aui/js/aui-all.js
jdanyow/cdnjs
!function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(....
bench/jquery.js
ForbesLindesay/token-scope
/*! jQuery v1.7.1 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 cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
src/components/stack/stack.js
thinktopography/reframe
import PropTypes from 'prop-types' import React from 'react' class Stack extends React.Component { static propTypes = { cards: PropTypes.array, slideFirst: PropTypes.bool } static defaultProps = { slideFirst: true, cards: [] } constructor(props) { super(props) this.state = { ...
frontend/src/components/toolbar/markdown-viewer-toolbar.js
miurahr/seahub
import React from 'react'; import PropTypes from 'prop-types'; import { gettext, canGenerateShareLink, isPro, mediaUrl, canLockUnlockFile } from '../../utils/constants'; import { IconButton, ButtonGroup, CollabUsersButton } from '@seafile/seafile-editor/dist/components/topbar-component/editor-toolbar'; import { Dropdow...
ajax/libs/muicss/0.9.36/extra/mui-react-combined.js
joeyparrish/cdnjs
(function (global) { var babelHelpers = global.babelHelpers = {}; babelHelpers.classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; babelHelpers.createClass = function () { function define...
src/parser/demonhunter/havoc/modules/talents/TrailofRuin.js
ronaldpereira/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...
src/default-props.js
BenjaminNeilDavis/react-slick
import React from 'react'; var defaultProps = { className: '', accessibility: true, adaptiveHeight: false, arrows: true, autoplay: false, autoplaySpeed: 3000, centerMode: false, centerPadding: '50px', cssEase: 'ease', customPaging: function(i) { return <button>{i + 1}</b...
src/index.js
nathejk/status-app
/* eslint-disable import/default */ import initOpbeat, { wrapRouter } from 'opbeat-react' import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import { Router, browserHistory } from 'react-router' import routes from './routes' import configureStore from './store/configure...
src/components/Context.js
selvagsz/react-orbit
import React from 'react'; const ReactOrbitContext = React.createContext(null); if (process.env.NODE_ENV !== 'production') { ReactOrbitContext.displayName = 'ReactOrbit'; } export default ReactOrbitContext;
examples/src/components/Virtualized.js
dmatteo/react-select
import React from 'react'; import VirtualizedSelect from 'react-virtualized-select'; const DATA = require('../data/cities'); var CitiesField = React.createClass({ displayName: 'CitiesField', getInitialState () { return {}; }, updateValue (newValue) { this.setState({ selectValue: newValue }); }, render ...
src/components/video_list_item.js
badapple47/React-youtube
import React from 'react'; const VideoListItem = (props) => { const video = props.video; const onVideoSelect = props.onVideoSelect; const imageUrl = video.snippet.thumbnails.default.url; return ( <li onClick={() => onVideoSelect(video)} className="list-group-item"> <div className="video-list ...
app/HomePage.js
Awesomez/DoubanMovieApp
import React, { Component } from 'react'; import { StyleSheet, Text, DrawerLayoutAndroid,ToolbarAndroid,ToastAndroid, Dimensions, Platform, View } from 'react-native'; var HomePageList = require('./HomePageList').default; var Drawer = require('./Drawer').default; const SCREEN_WIDTH=Dimensions...
src/components/series/SeriesElement.js
phelipemaia/marvelous-app
import React from 'react'; import { Text, View, StyleSheet, Image } from 'react-native'; import Card from '../common/Card' import CardSection from "../common/CardSection"; export default class SeriesElement extends React.Component { render () { const { headerContentStyle, thumbnailStyle, titleText, titleContaine...
frontend/src/components/popup/ProductDetails.js
jirkae/BeerCheese
import React from 'react'; import { Modal, ModalBody, Container, Row, Col } from 'reactstrap'; export default props => { return ( <Modal isOpen={true} toggle={props.hideModals}> <ModalBody> <Container> <Row> <Col> <Row> {props.data.name} ...
ajax/libs/yui/3.9.1/scrollview-base/scrollview-base-debug.js
jakubfiala/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
src/EquationRepresentation.js
maral/matchbox
import React, { Component } from 'react'; import { Matchbox, Matches } from './Matchbox'; import { EqualsOperator, PlusOperator, MinusOperator } from './Operators'; class EquationRepresentation extends Component { createObject = (token, key) => { switch (token) { case '=': return <EqualsOperator ke...
stories/example.swapi.stories.js
xurei/react-loader-component
/* eslint-disable */ import React from 'react'; import { storiesOf } from '@storybook/react'; import ReactLoader from '../src/react-loader'; import promsleep from 'promsleep'; storiesOf('ReactLoader - Example SWAPI') .add('Full example with interface', () => { class Main extends React.Component { constructor(props...