path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
app/tests/components/MainSection-test.js
kkotwal94/EDocumentation
import React from 'react'; import expect from 'expect'; import { mount } from 'enzyme'; import MainSection from '../../components/MainSection'; import TopicItem from '../../components/TopicItem'; const emptyData = []; const topicItemData = [{ text: '', id: '', index: 0, onIncrement: () => {}, onDecrement: ()...
ajax/libs/vue/0.12.0/vue.js
bspaulding/cdnjs
/** * Vue.js v0.12.0 * (c) 2015 Evan You * Released under the MIT License. */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define(factory); else if(typ...
src/interface/report/Results/Character/PlayerInfo/Essence.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import Icon from 'common/Icon'; import SpellLink from 'common/SpellLink'; import ESSENCES from 'common/SPELLS/bfa/essences'; import { makeSpellApiUrl } from 'common/makeApiUrl'; const FALLBACK_ICON = 'inv_misc_questionmark'; class Essence extends React.P...
packages/react-art/src/ReactART.js
syranide/react
/** * 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. */ import React from 'react'; import ReactFiberReconciler from 'react-reconciler'; import * as ReactDOMFrameScheduling from 'shared/ReactDO...
src/components/Pizza.js
wmaurer/frontend_pizza_react_redux
import React, { Component } from 'react'; export default class Pizza extends Component { render() { const { pizza, actions: { incrementPizza, decrementPizza, removePizza } } = this.props; return ( <div className="mdl-card mdl-shadow--2dp pizza-card"> <div className="mdl-...
src/vendor/recharts/src/chart/generateCategoricalChart.js
happyboy171/Feeding-Fish-View-
import React, { Component, PropTypes } from 'react'; import ReactDOM from 'react-dom'; import { scaleLinear, scaleBand, scalePoint } from 'd3-scale'; import classNames from 'classnames'; import Surface from '../container/Surface'; import Layer from '../container/Layer'; import Tooltip from '../component/Tooltip'; impor...
resources/assets/js/components/admin/forms/TransferGroupToNewTeacherForm.js
jrm2k6/i-heart-reading
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createGroupTransfer } from '../../../actions/admin/adminDashboardActions'; const mapStateToProps = (state) => { return { teachers: state.adminReducer.teachers, groups: state.adminReducer.groups }; }; const mapDispatc...
ajax/libs/primereact/6.2.1/components/treetable/TreeTableScrollableView.min.js
cdnjs/cdnjs
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tre...
project/react/src/pages/index/components/ListItem/index.js
FFF-team/generator-earth
import React from 'react' import './index.scss' import { Link } from 'react-router-dom' const ListItem = ({title, id}) => { return ( <Link className='list-item' to={`/site/${id}?ts=123`}>{title}</Link> ) }; export default ListItem;
src/icons/SocialYen.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class SocialYen extends React.Component { render() { if(this.props.bare) { return <g> <path d="M448,32h-80L256,253.128L144,32H64l112.368,208H128v48h73.564L216,319v17h-88v48h88v96h80v-96h88v-48h-88v-17l14.891-31H384...
app/javascript/mastodon/features/public_timeline/index.js
nonoz/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader from '../../components/column_header'; import { refreshPublicTimeline, exp...
src/components/Notification.js
ohager/nanoflux-react-demo
import React from 'react'; import '../css/Notification.css'; const Notification = ({messages}) => ( <div className="notification-container"> {messages.map((message, index) => { return ( <div key={index} className="notification success-notification"> <div className="notification-message"> {messag...
src/svg-icons/content/link.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentLink = (props) => ( <SvgIcon {...props}> <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3....
path/js/jquery-1.11.0.js
varunrr/firewall-
/*! jQuery v1.11.0 | (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 win...
src/app/components/Navbar.js
thecodingmachine/thequizmachine
import React from 'react'; import {render} from 'react-dom'; class Navbar extends React.Component { render () { return <div className="navbar-fixed"> <nav className="grey darken-1"> <div className="nav-wrapper"> <a href="#!" className...
ajax/libs/jquery.fancytree/2.8.0/jquery.fancytree.min.js
jozefizso/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.8.0 * @dat...
app/admin/dashboard/StudentList.js
in42/internship-portal
import axios from 'axios'; import React, { Component } from 'react'; import { Table, Menu, Icon, Container, Form, Dropdown } from 'semantic-ui-react'; import StudentListItem from './StudentListItem'; import Auth from '../../auth/modules/Auth'; class StudentList extends Component { constructor(props) { super(prop...
src/render-native/IconStarMessage.js
kunall17/zulip-mobile
/* @flow */ import React from 'react'; import { StyleSheet, View } from 'react-native'; import { IconStar } from '../common/Icons'; const styles = StyleSheet.create({ iconWrapper: { marginTop: 4, flex: 0.1, }, iconStar: { fontSize: 20, color: '#447C22', alignSelf: 'flex-end', }, }); expor...
src/svg-icons/image/switch-video.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageSwitchVideo = (props) => ( <SvgIcon {...props}> <path d="M18 9.5V6c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3.5l4 4v-13l-4 4zm-5 6V13H7v2.5L3.5 12 7 8.5V11h6V8.5l3.5 3.5-3.5...
src/svg-icons/action/cached.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionCached = (props) => ( <SvgIcon {...props}> <path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97....
client/src/components/shared/Icons/GitHub.js
FreeCodeCampBA/freecodecampba.github.io
import React from 'react' const GitHubIcon = props => ( <svg viewBox="0 0 24 24" {...props}> <title>{'GitHub icon'}</title> <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7...
src/js/components/Bricks.js
davrodpin/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import classnames from 'classnames'; import CSSClassnames from '../utils/CSSClassnames'; const CLASS_ROOT = CSSClassnames.BRICKS; export default class Bricks extends Component { render () { let class...
ajax/libs/backbone-react-component/0.5.1/backbone-react-component.js
andrepiske/cdnjs
/** * Backbone.React.Component * @version 0.5.1 * @author "Magalhas" José Magalhães <magalhas@gmail.com> * @license MIT <http://opensource.org/licenses/MIT> */ 'use strict'; (function (root, factory) { if (typeof define === 'function' && define.amd) define(['react', 'backbone', 'underscore'], factory); els...
frontend/src/Settings/CustomFormats/CustomFormatSettingsConnector.js
Radarr/Radarr
import React, { Component } from 'react'; import { DndProvider } from 'react-dnd'; import { HTML5Backend } from 'react-dnd-html5-backend'; import PageContent from 'Components/Page/PageContent'; import PageContentBody from 'Components/Page/PageContentBody'; import SettingsToolbarConnector from 'Settings/SettingsToolbarC...
src/components/components/pc_newscontainer.js
highcoder1/ReactNews
import React from 'react'; import {Row, Col} from 'antd'; import {Tabs, Carousel} from 'antd'; const TabPane = Tabs.TabPane; import PCNewsBlock from './pc_news_block'; import PCNewsImageBlock from './pc_news_image_block'; import PCProduct from './pc_products'; export default class PCNewsContainer extends React.Compone...
node_modules/karma-sauce-launcher/node_modules/wd/node_modules/underscore.string/test/test_underscore/vendor/jquery.js
yongshengwang/angular.js
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
node_modules/react-scripts/template/src/App.js
webtutorial/builder
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <div className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h2>Welcome to React</h2> ...
src/svg-icons/maps/terrain.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsTerrain = (props) => ( <SvgIcon {...props}> <path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z"/> </SvgIcon> ); MapsTerrain = pure(MapsTerrain); MapsTerrain.displayName = 'MapsTerr...
ajax/libs/video.js/4.12.8/video.dev.js
paleozogt/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
app/shared/modals/reservation-info/ReservationInfoModal.js
fastmonkeys/respa-ui
import isEmpty from 'lodash/isEmpty'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Button from 'react-bootstrap/lib/Button'; import ControlLabel from 'react-bootstrap/lib/ControlLabel'; import FormControl from 'react-bootstrap/lib/FormControl'; import FormGroup from 'react-bootst...
packages/material-ui-icons/src/RemoveSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 13H5v-2h14v2z" /> , 'RemoveSharp');
6.0.5/examples/wizard/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}([function(e,t,n){n(272),e.exports=n(271)},function(e,t,n){var r=n(5),o=n(36),i=n(20),a=n(21),u=n(37),s="prototype",...
wp-content/plugins/botdetect-wp-captcha/public/js/jquery.min.js
thanhpd/MaC
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
packages/material-ui-icons/lib/esm/HourglassTopRounded.js
mbrookes/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M8 2c-1.1 0-2 .9-2 2l.01 3.18c0 .53.21 1.03.58 1.41L10 12l-3.41 3.43c-.37.37-.58.88-.58 1.41L6 20c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2v-3.16c0-.53-.21-1.04-.58-1....
src/pages/css-grid/04-fr-unit.js
MozillaDevelopers/playground
import React from 'react'; import Main from './components/_Main'; import CodeBlock from '../../components/CodeBlock'; import DevHomework from '../../components/layout/DevHomework'; import CodepenLink from '../../components/CodepenLink'; import VideoPlayer from '../../components/VideoPlayer'; const Tutorial = () => ( ...
release/darwin-x64/shokushu-darwin-x64/shokushu.app/Contents/Resources/app/app/routes.js
y-takey/shokushu
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import HomePage from './containers/HomePage'; import ViewerPage from './containers/ViewerPage'; export default ( <Route path="/" component={App}> <IndexRoute component={HomePage} /> <Route path="/...
reactjs-nuclearjs/src/index.js
hawkup/github-stars
import { AppContainer } from 'react-hot-loader'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; const rootEl = document.getElementById('root'); ReactDOM.render( <AppContainer> <App /> </AppContainer>, rootEl ); if (module.hot) { module.hot.accept('./App', () => { ...
server/sonar-web/src/main/js/apps/settings/licenses/LicensesApp.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
src/components/Navbar.js
robshocks/frontboost
import React from 'react'; import ReactDOM from 'react-dom'; import { connect } from 'react-redux'; import { addDeck, showAddDeck, hideAddDeck } from '../actions'; import { Link } from 'react-router'; const Navbar = React.createClass({ render() { let props = this.props; return ( <header id="he...
browser/app/js/components/InputGroup.js
dutchcoders/minio
/* * Minio Cloud Storage (C) 2016 Minio, 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...
docs/src/app/components/pages/components/Card/ExampleControlled.js
verdan/material-ui
import React from 'react'; import {Card, CardActions, CardHeader, CardMedia, CardTitle, CardText} from 'material-ui/Card'; import FlatButton from 'material-ui/FlatButton'; import Toggle from 'material-ui/Toggle'; export default class CardExampleControlled extends React.Component { constructor(props) { super(pro...
frontend/src/Components/Table/VirtualTableHeaderCell.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Icon from 'Components/Icon'; import Link from 'Components/Link/Link'; import { icons, sortDirections } from 'Helpers/Props'; import styles from './VirtualTableHeaderCell.css'; export function headerRenderer(headerProps) { const { ...
packages/material-ui/src/styles/useTheme.js
lgollut/material-ui
import { useTheme as useThemeWithoutDefault } from '@material-ui/styles'; import React from 'react'; import defaultTheme from './defaultTheme'; export default function useTheme() { const theme = useThemeWithoutDefault() || defaultTheme; if (process.env.NODE_ENV !== 'production') { // eslint-disable-next-line ...
rojak-ui-web/src/app/media/PairingSentiments.js
pyk/rojak
import React from 'react' import SimpleList from '../kit/SimpleList' import styles from './PairingSentiments.css' class PairingSentiments extends React.Component { static propTypes = { sentiments: React.PropTypes.array } static defaultProps = { sentiments: [] } render () { const { sentiments } ...
docs/src/app/components/pages/components/List/ExampleNested.js
hai-cea/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import ActionGrade from 'material-ui/svg-icons/action/grade'; import ContentInbox from 'material-ui/svg-icons/content/inbox'; import ContentDrafts from 'material-ui/svg-icons/content/draft...
packages/client/lib/components/buttons/settings.js
VPNht/desktop
import React from "react"; import rpc from "../../rpc"; export default () => { return ( <> <button className="bg-gray-100 border-gray-800 text-gray-800 font-bold py-1 px-2 rounded-md focus:outline-none" onClick={() => { rpc.emit("open hamburger menu", null); }} > ...
ajax/libs/6to5/1.12.1/browser.js
amwmedia/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
src/routes/index.js
sapphiredev/quote-tweet-helper
import React from 'react'; import Main from '../containers/Main'; import Card from '../containers/Card'; import NotFound from '../containers/NotFound'; const routes = [ { 'path': '/', 'exact': true, 'name': 'Main', 'component': Main, }, { 'path': '/i/:id', 'exact': true, 'name': 'Card', 'component...
src/components/core/AuthenticatedComponent.js
ESTEBANMURUZABAL/my-ecommerce-template
/** * Imports. */ import React from 'react'; // Flux. import AccountStore from '../../stores/Account/AccountStore'; import IntlStore from '../../stores/Application/IntlStore'; // Required components import Spinner from '../common/indicators/Spinner'; /** * Returns a function that wraps the component passed to it ...
src/entypo/Book.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Book'; let EntypoBook = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M17,5.95v10.351c0,0.522-0.452,0.771-1,1.16c-0.44,0.313-1-0.075-1-0.587c0,0,0-9.905,0-10.114c0-0.211-0.074...
src/svg-icons/communication/chat-bubble.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationChatBubble = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/> </SvgIcon> ); CommunicationChatBubble = pure(CommunicationChatBubble)...
ajax/libs/yui/3.16.0/datatable-core/datatable-core.js
melvinsembrano/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
docs/app/Examples/views/Advertisement/Variations/AdvertisementExampleCentered.js
shengnian/shengnian-ui-react
import React from 'react' import { Advertisement } from 'shengnian-ui-react' const AdvertisementExampleCentered = () => ( <Advertisement unit='banner' centered test='Centered' /> ) export default AdvertisementExampleCentered
client/node_modules/react-dev-utils/WatchMissingNodeModulesPlugin.js
bourdakos1/Visual-Recognition-Tool
/** * Copyright (c) 2015-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. */ // This Webpack plugin ensures `npm install <library>` forces a project rebuild. // We’re not sure why this isn't Webpack's default beha...
ajax/libs/material-ui/4.9.7/esm/Zoom/Zoom.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; import { duration } from '../styles/transitions';...
ajax/libs/vue-material/1.0.0/components/MdSpeedDial/index.js
BenjaminVanRyseghem/cdnjs
module.exports=(function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esMod...
src/icons/SocialVimeoOutline.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class SocialVimeoOutline extends React.Component { render() { if(this.props.bare) { return <g> <path d="M476.9,114c-5-23.4-17.5-38.8-40.6-46.3c-7.4-2.4-16.7-3.7-26.9-3.7c-21.7,0-47.4,6-67.2,20.5 c-29.9,21.8-47.6,5...
components/Register.js
Crazy50/FluxBug
import React from 'react'; import {register} from '../actions/UserActions'; var Register = React.createClass({ contextTypes: { executeAction: React.PropTypes.func }, handleSubmit(e) { e.preventDefault(); this.context.executeAction(register, { email: React.findDOMNode(this.refs.email).value, ...
src/directives/meta.js
andreypopp/reactdown
/** * @copyright 2016-present, Reactdown Team * @flow */ import React from 'react'; import {contextTypes} from '../DocumentContext'; let metaStyle = { root: { color: '#444', background: 'rgb(226, 226, 226)', fontWeight: 'bold', fontFamily: 'monospace', }, heading: { background: 'rgb(175, ...
dashboard/src/index.js
checkr/codeflow
import React from 'react' import { render } from 'react-dom' import { browserHistory } from 'react-router' import { syncHistoryWithStore } from 'react-router-redux' import Root from './containers/Root' import configureStore from './store/configureStore' const store = configureStore() const history = syncHistoryWithSto...
src/renderers/dom/server/ReactMarkupChecksum.js
jagdeesh109/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
ajax/libs/jquery-localScroll/1.3.2/jquery.localScroll.js
Download/cdnjs
/*! * jQuery.localScroll * Copyright (c) 2007-2014 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Licensed under MIT * http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html * @author Ariel Flesler * @version 1.3.2 */ ;(function($) { var URI = location.href.replace(/#.*/, ''); // ...
utils/nkey-se.js
tradle/tim
import crypto from 'crypto' import * as ec from 'react-native-ecc' import nkey from 'nkey' const type = 'ec' module.exports = exports = nkey.wrapAPI({ gen, fromJSON }) exports.DEFAULT_ALGORITHM = 'sha256' function gen (opts, cb) { ec.keyPair(opts.curve, function (err, key) { if (err) return cb(err) cb(...
frontend/test/app/containers/SharePage-test.js
6a68/testpilot
import React from 'react'; import { expect } from 'chai'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import SharePage from '../../../src/app/containers/SharePage'; describe('app/containers/SharePage', () => { const linknames = ['facebook', 'twitter', 'email', 'copy']; let props, subject; bef...
docs/app/Examples/elements/Segment/Variations/SegmentExampleEmphasis.js
vageeshb/Semantic-UI-React
import React from 'react' import { Segment } from 'semantic-ui-react' const SegmentExampleEmphasis = () => ( <div> <Segment> I'm here to tell you something, and you will probably read me first. </Segment> <Segment secondary> I am pretty noticeable but you might check out other content before ...
front/components/player.js
ssig33/pig-media-server
import React from 'react'; export default class Player extends React.Component { constructor(props){ super(props); this.current_url = ''; } close(){ playing.set(null); } dom(){ return this.refs.video; } video(){ return playing.item; } video_url(){ var url = null; if(!!this.video()){ url =...
test/ButtonInputSpec.js
sheep902/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ButtonInput from '../src/ButtonInput'; import {shouldWarn} from './helpers'; describe('ButtonInput', () => { it('renders an input button element with type=button', () => { const instance = ReactTestUtils.renderIntoDocument( ...
serve/assets/js/vendor/jquery-1.9.1.min.js
ZainRizvi/ZainRizvi.github.io
/*! 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){retu...
src/components/Partials/Main7.js
luanlv/comhoavang
import React from 'react' import Link from '../Link' import FacebookProvider, { Comments } from 'react-facebook'; class Main extends React.Component { render() { if (this.props.products.length < 1) { return ( <div id="mainContent"> Loading... </div> ) } else { cons...
node_modules/material-ui/svg-icons/hardware/phone-iphone.js
cstapler/destinationGraduation
'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/Editor/HighlightLine.js
ruturajv/debugger.html
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ // @flow import { Component } from "react"; import { toEditorLine, endOperation, startOperation } from "../../ut...
src/ui/components/ArgsList.js
BE-Webdesign/wp-rest-api-reference
/** * External dependecies. */ import React from 'react' /** * Internal dependecies. */ import ReferenceArg from './ReferenceArg' const ArgsList = ( { args } ) => { return ( <div className="args-list"> <h2 className="args-list__title">Args:</h2> <ul className="args-list__list"> { args.map( ( arg ) =>...
docs/src/pages/ModalsPage.js
chris-gooley/react-materialize
import React from 'react'; import Row from 'Row'; import Section from 'Section'; import Col from 'Col'; import ReactPlayground from './ReactPlayground'; import PropTable from './PropTable'; import Code from '!raw-loader!Modal'; const header = 'Modal'; const desc = `Use a modal for dialog boxes, confirmation messages, ...
src/renderers/dom/shared/ReactDOMComponent.js
ilyachenko/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
app/javascript/mastodon/features/report/components/status_check_box.js
lindwurm/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import noop from 'lodash/noop'; import StatusContent from 'mastodon/components/status_content'; import { MediaGallery, Video } from 'mastodon/features/ui/util/async-components'; import Bundle from ...
src/svg-icons/device/network-cell.js
skarnecki/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...
public/js/components/Home.js
doomhz/rfidshop
import React from 'react' class Home extends React.Component { render(){ return ( <div> <div className="page-header"> <h1>RFID Shop</h1> </div> </div> ) } } export default Home
ajax/libs/material-ui/4.9.4/es/GridList/GridList.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import React from"react";import{isFragment}from"react-is";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";expo...
ajax/libs/primereact/8.0.1/panelmenu/panelmenu.esm.js
cdnjs/cdnjs
import * as React from 'react'; import { CSSTransition } from 'primereact/csstransition'; import { useMountEffect } from 'primereact/hooks'; import { classNames, IconUtils, ObjectUtils, UniqueComponentId } from 'primereact/utils'; function _extends() { _extends = Object.assign || function (target) { for (var i =...
ajax/libs/react/0.8.0/react-with-addons.js
pvnr0082t/cdnjs
/** * React (with addons) v0.8.0 */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports;return (...
pkg/interface/publish/src/js/components/lib/sidebar-invite.js
jfranklin9000/urbit
import React, { Component } from 'react'; import classnames from 'classnames'; import _ from 'lodash'; export class SidebarInvite extends Component { onAccept() { let action = { accept: { path: '/publish', uid: this.props.uid, } } window.api.action("invite-store", "invite-act...
examples/custom-server-hapi/pages/b.js
sedubois/next.js
import React from 'react' export default () => <div>b</div>
ajax/libs/react-dom/16.4.1/cjs/react-dom.profiling.min.js
sashberd/cdnjs
/** @license React v16.4.1 * react-dom.profiling.min.js * * 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. */ /* Modernizr 3.0.0pre (Custom Build) | MIT */ 'use strict';var aa=require("fbjs...
app/src/modules/Libraries/components/Book/Book.js
betofigueiredo/homelibraries.org
/* eslint-disable react/prop-types */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; // CSS import CSSModules from 'react-css-modules'; import styles from './style.module.sass'; // Components // import ModalPortal from '../../../../components/_modals/ModalPortal/ModalPortal'; // import ...
client/app/components/RestaurantPage/Common/FavoriteButton.js
yanhao-li/menu-plus
import React from 'react'; import PropTypes from 'prop-types'; import Chip from 'material-ui/Chip'; import { toggleFavorite } from 'actions/FavoritesActions'; const propTypes = { dispatch: PropTypes.func.isRequired, restaurant: PropTypes.object.isRequired, }; class FavoriteButton extends React.PureComponent { c...
docs/src/examples/elements/Icon/Variations/IconExampleCircular.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Icon } from 'semantic-ui-react' const IconExampleCircular = () => ( <div> <Icon circular name='users' /> <Icon circular color='teal' name='users' /> <Icon circular inverted name='users' /> <Icon circular inverted color='teal' name='users' /> </div> ) export defau...
src/containers/RssContainer.js
Arinono/uReflect_POC_Electron01
import React from 'react'; import RssFeed from '../components/RssFeed'; import Widget from './Widget'; var RssContainer = React.createClass({ render: function() { var render = <div> <div className="overlay"></div> <ul className="rssfeed render" id="rssfeed"> <RssFeed /> </ul...
packages/wix-style-react/src/StackedBarChart/docs/index.story.js
wix/wix-style-react
import React from 'react'; import { header, tabs, tab, description, importExample, title, divider, code, playground, api, testkit, } from 'wix-storybook-utils/Sections'; import { storySettings } from '../test/storySettings'; import * as examples from './examples'; import StackedBarChart from '.....
EEG101/src/components/PopUpList.js
tmcneely/eeg-101
// PopUpList.js // A popup modal that has a ScrollView for displaying large amounts of text import React, { Component } from 'react'; import { Text, View, Modal, StyleSheet, TouchableOpacity, ScrollView, } from 'react-native'; import { MediaQueryStyleSheet} from 'react-native-responsive'; import Button fro...
pnpm-cached/.pnpm-store/1/registry.npmjs.org/redux-form/6.6.3/es/__tests__/reduxForm.spec.js
JamieMason/npm-cache-benchmark
import _noop from 'lodash-es/noop'; 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 _createClass = funct...
pathfinder/vtables/appmap2cim/src/common/TableUtilities.js
leanix/leanix-custom-reports
import React from 'react'; import Utilities from './Utilities'; import Link from './Link'; import LinkList from './LinkList'; /* formatting functions for the table */ const OVERFLOW_CELL_STYLE = { maxHeight: '100px', overflow: 'auto' }; function formatLinkFactsheet(setup) { const baseUrl = Utilities.getFrom(setup...
src/Main/PlayerBreakdownTab.js
mwwscott0/WoWAnalyzer
import React from 'react'; import PlayerBreakdown from './PlayerBreakdown'; const ManaTab = ({ ...others }) => ( <div> <div className="panel-heading"> <h2>Mastery effectiveness player breakdown</h2> </div> <div style={{ padding: '10px 0 15px' }}> <PlayerBreakdown {...others} />...
src/PaginationLink.js
reactstrap/reactstrap
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules, tagPropType } from './utils'; const propTypes = { 'aria-label': PropTypes.string, children: PropTypes.node, className: PropTypes.string, cssModule: PropTypes.object, next: PropTypes.b...
src/svg-icons/image/flare.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlare = (props) => ( <SvgIcon {...props}> <path d="M7 11H1v2h6v-2zm2.17-3.24L7.05 5.64 5.64 7.05l2.12 2.12 1.41-1.41zM13 1h-2v6h2V1zm5.36 6.05l-1.41-1.41-2.12 2.12 1.41 1.41 2.12-2.12zM17 11v2h6v-2h-6zm-5-...
src/svg-icons/action/settings-brightness.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsBrightness = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1...
src/components/BlogPostComments/index.js
rosudrag/PortofolioKasia
import React from 'react'; const BlogPostComments = () => { return (<div className="comments-section single-blog-list"> <h4 className="title">02 Comments</h4> <div className="comments"> <div className="media"> <div className="media-left"> <a href="#"> ...
chatroom.js
schneidmaster/action-cable-react-example-client
import { CableMixin, ChannelMixin } from 'action-cable-react'; import React from 'react'; module.exports = React.createClass({ mixins: [CableMixin(React), ChannelMixin('ChatChannel')], getInitialState() { return { messages: [] } }, handleConnected() { console.log('Connected!') }, handl...
src/svg-icons/action/alarm-on.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAlarmOn = (props) => ( <SvgIcon {...props}> <path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.0...
src/holding.js
ngzhian/TopBloc
import React from 'react'; import AddButton from './addButton'; var Dancer = React.createClass({ render: function() { let addToFormation = <span />; let {inFormation, addDancerToFormation, removeDancer} = this.props; if (!inFormation) { addToFormation = ( <button onClick={addDancerToFormat...
admin/lib/App.js
synthesis-js/react-synthesis
// App.js import React from 'react'; import { browserHistory } from 'react-router'; // import components import NavBar from './navbar/components/NavBar'; export default class App extends React.Component { constructor(props) { super(props); this.state = {} this.getComponentsXHR = this.getComponentsXHR.bin...