path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/components/Footer/Footer.js
murthymuddu/murthy-umg
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present 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 'isom...
react/features/recording/components/Recording/web/HighlightButton.js
gpolitis/jitsi-meet
// @flow import { withStyles } from '@material-ui/core'; import React from 'react'; import { openDialog } from '../../../../base/dialog'; import { translate } from '../../../../base/i18n'; import { IconHighlight } from '../../../../base/icons'; import { Label } from '../../../../base/label'; import { connect } from '...
docs/static/js/jquery-1.10.2.min.js
saigkill/publican_creators
(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=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]...
packages/material-ui-icons/src/ConfirmationNumberSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M22 10V4H2.01v6c1.1 0 1.99.9 1.99 2s-.89 2-2 2v6h20v-6c-1.1 0-2-.9-2-2s.9-2 2-2zm-9 7.5h-2v-2h2v2zm0-4.5h-2v-2h2v2zm0-4.5h-2v-2h2v2z" /></React.Fragment> , 'ConfirmationNumberSharp');
app/pages/sign-in.spec.js
amyrebecca/Panoptes-Front-End
import React from 'react'; import assert from 'assert'; import { shallow } from 'enzyme'; import SignIn from './sign-in'; describe('SignIn', function () { let wrapper; before(function () { wrapper = shallow(<SignIn />); }); it('renders without crashing', function () { const signInContainer = wrapper....
build/custom/p2.js
jhramos/Phaser
/** * The MIT License (MIT) * * Copyright (c) 2013 p2.js authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
src/pages/App.js
tiberiuc/react-redux-minimal-starter
import React from 'react' import {connect} from 'react-redux' import {Router, Route, Link} from 'react-router' import { Provider } from 'react-redux' import invariant from 'invariant' import {ReduxRouter} from 'redux-router' import {load} from '../actions/AppActions' import routes from '../routes' class App exten...
reduxBasicApp/src/js/containers/todoApp.js
wandarkaf/React-Bible
import React from 'react'; import AddTodo from '../components/addTodo.js'; import VisibleTodoList from '../components/visibleTodoList.js'; import Footer from '../components/footer.js'; const TodoApp = () => ( <div> <AddTodo /> <VisibleTodoList /> <Footer /> </div> ); export default TodoApp;
website/core/Prism.js
chengky/react-native
/** * Prism: Lightweight, robust, elegant syntax highlighting * MIT license http://www.opensource.org/licenses/mit-license.php/ * @author Lea Verou http://lea.verou.me * * @providesModule Prism */ var React = require('React'); var _ = { util: { type: function (o) { return Object.prototype.toString.c...
src/routes/RequestPayment/components/InvoiceDetailsForAnaesthetist.js
vijayasankar/ML2.0
import Col from 'react-bootstrap/lib/Col' import DateTimePickerField from 'components/DateTimePickerField' import NumberDialField from 'components/NumberDialField' import React from 'react' import Row from 'react-bootstrap/lib/Row' import TextField from 'components/TextField' import { alphanumericOnly, roundToNearest }...
src/components/Modal/Modal-story.js
carbon-design-system/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { withKno...
src/components/GridRow.js
Arinono/uReflect_POC_Electron01
import React from 'react'; import { Row, Col } from 'react-bootstrap'; var GridRow = React.createClass({ render: function() { return ( <Col xs={12}> <Col xs={1}></Col> <Col xs={1}></Col> <Col xs={1}></Col> <Col xs={1}></Col> <Col xs={1}></Col> <Col xs={1}></Col> <C...
frontend/app/js/components/settings/group/add.js
serverboards/serverboards
import React from 'react' import Modal from 'app/components/modal' import i18n from 'app/utils/i18n' class AddGroup extends React.Component{ handleAddGroup(ev){ ev.preventDefault() let $form = $(this.refs.form) this.props.onAddGroup( $form.find('[name=name]').val() ) this.props.setModal(false) } ...
packages/material-ui-icons/src/FastForward.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment> , 'FastForward');
plugin/src/email/__tests__/create-interface.spec.js
joshferrell/hapi-maily
import React from 'react'; import createEmailInterface, { interfaceOptions, routeOptions } from '../create-interface'; describe('email interface', () => { const Component = () => <p>test</p>; const validOptions = { component: Component, subject: 'this is a test' }; const emailSettings =...
images/tol_files/show_ads_impl.js
alexandreKANE/MonCv
(function(){var l,n=this,aa=function(a){return void 0!==a},ba=function(a,b,c){a=a.split(".");c=c||n;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&aa(b)?c[d]=b:c=c[d]?c[d]:c[d]={}},da=function(){},ea=function(){throw Error("unimplemented abstract method");},fa=function(...
app/components/shared/Panel/intro-with-button.js
buildkite/frontend
// @flow import React from 'react'; import PropTypes from 'prop-types'; type Props = { children: React$Node }; export default class IntroWithButton extends React.PureComponent<Props> { static displayName = "Panel.IntroWithButton"; static propTypes = { children: PropTypes.node.isRequired }; render() {...
src/App.js
SalvaCarsi/SearchView
'use strict'; import React, { Component } from 'react'; import { Provider } from 'react-redux'; import { createStore, combineReducers, applyMiddleware } from 'redux'; import { composeWithDevTools } from 'remote-redux-devtools'; import thunk from 'redux-thunk'; import { Router, Route, browserHistory } from 'react-route...
core/built/public/jquery.min.js
wbcyclist/jasio.me
!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 window?window:this,function(a,b){function c(a){var b=a.length,c=ea.type(a);return"functi...
packages/material-ui-icons/src/Euro.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15l1-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15l1-2H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48...
routes/shared.js
gembarrett/hamara-internet-app
import React from 'react'; import { StyleSheet, Text, View, Button, TouchableOpacity } from 'react-native'; import { Linking } from 'react-native'; import BasicText from '../components/sub/basicText.js'; import Icon from 'react-native-vector-icons/FontAwesome'; import { prefs } from '../routes/prefs.js'; import { Stack...
react/examples/Code/Redux_Server_Communication/src/components/App.js
jsperts/workshop_unterlagen
import React from 'react'; function App({ onAddData, onDeleteData, data, }) { return <div> <h1>Data</h1> <div> <button onClick={onAddData} className="btn btn-primary">Add data</button> </div> <ul className="list-group"> { data.map((d) => (<li key={d.id} className="list-group...
ajax/libs/jquery/1.11.1-rc2/jquery.min.js
yogeshsaroya/cdnjs
/*! jQuery v1.11.1-rc2 | (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 ...
ajax/libs/webshim/1.14.6-RC1/dev/shims/moxie/js/moxie.js
Kaakati/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
src/NavDropdown.js
bbc/react-bootstrap
import React from 'react'; import Dropdown from './Dropdown'; class NavDropdown extends React.Component { render() { let { children, title, noCaret, ...props } = this.props; return ( <Dropdown {...props} componentClass="li"> <Dropdown.Toggle useAnchor disabled={props.disab...
components/Modal/ModalBlock.js
rdjpalmer/loggins
import React from 'react'; // This component will be wrapped by ReactTransitionGroup, giving it extra // lifecyle methods for controlling CSS classes export default React.createClass({ propTypes: { className: React.PropTypes.string, children: React.PropTypes.any, }, componentWillEnter(callback) { t...
packages/material-ui-icons/src/VideocamRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l2.29 2.29c.63.63 1.71.18 1.71-.71V8.91c0-.89-1.08-1.34-1.71-.71L17 10.5z" /></React.Fragment> , ...
packages/bonde-styleguide/src/form/InputAdornment/InputAdornment.spec.js
ourcities/rebu-client
import test from 'ava' import React from 'react' import { mount } from 'enzyme' import InputAdornment from './InputAdornment' test('render exclamation icon when `invalid` is true', t => { const node = mount(<InputAdornment invalid />) t.is(node.find('Icon').get(0).props.name, 'exclamation') }) test('render tick i...
node_modules/react-bootstrap/es/PageHeader.js
acalabano/get-committed
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
ajax/libs/muicss/0.9.6/react/mui-react.js
sreym/cdnjs
(function (global) { var babelHelpers = global.babelHelpers = {}; babelHelpers.classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; babelHelpers.createClass = function () { function define...
src/components/common/Table.js
gribnoysup/diy-dog-search
import React from 'react' import styled from 'styled-components' function getStylesArray({alignment, cellWidth}) { const styles = [] if (Array.isArray(alignment)) { alignment.forEach((rule, idx) => { if (typeof styles[idx] === 'undefined') { styles[idx] = '' } styles[idx] += `text-a...
packages/material-ui-icons/src/CropPortraitOutlined.js
Kagami/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="M17 3H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7V5h10v14z" /></g></React.Fragment> , 'CropPortraitOutlined...
hub-ui/src/components/Other.js
lchase/hub
import React, { Component } from 'react'; export default class Other extends Component { render() { return ( <div>Other Content!!</div> ); } }
flow-typed/npm/babel-plugin-transform-react-inline-elements_vx.x.x.js
ProteinsWebTeam/interpro7-client
// flow-typed signature: 3d9dbc582a479416b787eaa4adda1b6c // flow-typed version: <<STUB>>/babel-plugin-transform-react-inline-elements_v6.22.0/flow_v0.171.0 /** * This is an autogenerated libdef stub for: * * 'babel-plugin-transform-react-inline-elements' * * Fill this stub out by replacing all the `any` types....
src/components/App.js
akonwi/bundles
import React from 'react' import Navbar from './Navbar' import BundleList from './BundleList' import * as BundleStore from '../bundle-store' const loadingStyle = { textAlign: 'center', margin: '.5rem' } class App extends React.Component { constructor(props) { super(props) this.state = { bundles: n...
src/js/components/Carousel/stories/Multiple.js
grommet/grommet
import React from 'react'; import { Box, Carousel, Image } from 'grommet'; const data = [ '//v2.grommet.io/assets/IMG_4210.jpg', '//v2.grommet.io/assets/Wilderpeople_Ricky.jpg', '//v2.grommet.io/assets/IMG_4245.jpg', '//v2.grommet.io/assets/IMG_4210.jpg', 'https://avatars1.githubusercontent.com/u/14203820?s...
ajax/libs/vis/1.0.1/vis.js
cbas/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 1.0.1 * @date 2014-05-09 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
App/Services/ExamplesRegistry.js
BALEHOK/motodo
import React from 'react' import {Text, View} from 'react-native' import R from 'ramda' import { ApplicationStyles } from '../Themes' import DebugSettings from '../Config/DebugSettings' let globalExamplesRegistry = [] export const addExample = (title, usage) => { if (DebugSettings.includeExamples) globalExamplesRegist...
src/components/Breadcrumb/BreadcrumbItem.js
carbon-design-system/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; import React from 'react'; import cx from 'classnames'; import { settings } from 'carbon-components'; imp...
react/Apps/airways-app/src/containers/results.js
rcapde/reactjs-Apps
import React, { Component } from 'react'; import '../assets/App.css'; import { connect } from 'react-redux'; import Flight from '../components/flight' class Results extends Component { render() { const Flights = this.props.flights.map((flight)=>{ return( <Flight key={flight.id} id={flight.id} ...
src/components/App.js
JoshuaTang/OnlineGobang
import React, {Component} from 'react'; import Nav from './Nav'; import ControlPanel from '../containers/ControlPanel'; import BoardPanel from '../containers/BoardPanel'; import ModeSelector from '../containers/ModeSelector'; export default class App extends Component { render() { return ( <div> <...
src/js/forms/payloads/stories/ADCertificatePayloadForm.js
mosen/micromdm-ui
import React from 'react'; import {createStore, applyMiddleware, compose} from 'redux'; import {combineReducers} from 'redux'; import {reducer as formReducer} from 'redux-form'; import {Provider} from 'react-redux'; import {storiesOf, action} from '@kadira/storybook'; import {deepOrange500} from 'material-ui/styles/col...
src/components/FieldNotification/index.js
Deivis/FleaMarket
import React from 'react'; import PropTypes from 'prop-types'; import './FieldNotification.scss'; const FieldNotification = ({ message, type }) => ( <span className={`field-notification field-notification--${type} field-notification--field`}> {message} </span> ); FieldNotification.propTypes = { message: Pro...
index.android.js
wayne4106/ZhiHuDaily-React-Native
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; var React = require('react-native'); var { AppRegistry, BackAndroid, Text, View, Navigator, StyleSheet, ToolbarAndroid, ToastAndroid, } = React; var ToolbarAndroid = require('ToolbarAndroid'); var TimerMixin...
src/components/inputs/TextArea.js
rghorbani/react-native-common
/** * Copyright 2016 Reza (github.com/rghorbani) * * @flow */ 'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import { View, TextInput as RNTextInput, StyleSheet } from 'react-native'; import BaseInput from './BaseInput'; export default class TextArea extends BaseInput { static dis...
ajax/libs/forerunnerdb/1.3.693/fdb-core+views.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/forerunnerdb/1.3.712/fdb-core+views.min.js
BitsyCode/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
examples/03 Nesting/Drop Targets/index.js
srajko/react-dnd
import React from 'react'; import Container from './Container'; export default class NestingDropTargets { render() { return ( <div> <p> <b><a href='https://github.com/gaearon/react-dnd/tree/master/examples/03%20Nesting/Drop%20Targets'>Browse the Source</a></b> </p> <p> ...
src/components/ScheduleItem/ScheduleItem.js
jhabdas/lumpenradio-com
import React from 'react'; import classNames from 'classnames'; import styles from './ScheduleItem.css'; import withStyles from '../../decorators/withStyles'; import Link from '../Link'; import moment from 'moment'; @withStyles(styles) class ScheduleItem extends React.Component { static propTypes = { dateTime:...
ajax/libs/primereact/8.0.1/tooltip/tooltip.cjs.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/hooks"),n=require("primereact/portal"),o=require("primereact/utils");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function a(e){if(e&&e.__esModule)retur...
dist/bundle.js
torvalde/torvalde.github.io
!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){e.exports=n(97)},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void...
dapp/src/shared/dao/market/components/lot.js
airalab/DAO-IPCI
import React from 'react' import PropTypes from 'prop-types' import { translate } from 'react-i18next' const Lot = (props) => { const { address, t } = props let buttons if (!props.my) { if (props.approve_sale_quantity < props.sale_quantity_full) { buttons = <span className="label label-danger">{t('not...
ajax/libs/6to5/3.0.16/browser.js
KyleMit/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/packages/@ncigdc/uikit/ControlEditableRow.js
NCI-GDC/portal-ui
import React from 'react'; import { compose, withState, withHandlers, } from 'recompose'; import Input from '@ncigdc/uikit/Form/Input'; import Pencil from '@ncigdc/theme/icons/Pencil'; import { Row, Column } from '@ncigdc/uikit/Flex'; import OutsideClickHandler from 'react-outside-click-handler'; export default...
packages/ringcentral-widgets-docs/src/app/pages/Components/MessageSenderAlert/Demo.js
ringcentral/ringcentral-js-widget
import React from 'react'; // eslint-disable-next-line import MessageSenderAlert from 'ringcentral-widgets/components/AlertRenderer/MessageSenderAlert'; const props = {}; props.currentLocale = 'en-US'; props.message = { message: 'test string', }; props.regionSettingsUrl = 'test string'; /** * A example of `Message...
src/components/App/App.js
strues/react-universal-boiler
// @flow import React from 'react'; import type { Element } from 'react'; import Route from 'react-router-dom/Route'; import Helmet from 'react-helmet'; import Switch from 'react-router-dom/Switch'; import uuid from 'uuid'; // internal import Layout from '../Layout'; import NotFound from '../NotFound'; import routes fr...
files/core-js/0.9.18/library.js
tunnckoCore/jsdelivr
/** * core-js 0.9.18 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
src/client/routes/matches/init.js
mineswine/WebStats
import React from 'react'; class Matches extends React.Component { constructor(props) { super(props); this.state = {}; } render() { return ( <div className='container'> </div> ) } } export default Matches;
jest-setup.js
ship-components/ship-components-texteditor
// setup file import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() });
src/components/Toolbar.js
robshocks/frontboost
import React from 'react'; import { showAddDeck, filterCards } from '../actions'; import { Link } from 'react-router'; import { connect } from 'react-redux'; const mapDispatchToProps = dispatch => ({ showAddDeck: () => dispatch(showAddDeck()), onFilter: query => dispatch(filterCards(query)) }); const Toolbar = ({...
public_html/sites/all/modules/contrib/jquery_update/replace/jquery/1.5/jquery.js
nervaccio/codeitaly_drupal7_ajax
/*! * jQuery JavaScript Library v1.5.1 * 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. ...
pootle/static/js/browser/components/Stats.js
translate/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import StatsAPI from 'api/Stat...
src/client/tests/entries/panels.js
mapkiwiz/sectorisation
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, IndexRoute, Link, browserHistory } from 'react-router'; import {List} from '../../app/shared/components/list/list.component'; import {SearchBox} from '../../app/shared/components/list/searchbox.component'; import fetch from 'isomorphic...
web/static/js/components/application_select.js
bittersweet/notifilter
import React from 'react'; var ApplicationSelect = React.createClass({ updateApplication: function(event) { event.preventDefault(); const application = this.refs.application.value; const { actions } = this.props; actions.updateApplication(application); }, render: function() { const { applica...
ajax/libs/react-native-web/0.16.5/exports/createElement/index.js
cdnjs/cdnjs
/** * Copyright (c) Nicolas Gallagher. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import AccessibilityUtil from '../../modules/AccessibilityUtil'; import createDOMProps from '../../modules/createDOMProps'; import React fro...
tp-3/marisol/src/components/pages/welcome/WelcomePage.js
solp/sovos-reactivo-2017
import React from 'react'; // Since this component is simple and static, there's no parent container for it. const WelcomePage = () => { return ( <div> <h2 className="alt-header">Bienvenido a Sovosiano! </h2> <p> WelcomePage </p> </div> ); }; export default WelcomePage;
packages/icons/src/md/editor/Functions.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdFunctions(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <polygon points="36 8 12 8 12 12 25 24 12 36 12 40 36 40 36 34 22 34 32 24 22 14 36 14" /> </IconBase> ); } export default MdFunctions;
src/components/need/BookingAgent/Newborn.js
lethecoa/work-order-pc
import React from 'react'; import {Form, DatePicker, Input, Radio} from 'antd'; import moment from 'moment'; import {config, fun} from '../../../common'; import styles from './Newborn.less'; const RadioGroup = Radio.Group; const RangePicker = DatePicker.RangePicker; function Newborn( props ) { const FormItem = Form....
packages/react-scripts/fixtures/kitchensink/src/features/syntax/AsyncAwait.js
iamdoron/create-react-app
/** * 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. */ import Rea...
analysis/paladinholy/src/modules/talents/JudgmentOfLight.js
anom0ly/WoWAnalyzer
import { formatNumber } from 'common/format'; import SPELLS from 'common/SPELLS'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import { STATISTIC_ORDER } from 'parser/ui/StatisticBox'; import TalentStatisticBox from 'parser/ui/TalentStatisticBox'; import Rea...
ajax/libs/material-ui/5.0.0-alpha.26/legacy/CardContent/CardContent.min.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 clsx from"clsx";import{unstable_composeClasses as composeClasses}from"@material-ui/unstyled";import exper...
src/svg-icons/image/tune.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTune = (props) => ( <SvgIcon {...props}> <path d="M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"/> </SvgIcon> ); ImageTune = pure...
ajax/libs/react/15.0.2/react-dom.min.js
menuka94/cdnjs
/** * ReactDOM v15.0.2 * * Copyright 2013-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 directo...
icon-builder/tpl/SvgIcon.js
bgribben/material-ui
import React from 'react'; import PureRenderMixin from 'react-addons-pure-render-mixin'; import SvgIcon from '{{{ muiRequireStmt }}}'; const {{className}} = React.createClass({ mixins: [PureRenderMixin], render() { return ( <SvgIcon {...this.props}> {{{paths}}} </SvgIcon> ); } }); ...
ajax/libs/yui/3.8.1/datatable-body/datatable-body-debug.js
thisispiers/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
django/webcode/webcode/frontend/node_modules/react-bootstrap/es/Glyphicon.js
OpenKGB/webcode
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
ajax/libs/algoliasearch.zendesk-hc/2.4.1/algoliasearch.zendesk-hc.min.js
jdh8/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;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.algoliasearchZendeskHC=e()}}(function(){var e;return fu...
fields/types/embedly/EmbedlyField.js
vokal/keystone
import React from 'react'; import Field from '../Field'; import { FormField, FormInput } from '../../../admin/client/App/elemental'; import ImageThumbnail from '../../components/ImageThumbnail'; import NestedFormField from '../../components/NestedFormField'; module.exports = Field.create({ displayName: 'EmbedlyField...
src/Tooltip.js
mengmenglv/react-bootstrap
import classNames from 'classnames'; import React from 'react'; import CustomPropTypes from './utils/CustomPropTypes'; export default class Tooltip extends React.Component { render() { const { placement, positionLeft, positionTop, arrowOffsetLeft, arrowOffsetTop, className, ...
index.js
Lukavyi/generate-reactjs-component-folder-css-modules
#!/usr/bin/env node const fs = require('fs'); const components = process.argv.slice(2); const componentDefaultContent = componentName => `import React, { Component } from 'react'; import styles from './${componentName}.scss'; class ${componentName} extends Component { render() { return ( <div></div> ...
examples/DemoColors.js
MrCheater/text-resize-and-word-wrap-provider
import React from 'react'; import { Text, textResizeAndWordWrap } from '../src'; import { randomContent } from './randomContent'; @textResizeAndWordWrap export class DemoColors extends React.Component { render() { const textWidth = this.props.width / 5; return ( <div> <s...
app/containers/FeaturePage/index.js
Third9/mark-one
/* * FeaturePage * * List all the features */ import React from 'react'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import H1 from 'components/H1'; import messages from './messages'; import List from './List'; import ListItem from './ListItem'; import ListItemTitle from './Li...
www/js/components/NotFoundPage.js
grant/school-of-tech
import React, { Component } from 'react'; class NotFound extends Component { render() { return ( <div>NotFound</div> ); } } export default NotFound;
sites/all/modules/jquery_update/replace/jquery/1.5/jquery.js
aelysrebeca/PIF2015
/*! * jQuery JavaScript Library v1.5.1 * 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. ...
ui/src/album/AlbumShow.js
cloudsonic/sonic-server
import React from 'react' import { ReferenceManyField, ShowContextProvider, useShowContext, useShowController, } from 'react-admin' import AlbumSongs from './AlbumSongs' import AlbumDetails from './AlbumDetails' import AlbumActions from './AlbumActions' const AlbumShowLayout = (props) => { const { loading, ....
client/src/components/welcome.js
Zsugi/react-auth
import React from 'react'; export default () => <div>Welcome to our slice of paradise</div>;
PageOfPhotosWebsite/Scripts/jquery-1.10.2.js
codingoutloud/PageOfPhotosWebsite
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
ajax/libs/material-ui/4.9.11/esm/List/ListContext.js
cdnjs/cdnjs
import * as React from 'react'; /** * @ignore - internal component. */ var ListContext = React.createContext({}); if (process.env.NODE_ENV !== 'production') { ListContext.displayName = 'ListContext'; } export default ListContext;
ajax/libs/jquery.fancytree/2.8.0/jquery.fancytree.js
JimBobSquarePants/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...
src/views/log/search.js
pot-code/redux-demo
import React from 'react'; import { connect } from 'react-redux'; import { reduxForm } from 'redux-form'; import { Button, Row, Col, Popconfirm, message } from "antd"; import { Buttons, AdaptedInput, createLabeledFieldEnhancer } from 'component/form'; import { clearLog, fetchAllLog } from 'service/log'; const Labeled...
packages/material-ui-icons/src/AddAlarmTwoTone.js
Kagami/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="M12 6c-3.87 0-7 3.13-7 7s3.13 7 7 7 7-3.13 7-7-3.13-7-7-7zm4 8h-3v3h-2v-3H8v-2h3V9h2v3h3v2z" opacity=".3" /><path d="M12 4c-4.97 0-9 4.03-9 9...
src/js/admin/articles/article-delete-dialog/article-delete-dialog.js
ucev/blog
import React from 'react' import { connect } from 'react-redux' import ConfirmDialog from '$components/dialogs/confirm-dialog' import { deleteArticleCancel, deleteArticleConfirm } from '$actions/articles' const ArticleDeleteDialog = ({ visible, deleteConfirm, deleteCancel }) => ( <ConfirmDialog title="确认删除?" ...
example/index.js
mihalik/react-router-errorhandler
import React from 'react'; import { render } from 'react-dom'; import { App } from './App'; render(<App />, document.getElementById('root'));
src/svg-icons/maps/local-dining.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalDining = (props) => ( <SvgIcon {...props}> <path d="M8.1 13.34l2.83-2.83L3.91 3.5c-1.56 1.56-1.56 4.09 0 5.66l4.19 4.18zm6.78-1.81c1.53.71 3.68.21 5.27-1.38 1.91-1.91 2.28-4.65.81-6.12-1.46-1.46-4.2-1....
admin/src/component/Action.js
zentrope/webl
// // Copyright (c) 2017 Keith Irwin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation, either version 3 of the License, // or (at your option) any later version. // // This program is distri...
test/ListGroupItemSpec.js
apisandipas/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ListGroupItem from '../src/ListGroupItem'; describe('ListGroupItem', function () { it('Should output a "span" with the class "list-group-item"', function () { let instance = ReactTestUtils.renderIntoDocument( <ListGro...
src/ListItem/ListItem.js
DigitalRiver/react-atlas
import React from "react"; import PropTypes from "prop-types"; import CSSModules from "react-css-modules"; import styles from "./ListItem.css"; export class ListItem extends React.PureComponent { constructor(props) { super(props); } render() { const { children, className, id, lef...
src/routes/login/index.js
Shalelol/geomapping-schools
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Login from './Login'; e...
app/components/__tests__/CategoryHeaderView.android.js
marchi-martius/FreemarketRn
import 'react-native'; import React from 'react'; import renderer from 'react-test-renderer'; import CategoryHeaderView from '../CategoryHeaderView.android'; import categories from '../../constants/categories'; it('renders correctly', () => { const tree = renderer.create( <CategoryHeaderView category={categorie...
packages/material-ui-icons/src/TextFieldsOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z" /></React.Fragment> , 'TextFieldsOutlined');