path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/components/Layout/Layout.js
kinshuk-jain/TB-Dfront
import React from 'react'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './Layout.scss'; import Footer from '../Footer'; import TopBar from '../TopBar'; class Layout extends React.Component { static propTypes = { children: PropTypes.node.isReq...
web/client/src/index.js
ido-ran/ran-smart-frame2
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux' import { browserHistory } from 'react-router' import configStore from './store' import { getUserInfo } from './loginActions' import Routes from './routes' import './index.css'; let store = configStore(); store.dispatch...
node_modules/react-bootstrap/es/MediaList.js
ivanhristov92/bookingCalendar
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/categories/index.js
raffidil/garnanain
import React from 'react'; import { Button, CardText, Card, CardTitle, CardMenu, CardActions, IconButton, Grid, Cell } from 'react-mdl'; import Layout from '../../components/Layout'; import s from './styles.css'; import sciPic from './sci.png'; import sportPic from './sport.jpg'; import contactPic fro...
ajax/libs/plupload/3.1.0/plupload.js
wout/cdnjs
/** * Plupload - multi-runtime File Uploader * v3.1.0 * * Copyright 2017, Ephox * Released under AGPLv3 License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2017-03-07 */ ;var MXI_DEBUG = true; ;(function (global, factory) { var extract = funct...
src/client/helpers/requireAuthentication.js
wafflepie/pasta
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { browserHistory } from 'react-router' const requireAuthentication = (Component, authorize) => { class AuthenticatedComponent extends React.Component { static propTypes = { isAuthenticated: PropTypes.b...
app/containers/Product/ProductSelectionPage/index.js
hlex/vms
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import _ from 'lodash'; // ====================================================== // Hoc // ========================...
docs/src/index.js
boldr/boldr-ui
// @flow /* eslint-disable import/prefer-default-export */ import React from 'react'; import { render } from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import { createStore } from 'redux'; import { Provider } from 'react-redux'; import ReactPerf from 'react-addons-perf'; import '../../src/styles/bold...
ui/src/main/js/pages/__tests__/Update-test.js
rdelval/aurora
import React from 'react'; import { shallow } from 'enzyme'; import Update from '../Update'; import Breadcrumb from 'components/Breadcrumb'; import Loading from 'components/Loading'; import UpdateConfig from 'components/UpdateConfig'; import UpdateDetails from 'components/UpdateDetails'; const TEST_CLUSTER = 'test-c...
src/app.js
sdiaz/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import 'babel/polyfill'; import React from 'react'; import FastClick from 'fastclick'; import App from './components/App'; import Dispatcher from './core/Dispatcher'; import AppActions from './actions/AppActions'; import ActionTypes from './const...
src/components/headings.js
knod/cliff-effects-1
// REACT COMPONENTS import React from 'react'; import { Header } from 'semantic-ui-react'; /** <h1> styles available for form (and other) text. * * @function * @param {object} props * @property {string} props.subheading - For when some * kind of clarifier is needed. * @property {object} props.children - Ususally ...
assets/node_modules/material-ui/lib/svg-icons/content/inbox.js
migzisreallywewwhat/techno-site
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var ContentInbox = React.createClass({ displayName: 'ContentInbox', mixins: [PureRenderMixin], render: function render() { return React.createElement( SvgIc...
src/routes/RequireAuth.js
itjope/tipskampen
import React from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { actions as userActions } from 'redux/modules/user' import Login from 'components/user/Login' const mapStateToProps = (state) => ({ user: state.user }) const mapActionsToProps = (dispatch) => ( { ...
src/app/components/MomentsList.js
itimai/react-try
import React from 'react'; import ReactDOM from 'react-dom'; import Moment from './Moment'; import MomentsStore from '../stores/MomentsStore'; /* * @class MomentsList * @extends React.Component */ class MomentsList extends React.Component { /** * @constructor * @param {Object} props - Momentslist props ...
ajax/libs/material-ui/4.9.6/esm/ExpansionPanel/ExpansionPanel.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _toArray from"@babel/runtime/helpers/esm/toArray";import _slicedToArray from"@babel/runtime/helpers/esm/slicedToArray";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import{isFragment}fr...
Examples/UIExplorer/UIExplorerList.android.js
dvcrn/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, ...
src/FABButton.js
tleunen/react-mdl
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Button from './Button'; const FABButton = (props) => { const { mini, className, children, ...otherProps } = props; const classes = classNames('mdl-button--fab', { 'mdl-button--mini-fab': mini ...
milestones/05-webpack-intro-css/Before/src/app.js
jaketrent/react-drift
import React from 'react' import Carousel from './carousel.js' import Frame from './frame.js' import Nav from './nav.js' import Slide from './slide.js' export default class DriftApp extends React.Component { constructor(props) { super(props) this.handleClickPrevious = this.handleClickPrevious.bind(this) ...
packages/reaction-core/client/helpers/permissions.js
jemsotry/store-reaction
/* * Methods for the reaction permissions * helpers for roles, uses alanning:meteor-roles * see: http://alanning.github.io/meteor-roles/classes/Roles.html * use: {{hasPermission admin userId}} */ /** * hasPermission template helper * @summary check current user hasPermission * @param {String|Array} "permissio...
sites/default/files/js/js_-3Sd639egZlJF3jmYozwDot_RW0IR4HiDh1y9MTcnqo.js
CDE-Inteligencia-Competitiva/hontza_drupal8
/*! jQuery v2.2.3 | (c) jQuery Foundation | 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 window?window:this,fun...
ajax/libs/react-autosuggest/5.1.0/autosuggest.min.js
sashberd/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React")):"function"==typeof define&&define.amd?define(["React"],t):"object"==typeof exports?exports.Autosuggest=t(require("React")):e.Autosuggest=t(e.React)}(this,function(e){return function(e){function t(o){if(n[o])return n[o].e...
client/App.js
Muisti/muisti
/** * Root Component */ import React from 'react'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import IntlWrapper from './modules/Intl/IntlWrapper'; // Import Routes import routes from './routes'; // Base stylesheet require('./main.css'); export default function A...
ajax/libs/material-ui/5.0.0-alpha.26/node/ButtonGroup/ButtonGroup.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectWithoutPropertiesLoose2 = ...
ajax/libs/dc/2.0.0-beta.10/dc.js
nolsherry/cdnjs
/*! * dc 2.0.0-beta.10 * http://dc-js.github.io/dc.js/ * Copyright 2012-2015 Nick Zhu & the dc.js Developers * https://github.com/dc-js/dc.js/blob/master/AUTHORS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
src/routes/Group/components/admin/AdminView.js
PagerNation/Escalator-UI
import React from 'react' import { Icon, Divider, Header, Grid, Segment, Button } from 'semantic-ui-react' import _ from 'lodash' import PropTypes from 'prop-types' class AdminView extends React.Component { constructor () { super() _.bindAll(this, 'handleProcessRequest', 'handleAddAdmin') } ...
frontend/src/screens/history/widgets/table-history/table-history.js
desihub/qlf
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import HistoryHeader from './history-header/history-header'; import HistoryData from './history-data/history-data'; import { withStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@ma...
src/containers/Home/Home.js
Hellenic/universal-marketcloud-storefront
import React, { Component } from 'react'; import { asyncConnect } from 'redux-connect'; import { isLoaded as isProductsLoaded, load as loadProducts } from 'redux/modules/products'; import { LandingBanner, ProductFilters, ProductGrid } from 'components'; import Helmet from 'react-helmet'; @asyncConnect([{ promise: ({...
jquery.min.js
AnthonyGaimari/github-basics
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
components/date-picker/range-picker.js
TDFE/td-ui
/** * @Author: Zhengfeng.Yao <yzf> * @Date: 2017-06-27 20:16:13 * @Last modified by: yzf * @Last modified time: 2017-06-28 09:49:57 */ import React from 'react'; import classNames from 'classnames'; import moment from 'moment'; import Picker from './picker'; import RangeCalendar from './range-calendar'; impor...
frontend/trackerfe/src/index.js
hhamalai/geo-tracker
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; import './index.css'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
ajax/libs/jquery/1.9.1/jquery.min.js
MEXXIO/cdnjs
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
ajax/libs/material-ui/4.9.3/es/utils/focusVisible.js
cdnjs/cdnjs
// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js import React from 'react'; import ReactDOM from 'react-dom'; let hadKeyboardEvent = true; let hadFocusVisibleRecently = false; let hadFocusVisibleRecentlyTimeout = null; const inputTypesWhitelist = { text: true, search: true, url: ...
docs/pages/blog/spotlight-damien-tassone.js
lgollut/material-ui
import React from 'react'; import TopLayoutBlog from 'docs/src/modules/components/TopLayoutBlog'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'blog/spotlight-damien-tassone'; const requireRaw = require.context('!raw-loader!./', false, /spotlight-damien-tassone\.md$/); ...
src/components/Popup.js
f0zze/rosemary-ui
import React from 'react'; import ReactDOM from 'react-dom'; import classNames from 'classnames'; import TetherComponent from 'react-tether'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import {values} from 'lodash'; import {ESCAPE} from '../constant/key-codes'; import {enhanceWithClickOuts...
ajax/libs/video.js/5.0.0-rc.55/video.novtt.js
nolsherry/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.videojs = f()}...
frontend/src/TrackFile/Editor/TrackFileEditorModal.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React from 'react'; import Modal from 'Components/Modal/Modal'; import TrackFileEditorModalContentConnector from './TrackFileEditorModalContentConnector'; function TrackFileEditorModal(props) { const { isOpen, onModalClose, ...otherProps } = props; return (...
src/svg-icons/device/battery-20.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBattery20 = (props) => ( <SvgIcon {...props}> <path d="M7 17v3.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V17H7z"/><path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7...
lib/yuilib/2in3/2.9.0/build/yui2-container/yui2-container-debug.js
deraadt/moodle
YUI.add('yui2-containercore', function(Y) { Y.use('yui2-container'); }, '3.3.0' ,{"requires": ["yui2-yahoo", "yui2-dom", "yui2-event"]}); YUI.add('yui2-container', function(Y) { var YAHOO = Y.YUI2; /* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.y...
imports/old/signup/welcome.js
jiyuu-llc/jiyuu
import React from 'react'; const Welcome = () => ({ welcomeClick(){ FlowRouter.go("/"); }, render() { return ( <div id="jiyuu"> <h2 className="question">Welcome to jiyuu. We are glad to have you as a part of the Community.</h2> <div id="question-card" className="form-grou...
src/components/YellowFrame.js
stefcot/react-design-easier
/** * Created by Stephane on 4/23/2017. */ import React from 'react'; /** * StateLess component: * background grid * * @param props * @constructor */ const YellowFrame = () => <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlnsXlink="http://www.w3.org/1999/xlink" preserve...
src/svg-icons/image/crop-landscape.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCropLandscape = (props) => ( <SvgIcon {...props}> <path d="M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z"/> </SvgIcon> ); ImageCropLandscape = pure(ImageCro...
node_modules/react-icons/md/hotel.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdHotel = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m31.6 11.6q2.8 0 4.8 2t2 4.8v15h-3.4v-5h-30v5h-3.4v-25h3.4v15h13.4v-11.8h13.2z m-20 10q-2 0-3.5-1.4t-1.5-3.6 1.5-3.5 3.5-1.5 3.6 1.5 1.4 3.5-1.4 3.6-3.6 1.4z"/></g> ...
ajax/libs/preact/3.0.0-beta4/preact.min.js
sreym/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){for(var t in n)J.call(n,t)&&(e[t]=n[t]);return e}function n(e,n){return n=n||{},function(t){return J.call(n,t)?n[t]:n[t]=e(t)}...
app/client/modules/Post/__tests__/components/PostList.spec.js
nittmurugan/finddriver
import React from 'react'; import test from 'ava'; import { shallow } from 'enzyme'; import PostList from '../../components/PostList'; const posts = [ { name: 'Prashant', title: 'Hello Mern', slug: 'hello-mern', cuid: 'f34gb2bh24b24b2', content: "All cats meow 'mern!'" }, { name: 'Mayank', title: 'Hi Mern', slug: ...
ajax/libs/antd-mobile/1.3.1/antd-mobile.min.js
maruilian11/cdnjs
/*! * antd-mobile v1.3.1 * * Copyright 2015-present, Alipay, Inc. * All rights reserved. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?export...
front/src/components/SourceTaskCron.js
cheminfo/database-aggregator
import React from 'react'; import { parseExpression } from 'cron-parser'; import DateTime from './DateTime'; import StatusSvg from './svg/StatusSvg'; export default function SourceTaskCron(props) { const { label, value, status, message } = props; if (!value) return null; const parsed = parseExpression(value); ...
src/App/Body/Content/One/index.js
mikearnaldi/react-starter
import React from 'react' import Link from '../../../Link' export const Button = ({children}) => { return ( <div style={{border: '1px solid black', display: 'inline-block', padding: '5px'}}>{children}</div> ) } export const One = () => { return ( <div>Page ONE -- link to: <Link to={'/two'}>page 2</Link>...
src/components/search-page/Post.js
AnisaIshmail/IdeaZone
import React from 'react'; import { Link } from 'react-router'; // sticky note on the search page const Post = (props) => { // if there's no id it's broken if (!props.id) { return; } // color class passed in specific order, links to idea page passing in id let color = 'post ' + props.color, ideaL...
src/svg-icons/device/network-cell.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceNetworkCell = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M2 22h20V2z"/><path d="M17 7L2 22h15z"/> </SvgIcon> ); DeviceNetworkCell = pure(DeviceNetworkCell); DeviceNetworkCell.displayNam...
lesson-5/src/components/editNotesPage/EditNoteModal.js
msd-code-academy/lessons
import React from 'react' import Modal from 'react-modal' import '../../styles/EditNoteModal.css' class EditNoteModal extends React.Component { constructor(props) { super(props) this.state = { modalIsOpen: false, note: { uuid: props.noteUuid, text: props.text, title: props...
corona-ide-ui/src/index.js
Corona-IDE/corona-ide
import React from 'react'; import ReactDOM from 'react-dom'; import './Style/index.css'; import App from './Components/App'; ReactDOM.render(<App />, document.getElementById('root'));
packages/material-ui-icons/src/SignalCellularConnectedNoInternet3Bar.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path fillOpacity=".3" d="M22 8V2L2 22h16V8z" /><path d="M17 22V7L2 22h15zm3-12v8h2v-8h-2zm0 12h2v-2h-2v2z" /></g> , 'SignalCellularConnectedNoInternet3Bar');
tukangs/src/screens/Login/Form.js
BriefNight/tukangs
import React, { Component } from 'react'; import { View, Text, TextInput, TouchableOpacity, StatusBar, AsyncStorage } from 'react-native'; import { Actions } from "react-native-router-flux" import styles from './style'; import getLocalhost from "../../../server"; class Form extends Component { constructor(props) { ...
javascript/node_modules/eslint/lib/config/config-initializer.js
rootulp/exercism
/** * @fileoverview Config initialization wizard. * @author Ilya Volodin */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const util = require("util"), inquirer = r...
src/js/components/Dashboard/MarkdownHelp.js
grommet/grommet-cms-boilerplate
import React from 'react'; import Box from 'grommet/components/Box'; import Heading from 'grommet/components/Heading'; import Header from 'grommet/components/Header'; export default function index(props) { return ( <Box direction="column" className="markdown-guide"> <Header> <Heading tag="h2" marg...
packages/material-ui-icons/src/AddPhotoAlternate.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2h-3zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8h-3zM5 19l3-4 2 3 3-4 4 5H5z" /> , 'AddPhotoAlternate');
ajax/libs/analytics.js/2.3.7/analytics.min.js
ramda/cdnjs
(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n...
index.ios.js
cyqresig/ReactNativeComponentDemos
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Navigator, Text, TouchableOpacity, } from 'react-native'; import ReactNativeComponentList from './examples/ios/react-native-component-...
react/ShowMore/ShowMore.sketch.js
seekinternational/seek-asia-style-guide
import React from 'react'; import PropTypes from 'prop-types'; import mapKeys from 'lodash/mapKeys'; import ShowMore from '../ShowMore/ShowMore'; import { Card, Section, Text } from 'seek-asia-style-guide/react'; const renderCard = ({ transparent }) => ( <Card transparent={transparent}><Section><Text>At jobsDB, we b...
frontend/src/Components/Table/TableRowButton.js
lidarr/Lidarr
import React from 'react'; import Link from 'Components/Link/Link'; import TableRow from './TableRow'; import styles from './TableRowButton.css'; function TableRowButton(props) { return ( <Link className={styles.row} component={TableRow} {...props} /> ); } export default TableRowButton;
src/components/Social.js
hbuchel/heather-buchel.com
import React from 'react'; import { css } from '@emotion/core'; import Box from './Box'; import Text from './Text'; const socialList = css` display: inline-block; li { display: inline-block; margin: 0 12px; } `; const Social = () => { return ( <Box className="u-text-center"> <Text varian...
client/src/components/Admin/Users/Filter/index.js
dotkom/super-duper-fiesta
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import setUserFilter from 'features/userFilter/actionCreators'; import css from './Filter.css'; const UserFilter = ({ filter, onChange }) => ( <div className={css.filter}> <label> Filtrer brukere: <input ...
ajax/libs/yui/3.7.3/event-focus/event-focus-min.js
htmlstrap/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
sites/default/files/js/js_zaku8mZqRToBik8NxCjQoCu_wntQ0uR4na4Ay7vtyDI.js
maitak/testing
/*! jQuery v2.1.4 | (c) 2005, 2015 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 windo...
app/jsx/editor/ExternalToolDialog/Modal.js
djbender/canvas-lms
/* * Copyright (C) 2019 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
src/components/pdf_viewer/pdf_viewer.js
VicStor/react-pdf-viewer
import React, { Component } from 'react'; import { range, isEqual } from 'lodash'; import SmartScroll from '../smart_scroll'; import PdfPage from './pdf_page'; // import SvgPage from './svg_page'; import PageNumber from './page_number'; import Loader from '../helpers/loader'; import ThumbnailsContainer from './thumbna...
app/index.js
irc-moo/electron-client
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router } from 'react-router'; import routes from './routes'; import configureStore from './store/configureStore'; import './app.css'; import irc from 'slate-irc'; const store = configureStore(); render( <P...
addons/im_livechat/static/ext/static/lib/jquery/jquery.js
florentx/OpenUpgrade
/*! * jQuery JavaScript Library v1.8.3 * 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: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
src/svg-icons/maps/local-see.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalSee = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="12" r="3.2"/><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5...
packages/material-ui-icons/src/FindReplace.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1...
routes/HealthyGen/HealthyGen.js
RickFrom1987/rickfrom1987.com
import React from 'react'; import ArticleLayout from '../../components/Layout/ArticleLayout'; import { title, url, html } from './HealthyGen.md'; class HealthyGenPage extends React.Component { componentDidMount() { document.title = title; } render() { return ( <ArticleLayout title={title} url={ur...
test/specs/collections/Menu/Menu-test.js
shengnian/shengnian-ui-react
import _ from 'lodash' import React from 'react' import Menu from 'src/collections/Menu/Menu' import MenuItem from 'src/collections/Menu/MenuItem' import MenuHeader from 'src/collections/Menu/MenuHeader' import MenuMenu from 'src/collections/Menu/MenuMenu' import { SUI } from 'src/lib' import * as common from 'test/sp...
ajax/libs/react-autosuggest/7.0.2/autosuggest.min.js
jonobr1/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React")):"function"==typeof define&&define.amd?define(["React"],t):"object"==typeof exports?exports.Autosuggest=t(require("React")):e.Autosuggest=t(e.React)}(this,function(e){return function(e){function t(o){if(n[o])return n[o].e...
frontend/src/Settings/DownloadClients/RemotePathMappings/EditRemotePathMappingModalConnector.js
geogolem/Radarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { clearPendingChanges } from 'Store/Actions/baseActions'; import EditRemotePathMappingModal from './EditRemotePathMappingModal'; function mapStateToProps() { return {}; } const mapDispatchToPr...
src/sentry/static/sentry/app/icons/icon-stack.js
gencer/sentry
import React from 'react'; import Icon from 'react-icon-base'; function IconStack(props) { return ( <Icon viewBox="0 0 24 24" {...props}> <g fill="currentColor"> <path d="M11.9952835,4 L3.51000214,8.48528137 L11.9952835,12.9705627 L20.4805649,8.48528137 L11.9952835,4 Z M12.9299314,2.23182...
src/components/BaseRouteComponent.js
kooinam/awry-utilities
import React, { Component } from 'react'; import { Route, Switch } from 'react-router-dom'; import { matchRouteParams } from './BreadcrumbsNavigator'; import { connect } from 'react-redux'; import type { Connector } from 'react-redux'; class BaseRouteComponent extends Component { render() { const { match, matche...
src/icons/ChatBubbleIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class ChatBubbleIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M40 4H8C5.79 4 4 5.79 4 8v36l8-8h28c2.21 0 4-1.79 4-4V8c0-2.21-1.79-4-4-4z"/></svg>;} };
docs/src/CodeExample.js
apkiernan/react-bootstrap
import React from 'react'; import ReactDOM from 'react-dom'; export default class CodeExample extends React.Component { render() { return ( <pre className="cm-s-solarized cm-s-light"> <code> {this.props.codeText} </code> </pre> ); } componentDidMount() { if (Cod...
react-flux-mui/js/material-ui/src/svg-icons/editor/format-indent-decrease.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatIndentDecrease = (props) => ( <SvgIcon {...props}> <path d="M11 17h10v-2H11v2zm-8-5l4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"/> </SvgIcon> ); EditorFormatIndentDecre...
appios/scenes/birthdays/birthdays.js
ajaymathur/fun-community
import React, { Component } from 'react'; import { View, Text, FlatList } from 'react-native'; import styles from './birthdays.style'; /**firebase imports */ import { birthdayRef } from '../../store/firebase.confidential'; /**lodash imports */ import map from 'lodash/map'; import clone from 'lodash/clone'; impor...
node_modules/semantic-ui-react/dist/es/elements/Header/HeaderContent.js
SuperUncleCat/ServerMonitoring
import _extends from 'babel-runtime/helpers/extends'; import cx from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import { customPropTypes, getElementType, getUnhandledProps, META } from '../../lib'; /** * Header content wraps the main content when there is an adjacent Icon or Image. ...
src/pages/GoldIRA.js
numieco/patriot-trading
import React from 'react' import Header from '../components/Header' import SideBar from './../components/SideBar' import Footer from './../components/Footer' export default class GoldIRA extends React.Component { render () { return ( <div> <Header /> <div className='wrapper'> <...
client/components/Navigation/Navigation.js
marcocom/portfolio-react-webpack2
import React from 'react'; import PropTypes from 'prop-types'; import './navigation.less'; import { Link } from 'react-router'; import classNames from 'classnames'; export default function Navigation(props) { const { active, toggleActive, deactivate } = props; const toggleClasses = classNames({ 'nav-toggle': true...
ajax/libs/ngOfficeUiFabric/0.12.4/ngOfficeUiFabric.min.js
dc-js/cdnjs
/*! * ngOfficeUIFabric * http://ngofficeuifabric.com * Angular 1.x directives for Microsoft's Office UI Fabric * https://angularjs.org & https://dev.office.com/fabric * v0.12.4 */ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("angular"));else if("function"==typeof de...
Samples/Provisioning.Batch/Provisioning.BatchWeb/Scripts/jquery-1.9.1.js
GSoft-SharePoint/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
website/app/app.js
mattroid/WildWest
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; /* eslint-disable import/no-unresolved, import/extensions */ // Load the favicon, the manifest.json file and the .htaccess file import 'file?n...
Study/Udemy Docker and Kubernetes/Section05/frontend/src/components/UI/ErrorAlert.js
tarsoqueiroz/Docker
import React from 'react'; import './ErrorAlert.css'; function ErrorAlert(props) { return ( <section className='error-alert'> <h2>Something went wrong!</h2> <p>{props.errorText}</p> </section> ); } export default ErrorAlert;
ajax/libs/instantsearch.js/1.8.11/instantsearch.min.js
dlueth/cdnjs
/*! instantsearch.js 1.8.11 | © Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.instantsearch=t():e.instantse...
src/js/components/DataChart/stories/GuideDefault.js
grommet/grommet
import React from 'react'; import { Box, DataChart } from 'grommet'; const data = []; for (let i = 1; i < 8; i += 1) { const v = Math.sin(i / 2.0); data.push({ date: `2020-${((i % 12) + 1).toString().padStart(2, 0)}-01`, percent: Math.abs(v * 100), }); } export const GuideDefault = () => ( // Uncomme...
src/TunesDemo.js
joshmarinacci/appy-style
import React, { Component } from 'react'; function range(start,stop) { var ret = []; for(var i=start; i<stop; i++) { ret.push(i) } return ret; } class TunesDemo extends Component { render() { var songs = range(0,50).map((i)=> String.fromCharCode('A'.charCodeAt(0)+i)); retur...
src/components/Sidebar/Menu/Menu.js
nicklanasa/nicklanasa.github.io
// @flow strict import React from 'react'; import { Link } from 'gatsby'; import styles from './Menu.module.scss'; type Props = { menu: { label: string, path: string }[] }; const Menu = ({ menu }: Props) => ( <nav className={styles['menu']}> <ul className={styles['menu__list']}> {menu.map((ite...
ajax/libs/react-bootstrap/0.25.1/react-bootstrap.js
dc-js/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactBootstrap"] = ...
js/containers/App.js
paulbevis/teamcity-build-monitor
import React from 'react'; import Relay, {RootContainer} from 'react-relay'; import BuildTypeRoute from '../routes/build-type-route' import BuildType from '../components/build-type' export default class App extends React.Component { constructor(props) { super(props); this.addBuildAreaComponent = this.addBu...
examples/Grid.js
mattBlackDesign/react-materialize
import React from 'react'; import Row from '../src/Row'; import Col from '../src/Col'; export default <Row> <Col s={1} className='grid-example'>1</Col> <Col s={1} className='grid-example'>2</Col> <Col s={1} className='grid-example'>3</Col> <Col s={1} className='grid-example'>4</Col> <Col s={1} className='gr...
src/options/components/Settings.js
chrisxclash/play-midnight
import React, { Fragment, PureComponent } from 'react'; import { connect } from 'react-redux'; import withOptions from 'hoc/withOptions'; import withPortal from 'hoc/withPortal'; import withStyles from 'hoc/withStyles'; import withTheme from 'hoc/withTheme'; import { actions } from 'modules/options'; import styles, ...
app/scripts/Mobilization/createRoutes.js
igr-santos/bonde-client
import React from 'react' import { Route } from 'react-router' import { SidebarContainer } from '../Dashboard/containers' import { MobilizationContainer, NewMobilizationContainer, MobilizationDashboardContainer, MobilizationSettingsContainer } from './containers' import { MobilizationListPage, Mobilizatio...
app/util/dimension.js
typesettin/manuscript
import React from 'react'; import { Platform, } from 'react-native'; import debounce from 'debounce'; function getTimestamp() { return new Date(); } export function onLayoutUpdate(options) { this.props.setAppDimensions(options.nativeEvent.layout); this.setState({ forceRerender: getTimestamp(), layout: o...
components/Home/EventCities/index.js
parkerproject/conceptionarts
import React from 'react'; import { map } from 'lodash'; import City from './city'; function EventCities(props) { return ( <div className="cities_buy_tickets"> <div className="container"> {/* <div className="small_title"> Click To Expand </div> */} {map(props, (event) => ...
files/rtc/3.3.0/rtc.min.js
dlueth/jsdelivr
!function(n){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.RTC=n()}}(function(){return function n(e,t,r){function ...
ajax/libs/forerunnerdb/1.3.713/fdb-legacy.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...