target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
packages/material-ui-icons/src/StayCurrentLandscape.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M1.01 7L1 17c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2zM19 7v10H5V7h14z" /></React.Fragment> , 'StayCurrentLandscape...
ajax/libs/forerunnerdb/1.3.660/fdb-all.js
cdnjs/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...
ajax/libs/flocks.js/0.17.0/flocks.min.js
dhenson02/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function f(a){return"[object Array]"===Object.prototype.toString.call(a)}function k(a){return"undefined"===typeof a}function u(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function c(a,b){if("string"===type...
packages/react-dom/src/client/__tests__/getNodeForCharacterOffset-test.js
tomocchino/react
/** * 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. * * @emails react-core */ 'use strict'; // TODO: can we express this test with only public API? const getNodeForCharacterOffset = ...
StarterRNP/src/screens/SideMenu.js
khanhqd/ProjectOT1
import React, { Component } from 'react'; import { View, StyleSheet, Text, ScrollView, Image, TouchableOpacity, Dimensions } from 'react-native'; const { width } = Dimensions.get('window'); export default class SideMenu extends Component { _toggleDrawer() { this.props.navigator.toggleDrawer({ ...
dispatch/static/manager/src/js/components/ArticleEditor/ArticleContentEditor.js
ubyssey/dispatch
import React from 'react' import Headline from '../Editor/Headline' import { Editor, ImageEmbed, VideoEmbed, PullQuoteEmbed, GalleryEmbed, CodeEmbed, WidgetEmbed, PollEmbed, PodcastEmbed, InteractiveMapEmbed, PageBreakEmbed, DropCapEmbed } from '../../vendor/dispatch-editor' const embeds = [ ...
node_modules/react-icons/io/usb.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoUsb = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m11.3 17.2z m18.7-7.2c0 0.9-0.5 1.6-1.1 2.1-0.1 0.1-0.2 0.4-0.2 0.6-0.1 1.5-0.3 2.8-0.7 3.9-0.6 1.4-1.6 2.5-3.1 3.6-1.3 0.9-2.2 1.6-2.8 2.6-0.5 0.9-0.9 2.2-0.9 4.2v1.8c0 ...
stories/InputSelectText.stories.js
nekuno/client
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import InputSelectText from '../src/js/components/RegisterFields/InputSelectText/InputSelectText.js'; const options = [ { id: "lorem", text: "Lorem" }, { id: "...
js/jquery-1.11.0.min.js
Daniel-313/EnglishGrammarBook
/*! 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 wind...
grails-app/assets/javascripts/dependencies/node_modules/react-router/es6/RouteUtils.js
puaykai/noodles
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; }; import React from 'react'; import warning from './routerWarni...
src/index.js
chrisyaxley/reactBoilerplateNodeServer
import React from 'react'; import { render } from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import App from './components/App'; render(( <BrowserRouter> <App /> </BrowserRouter> ), document.querySelector('.container'));
ajax/libs/mobx-react/4.0.3/native.js
sajochiu/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("mobx"), require("react"), require("react-native")); else if(typeof define === 'function' && define.amd) define(["mobx", "react", "react-native"], factory); e...
src/client/components/AppDetailComponent.js
aaronpanch/hercules
import React from 'react'; import classNames from 'classnames'; import Application from './ApplicationComponent'; require('../styles/app-detail.scss'); class AppDetail extends React.Component { constructor(props) { super(props); this.state = { expanded: false, sideContent: null } } sh...
docs/app/Examples/modules/Checkbox/States/CheckboxExampleIndeterminate.js
clemensw/stardust
import React from 'react' import { Checkbox } from 'semantic-ui-react' const CheckboxExampleIndeterminate = () => ( <Checkbox label='This checkbox is indeterminate' defaultIndeterminate /> ) export default CheckboxExampleIndeterminate
Gulpfile.js
ofideveloper/sierotki-javascript-text-converter
var gulp = require('gulp'); var gulpif = require('gulp-if'); var sourcemaps = require('gulp-sourcemaps'); var browserify = require('browserify'); var babelify = require('babelify'); var reactify = require('reactify'); var source = require('vinyl-source-stream'); var buffer = require('vinyl-buffer'); var uglify = requir...
website/app/containers/GameList/index.js
mattroid/WildWest
/* * * GameList * */ import React from 'react'; import { connect } from 'react-redux'; import selectGameList from './selectors'; import { FormattedMessage } from 'react-intl'; import List from 'components/List'; import ListItem from 'components/ListItem'; import messages from './messages'; export class GameList e...
envkey-react/src/components/forms/user/account_settings_form.js
envkey/envkey-app
import React from 'react' import h from "lib/ui/hyperscript_with_helpers" import SmallLoader from 'components/shared/small_loader' import UserDetails from './user_details' import DeleteField from '../shared/delete_field' import {UpdatePasswordFormContainer} from 'containers' export default function({ currentUser, ...
src/svg-icons/editor/bubble-chart.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBubbleChart = (props) => ( <SvgIcon {...props}> <circle cx="7.2" cy="14.4" r="3.2"/><circle cx="14.8" cy="18" r="2"/><circle cx="15.2" cy="8.8" r="4.8"/> </SvgIcon> ); EditorBubbleChart = pure(EditorBub...
blueocean-material-icons/src/js/components/svg-icons/navigation/apps.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const NavigationApps = (props) => ( <SvgIcon {...props}> <path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"/> </SvgIcon> ); NavigationApps.displayName = '...
app/containers/AppRoutes.js
youtogod/webpack-sample-project
import React, { Component } from 'react'; import { BrowserRouter, Route, Switch } from 'react-router-dom'; import Home from 'components/Home/Home'; import AjaxDemo from 'components/AjaxDemo/AjaxDemo'; import DebugField from 'components/DebugField/DebugField'; import Layout from 'common/Layout/Layout'; import PromiseDe...
dist/components/schedule/NormalLegendRenderer.jsx.js
fcfe/fcui2
/** * 时间选择器悬浮图例渲染器 * @author Brian Li * @email lbxxlht@163.com * @version 0.0.2.1 */ define(function (require) { var React = require('react'); var tools = require('../../core/scheduleTools'); return React.createClass({ /** * @properties * @param {Object} axis 鼠标所在的格子坐标对象,笛卡尔...
js/jqwidgets/demos/react/app/rangeselector/chartonbackground/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxRangeSelector from '../../../jqwidgets-react/react_jqxrangeselector.js'; import JqxChart from '../../../jqwidgets-react/react_jqxchart.js'; class App extends React.Component { render() { // prepare the data let source = ...
lib/jquery-1.10.2.min.js
rafaelwmartins/meu-ponto
/*! 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...
src/svg-icons/image/nature.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageNature = (props) => ( <SvgIcon {...props}> <path d="M13 16.12c3.47-.41 6.17-3.36 6.17-6.95 0-3.87-3.13-7-7-7s-7 3.13-7 7c0 3.47 2.52 6.34 5.83 6.89V20H5v2h14v-2h-6v-3.88z"/> </SvgIcon> ); ImageNature = p...
api/clients/Admin/src/Components/Sensor.js
4rzael/pheromon
'use strict'; var React = require('react'); var Modifiable = React.createFactory(require('./Modifiable.js')); var PlacePicker = React.createFactory(require('./PlacePicker.js')); var DeleteButton = React.createFactory(require('./DeleteButton.js')); var pokemonNames = require('pokemon-names').all(); /* interface Sensor...
src/components/Navigation/Navigation.js
jerrysdesign/pac
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React from 'react'; // eslint-disable-line no-unused-vars import cx from 'classnames'; import './Navigation.less'; import Link from '../../utils/Link'; class Navigation { render() { return ( <div className={cx(this.props.clas...
app/javascript/mastodon/components/permalink.js
honpya/taketodon
import React from 'react'; import PropTypes from 'prop-types'; export default class Permalink extends React.PureComponent { static contextTypes = { router: PropTypes.object, }; static propTypes = { className: PropTypes.string, href: PropTypes.string.isRequired, to: PropTypes.string.isRequired, ...
src/svg-icons/av/equalizer.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvEqualizer = (props) => ( <SvgIcon {...props}> <path d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"/> </SvgIcon> ); AvEqualizer = pure(AvEqualizer); AvEqualizer.displayName = 'AvEqualizer'; AvEqualizer...
docs/client/components/pages/Sticker/index.js
dagopert/draft-js-plugins
import React, { Component } from 'react'; // eslint-disable-next-line import/no-unresolved import simpleExampleCode from '!!../../../loaders/prism-loader?language=javascript!./SimpleStickerEditor'; // eslint-disable-next-line import/no-unresolved import simpleExampleStickersCode from '!!../../../loaders/prism-loader?l...
src/oscar/static/oscar/js/jquery/jquery-1.9.1.min.js
jinnykoo/wuyisj
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
blueocean-material-icons/src/js/components/svg-icons/action/pan-tool.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionPanTool = (props) => ( <SvgIcon {...props}> <path d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 ...
app/javascript/flavours/glitch/features/ui/components/upload_area.js
Kirishima21/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import Motion from 'flavours/glitch/util/optional_motion'; import spring from 'react-motion/lib/spring'; import { FormattedMessage } from 'react-intl'; export default class UploadArea extends React.PureComponent { static propTypes = { active: PropTy...
src/components/GuideList/GuideList.js
devgeeks/4ZZZ-app
import React from 'react'; import classNames from 'classnames'; import './guidelist.css'; const GuideList = (props) => { const cx = classNames({ 'guide-list': true, 'divider-color': true, }); return ( <ul className={ cx }> { props.children } </ul> ); }; GuideList.displayName = 'GuideLi...
test/integration/prerender-legacy/pages/blog/[post].js
azukaru/next.js
import React from 'react' export async function unstable_getStaticParams() { return ['/blog/post-1'] } export async function getStaticProps({ params }) { return { props: { post: params.post, time: (await import('perf_hooks')).performance.now(), }, } } export default () => { return <div />...
test/Conditional.spec.js
akurihara/react-business-rules-ui
import expect from 'expect'; import React from 'react'; import { renderIntoDocument } from 'react-addons-test-utils'; import Conditional from '../src/Conditional'; describe('Conditional', () => { it('should render', () => { const props = { conditions: [], index: 0, onUpdate: () => undefined, ...
ajax/libs/forerunnerdb/1.3.760/fdb-core.js
Piicksarn/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...
ajax/libs/webshim/1.14.4-RC2/dev/shims/es6.js
jackdoyle/cdnjs
// ES6-shim 0.8.0 (c) 2013 Paul Miller (paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableWithoutNew = fun...
packages/mui-icons-material/lib/SwitchVideo.js
oliviertassinari/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
app/javascript/mastodon/features/lists/components/new_list_form.js
SerCom-KC/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { changeListEditorTitle, submitListEditor } from '../../../actions/lists'; import IconButton from '../../../components/icon_button'; import { defineMessages, injectIntl } from 'react-intl'; const messages = def...
docs/components/Navigation.js
romagny13/react-form-validation
import React from 'react'; import PropTypes from 'prop-types'; const Navigation = ({ sections, active }) => { return ( <div className="navigation"> {Object.keys(sections).map((sectionName) => { let section = sections[sectionName]; return ( <ul...
client/src/components/billing/checkout-fields.js
ronniehedrick/scapeshift
import React, { Component } from 'react'; class CheckoutFields extends Component { render() { return ( <form onSubmit={this.props.onSubmit.bind(this.value)}> <div className="row"> <div className="col-md-9"> <label>Card Number</label> <input id="cardNu...
node_modules/react-bootstrap/es/MediaList.js
Technaesthetic/ua-tools
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
frontend/components/twoots/twoot-feed.js
Pklong/twooter
import React from 'react' import { connect } from 'react-redux' import { fetchTwoots } from '../../actions/twoots' import { getTwoots } from '../../reducers/twoot' class TwootFeed extends React.Component { componentDidMount() { this.props.fetchTwoots() } render() { return ( <ul>{this.props.twoots....
fields/types/markdown/MarkdownColumn.js
rafmsou/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var MarkdownColumn = React.createClass({ displayName: 'MarkdownColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue...
files/jquery.fancytree/2.4.0/jquery.fancytree-all.min.js
vuejs/jsdelivr
/*! jQuery Fancytree Plugin - 2.4.0 - 2014-09-21T13:14 * https://github.com/mar10/fancytree * Copyright (c) 2014 Martin Wendt; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( [ "jquery", "jquery-ui" ], factory ); } else { factory( jQuery ); } }(function( $ )...
lib/config/theme.js
nbonamy/react-native-app-components
import React, { Component } from 'react'; import { Dimensions, StyleSheet } from 'react-native'; import PropTypes from 'prop-types'; export default { // colors colors: { theme: '#01357E', light: '#f4f4f4', dark: '#000000', info: '#66b2f3', danger: '#d75452', primary: '#157efc', warnin...
packages/material-ui-icons/src/Forward10Sharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M18 13c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6v4l5-5-5-5v4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8h-2z" /><path d="M10.9 16v-4.27h-.09l-1.77.63v.69l1.01-.31V16zM14.32 11.78c-.18-.07-...
spec/coffeescripts/jsx/shared/FileNotFoundSpec.js
djbender/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...
react/exercises/part_09/src/components/Header.js
jsperts/workshop_unterlagen
import React from 'react'; function Header() { return ( <header className="jumbotron"> <h1>Contact Manager</h1> </header> ); } export default Header;
ajax/libs/yasgui/0.0.4/yasgui.bundled.min.js
janpaepke/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/routes/Dashboard/components/Overview/Overview.js
dkanas/timelog
import React from 'react' const Overview = () => ( <h1>Overview</h1> ) export default Overview
docs/app/components/appbar/index.js
react-toolbox/react-toolbox
import React from 'react'; import PropTypes from 'prop-types'; import { AppBar } from 'react-toolbox'; import { Link } from 'react-router'; import Logo from '../logo'; import Navigation from '../navigation'; import style from './style.css'; const MainAppBar = (props) => { let className = style.appbar; if (props.cl...
node_modules/native-base/src/basic/Switch.js
odapplications/WebView-with-Lower-Tab-Menu
import React, { Component } from 'react'; import { Switch as SwitchNB } from 'react-native'; import { connectStyle } from '@shoutem/theme'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; class Switch extends Component { render() { return ( <SwitchNB ref={c => this._root = c} {...this.pr...
docs/app/Examples/collections/Menu/Content/Buttons.js
ben174/Semantic-UI-React
import React from 'react' import { Button, Menu } from 'semantic-ui-react' const Buttons = () => { return ( <Menu> <Menu.Item> <Button primary>Sign up</Button> </Menu.Item> <Menu.Item> <Button>Log-in</Button> </Menu.Item> </Menu> ) } export default Buttons
test/unit/list/manage/components/item-list-panel-test.js
mozilla-lockbox/lockbox-extension
/* 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/. */ import chai, { expect } from "chai"; import chaiEnzyme from "chai-enzyme"; import React from "react"; import confi...
modules/dreamview/frontend/src/components/FuelClient/index.js
ycool/apollo
import React from 'react'; import { Tab, Tabs, TabList, TabPanel } from 'react-tabs'; import { inject, observer } from 'mobx-react'; import classNames from 'classnames'; import _ from 'lodash'; import WS from 'store/websocket'; import GuideText from 'components/common/GuideText'; import SensorCalibrationConfiguration ...
examples/using-inferno/pages/index.js
arunoda/next.js
import React from 'react' import Link from 'next/link' export default () => ( <div>Hello World. <Link prefetch href='/about'><a>About</a></Link></div> )
src/svg-icons/maps/streetview.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsStreetview = (props) => ( <SvgIcon {...props}> <path d="M12.56 14.33c-.34.27-.56.7-.56 1.17V21h7c1.1 0 2-.9 2-2v-5.98c-.94-.33-1.95-.52-3-.52-2.03 0-3.93.7-5.44 1.83z"/><circle cx="18" cy="6" r="5"/><path d...
front/src/AddIngredientPage.js
miyef/onboard-fridge
import React, { Component } from 'react'; import DatePicker from 'react-datepicker'; import moment from 'moment'; import 'react-datepicker/dist/react-datepicker.css'; import TagsInput from 'react-tagsinput'; import 'react-tagsinput/react-tagsinput.css'; export default class AddIngredientPage extends Component { co...
src/components/Feedback/Feedback.js
Creatrixino/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import styles from './Feedback.css'; import withStyles from '../../decorators/withStyles'; @withStyles(styles) class Feedback extends Component { render() { return ( <div className="Feedback...
test/NavDropdownSpec.js
albertojacini/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import NavDropdown from '../src/NavDropdown'; import MenuItem from '../src/MenuItem'; describe('NavDropdown', () => { it('Should render li when in nav', () => { const instance = ReactTestUtils.renderIntoDocument( <NavDropdow...
src/App.js
williamliew/brokerApp
import React, { Component } from 'react'; import BidWindow from './views/biddingwindow'; import BidderList from './views/bidderlist'; export default class App extends Component { render() { return ( <div className="container"> <h1>auction haus</h1> <BidWindow name="George" /> <BidWi...
node_modules/react-icons/fa/dashcube.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaDashcube = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m4.5 15.2q0-2.9 2-5.1t5-2.1h16.6l7.8-8v32.8q0 3-2 5.1t-5 2.1h-17.4q-2.9 0-5-2.1t-2-5.1v-17.6z m27.5 16.8l-3.9-4v-9.5q0-1-0.7-1.8t-1.8-0.7h-10.8q-1 0-1.7 0.7t-0.7 1.8...
protractor-dart2js.conf.js
bbss/angular
var data = module.exports = require('./protractor-shared.js'); var config = data.config; config.baseUrl = 'http://localhost:8002/'; config.exclude.push( 'dist/js/cjs/examples/e2e_test/sourcemap/sourcemap_spec.js', // TODO: remove this line when largetable dart has been added 'dist/js/cjs/benchmarks_external/e2e...
ajax/libs/video.js/5.0.0-rc.84/alt/video.novtt.js
calebmer/cdnjs
/** * @license * Video.js 5.0.0-rc.84 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports...
src/workflows/pyfr/components/steps/Visualization/View.js
Kitware/HPCCloud
import { connect } from 'react-redux'; import queryString from 'query-string'; import JobMonitoring from '../../../../generic/components/steps/JobMonitoring'; import getNetworkError from '../../../../../utils/getNetworkError'; import { getDisabledButtons } from '../../../../../utils/getDisabledButtons'; import get fr...
CollectionView/modules/Home/Home.js
HarrisLee/React-Native-Express
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { StyleSheet, Text, View, ListView, Platform, TouchableHighlight, PixelRatio } from 'react-native'; import HomeList from './HomeList.js' import DetailContent from './D...
frontend/src/pages/sys-admin/dingtalk/dingtalk-departments-tree-panel.js
miurahr/seahub
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Loading from '../../../components/loading'; import DingtalkDepartmentsTreeNode from './dingtalk-departments-tree-node'; const DingtalkDepartmentsTreePanelPropTypes = { isTreeLoading: PropTypes.bool.isRequired, departmentsTree: Pro...
lib/components/Divider/Divider.js
globalmouth/glomo-boxes
import React from 'react' import PropType from 'prop-types' import styles from './Divider.css' const Divider = ({ height = '3px', width = '66px', background = '#fff', className, }) => { const styleObj = { width, height, background } return <div style={styleObj} className={className} /> } Divider.pr...
tests/client/core/components/TestPaginate.js
squarewave/addons-frontend
/* global document, Node */ import React from 'react'; import { render, findDOMNode } from 'react-dom'; import { renderIntoDocument, findRenderedComponentWithType, } from 'react-addons-test-utils'; import { Route, Router, createMemoryHistory } from 'react-router'; import Paginate from 'core/components/Paginate'; ...
App/Containers/LaunchScreen.js
infinitered/ChainReactApp
import React from 'react' import { ScrollView, Text, Image, View } from 'react-native' import DevscreensButton from '../../ignite/DevScreens/DevscreensButton.js' import { Images } from '../Themes' // Styles import styles from './Styles/LaunchScreenStyles' export default class LaunchScreen extends React.Component { ...
ajax/libs/6to5/1.12.15/browser-polyfill.js
jamzgoodguy/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...
packages/cp-frontend/test/unit/components/messaging/error.js
yldio/copilot
/** * @jest-environment jsdom */ import React from 'react'; import renderer from 'react-test-renderer'; import 'jest-styled-components'; import Error from '@components/messaging/error'; it('renders <Error /> without throwing', () => { const tree = renderer.create(<Error />).toJSON(); expect(tree).toMatchSnapsh...
src/components/Assets/Search.js
LifeSourceUA/lifesource.ua
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import svg from 'lib/svg'; @svg({ width: 56, height: 56 }) export default class Search extends Component { static propTypes = { color: PropTypes.string.isRequired, type: PropTypes.string }; static default...
ajax/libs/react-native-web/0.12.3/exports/ScrollView/index.js
cdnjs/cdnjs
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo...
react/src/browser/app/components/fxbml.js
janprasil/mi-vmm-product-quality-rating
/* @flow */ // Higher order component for Facebook XFBML. // Examples // https://gist.github.com/steida/04a39dfa1043e1451044ba8370743b0c // https://gist.github.com/steida/b19a1858e38007651a616ae44244ca52 import React from 'react'; const xfbml = (WrappedComponent: any) => class Wrapper extends React.Component { ...
packages/material-ui-icons/src/FolderSharedTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M11.17 8l-.59-.59L9.17 6H4v12h16V8h-8.83zM19 16v1h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2zm-4-7c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z" opacity="...
tutorials05/module/b.js
Ivanwangcy/webpack-tutorials
import React from 'react'; var Content = React.createClass({ render: function() { return ( <div>App Content <div className="container"></div> </div> ); } }) export default Content;
sundin/source/constants/scenes.js
tkfeng/mppCalc
/** * All screens and scenes in the app. * Using React-Native-Router-Flux. * * Created by tkfeng on 4/8/17. */ import React from 'react'; import { Actions, Scene } from 'react-native-router-flux'; import PreLoading from '../containers/preLoading' import Menu from '../containers/menu'; import ShoutemExample fr...
fields/types/html/HtmlField.js
asifiqbal84/keystone
import _ from 'underscore'; import Field from '../Field'; import React from 'react'; import tinymce from 'tinymce'; import { FormInput } from 'elemental'; /** * TODO: * - Remove dependency on underscore */ var lastId = 0; function getId() { return 'keystone-html-' + lastId++; } module.exports = Field.create({ ...
node_modules/protractor/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js
vla9isla8/hochuna-webapp
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/layouts/CoreLayout/CoreLayout.js
neverfox/react-redux-starter-kit
import React from 'react' import Header from '../../components/Header' import './CoreLayout.scss' import '../../styles/core.scss' export const CoreLayout = ({ children }) => ( <div className='container text-center'> <Header /> <div className='core-layout__viewport'> {children} </div> </div> ) Co...
react-native-demo/PlatformSpecific/crossplatform.js
zhangjunhd/react-examples
var React = require('react-native'); var { StyleSheet, Text, View, } = React; var Switch = require('./switch'); var CrossPlatform = React.createClass({ getInitialState() { return {val: false}; }, _onValueChange(val) { this.setState({val: val}); }, render: function() { var colorClass = thi...
src/footer/Footer.js
qiuge227/smart-footer
import React from 'react'; import style from './footer.css'; // const Footer = props => { // return // <div> // 我事尾巴 // </div> // } // export default Footer; class Footer extends React.Component { componentDidMount() { } render() { return ( <div className="my-comp...
src/pages/LoginPage.js
mDinner/musicansAssistant
import React from 'react'; import DocumentTitle from 'react-document-title'; import { LoginForm } from 'react-stormpath'; export default class LoginPage extends React.Component { render() { return ( <DocumentTitle title={`Login`}> <div className="container"> <div className="row"> ...
src/components/App.js
aubrian-halili/shout-out
import React from 'react'; import Header from '../containers/HeaderContainer'; const App = ({ children }) => { return ( <div> <Header /> <div> Modification here <div> {children} </div> ); }; export default App;
data-browser-ui/public/app/components/tableComponents/td/relationComponents/password.js
CloudBoost/cloudboost
import React from 'react'; import ReactDOM from 'react-dom'; class Password extends React.Component { constructor(){ super() this.state = { } } componentDidMount(){ } changeHandler(e){ this.props.updateElementData(e.target.value,this.props.columnData.name) } render() { return ( <div cl...
ajax/libs/inferno-mobx/5.4.1/inferno-mobx.min.js
sufuf3/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("mobx"),require("inferno"),require("hoist-non-inferno-statics")):"function"==typeof define&&define.amd?define(["exports","mobx","inferno","hoist-non-inferno-statics"],t):t((e.Inferno=e.Inferno||{},e.Inferno.Mobx=e.Inferno.Mobx||{}),e....
fields/types/select/SelectField.js
xyzteam2016/keystone
import Field from '../Field'; import React from 'react'; import Select from 'react-select'; import { FormInput } from 'elemental'; /** * TODO: * - Custom path support */ module.exports = Field.create({ displayName: 'SelectField', statics: { type: 'Select', }, valueChanged (newValue) { // TODO: This shoul...
sites/all/modules/devel/jquery-1.4.4-uncompressed.js
changemachine/d7_portfolio
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
app/containers/NotFoundPage/index.js
GeorgeZhukov/react-todo
/** * NotFoundPage * * This is the page we show when the user visits a url that doesn't have a route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it...
user_guide/_static/jquery.js
GustavoSantosFarias/sistema-de-bonificacao
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
sample/components/tabs.js
LINKIWI/react-elemental
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Spacing, Tabs, Text } from 'react-elemental'; const CustomTabOption = ({ children }) => ( <Spacing size="tiny" top bottom padding> <Spacing size="small" left right padding> <Text size="kilo" color="gray60" uppercase bold...
src/components/Footer/Footer.js
fechy/retropie-web-gui
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isomorp...
packages/material-ui/src/ListItem/ListItem.js
lgollut/material-ui
import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { chainPropTypes } from '@material-ui/utils'; import withStyles from '../styles/withStyles'; import ButtonBase from '../ButtonBase'; import isMuiElement from '../utils/isMuiElement'; import useForkRef from '../utils/useF...
frontend/app_v2/src/components/WidgetStats/WidgetStatsPresentation.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' // FPCC import useIcon from 'common/useIcon' import SectionTitle from 'components/SectionTitle' function WidgetStatsPresentation({ data }) { const iconStyling = 'fill-current text-tertiaryC h-10 md:h-12 lg:h-14 w-auto mx-auto' const totalStyling = data?...
src/components/Seo.js
rhostem/blog
import React from 'react' import PropTypes from 'prop-types' import Helmet from 'react-helmet' import { StaticQuery, graphql } from 'gatsby' import { concat, not, isEmpty, filter, includes, isNil, compose } from 'ramda' import { PROFILE_IMAGE } from 'src/constants' export const DEFAULT_KEYWORDS = ['웹 개발', 'Front-end',...
ajax/libs/jquery/1.8.1/jquery.js
xymostech/cdnjs
/*! * jQuery JavaScript Library v1.8.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time) */ (function(...
ajax/libs/yui/3.7.0/datatable-body/datatable-body-coverage.js
brunoksato/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
docs/client/components/pages/Video/SimpleVideoEditor/index.js
dagopert/draft-js-plugins
import React, { Component } from 'react'; import { EditorState, convertFromRaw } from 'draft-js'; import Editor from 'draft-js-plugins-editor'; import createVideoPlugin from 'draft-js-video-plugin'; import editorStyles from './editorStyles.css'; const videoPlugin = createVideoPlugin(); const { types } = videoPlugin; c...