path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/material-ui/4.9.2/esm/Table/Tablelvl2Context.js
cdnjs/cdnjs
import React from 'react'; /** * @ignore - internal component. */ var Tablelvl2Context = React.createContext(); if (process.env.NODE_ENV !== 'production') { Tablelvl2Context.displayName = 'Tablelvl2Context'; } export default Tablelvl2Context;
app/comp/index.js
coldhurt/react-study
import React from 'react'; import Button from '../common/button'; const Index = React.createClass({ onClickButton: function(e){ alert(e.target); }, render: function(){ return <div> <Button clickFunc={this.onClickButton} btnText="Search" /> </div>; } }); export ...
ajax/libs/primereact/7.2.1/deferredcontent/deferredcontent.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; 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 = 0; i < props.length; i++) { var descriptor = props[...
ajax/libs/react-highcharts/8.1.1/ReactHighcharts.src.js
sufuf3/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts"], factory); else if(typeof exports === 'ob...
fields/types/url/UrlField.js
joerter/keystone
import React from 'react'; import Field from '../Field'; import { Button, FormInput } from 'elemental'; module.exports = Field.create({ displayName: 'URLField', openValue () { var href = this.props.value; if (!href) return; if (!/^(mailto\:)|(\w+\:\/\/)/.test(href)) { href = 'http://' + href; } window.o...
newclient/scripts/components/user/sidebar/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...
linksa/panainfosc.js
liuhui219/linksa
import React from 'react'; import { View, StyleSheet, Navigator, TouchableOpacity, TouchableHighlight, Text, ScrollView, Modal, CameraRoll, Animated, ActivityIndicator, InteractionManager, TextInput, Dimensions, BackAndroid, Image, RefreshControl, ListView, ToastAndroid, NativeModules, } from ...
packages/generator-electron/template/src/renderer/containers/Login.js
abouthiroppy/dish
// @flow import * as Redux from 'redux'; import { connect } from 'react-redux'; import * as actions from '../actions/auth'; import Login from '../components/pages/Login'; import type { State } from '../types/states'; type StateProps = { mail: string; }; type DispatchProps = { login: (string) => {}; }; const ma...
index.js
hanpanpan200/react-native-starter
import React from 'react' import { Provider } from 'react-redux' import { AppRegistry, StatusBar } from 'react-native' import AppRouters from './src/AppRouters' import store from './src/store' StatusBar.setBarStyle('light-content') const ReactNativeStarter = () => ( <Provider store={store}> <AppRouters /> </P...
examples/admin/components/Message.js
minwe/amazeui-react
import React from 'react'; import PageContainer from '../components/PageContainer'; const Message = React.createClass({ propTypes: { event: React.PropTypes.object, }, renderDetail() { const event = this.props.event; if (event) { const { created_at, type, repo, ...
src/client/components/svg/HomePicto.js
alexandrebodin/graphql-heroes-app
import React from 'react' const HomePicto = () => <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 175.748 135.80699" > <path clip-rule="evenodd" fill="#ed1c24" fill-rule="evenodd" d="M175.748 33.73L143.614.177 33.727 0 0 33.73l84.767 102.077" ...
src/Overlay.js
cesarandreu/react-overlays
import React from 'react'; import Portal from './Portal'; import Position from './Position'; import RootCloseWrapper from './RootCloseWrapper'; import elementType from 'react-prop-types/lib/elementType'; /** * Built on top of `<Position/>` and `<Portal/>`, the overlay component is great for custom tooltip overlays. ...
assets/jqwidgets/demos/react/app/datatable/columnalignment/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDataTable from '../../../jqwidgets-react/react_jqxdatatable.js'; import JqxDropDownList from '../../../jqwidgets-react/react_jqxdropdownlist.js'; class App extends React.Component { componentDidMount() { this.refs.columnAlignment.on('c...
app/jsx/files/MoveDialog.js
venturehive/canvas-lms
/* * Copyright (C) 2015 - 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...
ajax/libs/js-data/1.5.5/js-data.js
pombredanne/cdnjs
/*! * js-data * @version 1.5.5 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModul...
src/svg-icons/device/signal-wifi-off.js
w01fgang/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...
frontend/src/Movie/MovieFileStatusConnector.js
geogolem/Radarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import createMovieSelector from 'Store/Selectors/createMovieSelector'; import createUISettingsSelector from 'Store/Selectors/createUISettingsSelector'; import M...
ajax/libs/rxjs/4.0.4/rx.lite.extras.js
wil93/cdnjs
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
src/test/componentsSpec/Header.spec.js
badT/twitchBot
import React from 'react'; import { Provider } from 'react-redux'; import { mount } from 'enzyme'; import chai, { expect } from 'chai'; import chaiEnzyme from 'chai-enzyme'; chai.use(chaiEnzyme()); import configureStore from '../../store/configureStore'; import { Header } from '../../components/Header/index'; descri...
public/swagger-ui.js
ynu/ecard-api
(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.exports=factory(require("deep-extend"),require("immutable"),require("css.escape"),require("memoizee"),require("stream"),require("base64-js"),require("ieee754"),require("isarray"),require("react"),requi...
docs/app/Examples/collections/Grid/ResponsiveVariations/GridExampleReversedMobileVertically.js
vageeshb/Semantic-UI-React
import React from 'react' import { Grid } from 'semantic-ui-react' const GridExampleReversedMobileVertically = () => ( <Grid reversed='mobile vertically'> <Grid.Row> <Grid.Column>Mobile Row 4</Grid.Column> </Grid.Row> <Grid.Row> <Grid.Column>Mobile Row 3</Grid.Column> </Grid.Row> <Gri...
site/examples/FilterExample.js
ianobermiller/fixed-data-table
"use strict"; var ExampleImage = require('./ExampleImage'); var FakeObjectDataListStore = require('./FakeObjectDataListStore'); var FixedDataTable = require('fixed-data-table'); var React = require('react'); var Column = FixedDataTable.Column; var PropTypes = React.PropTypes; var Table = FixedDataTable.Table; functi...
src/components/SupportButton/index.js
iris-dni/iris-frontend
import React from 'react'; import ButtonLink from 'components/ButtonLink'; import settings from 'settings'; const SupportButton = ({ petition }) => ( <ButtonLink href={`/trust/support/${petition.id}`} text={settings.petitionPage.supportButton.text} block modifier={'accent'} /> ); export default Su...
src/AspnetVnextBeta3/node_modules/grunt-bower-task/node_modules/rx/src/core/linq/observable/amb.js
davidebbo-test/AspnetVnextBeta3VS
/** * 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...
ajax/libs/vega/4.0.0/vega-core.min.js
sashberd/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-dsv"),require("d3-time-format"),require("d3-array"),require("d3-shape"),require("d3-path"),require("d3-scale"),require("d3-interpolate"),require("d3-scale-chromatic"),require("d3-time"),require("d3-format"),require("d3-geo"),requi...
docs/src/NavMain.js
aabenoja/react-bootstrap
import React from 'react'; import { Link } from 'react-router'; import Navbar from '../../src/Navbar'; import Nav from '../../src/Nav'; const NAV_LINKS = { 'getting-started': { link: 'getting-started', title: 'Getting started' }, 'components': { link: 'components', title: 'Components' } }; con...
src/components/getPublicKey.js
Tasemu/Simple-PGP
import React, { Component } from 'react'; import { css, StyleSheet } from 'aphrodite'; import { inject, observer, PropTypes as MobxPropTypes } from 'mobx-react'; import { colours } from 'utils/constants'; const { clipboard } = require('electron'); const componentStyles = StyleSheet.create({ form: { width: '100%...
src/components/main/Main.js
jckfa/img.silly.graphics
import React from 'react' import Images from './Images' const Main = (props) => ( <main> <Images /> </main> ) export default Main
ajax/libs/jquery-footable/0.1.0/js/footable.js
ComputerWolf/cdnjs
/*! * FooTable - Awesome Responsive Tables * http://themergency.com/footable * * Requires jQuery - http://jquery.com/ * * Copyright 2012 Steven Usher & Brad Vincent * Released under the MIT license * You are free to use FooTable in commercial projects as long as this copyright header is left intact. * * Date...
src-example/components/organisms/Organism/index.stories.js
SIB-Colombia/biodiversity_catalogue_v2_frontend
import React from 'react' import { storiesOf } from '@kadira/storybook' import { Organism } from 'components' storiesOf('Organism', module) .add('default', () => ( <Organism /> )) .add('reverse', () => ( <Organism reverse /> ))
PZE/Scripts/jquery-1.4.1.min.js
commendinternational/Projektzeiterfassung
/*! * jQuery JavaScript Library v1.4.1 * http://jquery.com/ * * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal...
src/js/components/SkipLinkTarget/SkipLinkTarget.js
HewlettPackard/grommet
import React from 'react'; import styled from 'styled-components'; import { Anchor } from '../Anchor'; const HiddenAnchor = styled(Anchor)` width: 0; height: 0; overflow: hidden; position: absolute; `; export const SkipLinkTarget = ({ label, ...rest }) => ( <HiddenAnchor {...rest} tabIndex="-1" aria-hidden...
src/containers/Root.js
reichert621/log-book
import React from 'react' import { Provider } from 'react-redux' import { Router } from 'react-router' export default class Root extends React.Component { static propTypes = { history: React.PropTypes.object.isRequired, routes: React.PropTypes.element.isRequired, store: React.PropTypes.object.isRequired ...
ajax/libs/yasgui/1.0.7/yasgui.bundled.min.js
2947721120/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
src/svg-icons/action/visibility-off.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionVisibilityOff = (props) => ( <SvgIcon {...props}> <path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.7...
ajax/libs/react-instantsearch/4.1.0-beta.4/Connectors.js
sashberd/cdnjs
/*! ReactInstantSearch 4.1.0-beta.4 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && ...
packages/icons/src/duplicate.js
yldio/joyent-portal
import React from 'react'; import rndId from 'rnd-id'; import Rotate from './rotate'; import calcFill from './fill'; const ids = [rndId()]; export default ({ fill = null, light = false, disabled = false, direction = 'down', colors = {}, style = {}, ...rest }) => ( <Rotate direction={direction}> {...
ajax/libs/rxjs/2.1.20/rx.js
jakubfiala/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
app/components/Home.js
jaytrepka/kryci-jmena
// @flow import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import capybara from './capybara.png'; export default class Home extends Component { render() { return ( <div> <div className="container" data-tid="container"> <h2>Code Names</h2> <img sr...
src/decorators/withStyles.js
bopeng87/reactfullstack
/** * 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, { Component, PropTypes } from 'react'; func...
server/game/cards/06-CotE/ShiotomeHeroine.js
jeremylarner/ringteki
const DrawCard = require('../../drawcard.js'); const AbilityDsl = require('../../abilitydsl.js'); const { Stages } = require('../../Constants'); class ShiotomeHeroine extends DrawCard { setupCardAbilities() { this.reaction({ title: 'Ready this character', when: { onM...
packages/material-ui-icons/src/School.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z" /></g> , 'School');
node_modules/react-icons/md/flash-auto.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdFlashAuto = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28 12.7h4l-2-6.1z m3.6-9.3l5.4 15h-3.2l-1.1-3.4h-5.4l-1.1 3.4h-3.2l5.4-15h3.2z m-26.6 0h16.6l-6.6 15h6.6l-11.6 20v-15h-5v-20z"/></g> </Icon> ) export default ...
ajax/libs/cellx/1.7.49/cellx.js
jonobr1/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@riim/object-assign-polyfill'), require('@riim/map-set-polyfill'), require('@riim/logger'), require('@riim/symbol-polyfill'), require('@riim/is'), require('@riim/mixin'), require('@riim/next-t...
geonode/contrib/monitoring/frontend/src/components/organisms/geonode-analytics/index.js
ingenieroariel/geonode
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import HoverPaper from '../../atoms/hover-paper'; import HR from '../../atoms/hr'; import ResponseTime from '../../cels/response-time'; import Throughput from '../../cels/throughput'; import ErrorsRate from '../../cels...
app/components/CategoryTree/CatLink.js
juanda99/arasaac-frontend
import React from 'react' import PropTypes from 'prop-types' import { Link } from 'react-router' const CatLink = ({ keyword, key, children }) => keyword ? ( <Link key={key} to={`/pictograms/search/${encodeURIComponent(keyword)}`}> {children} </Link> ) : ( <div>{children}</div> ) CatLink.propTy...
app/src/js/components/utilities/release_info.js
tahnik/devRantron
import React, { Component } from 'react'; import PropTypes from 'prop-types'; const { ipcRenderer, shell } = require('electron'); const showdown = require('showdown'); class ReleaseInfo extends Component { constructor() { super(); this.state = { markdown: null, }; } componentWillMount() { ...
src/components/Duration.js
CookPete/reddit-player
import React from 'react' export default function Duration ({ className, seconds }) { return ( <time dateTime={`P${Math.round(seconds)}S`} className={className}> {format(seconds)} </time> ) } function format (seconds) { const date = new Date(seconds * 1000) const hh = date.getHours() const mm ...
nodeAppPostPg/testing/nightwatch/common/common.js
dmilet/backend
// NOTE: module.exports at end of file // IMPORTANT: test functions created here are used in a chain. See any files under the tests folder // or just think of jQuery functions. // There are two ways to write chainable test functions, both are pretty easy. Choice // is a matter of pers...
ajax/libs/react-dom/18.0.0-alpha-5fa4d79b0-20211008/cjs/react-dom-server-legacy.browser.development.js
cdnjs/cdnjs
/** @license React vundefined * react-dom-server-legacy.browser.development.js * * 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. */ 'use strict'; if (process.env.NODE_ENV !== "produc...
ajax/libs/boardgame-io/0.49.11/esm/react.js
cdnjs/cdnjs
import 'nanoid/non-secure'; import './Debug-fd09b8bc.js'; import 'redux'; import './turn-order-0b7dce3d.js'; import 'immer'; import './plugin-random-087f861e.js'; import 'lodash.isplainobject'; import './reducer-07c7b307.js'; import 'rfc6902'; import './initialize-9ac1bbf5.js'; import './transport-ce07b771.js'; import ...
src/components/DatePicker.js
mohebifar/react-persian-datepicker
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import moment from 'moment-jalali'; import TetherComponent from 'react-tether'; import Calendar from './Calendar'; import classnames from 'classnames'; export const outsideClickIgnoreClass = 'ignore--click--outside'; export default class Da...
src/actions/themes.js
bluedaniel/Kakapo-native
import { AsyncStorage } from 'react-native'; import constants from '../constants'; const STORAGE_KEY = '@AsyncStorageSettings:key'; const actions = { getTheme: () => dispatch => { AsyncStorage.getItem(STORAGE_KEY).then(data => { let color = '#673AB7'; if (data) { data = JSON.parse(data); ...
src/containers/subs/ProjectActionSubSettings.js
gperreymond/docktor
/* eslint jsx-quotes: ["error", "prefer-double"] */ import React from 'react' import Reflux from 'reflux' class ProjectActionSubSettings extends Reflux.Component { render () { return ( <div className="flex grey"> <div className="fullwidth"><h4 className="text-center">Paramètres non dispobile actue...
ajax/libs/yui/2.9.0/container/container_core-debug.js
matteofigus/cdnjs
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ (function () { /** * Config is a utility used within an Object to allow the implementer to * maintain a list of local configuration properties and liste...
test/PopoverSpec.js
yickli/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Popover from '../src/Popover'; describe('Popover', function () { it('Should output a popover title and content', function () { let instance = ReactTestUtils.renderIntoDocument( <Popover title="Popover title"> <...
internals/webpack/webpack.test.babel.js
himanshujariyal/s3-bucket-explorer
/** * TEST WEBPACK CONFIGURATION */ const webpack = require('webpack'); const modules = [ 'app', 'node_modules', ]; module.exports = { devtool: 'inline-source-map', module: { // Some libraries don't like being run through babel. // If they gripe, put them here. noParse: [ /node_modules(\\|...
docs/app/Examples/views/Statistic/Variations/StatisticExampleSize.js
shengnian/shengnian-ui-react
import React from 'react' import { Statistic } from 'shengnian-ui-react' const StatisticExampleSize = () => ( <div> <Statistic size='mini'> <Statistic.Label>Views</Statistic.Label> <Statistic.Value>2,204</Statistic.Value> </Statistic> <Statistic size='tiny'> <Statistic.Label>Views</Stat...
src/svg-icons/notification/time-to-leave.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationTimeToLeave = (props) => ( <SvgIcon {...props}> <path d="M18.92 5.01C18.72 4.42 18.16 4 17.5 4h-11c-.66 0-1.21.42-1.42 1.01L3 11v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-....
index.js
sushack/do
var bodyParser = require('body-parser'); var express = require('express'); var mongoose = require('mongoose'); var Schema = mongoose.Schema; var app = express(); var CHANNEL_NAME = 'do_channel'; var PUBNUB = require("pubnub").init({ publish_key : "demo", subscribe_key : "demo" }); mongo_db_table = proces...
src/applications/financial-status-report/pages/bankruptcy/records.js
department-of-veterans-affairs/vets-website
import React from 'react'; import monthYearUI from 'platform/forms-system/src/js/definitions/monthYear'; import { validateCurrentOrPastDate } from 'platform/forms-system/src/js/validation'; export const uiSchema = { 'ui:title': 'Your bankruptcy details', additionalData: { bankruptcy: { dateDischarged: { ...
src/avoiding-the-monorepo/index.js
travi/presentations
import React from 'react'; import {render} from 'react-dom'; import Presentation from './presentation'; render(<Presentation />, document.getElementById('root'));
src/encoded/static/components/edit.js
ENCODE-DCC/encoded
import React from 'react'; import PropTypes from 'prop-types'; import url from 'url'; import { FetchedData, Param } from './fetched'; import * as globals from './globals'; function sortedJson(obj) { if (obj instanceof Array) { return obj.map((value) => sortedJson(value)); } if (obj instanceof Obje...
hw8/frontend/src/index.js
yusong-shen/comp531-web-development
/* High level logic for entire front-end applicaiton */ require('expose?$!expose?jQuery!jquery') require("bootstrap-webpack") require('./styles.css') import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import createLogger from 'redux-logger' import { createStore, compose,...
src/components/AdminDocSecuence.js
aurigadl/EnvReactAsk
import React from 'react' import Reflux from 'reflux'; import * as cSecAc from '../actions/confSecu'; import confSecuStore from '../stores/confSecu'; import { Form, InputNumber, Radio, Input, Button } from 'antd'; const FormItem = Form.Item; const ButtonGroup = Button.Group; const AdminDocSecuence = Form.create()(...
ajax/libs/primereact/6.6.0/paginator/paginator.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames, Ripple, ObjectUtils } from 'primereact/core'; import { Dropdown } from 'primereact/dropdown'; import { InputNumber } from 'primereact/inputnumber'; function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function _iterableToArrayLimit(arr,...
app/screens/channel_notification_preference/channel_notification_preference.android.js
mattermost/mattermost-mobile
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react'; import { ScrollView, Switch, View, } from 'react-native'; import FormattedText from '@components/formatted_text'; import RadioButtonGroup from '@components/radio_butto...
src/svg-icons/image/photo-library.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePhotoLibrary = (props) => ( <SvgIcon {...props}> <path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"/>...
docs/build/html/_static/jquery.js
DirectXMan12/python-gssapi
/*! 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/js/root.js
HK8383/react_project_imooc
import React from 'react'; import ReactDOM from 'react-dom'; import {Router,Route,hashHistory} from 'react-router'; export default class Root extends React.Component{ render(){ return ( <div>Init</div> ); }; } ReactDOM.render(<Root/>, document.getElementById('mainContainer'));
app/javascript/mastodon/components/__tests__/button-test.js
tootsuite/mastodon
import { render, fireEvent, screen } from '@testing-library/react'; import React from 'react'; import renderer from 'react-test-renderer'; import Button from '../button'; describe('<Button />', () => { it('renders a button element', () => { const component = renderer.create(<Button />); const tree = com...
app/containers/App/index.js
sahilkhan99/PosApp
import React from 'react'; import { Switch, Route, Redirect } from 'react-router-dom'; import Header from 'components/Header'; import Budget from 'routes/Budget'; import Reports from 'routes/Reports'; import POS from 'routes/POS'; import Transaction from 'routes/Transaction'; import './style.scss'; {/*<Header /> ...
docs/src/app/components/pages/components/RaisedButton/Page.js
kittyjumbalaya/material-components-web
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import raisedButtonReadmeText from './README'; import raisedButtonExampleSimpleC...
src/svg-icons/action/loyalty.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionLoyalty = (props) => ( <SvgIcon {...props}> <path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86....
Samples/Provisioning.OnPrem.Async/Provisioning.OnPrem.AsyncWeb/Scripts/jquery-1.9.1.min.js
IvanTheBearable/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...
ajax/libs/react/0.11.1/react-with-addons.min.js
terrymun/cdnjs
/** * React (with addons) v0.11.1 * * 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...
app/packs/src/admin/converter/edit/TableForm.js
ComPlat/chemotion_ELN
import React, { Component } from 'react'; import { Button, Row, Col } from 'react-bootstrap'; import TableColumn from './TableColumn'; class TableForm extends Component { constructor(props) { super(props) } render() { const { table, updateTable, addOperation, updateOperation, removeOperation } = this.p...
app/javascript/mastodon/features/list_timeline/index.js
masto-donte-com-br/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnBackButton from '../../co...
__tests__/components/Headline-test.js
linde12/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import Headline from '../../src/js/components/Headline'; describe('Headline', () => { it('has correct default options', () => { const component = renderer.create( <H...
src/containers/Settings/index.js
ayastreb/money-tracker
import React from 'react'; import CurrencyInput from './Currency/Input'; import CurrenchExchangeRate from './Currency/ExchangeRate'; import DataExport from './DataExport'; import DataImport from './DataImport'; import User from './User'; import CollapsibleSection from '../../components/CollapsibleSection'; const Setti...
docs/index.js
jrsowles/react-building-blocks
// npm modules import React, { Component } from 'react'; import { render } from 'react-dom'; import { hashHistory, Route, IndexRoute, Router } from 'react-router'; // app modules import Components from 'components/Components'; import Home from 'components/Home'; import Icon from 'components/IconDocs'; import ...
app/components/Account/Forgot.js
tanysaur/crappy-birds
import React from 'react'; import { connect } from 'react-redux' import { forgotPassword } from '../../actions/auth'; import Messages from '../Messages'; class Forgot extends React.Component { constructor(props) { super(props); this.state = { email: '' }; } handleChange(event) { this.setState({ [eve...
app/components/Toggle/index.js
KraigWalker/frontendfriday
/** * * LocaleToggle * */ import React from 'react'; import Select from './Select'; import ToggleOption from '../ToggleOption'; function Toggle(props) { let content = (<option>--</option>); // If we have items, render them if (props.values) { content = props.values.map((value) => ( <ToggleOption key...
src/svg-icons/editor/pie-chart.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorPieChart = (props) => ( <SvgIcon {...props}> <path d="M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z"/> </SvgIco...
test/components/Counter.spec.js
caiizilaz/exchange-rate
import { spy } from 'sinon'; import React from 'react'; import { shallow } from 'enzyme'; import { BrowserRouter as Router } from 'react-router-dom'; import renderer from 'react-test-renderer'; import Counter from '../../app/components/Counter'; function setup() { const actions = { increment: spy(), incremen...
test/tab-test.js
OnsenUI/react-onsenui
/* global describe it assert */ import React from 'react'; import ReactDOM from 'react-dom'; import {Tab} from '../dist/react-onsenui.js'; import TestUtils from 'react/lib/ReactTestUtils'; import rendersToComponent from './testUtil.js'; describe('Tab', function() { rendersToComponent( <Tab />, 'ons-tab' ...
js/jquery-1.10.2.min.js
aj-r/2048-AI
/*! 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/material-ui/4.11.3-deprecations.1/Table/TableContext.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(require("react")); /** * @ignore - internal component. */ var TableContext = React.cr...
example/src/lib/renderFullHtml.js
zordius/reservice
import React from 'react' import PropTypes from 'prop-types' import { renderToString, renderToStaticMarkup } from 'react-dom/server' import serialize from 'serialize-javascript' import { MainComponent } from '../reduxapp' /* eslint-disable react/no-danger */ const Html = ({ main, state }) => <html> <head> <titl...
ajax/libs/radium/0.13.5/radium.min.js
CyrusSUEN/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.Radium=t(require("react")):e.Radium=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var...
Examples/UIExplorer/NavigatorIOSExample.js
tahnok/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/svg-icons/editor/linear-scale.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorLinearScale = (props) => ( <SvgIcon {...props}> <path d="M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5H6.79c-.39-.88-1.26-1.5-2.29-1.5C3.12 9.5 2 10.62 2 12s1.12 2.5 ...
samples/SingleTenantOwinSystemWeb/SingleTenantOwinSystemWeb/Scripts/jquery-1.7.1.js
vinneyk/BrockAllen.MembershipReboot
/*! * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * * Copyright 2011, John Resig * Released under the the MIT License. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT and BSD Licenses. * * Date: Mon Nov 21 21...
app/react-icons/fa/ban.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaBan extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m32.3 19.9q0-3.6-2-6.6l-16.8 16.9q3.1 1.9 6.6 1.9 2.5 0 4.8-0.9t3.8-2.6 2.6-3.9 ...
src/Filter.js
Blackbriar/react-css-filter
import React from 'react' import styled from 'styled-components' import { object, node } from 'prop-types' import mapFilters from 'map-css-filters' const FilterWrapper = styled.div` filter: ${props => mapFilters(props.effects)}; ` const Filter = ({ children, ...props }) => <FilterWrapper {...props}> {children...
admin/client/App/screens/Home/index.js
ratecity/keystone
/** * The Home view is the view one sees at /keystone. It shows a list of all lists, * grouped by their section. */ import React from 'react'; import { Container, Spinner } from '../../elemental'; import { connect } from 'react-redux'; import Lists from './components/Lists'; import Section from './components/Secti...
packages/material-ui-icons/src/ViewStream.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment> , 'ViewStream');
src/components/DynamicSipProvider.js
callthemonline/simple-client-react
import React from 'react'; import PropTypes from 'prop-types'; import { SipProvider } from 'react-sip'; import { compose, withContext, withState } from 'recompose'; const DynamicSipProvider = ({ sipConfig, children }) => ( <SipProvider {...sipConfig} debug={false}> {children} </SipProvider> ); export default ...
ajax/libs/forerunnerdb/1.3.574/fdb-core+persist.js
redmunds/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
examples/js/others/mouse-event-table.js
pvoznyuk/react-bootstrap-table
/* eslint no-console: 0 */ /* eslint no-console: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; p...