target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
ajax/libs/6to5/2.12.6/browser.js
Download/cdnjs
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.to5=t()}}(function(){var e,t,r;return function n(e,t,...
src/icons/icon-checkbox-unselected.js
hcodyd/shInputCheckbox
import React from 'react'; const IconCheckboxUnselected = () => { return ( <svg viewBox="0 0 24 24" style={{ height: 20, width: 20 }}> <path d="M21.3,2.7v18.7H2.7V2.7H21.3 M21.3,0H2.7C1.2,0,0,1.2,0,2.7v18.7C0,22.8,1.2,24,2.7,24h18.7c1.5,0,2.7 -1.2,2.7 -2.7V2.7C24,1.2,22.8,0,21.3,0z"/> ...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ComputedProperties.js
0xaio/create-react-app
/** * 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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(prefix) { return [ { id: 1, [`${prefi...
packages/material-ui-icons/src/ImportExportOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M9 3L5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z" /></g></React.Fragment> , 'ImportExportOutlined');
ajax/libs/react-highcharts/6.0.0/highstock.src.js
BenjaminVanRyseghem/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Highcharts"] = fact...
app/components/Touchable/index.js
arnef/ligatool-hamburg
import React from 'react'; import { View, TouchableNativeFeedback, TouchableOpacity, Platform, } from 'react-native'; export default function Touchable(props) { const { style, pressColor, children, ...rest } = props; if (Platform.OS === 'android' && Platform.Version >= 21) { return ( <TouchableN...
src/Stepper/StepLabel.js
kittyjumbalaya/material-components-web
import React from 'react'; import PropTypes from 'prop-types'; import CheckCircle from '../svg-icons/action/check-circle'; import SvgIcon from '../SvgIcon'; const getStyles = ({active, completed, disabled}, {muiTheme, stepper}) => { const { textColor, disabledTextColor, iconColor, inactiveIconColor, ...
src/ContentBlocks/BlockImageGallery/BlockImageGallery.js
grommet/grommet-cms-content-blocks
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import ImageGalleryComponent from '../Shared/ImageGalleryComponent'; export default class BlockImageGallery extends Component { constructor() { super(); this.handleClickingImage = this.handleClickingImage.bind(this); this.state...
client/components/Utils/Loading.js
Mignon-han/issue-processing
import React, { Component } from 'react'; import './css/style.css'; import loading_img from './css/img/loading.gif'; import { connect } from 'react-redux'; import { ProgressBar } from 'react-bootstrap'; const Loading = ({ loading }) => { return ( <div className="load-container" style={{ display: loading ? ...
packages/material-ui-icons/src/AssignmentTurnedInOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M18 9l-1.41-1.42L10 14.17l-2.59-2.58L6 13l4 4z" /><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-.14 0-.27.01-.4.04-.39.0...
src/scenes/home/team/team.js
tal87/operationcode_frontend
import React, { Component } from 'react'; import axios from 'axios'; import Section from 'shared/components/section/section'; import QuoteBanner from 'shared/components/quoteBanner/quoteBanner'; import TeamCard from 'shared/components/teamCard/teamCard'; import BoardCard from 'shared/components/boardCard/boardCard'; im...
dynamic-react-router demo/src/Components/Header/index.js
gabriel-lopez-lopez/dynamic-react-route
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; class Header extends Component { constructor(props) { super(props); } render () { return ( <nav> <ul> <li> <h3>dynamic-react-router</h3...
src/index.js
jake-wies/webpack-hotplate
import React from 'react' import { render } from 'react-dom' import Header from './components/Header/Header' const App = () => ( <Header /> ) render(<App />, document.getElementById('app'))
docs/src/pages/system/sizing/Values.js
callemall/material-ui
import * as React from 'react'; import Box from '@material-ui/core/Box'; export default function Values() { return ( <Box sx={{ width: '100%' }}> <Box sx={{ width: 1 / 4, bgcolor: 'grey.300', p: 1, my: 0.5 }}>Width 1/4</Box> <Box sx={{ width: 300, bgcolor: 'grey.300', p: 1, my: 0.5 }}>Width 300</Box>...
ajax/libs/angular-google-maps/1.0.16/angular-google-maps.js
fbender/cdnjs
/*! angular-google-maps 1.0.16 2014-03-26 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ (function() { angular.element(document).ready(function() { if (!(google || (typeof google !== "undefined" && google !== null ? google.maps : void 0) || (google.maps....
ajax/libs/highmaps/1.1.4/highmaps.src.js
vfonic/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highmaps JS v1.1.4 (2015-03-10) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clearTi...
app/components/Calendar.js
RogerZZZZZ/widget_electron
import React from 'react' import {Component} from 'react' import BigCalendar from 'react-big-calendar'; import moment from 'moment' import Storage from 'electron-json-storage'; import cn from 'classnames' import Utils from '../utils/utils.js' import 'react-big-calendar/lib/css/react-big-calendar.css'; let utils = new ...
js/components/App.js
clairefritz/todo
import React from 'react'; import Relay from 'react-relay'; import TodoItem from './TodoItem'; import TodoCount from './TodoCount'; import TodoInput from './TodoInput'; import AddTodoMutation from '../mutations/AddTodoMutation'; import EditTodoMutation from '../mutations/EditTodoMutation'; import DeleteTodoMutation fro...
globals/static/js/jquery-1.10.2.js
ryanarnold/complaints_categorizer
/*! * jQuery JavaScript Library v1.11.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-01-23T21:02Z */ (function( global, factory ) { if ...
ajax/libs/analytics.js/2.2.4/analytics.js
htmlstrap/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
src/views/AboutView.js
bgerm/scheduler3000
import React from 'react'; import { Link } from 'react-router'; export class AboutView extends React.Component { render () { return ( <div className='container text-center'> <h1>This is the about view!</h1> <hr /> <Link to='/'>Back To Home View</Link> </div> ); } } expo...
src/svg-icons/image/monochrome-photos.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageMonochromePhotos = (props) => ( <SvgIcon {...props}> <path d="M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3...
form/views/ReCaptchaFieldView.js
ExtPoint/yii2-frontend
import React from 'react'; import PropTypes from 'prop-types'; import ReCaptcha from 'react-google-recaptcha'; import {html} from 'components'; import FieldWrapper from './FieldWrapper'; const bem = html.bem('ReCaptchaFieldView'); export default class ReCaptchaFieldView extends React.Component { static propType...
src/Dialog/DialogSubtext.js
kmees/react-fabric
import React from 'react' import fabricComponent from '../fabricComponent' import style from './Dialog.scss' const DialogSubtext = ({ className, children, ...props }) => ( <p {...props} styleName="ms-Dialog-subText" className={className}> { children } </p> ) DialogSubtext.propTypes = { children: Re...
admin/client/components/ImageSelection.js
nickhsine/keystone
'use strict'; import { ImageGrid } from './ImageGrid'; import SelectionMixin from './mixins/SelectionMixin'; import React from 'react'; import merge from 'lodash/merge'; const _ = { merge, } class ImageSelection extends SelectionMixin(React.Component) { constructor (props) { super(props); this.state = { it...
src/app.js
nobt-io/frontend
import * as Sentry from '@sentry/browser'; import React from 'react'; import ReactDOM from 'react-dom'; import { createBrowserHistory } from 'history'; import { Redirect, Route, Router, Switch } from 'react-router-dom'; import createStore from './store/createStore'; import { IntlProvider } from 'react-intl'; // noinspe...
src/svg-icons/image/hdr-off.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageHdrOff = (props) => ( <SvgIcon {...props}> <path d="M17.5 15v-2h1.1l.9 2H21l-.9-2.1c.5-.2.9-.8.9-1.4v-1c0-.8-.7-1.5-1.5-1.5H16v4.9l1.1 1.1h.4zm0-4.5h2v1h-2v-1zm-4.5 0v.4l1.5 1.5v-1.9c0-.8-.7-1.5-1.5-1.5h-1...
client/js/components/Profile.js
bmacheski/tech-connect
'use strict'; import React from 'react'; import UserStore from '../stores/UserStore'; import TechProfileActions from '../actions/TechProfileActions'; import TechProfileStore from '../stores/TechProfileStore'; import TechProfile from './TechProfile'; import ProfileEdit from './ProfileEdit'; class Profile extends React...
ajax/libs/vega/3.0.0-beta.25/vega.min.js
sashberd/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.vega=t.vega||{})}(this,function(t){"use strict";function e(t){var e,n,r,i,a,o,u,s,f=t.maxbins||20,c=t.base||10,l=Math.log(c),h=t.divide||[5,2],d=t.extent[0],p=t.extent[1],g=p-d;...
javascript/components/FillLayer.js
bsudekum/react-native-mapbox-gl
import React from 'react'; import PropTypes from 'prop-types'; import {NativeModules, requireNativeComponent} from 'react-native'; import {viewPropTypes} from '../utils'; import {FillLayerStyleProp} from '../utils/styleMap'; import AbstractLayer from './AbstractLayer'; const MapboxGL = NativeModules.MGLModule; expo...
ajax/libs/yui/3.4.0/loader/loader.js
reustle/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ if (!YUI.Env[Y.version]) { (function() { var VERSION = Y.version, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSI...
packages/material-ui-icons/src/StopScreenShareRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M23 18h-1.2l1.79 1.79c.24-.18.41-.46.41-.79 0-.55-.45-1-1-1zM3.23 2.28c-.39-.39-1.03-.39-1.42 0-.39.39-.39 1.02 0 1.41l.84.86s-.66.57-.66 1.47C2 6.92 2 16 2 16l.01.01c0 1.09.88 1.98 1.97 1.99H1c-.55 0...
docs/src/CodeExample.js
xiaoking/react-bootstrap
import React from 'react'; export default class CodeExample extends React.Component { render() { return ( <pre className="cm-s-solarized cm-s-light"> <code> {this.props.codeText} </code> </pre> ); } componentDidMount() { if (CodeMirror === undefined) { ret...
test/spec/JSUtils-test-files/jquery-1.7.js
gcommetti/brackets
/*! * jQuery JavaScript Library v1.7 * 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. *...
tests/components/CalculatorUI/Display.spec.js
Vargentum/react-redux-apps
import React from 'react' import Display from 'components/CalculatorUI/Display' describe('(Component) Display', () => { it('should exist', () => { }) })
src/containers/Chat/Chat.js
dumbNickname/oasp4js-goes-react
import React, {Component, PropTypes} from 'react'; import {connect} from 'react-redux'; @connect( state => ({user: state.auth.user}) ) export default class Chat extends Component { static propTypes = { user: PropTypes.object }; state = { message: '', messages: [] }; componentDidMount() { ...
client/src/projects-container.js
areisle/portfolio
import React, { Component } from 'react'; import { Overview } from './project.js'; import { getProjectOutlines } from './api.js'; import ReactResizeDetector from 'react-resize-detector'; //list of projects class ProjectsContainer extends Component { constructor(props) { super(props); this.state = { pr...
ajax/libs/yui/3.4.0pr2/simpleyui/simpleyui.js
perdona/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** * The YUI global name...
ajax/libs/rxjs/2.3.16/rx.compat.js
htmlstrap/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
packages/material-ui-icons/src/SwapCalls.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SwapCalls = props => <SvgIcon {...props}> <path d="M18 4l-4 4h3v7c0 1.1-.9 2-2 2s-2-.9-2-2V8c0-2.21-1.79-4-4-4S5 5.79 5 8v7H2l4 4 4-4H7V8c0-1.1.9-2 2-2s2 .9 2 2v7c0 2.21 1.79 4 4 4s4-1.79 4-4V8h3l-4-4z" /...
src/routes.js
luigiplr/udormio-react
import React from 'react'; import { Router } from 'react-routing'; import http from './core/HttpClient'; import App from './components/App'; import ContentPage from './components/ContentPage'; import LoginPage from './components/LoginPage'; import NotFoundPage from './components/NotFoundPage'; import ErrorPage from './...
src/components/EventCard/EventCard.js
filipsuk/eventigo-app
/* @flow */ import React from 'react'; import { Image, StyleSheet, TouchableHighlight } from 'react-native'; import EventHeader from '../EventHeader'; import Bookmark from '../Bookmark'; import type { Event } from '../../types/model'; type Props = { event: Event, bookmarked: boolean, onPress?: Event => any, o...
Platforms/react-native/IoTLabs/Page/Page4.js
iot-labs/dashboard
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Image, Dimensions, AsyncStorage, Platform, AppState, ScrollView } from 'react-native'; import * as Ani...
node_modules/react-icons/md/directions-bus.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdDirectionsBus = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m30 18.4v-8.4h-20v8.4h20z m-2.5 10c1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5z m-15 0c1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5-2.5 1.1...
packages/material-ui-icons/src/Shop.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Shop = props => <SvgIcon {...props}> <path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z" /> </SvgIcon>; Shop = pur...
Libraries/Components/Touchable/TouchableBounce.js
yzarubin/react-native
/** * Copyright (c) 2015-present, 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. * * @provides...
src/components/tabSites/SitesView.js
timLoewel/sites
/** * Created by tim on 10/03/17. */ import {connect} from 'react-redux'; import React from 'react'; import { AppRegistry, AsyncStorage, Button, StyleSheet, Text, View, } from 'react-native'; class SitesView extends React.Component { static navigationOptions = { tabBar: { label: 'Sites', // visible:...
src/components/Main.js
genmmao/douyu-react
/* * 文件名: Main * 所属:主页 */ require('styles/App.css'); require('styles/Login.scss'); import React from 'react'; import axios from 'axios'; import DY from '../actions/AppMethods'; import Row from './lib/Row'; import Swiper from './lib/Swiper'; import Header from './lib/Header'; import Live from './lib/Live'; import More...
website/src/exports/redirect.js
Jeffail/benthos
import React from 'react'; import {Redirect} from '@docusaurus/router'; function To(props) { let {location} = props; let {to, forComponent} = props.dest; if ( forComponent ) { if ( location.hash && location.hash.length > 1 ) { to = to + location.hash.slice(1); } else { to = to + '/about'; ...
src/DomainBuilder.js
OCMC-Translation-Projects/ioc-liturgical-react
import React from 'react'; import PropTypes from 'prop-types'; import { get } from 'lodash'; import { Button , Col , ControlLabel , FormControl , FormGroup , Radio , Row , Well } from 'react-bootstrap'; import MessageIcons from './helpers/MessageIcons'; import ModalCountrySelector from './modules/ModalC...
src/components/Messages.js
duongdev/unsplash-web-screensaver
import React from 'react'; import PropTypes from 'prop-types'; export default class Messages extends React.Component { static propTypes = { messages: PropTypes.instanceOf(Array).isRequired, updatedAt: PropTypes.number.isRequired } constructor(props) { super(props); this.state = {}; } render...
src/SnackBar/SnackBarItem.js
collegepulse/material-react-components
import {findDOMNode} from 'react-dom'; import makeClass from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import DOMBodyRender from '../utils/DOMBodyRender'; import Typography from '../Typography'; import Styles from './SnackBar.css'; class SnackBarItem extends React.Component { const...
packages/react/.storybook/loader/mdx-loader.js
clair-design/clair
const { getOptions } = require("loader-utils"); const mdx = require("@mdx-js/mdx"); module.exports = async function (content) { const callback = this.async(); const options = Object.assign({}, getOptions(this), { filepath: this.resourcePath }); let result; try { result = await mdx(content, options);...
src/files/info-boxes/InfoBoxes.js
ipfs/webui
import React from 'react' import PropTypes from 'prop-types' import CompanionInfo from './companion-info/CompanionInfo' import AddFilesInfo from './add-files-info/AddFilesInfo' const InfoBoxes = ({ isRoot, isCompanion, filesExist }) => ( <div> { isRoot && isCompanion && <CompanionInfo /> } { isRoot && !files...
web/src/js/components/Search/SearchResultsQueryBing.js
gladly-team/tab
import React from 'react' import PropTypes from 'prop-types' import { get } from 'lodash/object' import logger from 'js/utils/logger' import SearchResultsBing from 'js/components/Search/SearchResultsBing' import fetchBingSearchResults from 'js/components/Search/fetchBingSearchResults' import { isReactSnapClient } from ...
ajax/libs/instantsearch.js/1.5.2/instantsearch.min.js
wout/cdnjs
/*! instantsearch.js 1.5.2 | © Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.instantsearch=t():e.instantsea...
src/Search.js
georgaleos/react-continuous-deployment
import React, { Component } from 'react'; import { Button, ButtonToolbar, Col, ControlLabel, Form, FormControl, FormGroup, Grid, HelpBlock, Row } from 'react-bootstrap'; import SearchClient from './SearchClient'; const MATCHING_ITEM_LIMIT = 25; class Search extends Component { constructor(props)...
src/components/Tabs/Tabs.js
Zoomdata/nhtsa-dashboard-2.2
import styles from './Tabs.css'; import React, { Component } from 'react'; import TabLinks from '../TabLinks/TabLinks'; import TabContent from '../TabContent/TabContent'; const Tabs = () => { return ( <div className={styles.root}> <TabLinks /> <TabContent /> </div> ) } ...
src/js/components/app-dataitem.js
maxkernw/React-Flux
import React from 'react'; import {Link} from 'react-router'; export default (props) => { let itemStyle = { borderBottom: '1px solid #ccc', paddingBottom: 15 } return ( <div className="col-xs-8 col-sm-2 col-md-6" style={itemStyle}> <h4>{props.item.name}</h4> <Link to={`/user/${props.item.id}`} clas...
ui/src/main/js/components/Icon.js
medallia/aurora
import React from 'react'; export default function Icon({ name }) { return <span className={`glyphicon glyphicon-${name}`} />; }
ajax/libs/yasgui/1.1.4/yasgui.min.js
sujonvidia/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...
app/views/ListsView.js
hippothesis/Recipezy
/* * Copyright 2017-present, Hippothesis, 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. */ 'use strict'; import React, { Component } from 'react'; import { Container, Content, Header, Left, Right, B...
src/app/index.js
RShackleton/react-sandbox
import 'babel-polyfill'; import { AppContainer } from 'react-hot-loader'; import React from 'react'; import { render } from 'react-dom'; import { configureStore } from './store'; import App from './App'; const store = configureStore(); const rootEl = document.getElementById('root'); render( <AppContainer> <A...
ajax/libs/F2/1.3.1/f2.no-bootstrap.js
wout/cdnjs
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
Libraries/Image/Image.ios.js
formatlos/react-native
/** * Copyright (c) 2015-present, 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. * * @provides...
src/components/header/header.js
Mikel45/GNO
import React from 'react'; import { Nav, Navbar, NavItem, NavDropdown, MenuItem } from 'react-bootstrap'; export default class Header extends React.Component { render() { return ( <Navbar inverse collapseOnSelect> <Navbar.Header> <Navbar.Brand> <a href="#">GNO</a> </...
dispatch/static/manager/src/js/components/PageEditor/PageToolbar.js
ubyssey/dispatch
import React from 'react' import { Link } from 'react-router' import { Button, Text, Intent } from '@blueprintjs/core' import { Toolbar, ToolbarLeft, ToolbarRight } from '../Toolbar' import VersionsDropdown from '../Editor/toolbar/VersionsDropdown' export default function PageToolbar(props) { const publish = ( ...
src/core/Shell.js
sateesh2020/letshop
import React, { Component } from 'react'; import Products from '../products/Products'; export default class Shell extends Component{ render(){ return( <section className="wrapper container-fluid"> <Products></Products> </section> ); }; };
app/components/About.js
BZhawaii/ArtStorm
import React from 'react'; const About = () => <div> Hey! Thanks for using this example. If you like it, consider starring the repo :)) <div> <iframe src="https://ghbtns.com/github-btn.html?user=jpsierens&repo=webpack-react-redux&type=star&size=large" fra...
ajax/libs/forerunnerdb/1.3.552/fdb-core.js
pombredanne/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...
lib/ButtonGroup/tests/ButtonGroup-test.js
folio-org/stripes-components
import React from 'react'; import { describe, beforeEach, it } from 'mocha'; import { ButtonGroup as Interactor, HTML } from '@folio/stripes-testing'; import Button from '../../Button'; import { mountWithContext } from '../../../tests/helpers'; import ButtonGroup from '../ButtonGroup'; const Nav = HTML.extend('nav e...
screens/MoresScreen/MoresWithAuth.js
nattatorn-dev/expo-with-realworld
import React from 'react' import { View } from 'react-native' import PropTypes from 'prop-types' import More from './More' const Mores = ( { mores } ) => ( <View> {Object.keys( mores ).map( e => ( <More key={e} menu={mores[ e ]} onPressMenuSelect={mores[ e ].onPressMenuSelect} ...
src/components/polyLocks/PolyLockNewItem.js
dkadrios/zendrum-stompblock-client
import React from 'react' import PropTypes from 'prop-types' import NotePicker from '../pickers/NotePicker' import styles from '../../styles/polyLocks' import { mappingsShape } from '../../reducers/mapping' const PolyLockNewItem = ({ bank, mapping, disabled, addPolyLock }) => ( <div className={styles.newItemContaine...
src/main/static/media/js/libs/jquery-1.10.1.min.js
cidles/poio-site
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.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.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
ajax/libs/material-ui/5.0.0-alpha.16/node/useMediaQuery/useMediaQuery.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=useMediaQuery;var _extends2=_interopRequireDefault(require("@babel/runti...
src/components/video_list_item.js
Albinovich/youtubish
/** * Created by daniel.albino on 22/05/2017. */ import React from 'react'; const VideoListItem = ({video, onVideoSelect}) =>{ const imageUrl = video.snippet.thumbnails.default.url; return ( <li onClick={()=> onVideoSelect(video)} className="list-group-item"> <div className="video-list m...
packages/material-ui-styles/src/withStyles.js
Kagami/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import warning from 'warning'; import { getDynamicStyles } from 'jss'; import { getDisplayName } from '@material-ui/utils'; import { increment } from './indexCounter'; import mergeClasses from './mergeClasses'; import multiKeyStore from './multiKeyStore'; i...
src/components/HeaderComponent.js
VovanR/react-color-palette
'use strict'; import React from 'react'; import { Nav, Navbar, NavBrand, Label, NavItem } from 'react-bootstrap'; require('styles/Header.css'); class HeaderComponent extends React.Component { render() { return ( <div className="header-component"> <Navbar> <NavBrand> Color Palette <sup><Label>Rea...
src/components/BlockTwo.js
brandnpatterson/brandnpatterson.com
import React from 'react'; import Block from './styles/Block'; export default props => { return ( <Block> <h1>{props.title}</h1> <p>{props.subtitle}</p> </Block> ); };
packages/react-instantsearch-dom/src/components/SortBy.js
algolia/react-instantsearch
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { createClassNames } from '../core/utils'; import Select from './Select'; const cx = createClassNames('SortBy'); class SortBy extends Component { static propTypes = { id: PropTypes.string, ...
html/material-ui/demo/src/index.js
fishjar/gabe-study-notes
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
src/components/forms/DashboardItem.js
slkjse9/slkjse9.github.io
import React from 'react'; import PropTypes from 'prop-types'; import Comment from 'react-icons/lib/go/comment'; import GitBranch from 'react-icons/lib/go/git-branch'; import GitPullRequest from 'react-icons/lib/go/git-pull-request'; import IssueClosed from 'react-icons/lib/go/issue-closed'; import IssueOpened from 'r...
packages/material-ui-icons/src/Accessibility.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z" /> , 'Accessibility');
src/svg-icons/av/library-add.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvLibraryAdd = (props) => ( <SvgIcon {...props}> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"/> </S...
src/components/TeaserGrid/index.js
iris-dni/iris-frontend
import React from 'react'; import styles from './teaser-grid.scss'; import Grid from 'components/Grid'; import GridItem from 'components/GridItem'; import Teaser from 'components/Teaser'; const TeaserGrid = ({ petitions }) => ( <div className={styles.root}> <div className={styles.grid}> <Grid> {(pe...
src/svg-icons/image/view-compact.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageViewCompact = (props) => ( <SvgIcon {...props}> <path d="M3 19h6v-7H3v7zm7 0h12v-7H10v7zM3 5v6h19V5H3z"/> </SvgIcon> ); ImageViewCompact = pure(ImageViewCompact); ImageViewCompact.displayName = 'ImageVie...
packages/react-scripts/template/src/index.js
romaindso/create-react-app
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
frontend/src/components/PublicGroupThanks.js
carlosascari/opencollective-website
import React from 'react'; export default ({message}) => { return ( <div className='PublicGroupThanks'> <div className='PublicGroupThanks-icon'></div> <div className='PublicGroupThanks-message'> {message || "Thank you for your support"} </div> </div> ); };
src/parser/monk/brewmaster/modules/features/DamageTakenTable.js
FaideWW/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import DamageTakenTableComponent, { MITIGATED_MAGICAL, MITIGATED_PHYSICAL, MITIGATED_UNKNOWN } from 'interface/others/DamageTakenTable'; import Tab from 'interface/others/Tab'; import SPELLS from 'common/SPELLS'; import SPECS from 'game/SPECS'; imp...
src/app/core/atoms/icon/index.js
blowsys/reservo
/* @flow */ // eslint-disable-next-line no-unused-vars /** * Icon atom * @module atoms/icon * @version v1.0.1 */ import React from 'react'; import _ from 'lodash'; import * as string from 'underscore.string'; import { pure } from 'core/react/helpers'; import colors from 'atoms/colors'; import * as Icons from...
FirebaseTest/index.android.js
michelmarcondes/ReactNativeStudies
import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; import App from './App'; export default class FirebaseTest extends Component { render() { return ( <App /> ); } } AppRegistry.registerComponent('FirebaseTest', () => FirebaseTest);
src/components/ECharts/treeChart.js
joe-sky/flarej
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { registerComponent } from 'nornj'; import EChartsEnhance from './EChartsEnhance'; import 'echarts/lib/chart/tree'; import template from './ECharts.t.html'; class TreeChart extends Component { static propTypes = { type: PropType...
src/svg-icons/av/forward-30.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvForward30 = (props) => ( <SvgIcon {...props}> <path d="M9.6 13.5h.4c.2 0 .4-.1.5-.2s.2-.2.2-.4v-.2s-.1-.1-.1-.2-.1-.1-.2-.1h-.5s-.1.1-.2.1-.1.1-.1.2v.2h-1c0-.2 0-.3.1-.5s.2-.3.3-.4.3-.2.4-.2.4-.1.5-.1c.2 0 .4...
client/portfolio2017/src/Components/Routs/HomeRoute/HomeRoute.js
corrortiz/portafolio2017
import React from 'react'; //Internal Components import ImageContainer from '../../ImageContainer/ImageContainer'; import PresentationRightToLeft from '../../PresentationRightToLeft/PresentationRightToLeft'; import PresentationLeftToRight from '../../PresentationLeftToRight/PresentationLeftToRight'; import Presentation...
packages/mineral-ui-icons/src/IconWebAsset.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconWebAsset(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps...
Paths/Jquery/04.jQuery Forms and Bootstrap 3/7-forms-m7-autocomplete-exercise-files/demos/forms-m7-autocomplete/packages/jQuery.1.9.1/Content/Scripts/jquery-1.9.1.min.js
phiratio/Pluralsight-materials
/*! 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){retur...
src/components/metadata/MetaArray.js
ashmaroli/jekyll-admin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Sortable from 'sortablejs'; import _ from 'underscore'; import MetaArrayItem from './MetaArrayItem'; export class MetaArray extends Component { sortableGroupDecorator(component) { const { moveArrayItem, namePrefix } = this.pro...
front_end/src/components/App/Navigation/Timeline.js
ncloudioj/splice
import React, { Component } from 'react'; import { Link } from 'react-router'; window.$ = require('jquery'); window.jQuery = $; export default class Timeline extends Component { getCancelLink(){ let output; if(this.props.location.pathname.match(/\/accounts\/create/) || this.props.location.pathname.ma...
app/javascript/components/shared/DashboardMapView/dashboard-map-view.component.js
Vizzuality/forest-atlas-landscape-cms
import React from 'react'; import PropTypes from 'prop-types'; import format from 'date-fns/format'; class DashboardMapView extends React.Component { componentDidMount() { if (this.mapEl) { this.createMap(); if (this.props.layerUrl) this.addGeometryLayer(); } } componentDidUpdate(prevProps) ...
Client/src/js/init.js
asanchezr/hets
import React from 'react'; import ReactDOM from 'react-dom'; import Promise from 'bluebird'; import './utils/shims'; Promise.config({ cancellation: true, }); import App from './app.jsx'; import * as Api from './api'; import { ApiError } from './utils/http'; var initializationEl = document.querySelector('#initial...