path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
packages/mui-icons-material/lib/HistoryToggleOffOutlined.js
oliviertassinari/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
src/containers/App/App.js
NetEffective/net-effective
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import { IndexLink } from 'react-router'; import { LinkContainer } from 'react-router-bootstrap'; import Navbar from 'react-bootstrap/lib/Navbar'; import Nav from 'react-bootstrap/lib/Nav'; import NavItem from 'react-bootstrap/l...
docs/src/app/components/pages/components/List/ExampleFolders.js
matthewoates/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import ActionInfo from 'material-ui/svg-icons/action/info'; import Divider from 'material-ui/Divider'; import Subheader from 'material-ui/Subheader'; import Avatar from 'material-ui/Avatar...
web/app/pages/about.js
seanhess/serials
// @flow import React from 'react' import {Link} from 'react-router' import {EmailLink} from '../books/support' export class Logo extends React.Component { render():React.Element { return <div> <img src="img/serials-icon-dark.png" style={{height: 100}}/> <h1 style={{fontWeight: 'bold', fontSize: 32}...
information/blendle-frontend-react-source/app/modules/alerts/components/AlertsNavigation.js
BramscoChill/BlendleParser
import React from 'react'; import PropTypes from 'prop-types'; import ModuleNavigation from 'components/moduleNavigation/ModuleNavigation'; import { get, capitalize } from 'lodash'; import { translate } from 'instances/i18n'; import { isMobile } from 'instances/browser_environment'; import { getComponents } from 'helpe...
index.android.js
typesettin/manuscript
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; class NativeCMS extends Component { render() { return ( <View style={styles.container}> <Tex...
packages/material-ui-icons/src/SignalCellular1BarOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M2 22h20V2L2 22z" /><path d="M12 12L2 22h10V12z" /></React.Fragment> , 'SignalCellular1BarOutlined');
src/Interpolate.js
pombredanne/react-bootstrap
// https://www.npmjs.org/package/react-interpolate-component // TODO: Drop this in favor of es6 string interpolation import React from 'react'; import ValidComponentChildren from './utils/ValidComponentChildren'; const REGEXP = /\%\((.+?)\)s/; const Interpolate = React.createClass({ displayName: 'Interpolate', ...
app/javascript/mastodon/features/compose/components/navigation_bar.js
maa123/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ActionBar from './action_bar'; import Avatar from '../../../components/avatar'; import Permalink from '../../../components/permalink'; import IconButton from '../../../components/icon_button...
collect-webapp/frontend/src/common/components/InputNumber.js
openforis/collect
import React from 'react' import PropTypes from 'prop-types' import NumberFormat from 'react-number-format' import { TextField } from '@mui/material' const CustomInput = (inputProps) => { const { maxLength, onBlur, onChange, onFocus, onKeyDown, onMouseUp, readOnly, size, value, width } = inputProps const style = ...
ajax/libs/react-native-web/0.15.2/exports/RefreshControl/index.js
cdnjs/cdnjs
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } /** * Copy...
examples/todomvc/containers/TodoApp.js
codebaker95/redux-devtools
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import Header from '../components/Header'; import MainSection from '../components/MainSection'; import * as TodoActions from '../actions/TodoActions'; class TodoApp extends Component { render(...
docs/src/app/components/pages/components/Subheader/Page.js
ArcanisCz/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import subheaderReadmeText from './README'; import listExampleChatCode from '!ra...
src/v2/stories/Icons.stories.js
aredotna/ervell
import React from 'react' import { storiesOf } from '@storybook/react' import Specimen from 'v2/stories/__components__/Specimen' import States from 'v2/stories/__components__/States' import Button from 'v2/components/UI/GenericButton' import ButtonGroup from 'v2/components/UI/ButtonGroup' import Icons, { ICON_NAMES }...
example/src/pages/Viewer.js
ethanselzer/react-lazy-tree
import React, { Component } from 'react'; import { Col, Grid, Jumbotron, Row } from 'react-bootstrap'; import SyntaxHighlighter, { registerLanguage } from 'react-syntax-highlighter/dist/light'; import js from 'highlight.js/lib/languages/javascript'; import solarized from 'react-syntax-highlighter/dist/s...
web/src/modules/icons/ArtGallery.js
HobartMakers/DigitalWalkingTours
import React from 'react' const ArtGalleryIcon = props => <svg width="15px" height="15px" viewBox="0 0 15 15" style={{enableBackground: 'new 0 0 15 15',}} {...props} > <path d="M10.71,4L7.85,1.15C7.6555,0.9539,7.339,0.9526,7.1429,1.1471C7.1419,1.1481,7.141,1.149,7.14,1.15L4.29,4H1.5 C1.2239,4,1,4.2239,1,4...
ajax/libs/vkui/4.22.1/cjs/components/NavTransitionContext/NavTransitionContext.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard").default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.NavTransitionProvider=exports.useNavTransition=void 0;var _jsxRuntime=require("../../lib/jsxRuntime"),React=_interopRequireWildcard(require("react")),_...
src/routes/User/components/AddTimetable/AddTimetable.js
BloomerWD/timetable
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { getGroups } from '../../modules/user'; import Student from './Student'; import Teacher from './Teacher'; class AddTimetable extends Component { constructor(props) { super(props); this.state = { ...
example/Button-story.js
Tarabyte/react-storybook-addon-intl
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import Button from './Button'; import { addLocaleData } from 'react-intl'; import ru from 'react-intl/locale-data/ru'; import es from 'react-intl/locale-data/es'; import de from 'react-intl/locale-data/de'; addLocaleData(ru); addLocaleDa...
ajax/libs/videomail-client/2.1.24/videomail-client.js
sashberd/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.VideomailClien...
Output/js/jquery.min.js
erikvanegmond/locate-news
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
node_modules/react-error-overlay/lib/components/Overlay.js
rwarr/futaba-db
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des...
client/react/frontpage/components/Pagination.js
uclaradio/uclaradio
// Pagination.js // Pagination component import React from 'react'; import './Pagination.scss'; /** Reusable pagination @prop maxPages: limit of pages based on data @prop setPageNumber: set current page * */ const Pagination = React.createClass({ getInitialState() { return { pageNumber: this.props.pageNu...
ginko/src/views/ProfileView.js
AesaKamar/TreeApp
import React, { Component } from 'react' class ProfileView extends Component { render() { return ( <div> <p>{'ProfileView'}</p> </div> ) } } export default ProfileView
src/components/ItemList/ItemList.js
eunvanz/flowerhada
import React from 'react' import ProductItem from '../ProductItem' import keygen from 'keygenerator' import GalleryItem from '../GalleryItem' import { getImageUrlsFromContent } from 'common/util' import _ from 'lodash' class ItemList extends React.Component { constructor (props) { super(props) this.state = {...
src/containers/__tests__/panel-container.spec.js
steplov/storybook-addon-themr
import React from 'react'; import { shallow } from 'enzyme'; import PanelContainer from '../panel-container'; import { EVENT_ID_INIT, EVENT_ID_DATA } from '../../index'; jest.mock('../../components/theme-panel', () => () => (<div>a</div>)); const noop = () => {}; describe('<PanelContainer />', () => { it('should r...
pages/about/index.js
anvilabs/anvilabs.co
/* @flow */ import React from 'react'; import { ContentContainer, Main, PageFooter, PageHeader, PageHelmet, Separator, StickyNavigation, TeamList, } from '../../components'; import team from '../../data/team'; const ContactPage = (): React$Element<any> => ( <Main> <PageHelmet mixpanelTitle="Abo...
node_modules/react-icons/io/ios-basketball.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoIosBasketball = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m19.8 3.8c8.9 0 16.2 7.2 16.2 16.2s-7.3 16.3-16.2 16.3-16.3-7.3-16.3-16.3 7.3-16.2 16.3-16.2z m9.7 27.5c-1.7-4-4.1-7.6-6.9-10.8 0.8-1 1.6-2 2.4-3 2.6 2.1 6 3.5 ...
ajax/libs/core-js/0.9.11/library.js
kalkidanf/cdnjs
/** * Core.js 0.9.11 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
src/components/MyGreatPlace.js
panlu888/small-react-app
import React from 'react'; const MyGreatPlace = React.createClass({ render: function () { return ( <div> {this.props.text} </div> ); } }); export default MyGreatPlace;
lib/EventCell.js
surlymel/react-big-calendar
'use strict'; exports.__esModule = true; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _propTypes = r...
node_modules/react-router/es6/RouteContext.js
aleksandrsmolin/react-redux-weather
import warning from './routerWarning'; import React from 'react'; var object = React.PropTypes.object; /** * The RouteContext mixin provides a convenient way for route * components to set the route in context. This is needed for * routes that render elements that want to use the Lifecycle * mixin to prevent trans...
src/svg-icons/av/subtitles.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvSubtitles = (props) => ( <SvgIcon {...props}> <path d="M20 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-2zM4 12h4v2H4v-2zm10 6H4v-2h10v2zm6 0h-4v-2h4v2zm0-4H10v-2h10v2z"/> </SvgIcon...
ajax/libs/redux-form/0.4.0/redux-form.min.js
froala/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].expor...
node_modules/bower/node_modules/inquirer/node_modules/rx/src/core/linq/observable/amb.js
XuanyuZhao1984/MeanJS_train1
/** * Propagates the observable sequence or Promise that reacts first. * * @example * var = Rx.Observable.amb(xs, ys, zs); * @returns {Observable} An observable sequence that surfaces any of the given sequences, whichever reacted first. */ Observable.amb = function () { var acc = observableNev...
fields/types/location/LocationColumn.js
brianjd/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; const SUB_FIELDS = ['street1', 'suburb', 'state', 'postcode', 'country']; var LocationColumn = React.createClass({ displayName: 'LocationColumn', propTypes: { co...
containers/app.js
MonkingStand/MS-blog-site-v3.0
import React from 'react'; class App extends React.Component { render() { return ( <div> { this.props.children } </div> ); }; }; export default App;
src/components/AboutSite.js
TonyHYK/tonyhyk.github.io
import React from 'react'; export default function() { return <div> <p> This page is written in React with React Router, bundled with Webpack, and hosted on GitHub. </p> <p> Single Page App setup on GitHub pages is modeled after <a href="https://github.com/rafrex/spa-github-pages">this</a>. ...
kitchensink/ios/views/Components/MediaList.js
allanfish/f8
import { Page, TransitionPages, Navbar, List, Block, Badge, Image } from 'jmui' import React, { Component, PropTypes } from 'react' export default class MediaListView extends Component { static contextTypes = { router: PropTypes.object }; handleBack () { this.context.router.push({ pathname: '/', ...
src/SetItem.js
a-tarr/Fleetr
import React, { Component } from 'react'; import { observer } from 'mobx-react'; import { observable } from 'mobx'; import { Sets } from './data/sets'; import { Button, Icon } from 'semantic-ui-react'; import './styles/SetItem.css'; @observer class SetItem extends Component { @observable count = 0; constructor(pr...
src/docs/components/heading/HeadingDoc.js
grommet/grommet-docs
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import Heading from 'grommet/components/Heading'; import Anchor from 'grommet/components/Anchor'; import Button from 'grommet/components/Button'; import DocsArticle from '../../../components/DocsArticle'; ex...
ajax/libs/yui/3.10.1/datatable-core/datatable-core-coverage.js
szimek/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-core/datatable-core.js']) { __coverage__['build/datatable-core/datatable-core.js'] = {"path":"build/datatable-core/datatable-core.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13"...
src/svg-icons/device/signal-wifi-off.js
igorbt/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...
reflux-app/components/toolbox/Project.js
Orientsoft/borgnix-web-ide
import React from 'react' import ProjectStore from '../../stores/ProjectStore' import ProjectActions from '../../actions/ProjectActions' import ClassNames from 'classnames' import _ from 'lodash' import Tree from 'react-ui-tree' import {Button, Modal, Input} from 'react-bootstrap' class Project extends React.Component...
cerberus-dashboard/src/components/IamPrincipalPermissionsFieldSet/IamPrincipalPermissionsFieldSet.js
Nike-Inc/cerberus-management-service
/* * Copyright (c) 2020 Nike, 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 applicable law or agreed to ...
src/containers/PetitionImage.js
iris-dni/iris-frontend
import React from 'react'; import { connect } from 'react-redux'; import PetitionImage from 'components/PetitionImage'; import getPetitionImage from 'selectors/petitionImage'; const PetitionImageContainer = (props) => ( <PetitionImage {...props} /> ); const mapStateToProps = ({ petition }) => getPetitionImage(petit...
__test__/lib/Translate.spec.js
zoover/react-i18nify
/** * @jest-environment jsdom */ /* global describe, test, expect, beforeAll, beforeEach */ import React from 'react'; import { mount, configure } from 'enzyme'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; import { setLocale, setTranslations, Translate } from '../../src'; describe('Translate.jsx', () =...
examples/animating-transitions/src/components/About.js
ui-router/react
import React from 'react'; export const About = () => ( <div className="app-page page-about"> <h1>This is About!</h1> </div> );
ajax/libs/core-js/0.4.4/shim.js
ljharb/cdnjs
/** * Core.js 0.4.4 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(global, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
www/src/components/navigation/header/UserHeaderButtons.js
cygwin255/SimpleSurvey
import React from 'react' import AuthorizedButtonsContainer from 'containers/navigation/header/AuthorizedButtonsContainer' import { NavLink } from 'react-router-dom' const UserHeaderButtons = () => ( <div className='collapse navbar-collapse d-flex justify-content-between' id='navbarNavDropdown'> <ul className='n...
src/components/member/form/MemberForm.js
katima-g33k/blu-react-desktop
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Button, ButtonToolbar, Col, Form, FormGroup, Panel, Row, } from 'react-bootstrap'; import { Checkbox, Input, } from '../../general/formInputs'; import { emailIsValid, formatPhoneNumber, formatZip, memberNoI...
lib/runtime/components/Finisher.js
jirokun/survey-designer-js
/* eslint-env browser */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import classNames from 'classnames'; import { ANSWER_NOT_POSTED, ANSWER_POSTED_SUCCESS, ANSWER_POSTED_FAILED, ANSWER_POSTING } from '../../constants/states'; import * as Actions from '../actions'; /** 回答完了画面。この画面を...
ajax/libs/forerunnerdb/1.3.153/fdb-legacy.min.js
cdnjs/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...
examples/todomvc/containers/App.js
Ryan-McBride/redux
import React from 'react'; import TodoApp from './TodoApp'; import { createRedux } from 'redux'; import { Provider } from 'redux/react'; import * as stores from '../stores'; const redux = createRedux(stores); export default class App { render() { return ( <Provider redux={redux}> {() => <TodoApp /...
packages/blaze/lookup.js
deanius/meteor
Blaze._globalHelpers = {}; // Documented as Template.registerHelper. // This definition also provides back-compat for `UI.registerHelper`. Blaze.registerHelper = function (name, func) { Blaze._globalHelpers[name] = func; }; var bindIfIsFunction = function (x, target) { if (typeof x !== 'function') return x; ...
client/src/components/Explorer/ExplorerItem.js
nimasmi/wagtail
import PropTypes from 'prop-types'; import React from 'react'; import { ADMIN_URLS, STRINGS } from '../../config/wagtailConfig'; import Icon from '../../components/Icon/Icon'; import Button from '../../components/Button/Button'; import PublicationStatus from '../../components/PublicationStatus/PublicationStatus'; // ...
server/buildtools/theme-configurator.js
firstred/reaction-core
// Originally source from https://github.com/Nemo64/meteor-bootstrap var fs = Npm.require('fs'); var path = Npm.require('path'); var createLessFile = function (path, content) { fs.writeFileSync(path, content.join('\n'), { encoding: 'utf8' }); }; var getAsset = function (filename) { return ThemeData(filename); }...
src/components/Modal/ModalBtn/ModalBtnSVG.js
jmlweb/paskman
import React from 'react'; const ModalBtnSVG = () => ( <svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 35 35"> <g fill="#1E2F76" fillRule="nonzero"> <path d="M17.5 35C7.85 35 0 27.15 0 17.5S7.85 0 17.5 0 35 7.85 35 17.5 27.15 35 17.5 35zm0-32.813c-8.444 0-15.313 6.87-15.313 15.3...
webapp-src/src/Hutch/ManageExportData.js
babelouest/hutch
import React, { Component } from 'react'; import i18next from 'i18next'; import { importJWK, EncryptJWT } from 'jose-browser-runtime'; import JwkInput from './JwkInput'; class ManageExportData extends Component { constructor(props) { super(props); this.state = { config: props.config, safe: pr...
ajax/libs/preact-compat/1.11.1/preact-compat.js
maruilian11/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('proptypes'), require('preact-svg'), require('preact')) : typeof define === 'function' && define.amd ? define(['proptypes', 'preact-svg', 'preact'], factory) : (global.preactCompat = factory(...
client/components/Browse.js
Lendr-Codesmith/Lendr
import React, { Component } from 'react'; import FlipCard from 'react-flipcard'; ////////////////////////////// // Render Tile children here import Tile from './Tile'; class Browse extends Component { constructor(props) { super(props); this.state = { isFlipped: [], tileData: [], }; } c...
src/features/filters/filters.container.js
itayJoseph/zeekit-practical-exam
import React, { Component } from 'react'; import { Grid, Button } from 'semantic-ui-react'; import { connect } from 'react-redux'; import { FILTER } from './actions'; import YearFilter from './filters.year'; import TypeFilter from './filter.type'; class Filters extends Component { constructor(props) { sup...
src/partyIcon.js
iamtonybologna/freebird
import React from 'react'; import {blue500, red500, greenA200} from 'material-ui/styles/colors'; import SvgIcon from 'material-ui/SvgIcon'; const iconStyles = { height: '50vw', width: '50vw', margin: 'auto', }; const HomeIcon = (props) => ( <SvgIcon {...props}> <path transform="translate(-1.8861617,-168.293...
examples/ImageRecognitionExample/App.js
reneweb/react-native-tensorflow
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { Platform, StyleSheet, Text, View, Image } from 'react-native'; import { TfImageRecognition } from 'react-native-tensorflow'; export default class App extends Component<{...
Samples/Core.CloudServices/Core.CloudServices.Web/Scripts/jquery-1.9.1.min.js
sndkr/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...
sc-react-redux/test/setup.js
DJO3/reactjs-demos
import React from 'react' import { expect } from 'chai' import jsdom from 'jsdom' const doc = jsdom.jsdom('<!doctype html><html><body></body></html>') const win = doc.defaultView global.document = doc global.window = win Object.keys(window).forEach((key) => { if (!(key in global)) { global[key] = window[key] ...
node_modules/react-bootstrap/es/FormGroup.js
yeshdev1/Everydays-project
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 ...
ajax/libs/yui/3.10.0/datatable-core/datatable-core-debug.js
gauravarora/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
web/node_modules/material-ui/svg-icons/communication/phonelink-lock.js
Jorginho211/TFG
'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/components/ShareExperience/index.js
goodjoblife/GoodJobShare
import React from 'react'; import PropTypes from 'prop-types'; import { Switch } from 'react-router-dom'; import { Section, Wrapper } from 'common/base'; import RouteWithSubRoutes from '../route'; const ShareExperience = ({ routes }) => ( <Section Tag="main" pageTop paddingBottom> <Wrapper size="m"> <Swit...
src/App.js
vlamy/rtypist
import React, { Component } from 'react'; import './App.sass'; import ExerciseManager from './components/ExerciseManager'; class App extends Component { render() { return( <div className="rtypist"> <ExerciseManager /> </div> ); } } export default App;
packages/es-components/src/components/base/spinner/Spinner.specs.js
TWExchangeSolutions/es-components
/* eslint-env jest */ import React from 'react'; import { cleanup } from '@testing-library/react'; import Spinner from './Spinner'; import { renderWithTheme } from '../../util/test-utils'; beforeEach(cleanup); it('does not include title when not provided', () => { const { queryByText } = renderWithTheme( <Spin...
appsrc/js/plaster-app.js
esonderegger/plaster
import React from 'react'; import Podcast from './podcast.js'; import Snackbar from 'material-ui/Snackbar'; import Dialog from 'material-ui/Dialog'; import LinearProgress from 'material-ui/LinearProgress'; import FlatButton from 'material-ui/FlatButton'; import WelcomeScreen from './welcome-screen.js'; import PlasterUp...
files/videojs/5.0.0-rc.44/video.js
garrypolley/jsdelivr
/** * @license * Video.js 5.0.0-rc.44 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
src/Parser/Warlock/Demonology/Modules/Talents/HandOfDoom.js
enragednuke/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import SPELLS from 'common/SPELLS'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import SpellIcon from 'common/SpellIcon'; const DOOM_CAST_THRESHOLD = 50; class Hand...
src/frame/rePCUI/tabs/base-tabs/ScrollableTabBarMixin.js
gejialun8888/shop-react
import classnames from 'classnames'; import { setTransform, isTransformSupported } from './utils'; import React from 'react'; import addEventListener from '../../util/Dom/addEventListener'; import debounce from 'lodash.debounce'; export default { getDefaultProps() { return { scrollAnimated: true, onP...
src/app/components/chartsToolBar.js
nazar/sound-charts-react-spa
import React from 'react'; import Reflux from 'reflux'; import cx from 'classnames'; import chartsViewActions from 'actions/chartsViewActions'; import chartsViewStore from 'stores/chartsViewStore'; import ShareButtons from 'components/shareButtons'; export default React.createClass({ mixins: [ Reflux.co...
docs/website/src/components/shared/Content.js
adaltas/node-nikita
// React import React from 'react' import PropTypes from 'prop-types' // Material UI import { useTheme } from '@material-ui/core/styles' import Button from '@material-ui/core/Button' import EditIcon from '@material-ui/icons/EditOutlined' import Toc from "./Toc" require('prismjs/themes/prism.css') const useStyles = th...
web/wp/wp-includes/js/jquery/jquery.js
pierreozoux/vagrant-for-wordpress-dopetrope
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/routes/login/index.js
lagache/e-voting-client
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 Login from './Login'; e...
ajax/libs/webshim/1.14.3/dev/shims/combos/26.js
pc035860/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 ...
packages/cf-component-layout/test/LayoutRow.js
manatarms/cf-ui
import React from 'react'; import renderer from 'react-test-renderer'; import { LayoutRow } from 'cf-component-layout'; test('should render', () => { const component = renderer.create(<LayoutRow />); expect(component.toJSON()).toMatchSnapshot(); });
src/__tests__/progress-label.js
wangzuo/react-progress-label
import React from 'react'; import renderer from 'react-test-renderer'; import ProgressLabel from '../progress-label'; test('render', () => { const component = renderer.create(<ProgressLabel />); expect(component.toJSON()).toMatchInlineSnapshot(` <svg fill="#ff0000" height={200} viewBox="0 0 2...
Public/js/jquery.js
ksyydream/llx_admin
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
packages/react-ui-core/src/Menu/__tests__/DropdownMenu-test.js
rentpath/react-ui
import React from 'react' import { mount, shallow } from 'enzyme' import ThemedDropdownMenu from '../DropdownMenu' import Menu from '../Menu' import MenuWrapper from '../MenuWrapper' const DropdownMenu = ThemedDropdownMenu.WrappedComponent describe('DropdownMenu', () => { const props = { options: ['foo', 'bar',...
ajax/libs/vkui/4.28.0/cssm/components/ActionSheetItem/ActionSheetItem.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; var _excluded = ["children", "autoclose", "mode", "meta", "subtitle", "before", "selectable", "value", "name", "checked", "defaultChecked", "onChange", "onClick", "sizeY", "onImm...
client2/src/components/react-burger-menu/test/pushRotate.spec.js
ibulmer/Board
'use strict'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import { expect } from 'chai'; import createShallowComponent from './utils/createShallowComponent'; import BurgerMenu from '../lib/BurgerMenu'; const Menu = BurgerMenu.pushRotate; describe('pushRotate', () => { let component,...
src/pages/SearchPage.js
Dervanil/reactnd-project-myreads-starter
import React, {Component} from 'react'; import PropTypes from 'prop-types' import * as BooksAPI from '../utils/BooksAPI' import DebounceInput from 'react-debounce-input' import Book from '../components/Book' import BackButton from '../components/BackButton' import LoadingMessage from '../components/LoadingMessage' cla...
packages/material-ui-icons/src/ScatterPlot.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><circle cx="7" cy="14" r="3" /><circle cx="11" cy="6" r="3" /><circle cx="16.6" cy="17.6" r="3" /></React.Fragment> , 'ScatterPlot');
lib/viewer/DataSetView.js
Kitware/arctic-viewer
import React from 'react'; import PropTypes from 'prop-types'; export default class DataSetViewer extends React.Component { constructor(props) { super(props); this.openDataSet = this.openDataSet.bind(this); } openDataSet() { ArcticViewer.load( `http://${window.location.host}${this.props.base}...
docs/Banner.js
jxnblk/cxs
import React from 'react' import cxs from 'cxs/component' const Banner = cxs('header')(props => ({ display: 'flex', flexDirection: 'column' })) export default Banner
src/svg-icons/editor/border-bottom.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderBottom = (props) => ( <SvgIcon {...props}> <path d="M9 11H7v2h2v-2zm4 4h-2v2h2v-2zM9 3H7v2h2V3zm4 8h-2v2h2v-2zM5 3H3v2h2V3zm8 4h-2v2h2V7zm4 4h-2v2h2v-2zm-4-8h-2v2h2V3zm4 0h-2v2h2V3zm2 10h2v-2h-2v2zm...
src/components/form/section.js
thinktopography/reframe
import React from 'react' import PropTypes from 'prop-types' import Field from './field' class Section extends React.Component { static propTypes = { label: PropTypes.string, instructions: PropTypes.oneOfType([ PropTypes.string, PropTypes.element ]), collapsing: PropTypes.bool, colla...
public/js/jquery.min.js
vinodoss/ppservice
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
ajax/libs/primereact/8.0.0-rc.1/inputtext/inputtext.cjs.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/keyfilter"),r=require("primereact/tooltip"),l=require("primereact/utils");function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){v...
src/components/common/svg-icons/av/mic-none.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvMicNone = (props) => ( <SvgIcon {...props}> <path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm-1.2-9.1c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2l-.01 6.2c0 .66-.53 ...
packages/relay-runtime/store/RelayModernFragmentSpecResolver.js
apalm/relay
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @providesModule RelayModernFragmentSpecResolver * @flow * @format */ 'use strict'; const invariant = require('invariant'); const i...
packages/material-ui-icons/src/FeedbackTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M4 17.17L5.17 16H20V4H4v13.17zM11 6h2v4h-2V6zm0 6h2v2h-2v-2z" opacity=".3" /><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v1...
src/scenes/home/components/no-user/index.js
bobinette/papernet-front
import PropTypes from 'prop-types'; import React from 'react'; import { Link } from 'react-router'; const NoUserState = ({ className }) => ( <div className={className}> <h3>Welcome to Papernet!</h3> <p>To be able to use this platform you need to sign in. Do not worry, your informations are safe! Nothing ...
react-app/src/layouts/l-top-menu.js
var-bin/reactjs-training
"use strict"; // src/layouts/l-top-menu.js import React from 'react'; import { Link } from 'react-router'; class LTopMenu extends React.Component { render() { return ( <div> <nav className="top-menu"> <ul> <li> <Link to="/blog">Blog</Link> </li> ...